Problems unpacking the Weblogic 10.3 domain

I am trying to unpack the Weblogic 10.3 domain on one of our production servers (SunOS 5.10), but I get the following error:

 $ /opt/bea10/wlserver_10.3/common/bin/unpack.sh -template=/tmp/CM.jar -domain=/opt/bea10/user_projects/CM
 Error: failed to create the temporary script file

Assuming this is a priviledge problem: where is the decompression utility actually trying to create its temporary script files? Unpacking the script calls the Java class com.bea.plateng.domain.script.Unpacker, so reading the script itself does not show the location. I need to ask the system administrator about privileges, so the exact location of the directory is required.

Of course, the error message is so vague that it could be another problem. Any ideas?

BR

Marco

PS Sorry for the cross-mailing. I tried this question also on Serverfault, but received no answers. Perhaps programmers (like me) still do such things.

+3
source share
3 answers

with unpacking, the problem is that unpacking requires permission to write to one folder and the domain-registry.xml file.

This problem occurs because you installed the Weblogic installation with one user and want to unpack with another user.

, unpack.sh, $ BEA_HOME/wlserver_10.3//Lib. , unpack. , unpack .

$BEA_HOME/domain-registry.xml unpack. chmod , , :

chmod a + rwx $BEA_HOME/wlserver_10.3/common/lib $BEA_HOME/domain-registry.xml

.

     Hemant
+1

-log=log_file -log_priority=debug ( . http://download.oracle.com/docs/cd/E12840_01/common/docs103/pack/commands.html) .

( OP): ... - WLST unpack. WebLogic? WLST script. - , .

, tar.gz ( ) , , .

PS: , com.bea.plateng.domain.script.Unpacker , java.io.tmpdir, Solaris /var/tmp/. , . .

+1
-app_dir=application_directory

I used this option separately from setting these permissions and it worked.

Replace application_directory with an empty directory.

create /home/<user>/unpacktmp
0
source

Source: https://habr.com/ru/post/1728885/


All Articles