WLST writeDomain() error
Hi,
Did a script to create a domain that uses Wlst offline (wls9.1)
once I set a couple of parameters I invoke the writeDomain() command to write the domain to directory i get this
command:
newDomain=domainDirectory+'/'+domainName
writeTemplate(newTemplate)
writeDomain(newDomain)
error:
Error: writeDomain() failed. Do dumpStack() to see details
begining of dumpstack()
com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.ScriptException:
om.bea.plateng.domain.GenerationException: Error <u>creating JarHelper</u>
Root Cause: java.io.FileNotFoundException: D:\bea91\_configtmp\_bea5226tmp
at com.bea.plateng.domain.script.jython.CommandExceptionHandler.handleException(CommandExce
tionHandler.java:51)
at com.bea.plateng.domain.script.jython.WLScriptContext.handleException(WLScriptContext.jav
:1333)
at com.bea.plateng.domain.script.jython.WLScriptContext.writeDomain(WLScriptContext.java:70
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)
java.lang.Object;(Unknown Source).....
I don't understand the error
Ashanty
Message was edited by:
Ashanty
Hi,
Did a script to create a domain that uses Wlst offline (wls9.1)
once I set a couple of parameters I invoke the writeDomain() command to write the domain to directory i get this
command:
newDomain=domainDirectory+'/'+domainName
writeTemplate(newTemplate)
writeDomain(newDomain)
error:
Error: writeDomain() failed. Do dumpStack() to see details
begining of dumpstack()
com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.ScriptException:
om.bea.plateng.domain.GenerationException: Error <u>creating JarHelper</u>
Root Cause: java.io.FileNotFoundException: D:\bea91\_configtmp\_bea5226tmp
at com.bea.plateng.domain.script.jython.CommandExceptionHandler.handleException(CommandExce
tionHandler.java:51)
at com.bea.plateng.domain.script.jython.WLScriptContext.handleException(WLScriptContext.jav
:1333)
at com.bea.plateng.domain.script.jython.WLScriptContext.writeDomain(WLScriptContext.java:70
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)
java.lang.Object;(Unknown Source).....
I don't understand the error
Ashanty
Message was edited by:
Ashanty
Similar Messages
-
WLST invoking error in weblogic 8.1SP5
Hi,
I am getting below error while trying to run WLST.
Error Message: Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/WLST
weblogic version : 8.1 SP5
OS: HP-UX 11i V2
Java : 1.4.2.17
After going through the topic "*Support Provided for WebLogic Scripting Tool (WLST)*" from release notes http://download-llnw.oracle.com/docs/cd/E1319601/platform/docs81/relnotes/relnotes.html#1091001_,
it is refering to two URLS's which are not available now.
https://codesamples.projects.dev2dev.bea.com/servlets/Scarab?id=13
https://codesamples.projects.dev2dev.bea.com/servlets/Scarab?id=97
Please help from where i can get the above details & files.
Cheers
ThallaHi,
Till WLS 8.1 SP5 you need to download the Wlst.jar Separately along with jython.jar. You can download these Jars from : http://www.4shared.com/file/116721496/8c3533ea/WLST_WLS_81.html
These Jars are available by default with WLS9.x onwards as part of *"weblogic.jar"* itself.
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com (WebLogic Wonders Are Here) -
hi guys,
i'm trying to write my domain using WLST writeDomain command.
it works perfect if i give it a full path i.e.
writeDomain("/home/cmp/domains/cmpDomain")
but if i try relative path such as:
writeDomain("~/domains/cmpDomain")
or
writeDomain("$HOME/domains/cmpDomain")
it doesn't work :(
i also looked for a way to pass a parameter to the WLST, but didn't find one.
i can't use hardcoded full path because i'm writing a generic install kit....
any ideas?
thanks,
zilbiHello,
shutdown(svrName, force='true')
will perform a forced shutdown.
Regards,
Adam -
Hi,
I am using wlst offline downloaded from dev2dev site, which i believe is based on jython. Anyway, i am trying to create a domain. All is well untill i try to write the domain using writeDomain(). It fails with the following error
"java.io.IOException: Unable to resolve input source.
Error: writeDomain() failed.
Traceback (innermost last):
File "wls.py", line 9, in ?
File "initWls.py", line 70, in writeDomain
com.bea.plateng.domain.script.jython.WLSTException: java.lang.NullPointerException
at com.bea.plateng.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:33)
at com.bea.plateng.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:890)
at com.bea.plateng.domain.script.jython.WLScriptContext.writeDomain(WLScriptContext.java:459)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
at org.python.core.PyMethod.__call__(PyMethod.java)
at org.python.core.PyObject.__call__(PyObject.java)
at org.python.core.PyInstance.invoke(PyInstance.java)
I have a valid directory and can write perfectly into this. Any ideas, why this failing to write the domain.
Thx,
RaviHello,
I believe you did not set up your classpath according to the doc.
Specifically I think you did not put @WL_HOME/server/lib in classpath.
The script runs fine on my machine. Please follow the readme.txt,
especially step 3 and step 4:
3. Extract the following files from the WLST offline configuration kit:
NOTE: <WL_HOME> refers to the root directory of your WebLogic
Platform installation.
By default, the pathname for this directory is c:\bea\weblogic81.
o WLST JAR files, including config.jar, comdev.jar, and 3rdparty.jar, to
<WL_HOME>\common\lib.
NOTE: It is recommended that you back up the existing JAR files.
For version compatibility,
they may have to be used when you use non-WLST related Weblogic
features.
o runWLSTOffline.cmd and runWLSTOffline.sh script files to
<WL_HOME>\common\bin.
o (Optional) Sample script files to the desired location.
4. Update the CLASSPATH environment variable to include the following
WebLogic Server,
Jython, and WLST files and directories:
NOTE: <JYTHON_HOME> refers to the root directory of your Jython
installation.
<WL_HOME>\server\lib
<WL_HOME>\server\lib\weblogic.jar
<JYTHON_HOME>\jython.jar
<WL_HOME>\common\lib\config.jar
<WL_HOME>\common\lib\comdev.jar
<WL_HOME>\common\lib\3rdparty.jar
Thanks,
-satya
Web Team wrote:
Hi The log is as follows
"========================================================
<< read template from "/opt/was/bea/weblogic81/common/templates/domains/wls.jar"
succeed: read template from "/opt/was/bea/weblogic81/common/templates/domains/wls.jar"<< find Server "myserver" as obj0
succeed: find Server "myserver" as obj0<< set obj0 attribute ListenAddress to ""
succeed: set obj0 attribute ListenAddress to ""<< set obj0 attribute ListenPort to "7001"
succeed: set obj0 attribute ListenPort to "7001"<< find User "weblogic" as obj1
succeed: find User "weblogic" as obj1<< set obj1 attribute Password to "********"
succeed: set obj1 attribute Password to "********"<< set config option OverwriteDomain to "true"
succeed: set config option OverwriteDomain to "true"<< write Domain to "/opt/was/ravi/user_projects/mydomain"
esourceBundleManager - Retrieved (Everyone of all groups.) under key (SecurityDesc.group.everyone) from namespace <config>.
2004-09-10 08:52:13,397 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (built-in anonymous role) under key (SecurityDesc.role.anonymous) from namespace <config>.
2004-09-10 08:52:13,649 INFO [main] com.bea.plateng.domain.TemplateBuilder - _apps_ not found in the template jar. Assuming old template structure.
2004-09-10 08:52:14,647 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (Target) under key (target) from namespace <config>.
2004-09-10 08:52:14,664 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (Server) under key (Server) from namespace <config>.
2004-09-10 08:52:14,779 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (Application) under key (application) from namespace <config>.
2004-09-10 08:52:14,863 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (Target) under key (target) from namespace <config>.
2004-09-10 08:52:14,867 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (Server) under key (Server) from namespace <config>.
2004-09-10 08:52:14,875 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (Service) under key (service) from namespace <config>.
2004-09-10 08:52:14,879 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (Migratable RMI Service) under key (migratableRMIService) from namespace <config>.
2004-09-10 08:52:14,883 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (Shutdown Class) under key (shutdownClass) from namespace <config>.
2004-09-10 08:52:14,887 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (Startup Class) under key (startupClass) from namespace <config>.
2004-09-10 08:52:14,891 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (File T3) under key (fileT3) from namespace <config>.
2004-09-10 08:52:14,896 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (Messaging Bridge) under key (messagingBridge) from namespace <config>.
2004-09-10 08:52:14,910 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (Jolt Connection Pool) under key (joltConnectionPool) from namespace <config>.
2004-09-10 08:52:14,916 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (WLEC Connection Pool) under key (wlecConnectionPool) from namespace <config>.
2004-09-10 08:52:14,932 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (WTC Server) under key (wtcServer) from namespace <config>.
2004-09-10 08:52:15,165 DEBUG [main] com.bea.plateng.domain.ApplicationTemplate - Attempting to replace component: FileStore of type: com.bea.plateng.domain.xml.config.JMSFileStoreType in
2004-09-10 08:52:15,301 DEBUG [main] com.bea.plateng.domain.ApplicationTemplate - Attempting to remove component: FileStore of type: com.bea.plateng.domain.xml.config.JMSFileStoreType from
2004-09-10 08:52:15,323 DEBUG [main] com.bea.plateng.domain.ApplicationTemplate - Attempting to find component: FileStore of type: com.bea.plateng.domain.xml.config.JMSFileStoreType in
2004-09-10 08:52:15,356 DEBUG [main] com.bea.plateng.domain.ApplicationTemplate - Attempting to add component: FileStore of type: com.bea.plateng.domain.xml.config.JMSFileStoreType to
2004-09-10 08:52:15,376 DEBUG [main] com.bea.plateng.domain.ApplicationTemplate - Added: FileStore to
2004-09-10 08:52:15,379 DEBUG [main] com.bea.plateng.domain.ApplicationTemplate - Component: FileStore of type: com.bea.plateng.domain.xml.config.JMSFileStoreType was replaced in
2004-09-10 08:52:15,403 DEBUG [main] com.bea.plateng.domain.ApplicationTemplate - Attempting to replace component: RMDefaultPolicy of type: com.bea.plateng.domain.xml.config.WSReliableDeliveryPolicyType in
2004-09-10 08:52:15,407 DEBUG [main] com.bea.plateng.domain.ApplicationTemplate - Attempting to remove component: RMDefaultPolicy of type: com.bea.plateng.domain.xml.config.WSReliableDeliveryPolicyType from
2004-09-10 08:52:15,409 DEBUG [main] com.bea.plateng.domain.ApplicationTemplate - Attempting to find component: RMDefaultPolicy of type: com.bea.plateng.domain.xml.config.WSReliableDeliveryPolicyType in
2004-09-10 08:52:15,425 DEBUG [main] com.bea.plateng.domain.ApplicationTemplate - Attempting to add component: RMDefaultPolicy of type: com.bea.plateng.domain.xml.config.WSReliableDeliveryPolicyType to
2004-09-10 08:52:15,432 DEBUG [main] com.bea.plateng.domain.ApplicationTemplate - Added: RMDefaultPolicy to
2004-09-10 08:52:15,435 DEBUG [main] com.bea.plateng.domain.ApplicationTemplate - Component: RMDefaultPolicy of type: com.bea.plateng.domain.xml.config.WSReliableDeliveryPolicyType was replaced in
2004-09-10 08:52:15,545 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (WS Reliable Delivery Policy) under key (WSReliableDeliveryPolicy) from namespace <config>.
2004-09-10 08:52:15,548 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (JMS JDBC Store) under key (jms.jdbcStore) from namespace <config>.
2004-09-10 08:52:15,551 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (JMS File Store) under key (jms.fileStore) from namespace <config>.
2004-09-10 08:52:15,661 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (Group) under key (Group) from namespace <config>.
2004-09-10 08:52:15,669 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (User) under key (User) from namespace <config>.
2004-09-10 08:52:15,676 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (User) under key (User) from namespace <config>.
2004-09-10 08:52:15,678 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (User) under key (User) from namespace <config>.
2004-09-10 08:52:15,680 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (User) under key (User) from namespace <config>.
2004-09-10 08:52:15,750 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (group) from namespace <config>.
2004-09-10 08:52:15,757 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (Group) under key (Group) from namespace <config>.
2004-09-10 08:52:15,760 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (Group) under key (Group) from namespace <config>.
2004-09-10 08:52:15,762 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (Group) under key (Group) from namespace <config>.
2004-09-10 08:52:15,765 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (Group) under key (Group) from namespace <config>.
2004-09-10 08:52:15,796 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (Role) under key (Role) from namespace <config>.
2004-09-10 08:52:15,801 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (Group) under key (Group) from namespace <config>.
2004-09-10 08:52:15,807 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (User) under key (User) from namespace <config>.
2004-09-10 08:52:15,813 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (Group) under key (Group) from namespace <config>.
2004-09-10 08:52:15,835 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (User) under key (User) from namespace <config>.
2004-09-10 08:52:15,837 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (Group) under key (Group) from namespace <config>.
2004-09-10 08:52:15,839 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (User) under key (User) from namespace <config>.
2004-09-10 08:52:15,842 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (Group) under key (Group) from namespace <config>.
2004-09-10 08:52:15,846 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (User) under key (User) from namespace <config>.
2004-09-10 08:52:15,848 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (Group) under key (Group) from namespace <config>.
2004-09-10 08:52:15,851 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (User) under key (User) from namespace <config>.
2004-09-10 08:52:15,967 INFO [main] com.bea.plateng.domain.script.ScriptExecutor - succeed: read template from "/opt/was/bea/weblogic81/common/templates/domains/wls.jar"
2004-09-10 08:52:16,399 INFO [main] com.bea.plateng.domain.script.ScriptExecutor - find Server "myserver" as obj0
2004-09-10 08:52:16,636 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (Server.Name) from namespace <config>.
2004-09-10 08:52:16,642 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (Name) from namespace <config>.
2004-09-10 08:52:16,648 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (Server.ListenAddress) from namespace <config>.
2004-09-10 08:52:16,659 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (ListenAddress) from namespace <config>.
2004-09-10 08:52:16,666 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (Server.ListenPort) from namespace <config>.
2004-09-10 08:52:16,670 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (ListenPort) from namespace <config>.
2004-09-10 08:52:16,674 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (SSL.ListenPort) from namespace <config>.
2004-09-10 08:52:16,676 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (ListenPort) from namespace <config>.
2004-09-10 08:52:16,679 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (SSL.Enabled) from namespace <config>.
2004-09-10 08:52:16,681 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (Enabled) from namespace <config>.
2004-09-10 08:52:16,686 INFO [main] com.bea.plateng.domain.script.ScriptExecutor - succeed: find Server "myserver" as obj0
2004-09-10 08:52:17,406 INFO [main] com.bea.plateng.domain.script.ScriptExecutor - set obj0 attribute ListenAddress to ""
2004-09-10 08:52:17,441 INFO [main] com.bea.plateng.domain.script.ScriptExecutor - succeed: set obj0 attribute ListenAddress to ""
2004-09-10 08:52:17,455 INFO [main] com.bea.plateng.domain.script.ScriptExecutor - set obj0 attribute ListenPort to "7001"
2004-09-10 08:52:17,463 INFO [main] com.bea.plateng.domain.script.ScriptExecutor - succeed: set obj0 attribute ListenPort to "7001"
2004-09-10 08:52:17,467 INFO [main] com.bea.plateng.domain.script.ScriptExecutor - find User "weblogic" as obj1
2004-09-10 08:52:17,512 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (User name) under key (User.Name) from namespace <config>.
2004-09-10 08:52:17,516 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (User.UserPassword) from namespace <config>.
2004-09-10 08:52:17,517 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (UserPassword) from namespace <config>.
2004-09-10 08:52:17,522 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (User.ConfirmUserPassword) from namespace <config>.
2004-09-10 08:52:17,526 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (ConfirmUserPassword) from namespace <config>.
2004-09-10 08:52:17,528 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (User.Description) from namespace <config>.
2004-09-10 08:52:17,530 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (Description) from namespace <config>.
2004-09-10 08:52:17,534 INFO [main] com.bea.plateng.domain.script.ScriptExecutor - succeed: find User "weblogic" as obj1
2004-09-10 08:52:17,575 INFO [main] com.bea.plateng.domain.script.ScriptExecutor - set obj1 attribute Password to "********"
2004-09-10 08:52:17,579 INFO [main] com.bea.plateng.domain.script.ScriptExecutor - succeed: set obj1 attribute Password to "********"
2004-09-10 08:52:17,582 INFO [main] com.bea.plateng.domain.script.ScriptExecutor - set config option OverwriteDomain to "true"
2004-09-10 08:52:17,584 INFO [main] com.bea.plateng.domain.script.ScriptExecutor - succeed: set config option OverwriteDomain to "true"
2004-09-10 08:52:17,598 INFO [main] com.bea.plateng.domain.script.ScriptExecutor - write Domain to "/opt/was/ravi/user_projects/mydomain"
2004-09-10 08:52:17,822 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (Server.Name) from namespace <config>.
2004-09-10 08:52:17,826 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (Name) from namespace <config>.
2004-09-10 08:52:17,828 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (Server.ListenAddress) from namespace <config>.
2004-09-10 08:52:17,832 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (ListenAddress) from namespace <config>.
2004-09-10 08:52:17,835 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (Server.ListenPort) from namespace <config>.
2004-09-10 08:52:17,837 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (ListenPort) from namespace <config>.
2004-09-10 08:52:17,840 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (SSL.ListenPort) from namespace <config>.
2004-09-10 08:52:17,845 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (ListenPort) from namespace <config>.
2004-09-10 08:52:17,847 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (SSL.Enabled) from namespace <config>.
2004-09-10 08:52:17,848 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (Enabled) from namespace <config>.
2004-09-10 08:52:17,947 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (Cluster.Name) from namespace <config>.
2004-09-10 08:52:17,952 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (Name) from namespace <config>.
2004-09-10 08:52:17,957 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (Cluster.MulticastAddress) from namespace <config>.
2004-09-10 08:52:17,960 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (MulticastAddress) from namespace <config>.
2004-09-10 08:52:17,963 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (Cluster.MulticastPort) from namespace <config>.
2004-09-10 08:52:17,966 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (MulticastPort) from namespace <config>.
2004-09-10 08:52:17,968 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (Cluster.ClusterAddress) from namespace <config>.
2004-09-10 08:52:17,970 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (ClusterAddress) from namespace <config>.
2004-09-10 08:52:18,086 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (Machine.Name) from namespace <config>.
2004-09-10 08:52:18,089 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (Name) from namespace <config>.
2004-09-10 08:52:18,091 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (NodeManager.ListenAddress) from namespace <config>.
2004-09-10 08:52:18,095 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (ListenAddress) from namespace <config>.
2004-09-10 08:52:18,096 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (NodeManager.ListenPort) from namespace <config>.
2004-09-10 08:52:18,098 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (ListenPort) from namespace <config>.
2004-09-10 08:52:18,142 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (UnixMachine.Name) from namespace <config>.
2004-09-10 08:52:18,146 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (Name) from namespace <config>.
2004-09-10 08:52:18,148 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (UnixMachine.PostBindGIDEnabled) from namespace <config>.
2004-09-10 08:52:18,150 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (PostBindGIDEnabled) from namespace <config>.
2004-09-10 08:52:18,156 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (UnixMachine.PostBindGID) from namespace <config>.
2004-09-10 08:52:18,158 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (PostBindGID) from namespace <config>.
2004-09-10 08:52:18,160 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (UnixMachine.PostBindUIDEnabled) from namespace <config>.
2004-09-10 08:52:18,162 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (PostBindUIDEnabled) from namespace <config>.
2004-09-10 08:52:18,165 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (UnixMachine.PostBindUID) from namespace <config>.
2004-09-10 08:52:18,166 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (PostBindUID) from namespace <config>.
2004-09-10 08:52:18,168 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (NodeManager.ListenAddress) from namespace <config>.
2004-09-10 08:52:18,171 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (ListenAddress) from namespace <config>.
2004-09-10 08:52:18,174 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (NodeManager.ListenPort) from namespace <config>.
2004-09-10 08:52:18,177 DEBUG [main] com.bea.plateng.common.util.ResourceBundleManager - Retrieved (null) under key (ListenPort) from namespace <config>.
2004-09-10 08:52:18,730 DEBUG [main] com.bea.plateng.domain.jdbc.JDBCHelper - jdbcdrivers.xml not found in classpath, trying "../../server/lib/jdbcdrivers.xml"
2004-09-10 08:52:18,737 DEBUG [main] com.bea.plateng.domain.jdbc.JDBCHelper - jdbcdrivers.xml not found at "/opt/server/lib/jdbcdrivers.xml", giving up...
2004-09-10 08:52:18,917 ERROR [main] com.bea.plateng.domain.jdbc.JDBCHelper - weblogic.xml.stream.XMLStreamException: Unable to instantiate the stream, the error was: Unable to resolve input source.
weblogic.xml.stream.XMLStreamException: Unable to instantiate the stream, the error was: Unable to resolve input source.
at weblogic.xml.babel.stream.XMLInputStreamBase.open(XMLInputStreamBase.java:91)
at weblogic.xml.babel.stream.XMLInputStreamBase.open(XMLInputStreamBase.java:49)
at weblogic.xml.babel.stream.XMLInputStreamFactoryImpl.newInputStream(XMLInputStreamFactoryImpl.java:67)
at weblogic.xml.babel.stream.XMLInputStreamFactoryImpl.newInputStream(XMLInputStreamFactoryImpl.java:49)
at weblogic.xml.babel.stream.XMLInputStreamFactoryImpl.newInputStream(XMLInputStreamFactoryImpl.java:79)
at weblogic.jdbc.utils.JDBCConnectionMetaDataParser.loadSchema(JDBCConnectionMetaDataParser.java:216)
at weblogic.jdbc.utils.JDBCConnectionMetaDataParser.<init>(JDBCConnectionMetaDataParser.java:127)
at com.bea.plateng.domain.jdbc.JDBCHelper.getDriverInfoFactory(JDBCHelper.java:393)
at com.bea.plateng.domain.jdbc.JDBCAspectHelper.initDriverMap(JDBCAspectHelper.java:613)
at com.bea.plateng.domain.jdbc.JDBCAspectHelper.getJDBCDriverClassTable(JDBCAspectHelper.java:602)
at com.bea.plateng.domain.jdbc.JDBCAspectHelper.getGenericJDBCDriverInfo(JDBCAspectHelper.java:731)
at com.bea.plateng.domain.jdbc.JDBCAspectHelper.getGenericJDBCDriverInfo(JDBCAspectHelper.java:211)
at com.bea.plateng.domain.aspect.JDBCConnectionPoolDriverNameConfigAspect.decompose(JDBCConnectionPoolDriverNameConfigAspect.java:54)
at com.bea.plateng.domain.aspect.ConfigAspectImpl.setDelegate(ConfigAspectImpl.java:493)
at com.bea.plateng.domain.aspect.ConfigAspectBuilder.createJDBCConnectionPoolSimpleAspect(ConfigAspectBuilder.java:367)
at com.bea.plateng.domain.operation.config.ConfigJDBCConnectionPool.createNewSimpleConfigAspects(ConfigJDBCConnectionPool.java:121)
at com.bea.plateng.domain.operation.HTableEditOperation.createSimpleTableModel(HTableEditOperation.java:647)
at com.bea.plateng.domain.operation.HTableEditOperation.getSimpleTableModel(HTableEditOperation.java:299)
at com.bea.plateng.domain.operation.HTableEditOperation.initSimpleTableModel(HTableEditOperation.java:531)
at com.bea.plateng.domain.DomainChecker.isOperationValid(DomainChecker.java:590)
at com.bea.plateng.domain.DomainChecker.getInvalidSection(DomainChecker.java:155)
at com.bea.plateng.domain.GeneratorHelper.validateDomainCreation(GeneratorHelper.java:82)
at com.bea.plateng.domain.script.ScriptExecutor.writeDomain(ScriptExecutor.java:516)
at com.bea.plateng.domain.script.jython.WLScriptContext.writeDomain(WLScriptContext.java:453)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
at org.python.core.PyMethod.__call__(PyMethod.java)
at org.python.core.PyObject.__call__(PyObject.java)
at org.python.core.PyInstance.invoke(PyInstance.java)
at org.python.pycode._pyx0.writeDomain$14(initWls.py:70)
at org.python.pycode._pyx0.call_function(initWls.py)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyFunction.__call__(PyFunction.java)
at org.python.pycode._pyx1.f$0(wls.py:9)
at org.python.pycode._pyx1.call_function(wls.py)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyCode.call(PyCode.java)
at org.python.core.Py.runCode(Py.java)
at org.python.core.__builtin__.execfile_flags(__builtin__.java)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java)
at com.bea.plateng.domain.script.jython.WLST_offline.main(WLST_offline.java:50)
=========================================================="
the script is below
"++++++++++++++++++++++++++++++++++++++++++++++++++++
readTemplate('/opt/was/bea/weblogic81/common/templates/domains/wls.jar')
cd('Server/myserver')
set('ListenAddress','')
set('ListenPort',7001)
cd('/Security/mydomain')
cd('User/weblogic')
cmo.setPassword('weblogic')
setOption('OverwriteDomain','true')
writeDomain('/opt/was/ravi/user_projects/mydomain')
dumpStack()
dumpVariables()
closeTemplate()
exit()
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -
WLST output/error redirection
Hi, I am practicing WLST commands. I want to redirect both output and error messages to a file instead of stdOut. So I am using redirect command with log file name and boolean value to disable stdout. if my WLST command is successful output is redirect to log file which is fine. But if command is not successful output is displayed on stdout even though I disabled it. error messages not redirected to file. what should i do to redirect error messages to file? below is the output of my commads for your reference. any suggessions will be appriciated.
wls:/offline>
wls:/offline> redirect('C:/oracle/Middleware/user_projects/wlst1_output.log','false')
wls:/offline> help('online')
wls:/offline> help('offline)
Traceback (innermost last):
(no code object) at line 0
File "<console>", line 2
SyntaxError: Lexical error at line 2, column 0. Encountered: <EOF> after : ""
wls:/offline>
wls:/offline>at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.pycode._pyx1638.f$0(<console>:1)
at org.python.pycode._pyx1638.call_function(<console>)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyCode.call(Unknown Source)
at org.python.core.Py.runCode(Unknown Source)
at org.python.core.Py.exec(Unknown Source)
at org.python.util.PythonInterpreter.exec(Unknown Source)
at org.python.util.InteractiveInterpreter.runcode(Unknown Source)
at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
at weblogic.management.scripting.WLST.main(WLST.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.WLST.main(WLST.java:29)
Caused by: weblogic.management.scripting.ScriptException: Error occured while pe
rforming configToScript : Exception occurred while walking the tree.
Use dumpStack() to view the full stacktrace
at weblogic.management.scripting.ExceptionHandler.handleException(Except
ionHandler.java:50)
at weblogic.management.scripting.WLSTUtils.throwWLSTException(WLSTUtils.
java:181)
at weblogic.management.scripting.ConfigToScript.walkTheTree(ConfigToScri
pt.java:555)
at weblogic.management.scripting.ConfigToScript.walkTheTree(ConfigToScri
pt.java:403)
at weblogic.management.scripting.ConfigToScript.convert(ConfigToScript.j
ava:202)
at weblogic.management.scripting.WLScriptContext.callc2s(WLScriptContext
.java:185)
... 30 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.management.scripting.ConfigToScript.walkTheTree(ConfigToScri
pt.java:435)
at weblogic.management.scripting.ConfigToScript.walkTheTree(ConfigToScri
pt.java:403)
at weblogic.management.scripting.ConfigToScript.convert(ConfigToScript.j
ava:201)
at weblogic.management.scripting.WLScriptContext.callc2s(WLScriptContext
.java:184)
... 30 more
Caused by: weblogic.management.ManagementRuntimeException: weblogic.descriptor.D
escriptorException: Unmarshaller failed
at weblogic.management.mbeans.custom.ConfigurationExtension.getExtension
Root(ConfigurationExtension.java:202)
at weblogic.management.mbeans.custom.WLDFSystemResource.getWLDFResource(
WLDFSystemResource.java:54)
at weblogic.management.configuration.WLDFSystemResourceMBeanImpl.getWLDF
Resource(WLDFSystemResourceMBeanImpl.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.management.scripting.ConfigToScript.walkTheTree(ConfigToScri
pt.java:435)
at weblogic.management.scripting.ConfigToScript.walkTheTree(ConfigToScri
pt.java:403)
at weblogic.management.scripting.ConfigToScript.convert(ConfigToScript.j
ava:202)
at weblogic.management.scripting.WLScriptContext.callc2s(WLScriptContext
.java:185)
... 30 more
Caused by: weblogic.descriptor.DescriptorException: Unmarshaller failed
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(Mar
shallerFactory.java:161)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDesc
riptorManager.java:323)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescript
orBeanFromReader(AbstractDescriptorLoader2.java:788)
at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescr
iptorBean(AbstractDescriptorLoader2.java:409)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescrip
torBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescrip
torBean(AbstractDescriptorLoader2.java:768)
at weblogic.management.mbeans.custom.WLDFSystemResource.loadDescriptor(W
LDFSystemResource.java:76)
at weblogic.management.mbeans.custom.ConfigurationExtension.getExtension
Root(ConfigurationExtension.java:178)
... 40 more
Caused by: com.bea.xml.XmlException: java.lang.RuntimeException: java.lang.NullP
ointerException
at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(Refl
ectionUtils.java:54)
at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty
.setValue(RuntimeBindingType.java:539)
at com.bea.staxb.runtime.internal.MultiIntermediary.setValue(MultiInterm
ediary.java:81)
at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType$ElementQNameP
roperty.fill(ByNameRuntimeBindingType.java:348)
at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillE
lementProp(LiteralUnmarshalResult.java:159)
at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents
(ByNameUnmarshaller.java:51)
at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoInt
ermediary(AttributeUnmarshaller.java:47)
at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElemen
tProperty(LiteralUnmarshalResult.java:184)
at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillE
lementProp(LiteralUnmarshalResult.java:156)
at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents
(ByNameUnmarshaller.java:51)
at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoInt
ermediary(AttributeUnmarshaller.java:47)
at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElemen
tProperty(LiteralUnmarshalResult.java:184)
at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillE
lementProp(LiteralUnmarshalResult.java:156)
at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents
(ByNameUnmarshaller.java:51)
at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoInt
ermediary(AttributeUnmarshaller.java:47)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(U
nmarshalResult.java:199)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(Unma
rshalResult.java:169)
at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(Unmarshalle
rImpl.java:65)
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(Mar
shallerFactory.java:150)
... 47 more
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
at weblogic.diagnostics.harvester.internal.BeanTreeHarvesterImpl$BeanTre
eHarvesterImplFactory.createBeanTreeHarvesterImpl(BeanTreeHarvesterImpl.java:32)
at weblogic.diagnostics.harvester.internal.BeanTreeHarvesterImpl$BeanTre
eHarvesterImplFactory.getInstance(BeanTreeHarvesterImpl.java:38)
at weblogic.diagnostics.harvester.internal.BeanTreeHarvesterImpl.getInst
ance(BeanTreeHarvesterImpl.java:44)
at weblogic.diagnostics.harvester.internal.Validators.isTypeHandled(Vali
dators.java:263)
at weblogic.diagnostics.harvester.internal.Validators.validateConfigured
Type(Validators.java:79)
at sun.reflect.GeneratedMethodAccessor435.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.diagnostics.harvester.Validators.validateConfiguredType(Vali
dators.java:61)
at weblogic.diagnostics.descriptor.WLDFHarvestedTypeBeanImpl.setName(WLD
FHarvestedTypeBeanImpl.java:108)
at sun.reflect.GeneratedMethodAccessor434.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(Refl
ectionUtils.java:48)
at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty
.setValue(RuntimeBindingType.java:539)
at com.bea.staxb.runtime.internal.MultiIntermediary.setValue(MultiInterm
ediary.java:82)
at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType$ElementQNameP
roperty.fill(ByNameRuntimeBindingType.java:348)
at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillE
lementProp(LiteralUnmarshalResult.java:159)
at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents
(ByNameUnmarshaller.java:51)
at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoInt
ermediary(AttributeUnmarshaller.java:48)
at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElemen
tProperty(LiteralUnmarshalResult.java:184)
at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillE
lementProp(LiteralUnmarshalResult.java:156)
at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents
(ByNameUnmarshaller.java:51)
at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoInt
ermediary(AttributeUnmarshaller.java:48)
at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElemen
tProperty(LiteralUnmarshalResult.java:184)
at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillE
lementProp(LiteralUnmarshalResult.java:156)
at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents
(ByNameUnmarshaller.java:51)
at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoInt
ermediary(AttributeUnmarshaller.java:48)
... 51 more
Caused by: java.lang.NullPointerException
at weblogic.diagnostics.harvester.internal.BeanTreeRegistrationManager.i
nitKnownTypes(BeanTreeRegistrationManager.java:210)
at weblogic.diagnostics.harvester.internal.BeanTreeRegistrationManager.<
init>(BeanTreeRegistrationManager.java:64)
at weblogic.diagnostics.harvester.internal.BeanTreeHarvesterImpl.<init>(
BeanTreeHarvesterImpl.java:52)
at weblogic.diagnostics.harvester.internal.BeanTreeHarvesterImpl.<init>(
BeanTreeHarvesterImpl.java:20)
at weblogic.diagnostics.harvester.internal.BeanTreeHarvesterImpl$BeanTre
eHarvesterImplFactory.createBeanTreeHarvesterImpl(BeanTreeHarvesterImpl.java:30)
at weblogic.diagnostics.harvester.internal.BeanTreeHarvesterImpl$BeanTre
eHarvesterImplFactory.getInstance(BeanTreeHarvesterImpl.java:38)
at weblogic.diagnostics.harvester.internal.BeanTreeHarvesterImpl.getInst
ance(BeanTreeHarvesterImpl.java:44)
at weblogic.diagnostics.harvester.internal.Validators.isTypeHandled(Vali
dators.java:262)
at weblogic.diagnostics.harvester.internal.Validators.validateConfigured
Type(Validators.java:79)
at sun.reflect.GeneratedMethodAccessor435.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.diagnostics.harvester.Validators.validateConfiguredType(Vali
dators.java:61)
at weblogic.diagnostics.descriptor.WLDFHarvestedTypeBeanImpl.setName(WLD
FHarvestedTypeBeanImpl.java:108)
at sun.reflect.GeneratedMethodAccessor434.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(Refl
ectionUtils.java:48)
at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty
.setValue(RuntimeBindingType.java:539)
at com.bea.staxb.runtime.internal.MultiIntermediary.setValue(MultiInterm
ediary.java:81)
at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType$ElementQNameP
roperty.fill(ByNameRuntimeBindingType.java:348)
at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillE
lementProp(LiteralUnmarshalResult.java:159)
at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents
(ByNameUnmarshaller.java:51)
at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoInt
ermediary(AttributeUnmarshaller.java:47)
at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElemen
tProperty(LiteralUnmarshalResult.java:184)
at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillE
lementProp(LiteralUnmarshalResult.java:156)
at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents
(ByNameUnmarshaller.java:51)
at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoInt
ermediary(AttributeUnmarshaller.java:47)
at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElemen
tProperty(LiteralUnmarshalResult.java:184)
at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillE
lementProp(LiteralUnmarshalResult.java:156)
at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents
(ByNameUnmarshaller.java:51)
at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoInt
ermediary(AttributeUnmarshaller.java:47)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(U
nmarshalResult.java:199)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(Unma
rshalResult.java:169)
at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(Unmarshalle
rImpl.java:65)
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(Mar
shallerFactory.java:150)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDesc
riptorManager.java:323)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescript
orBeanFromReader(AbstractDescriptorLoader2.java:788)
at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescr
iptorBean(AbstractDescriptorLoader2.java:409)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescrip
torBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescrip
torBean(AbstractDescriptorLoader2.java:768)
at weblogic.management.mbeans.custom.WLDFSystemResource.loadDescriptor(W
LDFSystemResource.java:76)
at weblogic.management.mbeans.custom.ConfigurationExtension.getExtension
Root(ConfigurationExtension.java:178)
at weblogic.management.mbeans.custom.WLDFSystemResource.getWLDFResource(
WLDFSystemResource.java:54)
at weblogic.management.configuration.WLDFSystemResourceMBeanImpl.getWLDF
Resource(WLDFSystemResourceMBeanImpl.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.management.scripting.ConfigToScript.walkTheTree(ConfigToScri
pt.java:435)
at weblogic.management.scripting.ConfigToScript.walkTheTree(ConfigToScri
pt.java:403)
at weblogic.management.scripting.ConfigToScript.convert(ConfigToScript.j
ava:201)
at weblogic.management.scripting.WLScriptContext.callc2s(WLScriptContext
.java:184)
... 30 more
weblogic.management.scripting.ScriptException: Error occured while performing co
nfigToScript : Exception occurred while walking the tree. : Error occured while
performing configToScript : Exception occurred while walking the tree.
Use dumpStack() to view the full stacktrace
Use dumpStack() to view the full stacktrace
wls:/offline> -
Wlst connect error in AIX 64 bit 10.3.3
What is the following?
I create a server using scripted WLST and call a
startServer('AdminServer','MyDomain'.....)
connect('weblogic','weblogic1','t3://xxxx:7019')
server is started. But connect fails with the following. The WLST script is OS unaware and works on Windows/HP/Solaris. The problem is only on AIX/64 bit/10.3.3. I can go to the MyDomain that I created and start the server using startWebLogic.sh. If I invoke weblogic.WLST from command line and I still get the following
=======================
AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1282604457094> <BEA-080003> <RuntimeExceptio
n thrown by rmi server: weblogic.management.remote.iiop.IIOPServerImpl.newClient
(Ljava.lang.Object;)
java.lang.NullPointerException.
java.lang.NullPointerException
at org.apache.harmony.security.Util.equalsIgnoreCase(Util.java:46)
at org.apache.harmony.security.fortress.PolicyUtils.getPolicyURLs(PolicyUtils.java:429)
at org.apache.harmony.security.fortress.DefaultPolicy$1.run(DefaultPolicy.java:307)
at org.apache.harmony.security.fortress.DefaultPolicy$1.run(DefaultPolicy.java:300)
at java.security.AccessController.doPrivileged(AccessController.java:202)
at org.apache.harmony.security.fortress.DefaultPolicy.refreshImpl(DefaultPolicy.java:300)
at org.apache.harmony.security.fortress.DefaultPolicy.<init>(DefaultPolicy.java:202)
at org.apache.harmony.security.fortress.DefaultPolicy.<init>(DefaultPolicy.java:195)
at org.apache.harmony.security.fortress.DefaultPolicy.<init>(DefaultPolicy.java:182)
at java.security.Policy.getDefaultProvider(Policy.java:485)
at java.security.Policy.getAccessiblePolicy(Policy.java:524)
at java.security.ProtectionDomain.implies(ProtectionDomain.java:159)
at java.security.AccessController.checkPermission(AccessController.java:98)
at com.sun.jmx.remote.security.SubjectDelegator.checkRemoveCallerContext(SubjectDelegator.java:135)
at javax.management.remote.rmi.RMIConnectionImpl.<init>(RMIConnectionImpl.java:128)
at weblogic.management.remote.iiop.IIOPServerImpl.makeClient(IIOPServerImpl.java:69)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:243)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:192)
at weblogic.management.remote.iiop.IIOPServerImpl_WLSkel.invoke(UnknownSource)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Edited by: user9975126 on Aug 25, 2010 5:55 AMThis does not make any difference. I sourced setWLSEnv.sh. Manually started my server (and not through WLST startServer command)
And tried a
connect('weblogic','xxxxxxxxx','t3://xxxxxx:7019')
Server Console
=========
<Aug 24, 2010 7:18:16 AM EDT> <Warning> <RMI> <BEA-080003> <RuntimeException thr
own by rmi server: weblogic.management.remote.iiop.IIOPServerImpl.newClient(Ljava.lang.Object;)
java.lang.NullPointerException.
java.lang.NullPointerException
at org.apache.harmony.security.Util.equalsIgnoreCase(Util.java:46)
at org.apache.harmony.security.fortress.PolicyUtils.getPolicyURLs(PolicyUtils.java:429)
at org.apache.harmony.security.fortress.DefaultPolicy$1.run(DefaultPolicy.java:307)
at org.apache.harmony.security.fortress.DefaultPolicy$1.run(DefaultPolicy.java:300)
at java.security.AccessController.doPrivileged(AccessController.java:202)
Truncated. see log file for complete stacktrace>
WLST side
=======
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
wls:/offline> connect('weblogic','weblogic1','t3://xxxx01:7019')
Connecting to t3://xxxx01:7019 with userid weblogic ...
WLST detected that the RuntimeMBeanServer is not enabled. This
might happen if the RuntimeMBeanServer is disabled via the JMXMBean.
Please ensure that this MBeanServer is enabled. Online WLST cannot
function without this MBeanServer.
Traceback (innermost last):
File "<console>", line 1, in ?
File "<iostream>", line 22, in connect
File "<iostream>", line 646, in raiseWLSTException
WLSTException: Error occured while performing connect : "Cannot connect to WLST.
Use dumpStack() to view the full stacktrace
========================
dumpStack()
wls:/xxxDomain/config> dumpStack()
This Exception occurred at Tue Aug 24 07:18:16 EDT 2010.
java.lang.NullPointerException
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
at weblogic.management.remote.iiop.IIOPServerImpl_1033_WLStub.newClient(Unknown Source)
at weblogic.management.remote.common.RMIServerWrapper.newClient(ClientProviderBase.java:339)
at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2339)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:291)
at weblogic.management.remote.common.WLSRMIConnector.doConnect(WLSRMIConnector.java:150)
at weblogic.management.remote.common.WLSRMIConnector.access$100(WLSRMIConnector.java:27)
at weblogic.management.remote.common.WLSRMIConnector$2.run(WLSRMIConnector.java:138)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.security.Security.runAs(Security.java:61)
at weblogic.management.remote.common.WLSRMIConnector.connect(WLSRMIConnector.java:136)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:260)
at weblogic.management.scripting.WLSTHelper.lookupMBeanServerConnection(WLSTHelper.java:678)
at weblogic.management.scripting.WLSTHelper.initRuntimeServerConnection(WLSTHelper.java:398)
at weblogic.management.scripting.WLSTHelper.initConnections(WLSTHelper.java:315)
at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:203)
at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext.java:61)
at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLSTUtil.java:147)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.python.core.PyReflectedFunction.__call__(Unknown Source)
at org.python.core.PyMethod.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.core.PyObject.invoke(Unknown Source)
at org.python.pycode._pyx4.connect$1(<iostream>:16)
at org.python.pycode._pyx4.call_function(<iostream>)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.pycode._pyx16.f$0(<console>:1)
at org.python.pycode._pyx16.call_function(<console>)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyCode.call(Unknown Source)
at org.python.core.Py.runCode(Unknown Source)
at org.python.core.Py.exec(Unknown Source)
at org.python.util.PythonInterpreter.exec(Unknown Source)
at org.python.util.InteractiveInterpreter.runcode(Unknown Source)
at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
at weblogic.management.scripting.WLST.main(WLST.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at weblogic.WLST.main(WLST.java:29)
Caused by: java.lang.NullPointerException
at org.apache.harmony.security.Util.equalsIgnoreCase(Util.java:46)
at org.apache.harmony.security.fortress.PolicyUtils.getPolicyURLs(PolicyUtils.java:429)
at org.apache.harmony.security.fortress.DefaultPolicy$1.run(DefaultPolicy.java:307)
at org.apache.harmony.security.fortress.DefaultPolicy$1.run(DefaultPolicy.java:300)
at java.security.AccessController.doPrivileged(AccessController.java:202)
at org.apache.harmony.security.fortress.DefaultPolicy.refreshImpl(DefaultPolicy.java:300)
at org.apache.harmony.security.fortress.DefaultPolicy.<init>(DefaultPolicy.java:202)
at org.apache.harmony.security.fortress.DefaultPolicy.<init>(DefaultPolicy.java:195)
at org.apache.harmony.security.fortress.DefaultPolicy.<init>(DefaultPolicy.java:182)
at java.security.Policy.getDefaultProvider(Policy.java:485)
at java.security.Policy.getAccessiblePolicy(Policy.java:524)
at java.security.ProtectionDomain.implies(ProtectionDomain.java:159)
at java.security.AccessController.checkPermission(AccessController.java:98)
at com.sun.jmx.remote.security.SubjectDelegator.checkRemoveCallerContext(SubjectDelegator.java:135)
at javax.management.remote.rmi.RMIConnectionImpl.<init>(RMIConnectionImpl.java:128)
at weblogic.management.remote.iiop.IIOPServerImpl.makeClient(IIOPServerImpl.java:69)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.j
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:192)
at weblogic.management.remote.iiop.IIOPServerImpl_WLSkel.invoke(UnknownSource)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
java.lang.NullPointerException
wls:/xxxDomain/config>
Edited by: user9975126 on Aug 24, 2010 4:54 AM -
Hi all,
I am getting the following error while trying to lookup a datasource. Please suggest the possible issue as per the WLST script below
ERROR MESSAGE
File "<console>", line 1, in ?
File "/home/oracle/ORTDScripts/ortd_datasource.py", line 26, in ?
File "<iostream>", line 903, in lookup
File "<iostream>", line 1848, in raiseWLSTException
WLSTException: Error occured while performing lookup : Could not find the instance for Delete_DWDataSource
WSLT file
# WebLogic Domain Parameters used
username = 'weblogic'
password = '******'
wlsHost = 'xyz'
adminServerListenPort = '7001'
planPath = '/u01/app1/oracle/Middleware/Oracle_SOA1/soa/Plan.xml'
# Database parameters used for Datasource
db_host_name = 'xxxxxx'
db_port = '1521'
db_sid = 'xxxxxx'
db_user = 'xxxx'
db_password ='xxxxx'
# Targets for deployment
targetServer = 'soa_server1'
connect(username,password,'t3://'+wlsHost+':'+adminServerListenPort)
edit()
startEdit()
cd('/Servers/'+targetServer)
target = cmo
cd('../..')
configchanged = 'false'
print cmo
soaJDBCSystemResource = lookup("Delete_DWDataSource","JDBCSystemResource")
if soaJDBCSystemResource is None:
print "Creating DWDataSource for ORTD Application"
soaJDBCSystemResource = create('Delete_DWDataSource',"JDBCSystemResource")
soaJDBCResource = soaJDBCSystemResource.getJDBCResource()
soaJDBCResource.setName('Delete_DWDataSource')
soaConnectionPoolParams = soaJDBCResource.getJDBCConnectionPoolParams()
soaConnectionPoolParams.setTestTableName("SQL SELECT 1 FROM DUAL")
soaConnectionPoolParams.setInitialCapacity(10)
soaConnectionPoolParams.setMaxCapacity(100)
soaDataSourceParams = soaJDBCResource.getJDBCDataSourceParams()
soaDataSourceParams.addJNDIName('jdbc/dw')
soaDriverParams = soaJDBCResource.getJDBCDriverParams()
soaDriverParams.setUrl('jdbc:oracle:thin:@'+db_host_name+':'+db_port+':'+db_sid)
soaDriverParams.setDriverName('oracle.jdbc.xa.client.OracleXADataSource')
soaDriverParams.setPassword(db_password)
soaDriverProperties = soaDriverParams.getProperties()
soaProperty = soaDriverProperties.createProperty("user")
soaProperty.setValue(db_user)
varSOAServerTarget = '/Servers/'+serverName
soaServerTarget = getMBean(varSOAServerTarget)
soaJDBCSystemResource.addTarget(target)
configchanged = 'true'
try:
save()
activate(block="true")
if configchanged == 'true':
print "DWDataSource for ORTD Application successfully created"
except:
if configchanged != 'false':
print "Error while trying to save and/or activate!!!"
dumpStack()
try:
if configchanged == 'true':
redeploy('DbAdapter',planPath , upload='true', stageMode='stage')
else:
print "The configurations are already in place, no changes were made"
except:
print "Error while redeploying DB adapter"
disconnect()
Edited by: user5108636 on 24/08/2010 20:07Oracle Enterprise Pack for Eclipse 11.1.1.6 now includes WLST / Jython / Python support - so if you are new to it, the IDE can help you.
I don't think your script is correct because in the lookup() method when the datasource does not exist, it does not get assigned to None as your script expects, rather it appears to raise an exception, which your code is currently not catching. Here is what you could try instead.
datasourceName = 'oracleDS'
try:
datasourceBean=lookup(datasourceName,'JDBCSystemResource')
except:
print '%s DOES NOT exist' % datasourceName
else:
print '%s exists' % datasourceName -
Wlst deploy error - Type Error
Hi,
I'm getting a problem when I use wlst.deploy from within a jython script that is being invoked from ant. Something to do with the number of parameters being used to call deploy. I've tried both three and four parameters, but get the following message in each case:
[java] TypeError: deploy(): expected 4 args; got 3
and
[java] TypeError: deploy() too many arguments; expected 3 got 4
The line from the script is:
wlst.deploy( "WLI" + egType + "EG_" + egName, domaindir + "/" + egName + ".jar", cgServer)
cgServer is defined elsewhere in the script.
Any ideas?
Thanks,
ReubenHi,
The original Ant target is below:
<target name="deploy_egs" depends="init">
<java classname="org.python.util.jython" fork="yes" dir="${basedir}">
<jvmarg line="-Dpython.home=${jython.home}"/>
<arg value="${basedir}/scripts/createFileEG.py"/>
<arg value="-u${domain.url}"/>
<arg value="-n${domain.username}"/>
<arg value="-p${domain.password}"/>
<arg value="-d${domain.dir}"/>
<classpath refid="wlst.class.path"/>
</java>
</target>
And createFileEG.py gets the problem running line:
wlst.deploy( "WLI" + egType + "EG_" + egName, domaindir + "/" + egName + ".jar", cgServer)
I've also managed to run this line ok within wlst interactive mode and also within a wlst script. However it doesn't work
This File event generator jython script is based on the the WLI application and domain build script included in the PO Sample at http://dev2dev.bea.com/code/wli.jsp.
There are two versions of the JMS event generator build script within the PO Sample. The older version uses wseblogic.Deployer instead of wlst.deploy
Thanks,
Reuben -
Creating SessionMBean error while deploying OSB through WLSt script
Hi All,
I am trying to deploy my OSB by using WLST scripts.
After setting the required properties in files,I ran the import.py script.But I got an error while creating an session bean
I have pasted the whole stcak here.It is going fine till creating a session.After that it is failing:
Any pointers in this regard will be helpful.
****************************the stack************************88
Your environment has been set.
CLASSPATH=E:\Oracle\Middleware\patch_wls1033\profiles\default\sys_manifest_class
path\weblogic_patch.jar;E:\Oracle\Middleware\patch_oepe1033\profiles\default\sys
manifestclasspath\weblogic_patch.jar;E:\Oracle\Middleware\patch_ocp353\profile
s\default\sys_manifest_classpath\weblogic_patch.jar;E:\Oracle\Middleware\jrockit
_160_17_R28.0.0-679\lib\tools.jar;E:\Oracle\Middleware\wlserver_10.3\server\lib\
weblogic_sp.jar;E:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar;E:\Or
acle\Middleware\modules\features\weblogic.server.modules_10.3.3.0.jar;E:\Oracle\
Middleware\wlserver_10.3\server\lib\webservices.jar;E:\Oracle\Middleware\modules
\org.apache.ant_1.7.1/lib/ant-all.jar;E:\Oracle\Middleware\modules\net.sf.antcon
trib_1.1.0.0_1-0b2/lib/ant-contrib.jar;;E:\Oracle\Middleware/Oracle_OSB1/lib/sb-
kernel-api.jar;E:\Oracle\Middleware/Oracle_OSB1/modules/com.bea.common.configfwk
_1.3.0.0.jar;E:\Oracle\Middleware/modules/com.bea.common.configfwk.wlinterop_10.
3.1.0
Apache Ant version 1.7.1 compiled on June 27 2008
Buildfile: ..\scripts\build.xml
Detected Java version: 1.6 in: E:\Oracle\Middleware\jrockit_160_17_R28.0.0-679\j
re
Detected OS: Windows XP
parsing buildfile C:\osb\build\scripts\build.xml with URI = file:/C:/osb/build/s
cripts/build.xml
Project base dir set to: C:\osb\build\scripts
[antlib:org.apache.tools.ant] Could not load definitions from resource org/apach
e/tools/ant/antlib.xml. It could not be found.
[property] Loading Environment env.
[property] Loading C:\osb\build\dev\ant.properties
Build sequence for target(s) `import' is [import]
Complete build sequence is [import, ]
import:
[echo] importscript: c:/osb/build/scripts/import.py
[echo] importconfig: c:/osb/build/dev/import.properties
dropping E:\Oracle\Middleware\patch_wls1033\profiles\default\sys_manifest_classp
ath\weblogic_patch.jar from path as it doesn't exist
dropping E:\Oracle\Middleware\patch_oepe1033\profiles\default\sys_manifest_class
path\weblogic_patch.jar from path as it doesn't exist
dropping E:\Oracle\Middleware\patch_ocp353\profiles\default\sys_manifest_classpa
th\weblogic_patch.jar from path as it doesn't exist
dropping E:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic_sp.jar from path
as it doesn't exist
dropping E:\Oracle\Middleware\modules\com.bea.common.configfwk.wlinterop_10.3.1.
0 from path as it doesn't exist
dropping E:\Oracle\Middleware\patch_wls1033\profiles\default\sys_manifest_classp
ath\weblogic_patch.jar from path as it doesn't exist
dropping E:\Oracle\Middleware\patch_oepe1033\profiles\default\sys_manifest_class
path\weblogic_patch.jar from path as it doesn't exist
dropping E:\Oracle\Middleware\patch_ocp353\profiles\default\sys_manifest_classpa
th\weblogic_patch.jar from path as it doesn't exist
dropping E:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic_sp.jar from path
as it doesn't exist
dropping E:\Oracle\Middleware\modules\com.bea.common.configfwk.wlinterop_10.3.1.
0 from path as it doesn't exist
[wlst] <WLSTTask> Executing the command line :
[wlst] E:\Oracle\Middleware\jrockit_160_17_R28.0.0-679\jre\bin\java.exe -Dd
ebug=true -DfailOnError=true -DexecuteScriptBeforeFile=true -DpropertiesFile=c:/
osb/build/dev/import.properties -DfileName=c:/osb/build/scripts/import.py -class
path E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-launcher.jar;E:\O
racle\Middleware\jrockit_160_17_R28.0.0-679\lib\tools.jar;E:\Oracle\Middleware\w
lserver_10.3\server\lib\weblogic.jar;E:\Oracle\Middleware\modules\features\weblo
gic.server.modules_10.3.3.0.jar;E:\Oracle\Middleware\wlserver_10.3\server\lib\we
bservices.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-all.jar;
E:\Oracle\Middleware\modules\net.sf.antcontrib_1.1.0.0_1-0b2\lib\ant-contrib.jar
;E:\Oracle\Middleware\Oracle_OSB1\lib\sb-kernel-api.jar;E:\Oracle\Middleware\Ora
cle_OSB1\modules\com.bea.common.configfwk_1.3.0.0.jar;E:\Oracle\Middleware\modul
es\org.apache.ant_1.7.1\lib\ant-antlr.jar;E:\Oracle\Middleware\modules\org.apach
e.ant_1.7.1\lib\ant-apache-bcel.jar;E:\Oracle\Middleware\modules\org.apache.ant_
1.7.1\lib\ant-apache-bsf.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\l
ib\ant-apache-log4j.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\an
t-apache-oro.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-apach
e-regexp.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-apache-re
solver.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-commons-log
ging.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-commons-net.j
ar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-jai.jar;E:\Oracle\M
iddleware\modules\org.apache.ant_1.7.1\lib\ant-javamail.jar;E:\Oracle\Middleware
\modules\org.apache.ant_1.7.1\lib\ant-jdepend.jar;E:\Oracle\Middleware\modules\o
rg.apache.ant_1.7.1\lib\ant-jmf.jar;E:\Oracle\Middleware\modules\org.apache.ant_
1.7.1\lib\ant-jsch.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant
-junit.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-netrexx.jar
;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-nodeps.jar;E:\Oracle\
Middleware\modules\org.apache.ant_1.7.1\lib\ant-starteam.jar;E:\Oracle\Middlewar
e\modules\org.apache.ant_1.7.1\lib\ant-stylebook.jar;E:\Oracle\Middleware\module
s\org.apache.ant_1.7.1\lib\ant-swing.jar;E:\Oracle\Middleware\modules\org.apache
.ant_1.7.1\lib\ant-testutil.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.
1\lib\ant-trax.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-web
logic.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant.jar;E:\Oracl
e\Middleware\modules\org.apache.ant_1.7.1\lib\xercesImpl.jar;E:\Oracle\Middlewar
e\modules\org.apache.ant_1.7.1\lib\xml-apis.jar weblogic.management.scripting.WL
STInterpreterInvoker
dropping E:\Oracle\Middleware\patch_wls1033\profiles\default\sys_manifest_classp
ath\weblogic_patch.jar from path as it doesn't exist
dropping E:\Oracle\Middleware\patch_oepe1033\profiles\default\sys_manifest_class
path\weblogic_patch.jar from path as it doesn't exist
dropping E:\Oracle\Middleware\patch_ocp353\profiles\default\sys_manifest_classpa
th\weblogic_patch.jar from path as it doesn't exist
dropping E:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic_sp.jar from path
as it doesn't exist
dropping E:\Oracle\Middleware\modules\com.bea.common.configfwk.wlinterop_10.3.1.
0 from path as it doesn't exist
dropping E:\Oracle\Middleware\patch_wls1033\profiles\default\sys_manifest_classp
ath\weblogic_patch.jar from path as it doesn't exist
dropping E:\Oracle\Middleware\patch_oepe1033\profiles\default\sys_manifest_class
path\weblogic_patch.jar from path as it doesn't exist
dropping E:\Oracle\Middleware\patch_ocp353\profiles\default\sys_manifest_classpa
th\weblogic_patch.jar from path as it doesn't exist
dropping E:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic_sp.jar from path
as it doesn't exist
dropping E:\Oracle\Middleware\modules\com.bea.common.configfwk.wlinterop_10.3.1.
0 from path as it doesn't exist
[wlst] Executing 'E:\Oracle\Middleware\jrockit_160_17_R28.0.0-679\jre\bin\j
ava.exe' with arguments:
[wlst] '-Ddebug=true'
[wlst] '-DfailOnError=true'
[wlst] '-DexecuteScriptBeforeFile=true'
[wlst] '-DpropertiesFile=c:/osb/build/dev/import.properties'
[wlst] '-DfileName=c:/osb/build/scripts/import.py'
[wlst] '-classpath'
[wlst] 'E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-launcher.
jar;E:\Oracle\Middleware\jrockit_160_17_R28.0.0-679\lib\tools.jar;E:\Oracle\Midd
leware\wlserver_10.3\server\lib\weblogic.jar;E:\Oracle\Middleware\modules\featur
es\weblogic.server.modules_10.3.3.0.jar;E:\Oracle\Middleware\wlserver_10.3\serve
r\lib\webservices.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-
all.jar;E:\Oracle\Middleware\modules\net.sf.antcontrib_1.1.0.0_1-0b2\lib\ant-con
trib.jar;E:\Oracle\Middleware\Oracle_OSB1\lib\sb-kernel-api.jar;E:\Oracle\Middle
ware\Oracle_OSB1\modules\com.bea.common.configfwk_1.3.0.0.jar;E:\Oracle\Middlewa
re\modules\org.apache.ant_1.7.1\lib\ant-antlr.jar;E:\Oracle\Middleware\modules\o
rg.apache.ant_1.7.1\lib\ant-apache-bcel.jar;E:\Oracle\Middleware\modules\org.apa
che.ant_1.7.1\lib\ant-apache-bsf.jar;E:\Oracle\Middleware\modules\org.apache.ant
_1.7.1\lib\ant-apache-log4j.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.
1\lib\ant-apache-oro.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\a
nt-apache-regexp.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-a
pache-resolver.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-com
mons-logging.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-commo
ns-net.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-jai.jar;E:\
Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-javamail.jar;E:\Oracle\Mi
ddleware\modules\org.apache.ant_1.7.1\lib\ant-jdepend.jar;E:\Oracle\Middleware\m
odules\org.apache.ant_1.7.1\lib\ant-jmf.jar;E:\Oracle\Middleware\modules\org.apa
che.ant_1.7.1\lib\ant-jsch.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1
\lib\ant-junit.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-net
rexx.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-nodeps.jar;E:
\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant-starteam.jar;E:\Oracle\M
iddleware\modules\org.apache.ant_1.7.1\lib\ant-stylebook.jar;E:\Oracle\Middlewar
e\modules\org.apache.ant_1.7.1\lib\ant-swing.jar;E:\Oracle\Middleware\modules\or
g.apache.ant_1.7.1\lib\ant-testutil.jar;E:\Oracle\Middleware\modules\org.apache.
ant_1.7.1\lib\ant-trax.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib
\ant-weblogic.jar;E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\ant.jar;
E:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib\xercesImpl.jar;E:\Oracle\M
iddleware\modules\org.apache.ant_1.7.1\lib\xml-apis.jar'
[wlst] 'weblogic.management.scripting.WLSTInterpreterInvoker'
[wlst]
[wlst] The ' characters around the executable and arguments are
[wlst] not part of the command.
dropping E:\Oracle\Middleware\patch_wls1033\profiles\default\sys_manifest_classp
ath\weblogic_patch.jar from path as it doesn't exist
dropping E:\Oracle\Middleware\patch_oepe1033\profiles\default\sys_manifest_class
path\weblogic_patch.jar from path as it doesn't exist
dropping E:\Oracle\Middleware\patch_ocp353\profiles\default\sys_manifest_classpa
th\weblogic_patch.jar from path as it doesn't exist
dropping E:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic_sp.jar from path
as it doesn't exist
dropping E:\Oracle\Middleware\modules\com.bea.common.configfwk.wlinterop_10.3.1.
0 from path as it doesn't exist
dropping E:\Oracle\Middleware\patch_wls1033\profiles\default\sys_manifest_classp
ath\weblogic_patch.jar from path as it doesn't exist
dropping E:\Oracle\Middleware\patch_oepe1033\profiles\default\sys_manifest_class
path\weblogic_patch.jar from path as it doesn't exist
dropping E:\Oracle\Middleware\patch_ocp353\profiles\default\sys_manifest_classpa
th\weblogic_patch.jar from path as it doesn't exist
dropping E:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic_sp.jar from path
as it doesn't exist
dropping E:\Oracle\Middleware\modules\com.bea.common.configfwk.wlinterop_10.3.1.
0 from path as it doesn't exist
[wlst] Using input " "
[wlst] <WLSTTask> Loaded and set the properties from c:/osb/build/dev/impor
t.properties
[wlst] <WLSTTask> sys.argv is ['c:/osb/build/scripts/import.py']
[wlst] Connecting to server: t3://localhost:7001
[wlst] Connecting to t3://localhost:7001 with userid weblogic ...
[wlst] Successfully connected to Admin Server 'AdminServer' that belongs to
domain 'base_domain'.
[wlst]
[wlst] Warning: An insecure protocol was used to connect to the
[wlst] server. To ensure on-the-wire security, the SSL port or
[wlst] Admin port should be used instead.
[wlst]
[wlst] Location changed to domainRuntime tree. This is a read-only tree wit
h DomainMBean as the root.
[wlst] For more help, use help(domainRuntime)
[wlst]
[wlst] Starting import of: c:/osb/configuration/sbconfig.jar on ALSB Admin
Server: t3://localhost:7001
[wlst] Read import jar file
[wlst] Import file read successfully c:/osb/configuration/sbconfig.jar
[wlst] Creating unique session name
[wlst] Created session name : ALSBImportScript-1279101189649
[wlst] Creating SessionMBean
[wlst] Unexpected error: java.lang.RuntimeException
[wlst] Unexpected error: java.lang.RuntimeException
[wlst] No stack trace available.
[wlst] Traceback (innermost last):
[wlst] File "c:\osb\build\scripts\import.py", line 179, in ?
[wlst] File "c:\osb\build\scripts\import.py", line 47, in importToALSBDom
ain
[wlst] File "c:\osb\build\scripts\import.py", line 167, in getSessionMBea
n
[wlst] File "<iostream>", line 1162, in findService
[wlst] at weblogic.management.jmx.MBeanServerInvocationHandler.newProxy
Instance(MBeanServerInvocationHandler.java:621)
[wlst] at weblogic.management.jmx.MBeanServerInvocationHandler.invoke(M
BeanServerInvocationHandler.java:418)
[wlst] at $Proxy11.findService(Unknown Source)
[wlst] at weblogic.management.scripting.WLScriptContext.findService(WLS
criptContext.java:209)
[wlst] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wlst] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[wlst] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[wlst] at java.lang.reflect.Method.invoke(Method.java:597)
[wlst]
[wlst] java.lang.RuntimeException: java.lang.RuntimeException: java.lang.Cl
assNotFoundException: com.bea.wli.sb.management.configuration.DelegatedSessionMa
nagementMBean
[wlst]
[wlst] Exception in thread "Main Thread" java.lang.IllegalStateException: T
raceback (innermost last):
[wlst] File "c:\osb\build\scripts\import.py", line 179, in ?
[wlst] File "c:\osb\build\scripts\import.py", line 47, in importToALSBDom
ain
[wlst] File "c:\osb\build\scripts\import.py", line 167, in getSessionMBea
n
[wlst] File "<iostream>", line 1162, in findService
[wlst] at weblogic.management.jmx.MBeanServerInvocationHandler.newProxy
Instance(MBeanServerInvocationHandler.java:621)
[wlst] at weblogic.management.jmx.MBeanServerInvocationHandler.invoke(M
BeanServerInvocationHandler.java:418)
[wlst] at $Proxy11.findService(Unknown Source)
[wlst] at weblogic.management.scripting.WLScriptContext.findService(WLS
criptContext.java:209)
[wlst] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wlst] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[wlst] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[wlst] at java.lang.reflect.Method.invoke(Method.java:597)
[wlst]
[wlst] java.lang.RuntimeException: java.lang.RuntimeException: java.lang.Cl
assNotFoundException: com.bea.wli.sb.management.configuration.DelegatedSessionMa
nagementMBean
[wlst]
[wlst] at weblogic.management.scripting.WLSTInterpreterInvoker.printErr
or(WLSTInterpreterInvoker.java:110)
[wlst] at weblogic.management.scripting.WLSTInterpreterInvoker.executeP
yScript(WLSTInterpreterInvoker.java:103)
[wlst] at weblogic.management.scripting.WLSTInterpreterInvoker.main(WLS
TInterpreterInvoker.java:27)
BUILD FAILED
C:\osb\build\scripts\build.xml:13: Java returned: 1
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
at weblogic.ant.taskdefs.management.WLSTTask.execute(WLSTTask.java:115)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1307)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1191)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:218)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Total time: 16 seconds
C:\osb\build\dev>^AHi,
I tried debugging it and i am still getting the same error. I used the script provided byoracle and the script which is given here.
Below is the error i am getting :
[java] ImportError: cannot import name SessionManagementMBean
I am getting an error at
def getSessionManagementMBean(sessionName):
SessionMBean = findService("SessionManagement", "com.bea.wli.sb.management.configuration.SessionManagementMBean")
SessionMBean.createSession(sessionName)
return SessionMBean
Its able to create a unique session , after that for creating session name its throwing error.
C:\Development\Build\scripts\build.xml:31: Java returned: 1
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
at weblogic.ant.taskdefs.management.WLSTTask.execute(WLSTTask.java:115)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Any help on this?? -
Error while installing OBI 11.1.1.5
OS: Solaris 10.9
Processors: X86
The installation is hanging in the process "Creating BI Cluster Controller System Component". After a failed retry we tried with a "Continue", but failed in the next installation part "Merging PolicyStore application stripe" again.
The outfile (tail) tells the following:
[2011-06-27T10:44:28.223+02:00] [as] [NOTIFICATION] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] [biSchedulerPort]: [9705]
[2011-06-27T10:44:28.224+02:00] [as] [NOTIFICATION] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] Default port for component coreapplication_obiccs1is9706
[2011-06-27T10:44:28.224+02:00] [as] [NOTIFICATION] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] Allocated port for component coreapplication_obiccs1is9706
[2011-06-27T10:44:28.224+02:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] [SRC_CLASS: oracle.bi.management.agent.api.install.ClusterControllerInstallHandler] [SRC_METHOD: isPortAvailable] ENTRY
[2011-06-27T10:44:28.224+02:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] [SRC_CLASS: oracle.bi.management.agent.api.install.ClusterControllerInstallHandler] [SRC_METHOD: isPortAvailable] RETURN
[2011-06-27T10:44:28.224+02:00] [as] [NOTIFICATION] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] Allocating port for end point: coreapplication_obiccs1, default: 9706
[2011-06-27T10:44:28.224+02:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] [SRC_CLASS: oracle.bi.management.agent.api.install.ClusterControllerInstallHandler] [SRC_METHOD: findAvailablePort] ENTRY
[2011-06-27T10:44:28.225+02:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] [SRC_CLASS: oracle.bi.management.agent.api.install.ClusterControllerInstallHandler] [SRC_METHOD: findAvailablePort] RETURN
[2011-06-27T10:44:28.225+02:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] [SRC_CLASS: oracle.bi.management.agent.api.install.ClusterControllerInstallHandler] [SRC_METHOD: recordPortUsage] ENTRY
[2011-06-27T10:44:28.225+02:00] [as] [TRACE] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] [SRC_CLASS: oracle.as.config.impl.PortTracker] [SRC_METHOD: addPort] Port tracker adding port: 9706 for coreapplication_obiccs1 / coreapplication_obiccs1
[2011-06-27T10:44:28.225+02:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] [SRC_CLASS: oracle.as.config.impl.PortTracker] [SRC_METHOD: addEntry] Adding port 9706 usage entry for endpoint coreapplication_obiccs1 of component coreapplication_obiccs1.
[2011-06-27T10:44:28.226+02:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] [SRC_CLASS: oracle.bi.management.agent.api.install.ClusterControllerInstallHandler] [SRC_METHOD: recordPortUsage] RETURN
[2011-06-27T10:44:28.226+02:00] [as] [NOTIFICATION] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] Allocated port: 9706
[2011-06-27T10:44:28.226+02:00] [as] [NOTIFICATION] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] Allocated standard port 9706 for component coreapplication_obiccs1
[2011-06-27T10:44:28.226+02:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] [SRC_CLASS: oracle.bi.management.agent.api.install.ClusterControllerInstallHandler] [SRC_METHOD: isPortAvailable] ENTRY
[2011-06-27T10:44:28.226+02:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] [SRC_CLASS: oracle.bi.management.agent.api.install.ClusterControllerInstallHandler] [SRC_METHOD: isPortAvailable] RETURN
[2011-06-27T10:44:28.226+02:00] [as] [NOTIFICATION] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] Allocating port for end point: coreapplication_obiccs1-monitor, default: 9700
[2011-06-27T10:44:28.227+02:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] [SRC_CLASS: oracle.bi.management.agent.api.install.ClusterControllerInstallHandler] [SRC_METHOD: findAvailablePort] ENTRY
[2011-06-27T10:44:28.227+02:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] [SRC_CLASS: oracle.bi.management.agent.api.install.ClusterControllerInstallHandler] [SRC_METHOD: findAvailablePort] RETURN
[2011-06-27T10:44:28.227+02:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] [SRC_CLASS: oracle.bi.management.agent.api.install.ClusterControllerInstallHandler] [SRC_METHOD: recordPortUsage] ENTRY
[2011-06-27T10:44:28.227+02:00] [as] [TRACE] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] [SRC_CLASS: oracle.as.config.impl.PortTracker] [SRC_METHOD: addPort] Port tracker adding port: 9700 for coreapplication_obiccs1 / coreapplication_obiccs1-monitor
[2011-06-27T10:44:28.228+02:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] [SRC_CLASS: oracle.as.config.impl.PortTracker] [SRC_METHOD: addEntry] Adding port 9700 usage entry for endpoint coreapplication_obiccs1-monitor of component coreapplication_obiccs1.
[2011-06-27T10:44:28.228+02:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] [SRC_CLASS: oracle.bi.management.agent.api.install.ClusterControllerInstallHandler] [SRC_METHOD: recordPortUsage] RETURN
[2011-06-27T10:44:28.228+02:00] [as] [NOTIFICATION] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] Allocated port: 9700
[2011-06-27T10:44:28.228+02:00] [as] [NOTIFICATION] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] Allocated monitor port 9700 for component coreapplication_obiccs1
[2011-06-27T10:44:28.228+02:00] [as] [NOTIFICATION] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] Recording mbean em property: originalAllocatedPort with value: 9706
[2011-06-27T10:44:28.228+02:00] [as] [NOTIFICATION] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] Recording mbean em property: originalAllocatedMonitorPort with value: 9700
[2011-06-27T10:44:28.229+02:00] [as] [NOTIFICATION] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] Validating component: class oracle.bi.management.agentcore.impl.clustercontroller.BIClusterControllerManager
[2011-06-27T10:44:28.229+02:00] [as] [NOTIFICATION] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] Creating component: class oracle.bi.management.agentcore.impl.clustercontroller.BIClusterControllerManager
[2011-06-27T10:44:28.229+02:00] [as] [NOTIFICATION] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] Creating directory: /opt/aadvr/middleware/instances/instance1/bifoundation/OracleBIClusterControllerComponent/coreapplication_obiccs1
[2011-06-27T10:44:28.229+02:00] [as] [TRACE:16] [] [oracle.as.install.bi.util] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] [SRC_CLASS: oracle.as.install.bi.util.FilePermissions] [SRC_METHOD: setNormalDirPermissions] Setting Normal permissions on: /opt/aadvr/middleware/instances/instance1/bifoundation/OracleBIClusterControllerComponent/coreapplication_obiccs1
[2011-06-27T10:44:28.229+02:00] [as] [TRACE:16] [] [oracle.as.install.bi.util] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] [SRC_CLASS: oracle.as.install.bi.util.FilePermissionsHelper] [SRC_METHOD: execHelperWithoutTimeout] Executing command: /bin/chmod g-w,o-rwx /opt/aadvr/middleware/instances/instance1/bifoundation/OracleBIClusterControllerComponent/coreapplication_obiccs1 ...
[2011-06-27T10:44:28.297+02:00] [as] [ERROR] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] Unexpected error creating BI component
[2011-06-27T10:44:28.298+02:00] [as] [ERROR] [] [oracle.as.config] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] java.io.IOException: Cannot run program "/bin/chmod": error=12, Not enough space
[2011-06-27T10:44:42.969+02:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] Running script /opt/aadvr/middleware/Oracle_BI1/common/bin/wlst.sh
[2011-06-27T10:44:42.969+02:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] Parameters : [opt/aadvr/middleware/oracle_common/modules/oracle.jps_11.1.1/common/wlstscripts/migrateSecurityStore.py][-type][policyStore][-configFile][opt/aadvr/middleware/user_projects/domains/bifoundation_domain/config/fmwconfig/bi-policystoremerge-jpscfg.xml][-src][XMLSourceContext][-dst][XMLDestinationContext]
[2011-06-27T10:47:15.821+02:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] Running script /opt/aadvr/middleware/Oracle_BI1/common/bin/wlst.sh
[2011-06-27T10:47:15.822+02:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] Parameters : [opt/aadvr/middleware/oracle_common/modules/oracle.jps_11.1.1/common/wlstscripts/migrateSecurityStore.py][-type][policyStore][-configFile][opt/aadvr/middleware/user_projects/domains/bifoundation_domain/config/fmwconfig/bi-policystoremerge-jpscfg.xml][-src][XMLSourceContext][-dst][XMLDestinationContext]
[2011-06-27T10:48:03.515+02:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] Running script /opt/aadvr/middleware/Oracle_BI1/common/bin/wlst.sh
[2011-06-27T10:48:03.516+02:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] Parameters : [opt/aadvr/middleware/oracle_common/modules/oracle.jps_11.1.1/common/wlstscripts/migrateSecurityStore.py][-type][policyStore][-configFile][opt/aadvr/middleware/user_projects/domains/bifoundation_domain/config/fmwconfig/bi-policystoremerge-jpscfg.xml][-src][XMLSourceContext][-dst][XMLDestinationContext]
[2011-06-27T10:53:12.059+02:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] Running script /opt/aadvr/middleware/Oracle_BI1/common/bin/wlst.sh
[2011-06-27T10:53:12.060+02:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] Parameters : [opt/aadvr/middleware/oracle_common/modules/oracle.jps_11.1.1/common/wlstscripts/migrateSecurityStore.py][-type][policyStore][-configFile][opt/aadvr/middleware/user_projects/domains/bifoundation_domain/config/fmwconfig/bi-policystoremerge-jpscfg.xml][-src][XMLSourceContext][-dst][XMLDestinationContext]
[2011-06-27T10:57:34.974+02:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] Running script /opt/aadvr/middleware/Oracle_BI1/common/bin/wlst.sh
[2011-06-27T10:57:34.975+02:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 35] [ecid: 0000J3GDbm02rIUsa4nZ5q1E23jy00000Q,0] Parameters : [opt/aadvr/middleware/oracle_common/modules/oracle.jps_11.1.1/common/wlstscripts/migrateSecurityStore.py][-type][policyStore][-configFile][opt/aadvr/middleware/user_projects/domains/bifoundation_domain/config/fmwconfig/bi-policystoremerge-jpscfg.xml][-src][XMLSourceContext][-dst][XMLDestinationContext]
The logfile (tail) tells the following:
Executing Task: Merging PolicyStore application stripe
oracle.as.install.bi.scripts.WebLogicScriptException: java.io.IOException: Cannot run program "/opt/aadvr/middleware/Oracle_BI1/common/bin/wlst.sh": error=12, Not enough space
at oracle.as.install.bi.scripts.impl.WebLogicScriptRunnerImpl.run(WebLogicScriptRunnerImpl.java:44)
at oracle.as.install.bi.scripts.impl.WebLogicScriptImpl.runWithRunner(WebLogicScriptImpl.java:49)
at oracle.as.install.bi.biconfig.standard.WLSTScriptTask.doExecute(WLSTScriptTask.java:94)
at oracle.as.install.bi.biconfig.standard.MergePolicyStoreTask.doExecute(MergePolicyStoreTask.java:63)
at oracle.as.install.bi.biconfig.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:70)
at oracle.as.install.bi.biconfig.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
at oracle.as.install.bi.biconfig.BIConfigMain.doExecute(BIConfigMain.java:112)
at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.io.IOException: Cannot run program "/opt/aadvr/middleware/Oracle_BI1/common/bin/wlst.sh": error=12, Not enough space
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at oracle.as.install.bi.util.Exec.runCommandSynchronously(Exec.java:69)
at oracle.as.install.bi.util.Exec.runCommandSynchronously(Exec.java:39)
at oracle.as.install.bi.scripts.impl.WebLogicScriptRunnerImpl.run(WebLogicScriptRunnerImpl.java:40)
... 15 more
Caused by: java.io.IOException: error=12, Not enough space
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 18 more
oracle.as.install.bi.scripts.WebLogicScriptException: java.io.IOException: Cannot run program "/opt/aadvr/middleware/Oracle_BI1/common/bin/wlst.sh": error=12, Not enough space
at oracle.as.install.bi.scripts.impl.WebLogicScriptRunnerImpl.run(WebLogicScriptRunnerImpl.java:44)
at oracle.as.install.bi.scripts.impl.WebLogicScriptImpl.runWithRunner(WebLogicScriptImpl.java:49)
at oracle.as.install.bi.biconfig.standard.WLSTScriptTask.doExecute(WLSTScriptTask.java:94)
at oracle.as.install.bi.biconfig.standard.MergePolicyStoreTask.doExecute(MergePolicyStoreTask.java:63)
at oracle.as.install.bi.biconfig.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:70)
at oracle.as.install.bi.biconfig.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
at oracle.as.install.bi.biconfig.BIConfigMain.doExecute(BIConfigMain.java:112)
at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.io.IOException: Cannot run program "/opt/aadvr/middleware/Oracle_BI1/common/bin/wlst.sh": error=12, Not enough space
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at oracle.as.install.bi.util.Exec.runCommandSynchronously(Exec.java:69)
at oracle.as.install.bi.util.Exec.runCommandSynchronously(Exec.java:39)
at oracle.as.install.bi.scripts.impl.WebLogicScriptRunnerImpl.run(WebLogicScriptRunnerImpl.java:40)
... 15 more
Caused by: java.io.IOException: error=12, Not enough space
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 18 more
oracle.as.install.bi.scripts.WebLogicScriptException: java.io.IOException: Cannot run program "/opt/aadvr/middleware/Oracle_BI1/common/bin/wlst.sh": error=12, Not enough space
at oracle.as.install.bi.scripts.impl.WebLogicScriptRunnerImpl.run(WebLogicScriptRunnerImpl.java:44)
at oracle.as.install.bi.scripts.impl.WebLogicScriptImpl.runWithRunner(WebLogicScriptImpl.java:49)
at oracle.as.install.bi.biconfig.standard.WLSTScriptTask.doExecute(WLSTScriptTask.java:94)
at oracle.as.install.bi.biconfig.standard.MergePolicyStoreTask.doExecute(MergePolicyStoreTask.java:63)
at oracle.as.install.bi.biconfig.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:70)
at oracle.as.install.bi.biconfig.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
at oracle.as.install.bi.biconfig.BIConfigMain.doExecute(BIConfigMain.java:112)
at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.io.IOException: Cannot run program "/opt/aadvr/middleware/Oracle_BI1/common/bin/wlst.sh": error=12, Not enough space
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at oracle.as.install.bi.util.Exec.runCommandSynchronously(Exec.java:69)
at oracle.as.install.bi.util.Exec.runCommandSynchronously(Exec.java:39)
at oracle.as.install.bi.scripts.impl.WebLogicScriptRunnerImpl.run(WebLogicScriptRunnerImpl.java:40)
... 15 more
Caused by: java.io.IOException: error=12, Not enough space
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 18 more
oracle.as.install.bi.scripts.WebLogicScriptException: java.io.IOException: Cannot run program "/opt/aadvr/middleware/Oracle_BI1/common/bin/wlst.sh": error=12, Not enough space
at oracle.as.install.bi.scripts.impl.WebLogicScriptRunnerImpl.run(WebLogicScriptRunnerImpl.java:44)
at oracle.as.install.bi.scripts.impl.WebLogicScriptImpl.runWithRunner(WebLogicScriptImpl.java:49)
at oracle.as.install.bi.biconfig.standard.WLSTScriptTask.doExecute(WLSTScriptTask.java:94)
at oracle.as.install.bi.biconfig.standard.MergePolicyStoreTask.doExecute(MergePolicyStoreTask.java:63)
at oracle.as.install.bi.biconfig.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:70)
at oracle.as.install.bi.biconfig.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
at oracle.as.install.bi.biconfig.BIConfigMain.doExecute(BIConfigMain.java:112)
at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.io.IOException: Cannot run program "/opt/aadvr/middleware/Oracle_BI1/common/bin/wlst.sh": error=12, Not enough space
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at oracle.as.install.bi.util.Exec.runCommandSynchronously(Exec.java:69)
at oracle.as.install.bi.util.Exec.runCommandSynchronously(Exec.java:39)
at oracle.as.install.bi.scripts.impl.WebLogicScriptRunnerImpl.run(WebLogicScriptRunnerImpl.java:40)
... 15 more
Caused by: java.io.IOException: error=12, Not enough space
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 18 more
oracle.as.install.bi.scripts.WebLogicScriptException: java.io.IOException: Cannot run program "/opt/aadvr/middleware/Oracle_BI1/common/bin/wlst.sh": error=12, Not enough space
at oracle.as.install.bi.scripts.impl.WebLogicScriptRunnerImpl.run(WebLogicScriptRunnerImpl.java:44)
at oracle.as.install.bi.scripts.impl.WebLogicScriptImpl.runWithRunner(WebLogicScriptImpl.java:49)
at oracle.as.install.bi.biconfig.standard.WLSTScriptTask.doExecute(WLSTScriptTask.java:94)
at oracle.as.install.bi.biconfig.standard.MergePolicyStoreTask.doExecute(MergePolicyStoreTask.java:63)
at oracle.as.install.bi.biconfig.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:70)
at oracle.as.install.bi.biconfig.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
at oracle.as.install.bi.biconfig.BIConfigMain.doExecute(BIConfigMain.java:112)
at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.io.IOException: Cannot run program "/opt/aadvr/middleware/Oracle_BI1/common/bin/wlst.sh": error=12, Not enough space
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at oracle.as.install.bi.util.Exec.runCommandSynchronously(Exec.java:69)
at oracle.as.install.bi.util.Exec.runCommandSynchronously(Exec.java:39)
at oracle.as.install.bi.scripts.impl.WebLogicScriptRunnerImpl.run(WebLogicScriptRunnerImpl.java:40)
... 15 more
Caused by: java.io.IOException: error=12, Not enough space
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 18 more
We have enough space in our swapfile and the process itself (more than 500MB left) !
Anybody got in idea ?Hello,
Did you ever get this resolved. I'm having the same issue on SPARC64.
Thanks -
Not able to start SOA managed server first time with node manager by WLST
Hi all,
I have created a SOA11g domain. Then using WLST utility I have started the Node Manager.
Then from WLST prompt I have connected to the Node Manager & started the Admin Server successfully.
But when ever I am starting the SOA manager server using WLST it's throwing the following error in WLST page : -
Error Starting server soa_server1: weblogic.nodemanager.NMException: Exception while starting server 'soa_server1'
In server log file I am getting the following error : -
Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication for user denied
weblogic.security.SecurityInitializationException: Authentication for user denied
I am getting this problem only when I am trying to start the domain for the first time after domain creation using WLST/nodemanager.
If I start & stop the SOA managed server from EM console & then try to start it aging from WLST/NodeManager then it's work fine.
Can anyone please tell me what can be the issue?
Thanks in Advance!!!
Edited by: 008 on Dec 6, 2012 7:53 PMHi,
I am getting this problem only when I am trying to start the domain for the first time after domain creation using WLST/nodemanager.
If I start & stop the SOA managed server from EM console & then try to start it aging from WLST/NodeManager then it's work fine.When you a server for the first time by using console or startManagedWeblogic.cmd, a file boot.properties is created under %DOMAIN_HOME%\servers\soa_server2\data\nodemanager...
The WLST/Nodemanager approach doesn't create the file so it won't work for the first start... But it will work just fine from the second on...
I've never tried, but you can try and create the boot.properties manually in your script with the following content... Password should be encrypted after the first successful start...
username=type-the-username-here
password=type-the-password-here
Cheers,
Vlad -
Urgent help need to solve wlst RuntimeMBeanServer is not enabled
I am using wlst to connect to a osb but I am getting the following errors:
How can enable RuntimeMBeanServer using the console ?
[wlst] The CompatabilityMBeanServer is not initialized properly.
[wlst] This might happen if the CompatabilityMBeanServer is
[wlst] disabled via the JMXMBean.
[wlst]
[wlst] To view the root cause exception use dumpStack()
[wlst] WLST detected that the RuntimeMBeanServer is not enabled. This
[wlst] might happen if the RuntimeMBeanServer is disabled via the JMXMBean.
[wlst] Please ensure that this MBeanServer is enabled. Online WLST cannot
[wlst] function without this MBeanServer.
[wlst] Traceback (innermost last):
[wlst] File "/tmp/wlsttempfile1273502167.py", line 8, in ?
[wlst] File "<iostream>", line 22, in connect
[wlst] File "<iostream>", line 646, in raiseWLSTException
[wlst] WLSTException: Error occured while performing connect : "Cannot connect to WLST."
[wlst] Use dumpStack() to view the full stacktrace
[wlst] Exception in thread "main" java.lang.IllegalStateException: Traceback (innermost last):
[wlst] File "/tmp/wlsttempfile1273502167.py", line 8, in ?
[wlst] File "<iostream>", line 22, in connect
[wlst] File "<iostream>", line 646, in raiseWLSTException
[wlst] WLSTException: Error occured while performing connect : "Cannot connect to WLST."
[wlst] Use dumpStack() to view the full stacktrace
[wlst] at weblogic.management.scripting.WLSTInterpreterInvoker.printError(WLSTInterpreterInvoker.java:110)
[wlst] at weblogic.management.scripting.WLSTInterpreterInvoker.executePyScript(WLSTInterpreterInvoker.java:103)
[wlst] at weblogic.management.scripting.WLSTInterpreterInvoker.main(WLSTInterpreterInvoker.java:27)
[wlst] Java Result: 1N Gasparotto wrote:
bsac14 wrote:
my database is in no archive mode
can you please tell how to restore
yes it is a datafile corruptionYou did not say how you defined that's a datafile corruption. You provide minimum to zero information.
I just need to bring the database up,no need any exact data
I can refresh from prod laterThen drop and recreate database. Basically and since you are not in archive mode, no recover is possible. Period.
Nicolas.Hi,
How did you come to the conclusion that your datafile is corrupted? Can you provide and supported logs?
Regards ..... -
Hello,
i would like to kindly ask for a help with following issue:
Basically we are migrating from the 10.3.0 to the 10.3.5 version. We are building the domain using the template in "silent mode". And when i try to create the domain with new weblogic 10.3.5 im getting some errors.
The command to run the creation of the domain is following:
${WL_HOME}/common/bin/config.sh -mode=silent -silent_script=${SILENT_SCRIPT} -log=${WLLOGFILE} >> ${LOGFILE} 2>&1
returnCode=$?
SILENT_SCRIPT contains following commands:
read template from "/local/wg372/BM/appl/config/NEW_DOMAIN_CONFIGURED.jar";
write domain to "/local/wg372/BM/appl/BmDomain";
set OverwriteDomain "true";
close template;
When i setup new env(solaris) with weblogic 10.3.5 im getting following error when the silent_script command (*write domain to "/local/wg372/BM/appl/BmDomain";*) is executed:
2011-07-18 16:53:00,427 INFO [runScript] com.oracle.cie.domain.script.ScriptExecutor - succeed: read template from "/local/wg372/BM/appl/config/NEW_DOMAIN_CONFIGURED.jar"
2011-07-18 16:53:00,427 INFO [runScript] com.oracle.cie.domain.script.ScriptExecutor - write Domain to "/local/wg372/BM/appl/BmDomain"
2011-07-18 16:53:00,505 ERROR [runScript] com.oracle.cie.wizard.domain.silent.tasks.RunScriptTask - There was an error executing the script: /local/wg372/BM/appl/installer/silent_script
java.lang.NullPointerException
at com.oracle.cie.domain.security.SecurityGenerateLDIFT.buildSecurityInfo(SecurityGenerateLDIFT.java:460)
at com.oracle.cie.domain.security.SecurityGenerateLDIFT.<init>(SecurityGenerateLDIFT.java:119)
at com.oracle.cie.domain.script.ScriptExecutor.writeDomain(ScriptExecutor.java:718)
at com.oracle.cie.domain.script.ScriptParserClassic$StateMachine.processWrite(ScriptParserClassic.java:573)
at com.oracle.cie.domain.script.ScriptParserClassic$StateMachine.execute(ScriptParserClassic.java:429)
at com.oracle.cie.domain.script.ScriptParserClassic.parseAndRun(ScriptParserClassic.java:148)
at com.oracle.cie.domain.script.ScriptParserClassic.doExecute(ScriptParserClassic.java:110)
at com.oracle.cie.domain.script.ScriptParser.execute(ScriptParser.java:72)
at com.oracle.cie.domain.script.ScriptParser.execute(ScriptParser.java:35)
at com.oracle.cie.wizard.domain.helpers.Executor.runSilentScript(Executor.java:68)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.oracle.cie.wizard.domain.silent.tasks.RunScriptTask.runScriptWithExecutor(RunScriptTask.java:551)
at com.oracle.cie.wizard.domain.silent.tasks.RunScriptTask.execute(RunScriptTask.java:335)
at com.oracle.cie.wizard.silent.tasks.AbstractSilentTask.run(AbstractSilentTask.java:28)
at java.lang.Thread.run(Thread.java:662)
In Windows env im getting following error:
create.domain:
[exec] -mode="silent" -silent_script=J:/_dev/build/installer/silent_script
[exec] << read template from "J:/_dev/build/config/NEW_DOMAIN_CONFIGURED.jar"
[exec] >> succeed: read template from "J:/_dev/build/config/NEW_DOMAIN_CONFIGURED.jar"
[exec] << write Domain to "J:/_dev/build/BmDomain"
[exec] CFGFWK-60550: Script execution aborted. The script may contain an error.
[exec] null
CFGFWK-60550: - doc says
CFGFWK-60550: Script execution aborted. The script may contain an error.
Cause:
Action:
Level: 1
Type: ERROR
Impact: Configuration
I tried to google for this issue, look into the weblogic documentation but with no luck.
So i would like to kindly ask, if anyone of you perhaps could give me a hint/advise with this problem.
Thanks in advance.Hi,
thanks for the reply but im not sure if we are talking about the same thing. What i need is to upgrade the weblogic "DOMAIN" not the weblogic installation itself.
Anyway,
after some googling and testing im again stucked with another issue:
1. First i have created the old doman (10.3.0)
2. Then i have tested the domain with the new weblogic version 10.3.5 - as it should be (and is) compatible within those 2 versions
---> worked fine
3. Then via offline WLST(of weblogic 10.3.5) i have managed to create new template with command writeTemplate(nameOfTemplate.jar)
4. But when i try to create the new domain with the new template via WLST(of weblogic 10.3.5) im again stucked (im able to read the template in wlst but not able to writeDomain ) - error:
wls:/offline> readTemplate('/home/wg372/tmp/new_template.jar')
wls:/offline/BmDomain>writeDomain('/home/wg372/tmp/new_domain')
Error: writeDomain() failed. Do dumpStack() to see details.
wls:/offline/BmDomain>dumpStack()
com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.ScriptException: The application location must have write permission.
at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:51)
at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:1538)
at com.oracle.cie.domain.script.jython.WLScriptContext.writeDomain(WLScriptContext.java:803)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.python.core.PyReflectedFunction.__call__(Unknown Source)
at org.python.core.PyMethod.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.core.PyInstance.invoke(Unknown Source)
at org.python.pycode._pyx3.writeDomain$15(/var/tmp/WLSTOfflineIni6651397525640719781.py:71)
at org.python.pycode._pyx3.call_function(/var/tmp/WLSTOfflineIni6651397525640719781.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.pycode._pyx24.f$0(<console>:1)
at org.python.pycode._pyx24.call_function(<console>)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyCode.call(Unknown Source)
at org.python.core.Py.runCode(Unknown Source)
at org.python.core.Py.exec(Unknown Source)
at org.python.util.PythonInterpreter.exec(Unknown Source)
at org.python.util.InteractiveInterpreter.runcode(Unknown Source)
at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
at weblogic.management.scripting.WLST.main(WLST.java:173)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.WLST.main(WLST.java:29)
Caused by: com.oracle.cie.domain.script.ScriptException: The application location must have write permission.
at com.oracle.cie.domain.script.ScriptExecutor.writeDomain(ScriptExecutor.java:757)
at com.oracle.cie.domain.script.jython.WLScriptContext.writeDomain(WLScriptContext.java:795)
... 29 more
I tried to have a look around for the "The application location must have write permission." problem but again with no luck.
Furthemore when i try to do the same with old domain template, with old version of WLST (of weblogic 10.3.0), i have no problems with creating of the domain.
Any ideas?
Ill keep you updated :-) -
I copy ant code from http://middlewaremagic.com/weblogic/?p=2504 and change it as follow. I use weblogic 10.3.4
New datasources can be created. However, the JNDI name is not complete. It doesn't contain jdbc/
<?xml version="1.0" ?>
<project name="deploy" default="makeDataSource" basedir=".">
<property name="wls.username" value="weblogic" />
<property name="wls.password" value="welcome1" />
<property name="wls.url" value="t3://localhost:7001" />
<property name="wls.targetServer" value="AdminServer" />
<property name="wls.domainName" value="SOAdomain5" />
<!--<property name="database.url" value="jdbc:pointbase:server://localhost:9092/demo" />-->
<property name="database.url" value="jdbc:oracle:thin:@localhost:1521:orcl"/>
<!--<property name="database.driver" value="com.pointbase.jdbc.jdbcUniversalDriver" />-->
<property name="database.driver" value="oracle.jdbc.xa.client.OracleXADataSource"/>
<property name="database.user" value="dstest" />
<property name="database.password" value="dstest" />
<property name="weblogic.jar" value="E:\Jdeveloper_11115\wlserver_10.3\server\lib" />
<echo message="${weblogic.jar}\weblogic.jar"/>
<taskdef name="wldeploy" classname="weblogic.ant.taskdefs.management.WLDeploy">
<classpath>
<pathelement location="${weblogic.jar}\weblogic.jar"/>
</classpath>
</taskdef>
<taskdef name="wlconfig" classname="weblogic.ant.taskdefs.management.WLConfig">
<classpath>
<pathelement location="${weblogic.jar}\weblogic.jar"/>
</classpath>
</taskdef>
<target name="makeDataSource">
<wlconfig username="${wls.username}" password="${wls.password}" url="${wls.url}">
<query domain="${wls.domainName}" type="Server" name="${wls.targetServer}" property="x" />
<create type="JDBCConnectionPool" name="TestDS">
<set attribute="CapacityIncrement" value="1"/>
<set attribute="DriverName" value="${database.driver}"/>
<set attribute="InitialCapacity" value="1"/>
<set attribute="MaxCapacity" value="10"/>
<set attribute="Password" value="${database.password}"/>
<set attribute="Properties" value="user=${database.user}"/>
<set attribute="RefreshMinutes" value="0"/>
<set attribute="ShrinkPeriodMinutes" value="15"/>
<set attribute="ShrinkingEnabled" value="true"/>
<set attribute="TestConnectionsOnRelease" value="false"/>
<set attribute="TestConnectionsOnReserve" value="true"/>
<set attribute="TestTableName" value="SYSTABLES"/>
<set attribute="URL" value="${database.url}"/>
<set attribute="Targets" value="${x}" />
</create>
<create type="JDBCDataSource" name="TestDS" >
<set attribute="JNDIName" value="jdbc/TestDS"/>
<set attribute="PoolName" value="TestDS"/>
<set attribute="Targets" value="${x}" />
</create>
</wlconfig>
</target>
</project>Thank you. But I get errors. Could you help me to change the code?
Java_home in my computer is C:\Program Files\Java\jdk1.6.0_24
The password and username as well as url are correct. And I can login to wlst using connect('weblogic', 'welcome1', 't3://localhost:7001') in command line
How to start CompatabilityMBeanServer?
------------------------------------------error-----------------------------------
Buildfile: C:\JdevWorkspace\ANTdatasource\Project3\build.xml
[echo] ---13---
[echo] ---16---
makeDataSource:
[echo] ---18---
[wlst] ---1---
[wlst] Connecting to t3://localhost:7001 with userid weblogic ...
[wlst]
[wlst] The CompatabilityMBeanServer is not initialized properly.
[wlst] This might happen if the CompatabilityMBeanServer is
[wlst] disabled via the JMXMBean.
[wlst]
[wlst] To view the root cause exception use dumpStack()
[wlst]
[wlst] WLST detected that the RuntimeMBeanServer is not enabled. This
[wlst] might happen if the RuntimeMBeanServer is disabled via the JMXMBean.
[wlst] Please ensure that this MBeanServer is enabled. Online WLST cannot
[wlst] function without this MBeanServer.
[wlst] Exception in thread "main" java.lang.IllegalStateException: Traceback (innermost last):
[wlst] File "makeDS.py", line 2, in ?
[wlst] File "<iostream>", line 22, in connect
[wlst] File "<iostream>", line 646, in raiseWLSTException
[wlst] WLSTException: Error occured while performing connect : "Cannot connect to WLST."
[wlst] Use dumpStack() to view the full stacktrace
[wlst]
[wlst] at weblogic.management.scripting.WLSTInterpreterInvoker.printError(WLSTInterpreterInvoker.java:110)
[wlst] Traceback (innermost last):
[wlst] File "makeDS.py", line 2, in ?
[wlst] File "<iostream>", line 22, in connect
[wlst] File "<iostream>", line 646, in raiseWLSTException
[wlst] WLSTException: Error occured while performing connect : "Cannot connect to WLST."
[wlst] Use dumpStack() to view the full stacktrace
[wlst]
[wlst] at weblogic.management.scripting.WLSTInterpreterInvoker.executePyScript(WLSTInterpreterInvoker.java:103)
[wlst] at weblogic.management.scripting.WLSTInterpreterInvoker.main(WLSTInterpreterInvoker.java:27)
BUILD FAILED
C:\JdevWorkspace\ANTdatasource\Project3\build.xml:21: Java returned: 1
Total time: 19 seconds
<?xml version="1.0" encoding="UTF-8" ?>
<project name="makeDataSource" default="makeDataSource" basedir=".">
<path id="wl.classpath">
<fileset dir="E:\Jdeveloper_11115\wlserver_10.3\server\lib">
<include name="*.jar"/>
</fileset>
<!--
<fileset dir="E:\Jdeveloper_11115\modules">
<include name="*.jar"/>
</fileset> -->
</path>
<echo message="---13---"/>
<taskdef classpathref="wl.classpath" name="wlst" classname="weblogic.ant.taskdefs.management.WLSTTask" >
</taskdef>
<echo message="---16---"/>
<target name="makeDataSource">
<echo message="---18---"/>
<!--<wlst debug="false" failOnError="true" executeScriptBeforeFile="true" fileName="makeDS.py" classpathref="wl.classpath">-->
<wlst fileName="makeDS.py" debug="false" failOnError="true" executeScriptBeforeFile="true" classpathref="wl.classpath">
<!--<script>
print 'In the target loop'
connect('weblogic','welcome1','t3://localhost:7001')
</script>-->
</wlst>
<echo message="---21---"/>
</target>
</project>
print '---1---'
connect("weblogic","welcome1", "t3://localhost:7001")
edit()
print '---4---'
# Change these names as necessary
dsname="TestDS"
server="AdminServer"
cd("Servers/"+server)
target=cmo
cd("../..")
startEdit()
# start creation
print 'Creating JDBCSystemResource with name '+dsname
jdbcSR = create(dsname,"JDBCSystemResource")
theJDBCResource = jdbcSR.getJDBCResource()
theJDBCResource.setName( dsname )
connectionPoolParams = theJDBCResource.getJDBCConnectionPoolParams()
connectionPoolParams.setConnectionReserveTimeoutSeconds(25)
connectionPoolParams.setMaxCapacity(100)
connectionPoolParams.setTestTableName("dual")
dsParams = theJDBCResource.getJDBCDataSourceParams()
dsParams.addJNDIName("jdbc/TestDs")
driverParams = theJDBCResource.getJDBCDriverParams()
driverParams.setUrl("jdbc:oracle:thin:@localhost:1521:ORCL")
driverParams.setDriverName("oracle.jdbc.driver.OracleDriver")
driverParams.setPassword("welcome1")
driverProperties = driverParams.getProperties()
proper = driverProperties.createProperty("user")
proper.setValue("hr")
jdbcSR.addTarget(target)
save()
activate(block="true")
print 'Done configuring the data source' -
Weblogic 12c on Mac OS X: Cannot build SAMLSSO sample
I'm trying to build the SAML sample which comes with WLS 12c (/Oracle/Middleware/wlserver_12.1/samples/server/examples/src/examples/security/samlsso). I'd like to create both a SAML 2.0 IdP and SP and test them before I attempt to integrate a 3rd party IdP with WLS as SP. I'm following the instructions found at /Oracle/Middleware/wlserver_12.1/samples/server/index.html which indicate I should do the following:
Create and configure the IdP domain: ant prepareIdentityProviderServer
Create and configure the SP domain: ant prepareServiceProviderServer
In both cases the domains are creates, the server starts and I see the configIDPServer (and configSPServer) being called. In the case of the IdP I see the following, correct, output:
configIDPServer:
[wlst]
[wlst] +++++ Properties passed to script +++++
[wlst]
[wlst] adminUser: weblogic
[wlst] adminPwd: welcome1
[wlst] adminURL: t3://localhost:7003
[wlst] preferredBinding: HTTP/POST
[wlst] ssoServerName: examplesServer
[wlst] entityID: http://localhost:7003/idpentityid
[wlst] publishedSiteURL: http://localhost:7003/saml2
[wlst] loginURL: http://localhost:7003/loginapp/loginapp.jsp
[wlst] ssoSigningKeyAlias: idpSSOSigningKeyAlias
[wlst] ssoSigningKeyPassPhrase: idpSSOSigningKeyPassPhrase
[wlst] sport: 7004
[wlst] customTrustKeyStoreFileName: /Users/dgrstl/Oracle/Middleware/wlserver_12.1/samples/server/examples/src/examples/security/samlsso/samlattr-cert/idpTrust.jks
[wlst] customTrustKeyStorePassPhrase: idpTrustKeyStorePassPhrase
[wlst] customIdentityKeyStoreFileName: /Users/dgrstl/Oracle/Middleware/wlserver_12.1/samples/server/examples/src/examples/security/samlsso/samlattr-cert/idpIdentity.jks
[wlst] customIdentityKeyStorePassPhrase: idpIdentityKeyStorePassPhrase
[wlst] serverPrivateKeyAlias: idpServerKeyAlias
[wlst] serverPrivateKeyPassPhrase: idpServerKeyPassPhrase
[wlst] replicatedCacheEnabled: false
[wlst] credentialMapperName: saml2cm
[wlst] KeyStoresName: CustomIdentityAndCustomTrust
[wlst]
[wlst] +++++ Properties passed to script +++++
[wlst]
[wlst] Connecting to t3://localhost:7003 with userid weblogic ...
At this point I should be able to connect to http://localhost:7003/console but cannot (I do see an active listening port open on 7003). After 4 minutes the WLST times out with the following error:
[wlst] WLST lost connection to the WebLogic Server that you were
[wlst] connected to, this may happen if the server was shutdown or
[wlst] partitioned. You will have to re-connect to the server once the
[wlst] server is available.
[wlst]
[wlst] WLST detected that the RuntimeMBeanServer is not enabled. This
[wlst] might happen if the RuntimeMBeanServer is disabled via the JMXMBean.
[wlst] Please ensure that this MBeanServer is enabled. Online WLST cannot
[wlst] function without this MBeanServer.
[wlst] Disconnected from weblogic server: examplesServer
[wlst] Traceback (innermost last):
[wlst] File "/Users/dgrstl/Oracle/Middleware/wlserver_12.1/samples/server/examples/src/examples/security/samlsso/scripts/saml20cfg/IdP_configSite.py", line 50, in ?
[wlst] Exception in thread "main" java.lang.IllegalStateException: Traceback (innermost last):
[wlst] File "<iostream>", line 22, in connect
[wlst] File "/Users/dgrstl/Oracle/Middleware/wlserver_12.1/samples/server/examples/src/examples/security/samlsso/scripts/saml20cfg/IdP_configSite.py", line 50, in ?
[wlst] File "<iostream>", line 648, in raiseWLSTException
[wlst] File "<iostream>", line 22, in connect
[wlst] WLSTException: Error occured while performing connect : "Cannot connect to WLST." : No message was received for: '240' seconds
[wlst] Use dumpStack() to view the full stacktrace
[wlst]
[wlst] File "<iostream>", line 648, in raiseWLSTException
[wlst] WLSTException: Error occured while performing connect : "Cannot connect to WLST." : No message was received for: '240' seconds
[wlst] Use dumpStack() to view the full stacktrace
[wlst]
[wlst] at weblogic.management.scripting.WLSTInterpreterInvoker.printError(WLSTInterpreterInvoker.java:146)
[wlst] at weblogic.management.scripting.WLSTInterpreterInvoker.executePyScript(WLSTInterpreterInvoker.java:111)
[wlst] at weblogic.management.scripting.WLSTInterpreterInvoker.main(WLSTInterpreterInvoker.java:30)
BUILD FAILED
Is this sample broken? Any ideas on what the problem could be? I should note that I can manually start the server from a new command shell, connect to the console, etc. so the domain seems fine except when started from WLST.I was able to work around this by modifying the prepareServers.xml ant import. Specifically I did the following:
1. Setup the environment
2. ant prepareIdentityProviderServer
3. Server started, killed the script
4. Repeated 2-4 for the SP
5. Modified the prepareServerController target in prepareServers.xml by commenting out the ant-call target="stopServer" and target="createServer"
6. ant prepareIdentityProviderServer (which remarkably worked despite needing to stop and restart the server with the same startServer target)
7. ant prepareServiceProviderServer
Could this be a bug in the wlserver task? startServer looks like this (hangs when it has to create a domain, works fine when a domain already exists)
<target name="startServer">
<echo message="*****************************************" />
<echo message="Starting WLS......" />
<echo message="*****************************************" />
<property name="generateConfig" value="true" />
<property name="customNameMapperLib" value="" />
<property name="extra-server-verbose" value="" />
<property name="sleepHours" value="${spServerSleep}" />
<property name="wls-min-stack" value="512m" />
<property name="wls-max-stack" value="512m" />
<wlserver dir="${domainDir}" servername="${serverName}" host="${host}" port="${port}" generateConfig="${generateConfig}" username="${username}" password="${password}" action="start">
<jvmarg line="-ms${wls-min-stack} -mx${wls-max-stack} -XX:MaxPermSize=128m -DCommonSecurityEnabled=true ${extra-server-verbose}" />
<classpath>
<pathelement location="${wl.home}/server/lib/weblogic.jar"/>
<pathelement location="${customNameMapperLib}"/>
</classpath>
</wlserver>
<sleep hours="${sleepHours}" />
</target>
Maybe you are looking for
-
I have tried this a number of times on different days, and each time it ends up saying the file is corrupt (when I try to "run" it). What do you think is going on? And my anti-virus software tell me that the site it is coming from is not "verified."
-
Reg.Account group creation in for FS00
Dear Alll I try to create PR in our ides system all entries I done and after entering the sale order ask for GL account number,if I give the GL account which I created(in FP01) telling the same error 'GL account not yet created'. Let it be one side I
-
Keyboard lights settings on Qosmio X70
Hi guys and girls Just got a new TOSHIBA Qosmio X70. Is it possible to make the keyboard back lights stay on longer ?? Many thanks Lee
-
ODI Error: java.sql.SQLException: statement is not in batch mode
Greetings Gurus! Would anybody know why changing a SQL view from AND hapf.attribute1 LIKE '%Active%' To AND (hapf.attribute1 LIKE '%Active%' or hapf.attribute1 = ‘Frozen’) cause ODI to fail? This is the error message from ODI: ODI-1228: Task SrcSet0
-
Only Kerberos Auth. for mac users
Good Morning, First my setup: Windows Server 2003 - DNS - KER-SERVER - AD Mac OSX Server - OD (Triangle) -Services Like iCAL, Mail Ok now my Problem... I am not able to use my normal AD users without having a Kerb ticket... I choose in every service