Problem Note 43825: The configuration scripting tool for the Oracle WebLogic application server might fail when you use the JRockit Java Virtual Machine
The configuration scripting tool for the WebLogic application server might fail when you use the JRockit Java Virtual Machine.
In the scripting tool's output, you might see the following exception messages:
weblogic.management.scripting.ScriptException: Error occured while performing deploy :
The action you performed timed out after 1,800,000 milliseconds.
at weblogic.management.scripting.ExceptionHandler.handleException(ExceptionHandler.java:48)
at weblogic.management.scripting.WLSTUtils.throwWLSTException(WLSTUtils.java:188)
....
25 Jul 2011 22:02:32,679 - Failed to deploy application: sas.workflow9.3.ear.
25 Jul 2011 22:02:32,679 - org.python.proxies.main$WLSTException$59
25 Jul 2011 22:02:32,695 - ***** This step took 1809.0 seconds to complete. *****
25 Jul 2011 22:02:32,695 - operation completed with return code '-1'
25 Jul 2011 22:02:32,695 - The command on line 34 failed
25 Jul 2011 22:02:32,695 - line =deploy application sas.workflow9.3.ear
Exiting WebLogic Scripting Tool.
In addition, the WebLogic server logs (for example, SASServer1.out) might contain an out-of-memory error similar to the following:
<Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed:
org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance:
factory key [config.context], from group with resource name [classpath:beanRefContext.xml];
nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'config.context' defined in class path resource [beanRefContext.xml]:
Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException:
Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]:
Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'sas.svcs.cache': Invocation of init method failed;
nested exception is java.lang.OutOfMemoryError: class allocation, 19008328 loaded, 18944K footprint in check_alloc (src/jvm/model/classload/classalloc.c:213) 308 bytes requested.
Java heap 2G reserved, 1G committed
Paged memory=8585459336K/7867212K.
Your Java heap size might be set too high.
To correct this problem, edit the server.SASServer(n).properties file in the SAS-configuration-directory/Lev1/Web/Scripts/Weblogic/props/ directory, changing the maximum heap size to 4096m (-Xmx4096m);. There might be multiple places to change the maximum heap size in the property files.
After you make these changes, complete the following steps:
- Stop all instances of the WebLogic server, including the administration server and the node manager as well as managed servers.
- Remove the WebLogic NodeManager service (for Windows operating environments only).
- Delete the previously created WebLogic domain (for example, SAS-configuration-directory/Lev1/Web/SASDomain).
- Re-run the configuration scripting tool.
Additional Resources for JRockit Java Virtual Machine Information
- SAS Note 44023: "SAS Web applications might fail to be deployed in the SAS® Deployment Wizard when you use the JRockit Java Virtual Machine"
- SAS Note 44024: "The Oracle WebLogic application server might fail to start when you use the JRockit Java Virtual Machine"
Operating System and Release Information
| SAS System | BEA WebLogic Server | Windows 7 Ultimate x64 | 10.3 | 10.3 | 9.3 TS1M0 | 9.3 TS1M1 |
| Windows 7 Professional x64 | 10.3 | 10.3 | 9.3 TS1M0 | 9.3 TS1M1 |
| Windows 7 Enterprise x64 | 10.3 | 10.3 | 9.3 TS1M0 | 9.3 TS1M1 |
| Microsoft Windows XP Professional | 10.3 | 10.3 | 9.3 TS1M0 | 9.3 TS1M1 |
| Microsoft Windows Server 2008 for x64 | 10.3 | 10.3 | 9.3 TS1M0 | 9.3 TS1M1 |
| Microsoft Windows Server 2003 for x64 | 10.3 | 10.3 | 9.3 TS1M0 | 9.3 TS1M1 |
| Microsoft® Windows® for x64 | 10.3 | 10.3 | 9.3 TS1M0 | 9.3 TS1M1 |
| Windows Vista for x64 | 10.3 | 10.3 | 9.3 TS1M0 | 9.3 TS1M1 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Problem Note |
| Priority: | medium |
| Date Modified: | 2011-10-11 08:41:28 |
| Date Created: | 2011-07-26 01:41:48 |