When upgrading to Oracle SOA Suite 11.1.1.4, we ran into the following error during one of the post-upgrade steps:
wls:/offline> upgradeJRF('/l01/apps/oracle/middleware/user_projects/domains/soa_domain')Traceback (innermost last):
File "", line 1, in ?
NameError: upgradeJRF
Solution:
This is because you probably ran the wrong environment and/or wlst scripts.
WRONG: /u01/app/oracle/middleware/wlserver_10.3/server/bin/setWLSEnv.sh
RIGHT: /u01/app/oracle/middleware/oracle_common/common/bin/setWlstEnv.sh
WRONG: /u01/app/oracle/middleware/Oracle_SOA1/common/bin/wlst.sh
RIGHT: /u01/app/oracle/middleware/oracle_common/common/bin/wlst.sh
1. Before running wlst, make sure that you set your environment correctly.
cd /u01/app/oracle/middleware/oracle_common/common/bin
./setWlstEnv.sh
./wlst.sh
upgradeJRF('/u01/app/oracle/middleware/user_projects/domains/soa_domain')
Applicable Versions:
Oracle SOA Suite 11g (11.1.1.4)
7 comments:
Thanks for the information, it is very useful and important.
On Windows while editing the path in WLST use / instead of \.
wls:/base_domain/serverConfig> sca_deployComposite('http://localhost:7005','/home/linux/Desktop/sca_HelloWorldComposite_rev1.0.jar',partition='wlst_part')
Traceback (innermost last):
File "", line 1, in ?
NameError: sca_deployComposite
wls:/base_domain/serverConfig>
am using Oracle SOA12.1.3 and weblogic12.1.3
The port you specified needs to be that of the SOA server, not the AdminServer. Also, make sure you are using the WLST script located in the directory below.
localhost@oracle:/home/oracle> export MW_HOME=/u01/app/oracle/middleware
localhost@oracle:/home/oracle> export ORACLE_HOME=$MW_HOME/soa
localhost@oracle:/home/oracle> $ORACLE_HOME/common/bin/wlst.sh
wls:/offline>
wls:/offline> connect()
sca_deployComposite("http://localhost:7005", "/home/linux/Desktop/sca_HelloWorldComposite_rev1.0.jar", true, user="weblogic", password="welcome1", partition="wlst_part")
Is there a way to use sca_deployComposite() method using HTTPS server URL ?
Post a Comment