Error in log file java.lang.OutOfMemoryError: PermGen space error after installing OSM 7.2 (Doc ID 1470430.1)

Last updated on DECEMBER 06, 2016

Applies to:

Oracle Communications Order and Service Management - Version 7.2.0 to 7.2.0 [Release 7.2]
Information in this document applies to any platform.

Goal

 How to correctly install OSM 7.2.0.

 

The customer is getting following error after installation of OSM 7.2.0 and as a result, restarting WebLogic Server.

JAVA Memory arguments: -Xms256m -Xmx256m
.
WLS Start Mode=Development
.
CLASSPATH=/opt/osm/Middleware/oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar:/opt/osm/Middleware/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/osm/Middleware/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/lib/tools.jar:/opt/osm/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/opt/osm/Middleware/wlserver_10.3/server/lib/weblogic.jar:/opt/osm/Middleware/modules/features/weblogic.server.modules_10.3.5.0.jar:/opt/osm/Middleware/wlserver_10.3/server/lib/webservices.jar:/opt/osm/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/opt/osm/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/opt/osm/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrf.jar:/opt/osm/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/opt/osm/Middleware/wlserver_10.3/server/lib/xqrl.jar
.
PATH=/opt/osm/Middleware/wlserver_10.3/server/bin:/opt/osm/Middleware/modules/org.apache.ant_1.7.1/bin:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/osm/bin
.
***************************************************
*  To start WebLogic Server, use a username and   *
*  password assigned to an admin-level user.  For *
*  server administration, use the WebLogic Server *
*  console at http://hostname:port/console        *
***************************************************
starting weblogic with Java version:
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.4) (rhel-1.41.1.10.4.el6-x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)
Starting WLS with line:
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/java    -Xms256m -Xmx256m -Dweblogic.Name=AdminServer -Djava.security.policy=/opt/osm/Middleware/wlserver_10.3/server/lib/weblogic.policy   -da -Dplatform.home=/opt/osm/Middleware/wlserver_10.3 -Dwls.home=/opt/osm/Middleware/wlserver_10.3/server -Dweblogic.home=/opt/osm/Middleware/wlserver_10.3/server  -Dcommon.components.home=/opt/osm/Middleware/oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=/opt/osm/Middleware/user_projects/domains/o72domain -Djrockit.optfile=/opt/osm/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrocket_optfile.txt -Doracle.server.config.dir=/opt/osm/Middleware/user_projects/domains/o72domain/config/fmwconfig/servers/AdminServer -Doracle.domain.config.dir=/opt/osm/Middleware/user_projects/domains/o72domain/config/fmwconfig  -Digf.arisidbeans.carmlloc=/opt/osm/Middleware/user_projects/domains/o72domain/config/fmwconfig/carml  -Digf.arisidstack.home=/opt/osm/Middleware/user_projects/domains/o72domain/config/fmwconfig/arisidprovider -Doracle.security.jps.config=/opt/osm/Middleware/user_projects/domains/o72domain/config/fmwconfig/jps-config.xml -Doracle.deployed.app.dir=/opt/osm/Middleware/user_projects/domains/o72domain/servers/AdminServer/tmp/_WL_user -Doracle.deployed.app.ext=/- -Dweblogic.alternateTypesDirectory=/opt/osm/Middleware/oracle_common/modules/oracle.ossoiap_11.1.1,/opt/osm/Middleware/oracle_common/modules/oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol  -Dweblogic.jdbc.remoteEnabled=false  -Dweblogic.management.discover=true  -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/opt/osm/Middleware/patch_wls1035/profiles/default/sysext_manifest_classpath:/opt/osm/Middleware/patch_ocp360/profiles/default/sysext_manifest_classpath  weblogic.Server
<Jun 21, 2012 9:04:24 AM MSK> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<Jun 21, 2012 9:04:24 AM MSK> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
<Jun 21, 2012 9:04:24 AM MSK> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with OpenJDK 64-Bit Server VM Version 20.0-b11 from Sun Microsystems Inc.>
<Jun 21, 2012 9:04:25 AM MSK> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.5.0  Fri Apr 1 20:20:06 PDT 2011 1398638 >
<Jun 21, 2012 9:04:27 AM MSK> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Jun 21, 2012 9:04:27 AM MSK> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Jun 21, 2012 9:04:27 AM MSK> <Info> <WorkManager> <BEA-002902> <Creating execute queue "oms.xml".>
<Jun 21, 2012 9:04:27 AM MSK> <Info> <WorkManager> <BEA-002902> <Creating execute queue "oms.web".>
<Jun 21, 2012 9:04:27 AM MSK> <Info> <WorkManager> <BEA-002902> <Creating execute queue "oms.automation".>
<Jun 21, 2012 9:04:27 AM MSK> <Warning> <WorkManager> <BEA-002918> <Server detected execute queue(s) in self-tuning mode. Execute queues will not be self-tuned. They retain their behaviour from earlier releases. Consider using WorkManagers to take advantage of self-tuning>
<Jun 21, 2012 9:04:27 AM MSK> <Notice> <LoggingService> <BEA-320400> <The log file /opt/osm/Middleware/user_projects/domains/o72domain/servers/AdminServer/logs/AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
<Jun 21, 2012 9:04:27 AM MSK> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /opt/osm/Middleware/user_projects/domains/o72domain/servers/AdminServer/logs/AdminServer.log00016. Log messages will continue to be logged in /opt/osm/Middleware/user_projects/domains/o72domain/servers/AdminServer/logs/AdminServer.log.>
<Jun 21, 2012 9:04:27 AM MSK> <Notice> <Log Management> <BEA-170019> <The server log file /opt/osm/Middleware/user_projects/domains/o72domain/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
<Jun 21, 2012 9:04:32 AM MSK> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Jun 21, 2012 9:04:34 AM MSK> <Notice> <LoggingService> <BEA-320400> <The log file /opt/osm/Middleware/user_projects/domains/o72domain/servers/AdminServer/logs/access.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
<Jun 21, 2012 9:04:34 AM MSK> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /opt/osm/Middleware/user_projects/domains/o72domain/servers/AdminServer/logs/access.log00001. Log messages will continue to be logged in /opt/osm/Middleware/user_projects/domains/o72domain/servers/AdminServer/logs/access.log.>
<Jun 21, 2012 9:04:40 AM MSK> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<Jun 21, 2012 9:04:40 AM MSK> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Jun 21, 2012 9:04:41 AM MSK> <Warning> <oracle.as.jmx.framework.MessageLocalizationHelper> <J2EE JMX-46041> <The resource for bundle "oracle.jrf.i18n.MBeanMessageBundle" with key "oracle.jrf.JRFServiceMBean.checkIfJRFAppliedOnMutipleTargets" cannot be found.>
<Jun 21, 2012 9:04:41 AM MSK> <Warning> <JDBC> <BEA-001552> <The Logging Last Resource (LLR) data source oms_pool will not function when it is a participant in a global transaction that spans multiple WebLogic Server instances because remote JDBC support is disabled. LLR will function in single-server configurations.>
<21-Jun-2012 9:04:48,285 MSK AM> <INFO> <util.Environment> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <

********************************************************************************
*
* Order and Service Management  Version  7.2.0.0.0.1139
* Copyright © 1998, 2012, Oracle. All rights reserved.
* Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
* Other names may be trademarks of their respective owners.
*
********************************************************************************

>
<21-Jun-2012 9:04:48,310 MSK AM> <INFO> <util.Environment> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <

********************************************************************************************
*
* Order and Service Management (version 7.2.0.0.0.1139) - Application Services Are Starting
*
********************************************************************************************

>
<21-Jun-2012 9:04:48,313 MSK AM> <INFO> <j2ee.LifecycleListener> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <Stopping JMS Servers - Running>
<21-Jun-2012 9:04:48,339 MSK AM> <INFO> <j2ee.LifecycleListener> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <Stopping JMS Servers - Completed>
<Jun 21, 2012 9:04:55 AM MSK> <Warning> <Munger> <BEA-2156203> <A version attribute was not found in element webservices in the deployment descriptor in weblogic.utils.classloaders.ChangeAwareClassLoader@417f69df finder: weblogic.utils.classloaders.CodeGenClassFinder@4bc7bc0 annotation: oms@OrderManagement/diagnostic/WEB-INF/webservices.xml. A version attribute is required, but this version of the Weblogic Server will assume that the JEE5 is used. Future versions of the Weblogic Server will reject descriptors that do not specify the JEE version.>
<21-Jun-2012 9:04:59,431 MSK AM> <INFO> <listener.IlogListener> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <Ilog Product Registration - RUNNING>
<21-Jun-2012 9:04:59,511 MSK AM> <INFO> <listener.IlogListener> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <Ilog Product Registration - COMPLETE>
<21-Jun-2012 9:05:02,405 MSK AM> <INFO> <listener.IlogListener> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <Ilog Product Registration - RUNNING>
<21-Jun-2012 9:05:02,407 MSK AM> <INFO> <listener.IlogListener> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <Ilog Product Registration - COMPLETE>
<Jun 21, 2012 9:05:10 AM MSK> <Warning> <HTTP> <BEA-101162> <User defined listener oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack failed: java.lang.OutOfMemoryError: PermGen space.
java.lang.OutOfMemoryError: PermGen space
at java.lang.String.intern(Native Method)
at oracle.jdevimpl.webapp.taglib.model.TldHandlerBase.characters(TldHandlerBase.java:505)
at oracle.xml.parser.v2.NonValidatingParser.reportCharacters(NonValidatingParser.java:1773)
at oracle.xml.parser.v2.NonValidatingParser.parseText(NonValidatingParser.java:1461)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1345)
Truncated. see log file for complete stacktrace
>
<21-Jun-2012 9:05:12,074 MSK AM> <INFO> <listener.IlogListener> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <Ilog Context Listener Destroyed.>
./startWebLogic.sh: line 180: 22931 Killed                  ${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${JAVA_OPTIONS} ${PROXY_SETTINGS} ${SERVER_CLASS}

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms