ODI-1274: Agent Exception Caused by: PermGen space
Hi All,
I am trying to execute loads from designer, the below exception pops up
oracle.odi.runtime.agent.invocation.InvocationException: ODI-1274: Agent Exception Caused by: PermGen space
at oracle.odi.runtime.agent.invocation.RemoteRuntimeAgentInvoker.invoke(RemoteRuntimeAgentInvoker.java:265)
at oracle.odi.runtime.agent.invocation.support.InternalRemoteRuntimeAgentInvoker.invokeStartSession(InternalRemoteRuntimeAgentInvoker.java:192)
at com.sunopsis.graphical.dialog.SnpsDialogExecution.runStartSession(SnpsDialogExecution.java:1573).
However I am able to run the loads through unix.
Can some pls help?
Thanks,
Ashok
Hi Bhabani,
JDK Version in unix is 1.6_26 and the agent is a Stand-Alone agent.
Let me include few more observations.
1) I am able to run the loads through unix( Stand-Alone agent)
2) I am able to run the loads through designer using Local agent, only when i choose the unix agent to run the loads through designer, i get the above mentioned error.
3) Because of 2 , i thought something is wrong with designer setup. But i connected to a different repository and i was able to execute the loads through unix agent(We have seperate unix agent installion for each repository).
Thanks,
Ashok
Similar Messages
-
Servlet failed with Exception java.lang.OutOfMemoryError: PermGen space
Hello,
I recently installed BI Apps 11.1.1.7.1 on Oracle Linux 64.
while i am trying to run the full load i.e. SDE, SILOS and PLP and sometimes while trying to access BIA Configuration Manager..I get below error. while i tried to increase the heap size to 2gb in SetOBIDomain.sh for both bi_server1 and odi_sever1.sh, it is not really affected i.e. i dont see the updated arguments while trying to re start these managed servers. i tried to restart the box and it still did not work...Any idea on where exactly to change/update the parameters to increase the heap size and any other known issues cauing out of memory issues.
<Sep 30, 2013 11:55:44 AM EDT> <Error> <HTTP> <BEA-101020> <[ServletContext@263264514[app:oracle.biacm module:biacm path:/biacm spec-version:2.5 version:11.1.1.7.1]] Servlet failed with Exception
java.lang.OutOfMemoryError: PermGen space
Thank You in advance
RakeshHi Fabian,
It seems that you have got out of memory due to PermGen space, hence increase the MaxPermGen space
java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
Also you can go through the below posts to get more details about JVM architecture and more details about Out of memory
Topic: Parts Of JVM And JVM Architecture Diagram?
http://middlewaremagic.com/weblogic/?p=4456
Topic: OutOfMemory Causes and First Aid Steps?
http://middlewaremagic.com/weblogic/?p=4464
Regards,
Ravish Mody
http://middlewaremagic.com/weblogic/
Come, Join Us and Experience The Magic… -
ODI-1590: The execution of the script failed. Caused By: org.apache.bsf.BSFException: BeanShell script error: Sourced file: inline evaluation of: ``import oracle.odi.km.exception.OdiKmException; import GeoHub_migrator; com.Data . . . '' : Typed variable declaration : Class: com.DataMigrator not found in namespace : at Line: 4 : in file: inline evaluation of: ``import oracle.odi.km.exception.OdiKmException; import migrator; com.Data . . . '' : com .DataMigrator BSF info: PRC_CALL_JAVA_GEO at line: 0 column: columnNo at bsh.util.BeanShellBSFEngine.eval(Unknown Source) at bsh.util.BeanShellBSFEngine.exec(Unknown Source) at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:357) at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:173) at oracle.odi.runtime.agent.execution.interpreter.SessionTaskScriptingInterpretor.scripting(SessionTaskScriptingInterpretor.java:173) at oracle.odi.runtime.agent.execution.SessionTask.scripting(SessionTask.java:117) at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:47) at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:19) at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50) at oracle.odi.runtime.agent.execution.SessionTask.processTask(SessionTask.java:214) at oracle.odi.runtime.agent.execution.SessionTask.doExecuteTask(SessionTask.java:135) at oracle.odi.runtime.agent.execution.AbstractSessionTask.execute(AbstractSessionTask.java:856) at oracle.odi.runtime.agent.execution.SessionExecutor$SerialTrain.runTasks(SessionExecutor.java:2004) at oracle.odi.runtime.agent.execution.SessionExecutor.executeSession(SessionExecutor.java:544) at oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor$1.doAction(TaskExecutorAgentRequestProcessor.java:709) at oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor$1.doAction(TaskExecutorAgentRequestProcessor.java:624) at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:203) at oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor.doProcessStartAgentTask(TaskExecutorAgentRequestProcessor.java:789) at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor.doProcessStartScenTask(StartScenRequestProcessor.java:570) at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$StartScenTask.doExecute(StartScenRequestProcessor.java:1182) at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:177) at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$1.run(DefaultAgentTaskExecutor.java:64) at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49) at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor.executeAgentTask(DefaultAgentTaskExecutor.java:78) at oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor.doExecuteAgentTask(TaskExecutorAgentRequestProcessor.java:149) at oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor.process(TaskExecutorAgentRequestProcessor.java:140) at oracle.odi.runtime.agent.RuntimeAgent.startScenario(RuntimeAgent.java:884) at oracle.odi.runtime.agent.InternalRuntimeAgent.startScenario(InternalRuntimeAgent.java:84) at com.sunopsis.dwg.tools.StartScen.startScenOnLocalAgent(StartScen.java:1224) at com.sunopsis.dwg.tools.StartScen.actionExecute(StartScen.java:324) at com.sunopsis.dwg.function.SnpsFunctionBaseRepositoryConnected.execute(SnpsFunctionBaseRepositoryConnected.java:192) at oracle.odi.runtime.agent.execution.SessionTask.execIntegratedFunction(SessionTask.java:942) at oracle.odi.runtime.agent.execution.SessionTask.executeOdiCommand(SessionTask.java:575) at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(OdiCommandExecutor.java:44) at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(OdiCommandExecutor.java:20) at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50) at oracle.odi.runtime.agent.execution.SessionTask.processTask(SessionTask.java:214) at oracle.odi.runtime.agent.execution.SessionTask.doExecuteTask(SessionTask.java:135) at oracle.odi.runtime.agent.execution.AbstractSessionTask.execute(AbstractSessionTask.java:856) at oracle.odi.runtime.agent.execution.SessionExecutor$SerialTrain.runTasks(SessionExecutor.java:2004) at oracle.odi.runtime.agent.execution.SessionExecutor.executeSession(SessionExecutor.java:544) at oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor$1.doAction(TaskExecutorAgentRequestProcessor.java:709) at oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor$1.doAction(TaskExecutorAgentRequestProcessor.java:624) at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:203) at oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor.doProcessStartAgentTask(TaskExecutorAgentRequestProcessor.java:789) at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor.doProcessStartScenTask(StartScenRequestProcessor.java:570) at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$StartScenTask.doExecute(StartScenRequestProcessor.java:1182) at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:177) at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor
This is the wrong forum for an ODI question.
-
Exception: PermGen space
Hi,
I deploy the FusionOrderDemo_R1 to soa_server1.
I can create orders and view BPEL flow. However, after I make more than 3 orders or view BPEL process more then 3 times, it shows error of java.Lang.OutofMemoryError: PermGen space. I cannot use stopManagedWebLogic.cmd soa_server1 to stop the server. I have to close the command line window and restart the server. However, this error will appear soon.Hi,
Thanks for your reply. But I get error after I run startWebLogic.cmd
My machine has 4G memory.
=================error====================
C:\Documents and Settings\Administrator>e:
E:\>cd E:\Oracle\Middleware\user_projects\domains\soa8_domain\bin
E:\Oracle\Middleware\user_projects\domains\soa8_domain\bin>startWebLogic.cmd
** Setting up SOA specific environment for win...
'EXTRA_JAVA_PROPERTIES' PATH=E:\Oracle\MIDDLE~1\patch_wls1031\profiles\default\native;E:\Oracle\MIDDLE~1
\patch_oepe1031\profiles\default\native;E:\Oracle\MIDDLE~1\patch_jdev1111\profil
es\default\native;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;E:\Oracle\M
IDDLE~1\WLSERV~1.3\server\bin;E:\Oracle\MIDDLE~1\modules\ORGAPA~1.0\bin;E:\Oracl
e\MIDDLE~1\JDK160~1\jre\bin;E:\Oracle\MIDDLE~1\JDK160~1\bin;D:\JavaFX\javafx-sdk
1.2\bin;D:\JavaFX\javafx-sdk1.2\emulator\bin;E:\app\Administrator\product\11.1.0
\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\setup\Torto
iseSVN\bin;E:\Oracle\Middleware\modules\org.apache.ant_1.7.0\bin;D:\setup\UltraE
dit\;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8;E:\Oracle\Middl
eware\Oracle_SOA1\soa\thirdparty\edifecs\XEngine\bin
USER_MEM_ARGS=-Xms512m -Xmx1024m -XX:PermSize=512m -XX:MaxPermSize=1024m
JAVA_OPTIONS= -Xverify:none
** End SOA Specific environment setup for win.
** SOA specific environment is already set. Skipping ...
JAVA Memory arguments: -Xms512m -Xmx1024m -XX:PermSize=512m -XX:MaxPermSize=1024
m
WLS Start Mode=Development
CLASSPATH=E:\Oracle\Middleware\Oracle_SOA1\soa\modules\user-patch.jar;E:\Oracle\
Middleware\Oracle_SOA1\soa\modules\soa-startup.jar;;E:\Oracle\MIDDLE~1\patch_wls
1031\profiles\default\sys_manifest_classpath\weblogic_patch.jar;E:\Oracle\MIDDLE
~1\patch_oepe1031\profiles\default\sys_manifest_classpath\weblogic_patch.jar;E:\
Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_
patch.jar;E:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;E:\Oracle\MIDDLE~1\utils\con
fig\10.3.1.0\config-launch.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic
_sp.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;E:\Oracle\MIDDLE~1
\modules\features\weblogic.server.modules_10.3.1.0.jar;E:\Oracle\MIDDLE~1\WLSERV
~1.3\server\lib\webservices.jar;E:\Oracle\MIDDLE~1\modules\ORGAPA~1.0/lib/ant-al
l.jar;E:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;E:\Oracle\Midd
leware\Oracle_SOA1\soa\modules\commons-cli-1.1.jar;E:\Oracle\Middleware\Oracle_S
OA1\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar;E:\Oracle\Middleware\O
racle_SOA1\soa\modules\oracle.soa.adapter_11.1.1\jca-binding-api.jar;E:\Oracle\M
iddleware\Oracle_SOA1\modules\oracle.xdk_11.1.0\xsu12.jar;E:\Oracle\MIDDLE~1\mod
ules\features\weblogic.server.modules.xquery_10.3.1.0.jar;E:\Oracle\Middleware\O
racle_SOA1\soa\modules\commons-cli-1.1.jar;E:\Oracle\Middleware\Oracle_SOA1\soa\
modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar;E:\Oracle\MIDDLE~1\USER_P~1\do
mains\SOA8_D~1\config\soa-infra;E:\Oracle\Middleware\Oracle_SOA1\soa\modules\ora
cle.soa.thirdparty.jar;E:\Oracle\Middleware\Oracle_SOA1\soa\modules\oracle.soa.f
abric_11.1.1\oracle.soa.fabric.jar;E:\Oracle\Middleware\Oracle_SOA1\soa\modules\
oracle.soa.adapter_11.1.1\oracle.soa.adapter.jar;E:\Oracle\Middleware\Oracle_SOA
1\soa\thirdparty\edifecs\XEngine\bin\xengine.jar;E:\Oracle\Middleware\Oracle_SOA
1\soa\thirdparty\edifecs\XEngine\bin\xe_extensions.jar;E:\Oracle\Middleware\Orac
le_SOA1\soa\modules\oracle.soa.b2b_11.1.1\oracle.soa.b2b.jar;E:\Oracle\Middlewar
e\Oracle_SOA1\uddi\lib\oracle.soa.uddi.jar;E:\Oracle\MIDDLE~1\modules\junit_1.0.
0.0_3-8-1\junit.jar;E:\Oracle\Middleware\Oracle_SOA1\modules\oracle.jrf_11.1.1\j
rf.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;E:
\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar
PATH=E:\Oracle\MIDDLE~1\patch_wls1031\profiles\default\native;E:\Oracle\MIDDLE~1
\patch_oepe1031\profiles\default\native;E:\Oracle\MIDDLE~1\patch_jdev1111\profil
es\default\native;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;E:\Oracle\M
IDDLE~1\WLSERV~1.3\server\bin;E:\Oracle\MIDDLE~1\modules\ORGAPA~1.0\bin;E:\Oracl
e\MIDDLE~1\JDK160~1\jre\bin;E:\Oracle\MIDDLE~1\JDK160~1\bin;D:\JavaFX\javafx-sdk
1.2\bin;D:\JavaFX\javafx-sdk1.2\emulator\bin;E:\app\Administrator\product\11.1.0
\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\setup\Torto
iseSVN\bin;E:\Oracle\Middleware\modules\org.apache.ant_1.7.0\bin;D:\setup\UltraE
dit\;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8;E:\Oracle\Middl
eware\Oracle_SOA1\soa\thirdparty\edifecs\XEngine\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_11"
Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode)
Starting WLS with line:
E:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms512m -Xmx1024m -XX:PermSize=5
12m -XX:MaxPermSize=1024m -Dweblogic.Name=AdminServer -Djava.security.policy=E:\
Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Xverify:none -da -Dplat
form.home=E:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=E:\Oracle\MIDDLE~1\WLSERV~1.3
\server -Dweblogic.home=E:\Oracle\MIDDLE~1\WLSERV~1.3\server -Djps.app.credentia
l.overwrite.allowed=true -Ddomain.home=E:\Oracle\MIDDLE~1\USER_P~1\domains\SOA8_
D~1 -Doracle.home=E:\Oracle\Middleware\Oracle_SOA1 -Djrf.version=11.1.1 -Dorg.ap
ache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.o
ptfile=E:\Oracle\Middleware\Oracle_SOA1\modules\oracle.jrf_11.1.1\jrocket_optfil
e.txt -Doracle.security.jps.config=E:\Oracle\MIDDLE~1\USER_P~1\domains\SOA8_D~1\
config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.prot
ocol -Dweblogic.alternateTypesDirectory=E:\Oracle\Middleware\Oracle_SOA1\module
s\oracle.ossoiap_11.1.1,E:\Oracle\Middleware\Oracle_SOA1\modules\oracle.oamprovi
der_11.1.1 -Dsso.filter.enable=true -Doracle.security.jps.policy.migration.vali
date.principal=false -Dsoa.archives.dir=E:\Oracle\Middleware\Oracle_SOA1\soa -D
soa.instance.home=E:\Oracle\MIDDLE~1\USER_P~1\domains\SOA8_D~1 -Dtangosol.cohere
nce.clusteraddress=227.7.7.7 -Dtangosol.coherence.log=jdk -Djavax.xml.soap.Messa
geFactory=oracle.j2ee.ws.saaj.soap.MessageFactoryImpl -Dcom.sun.management.jmxre
mote -Djava.protocol.handler.pkgs="oracle.mds.net.protocol|oracle.fabric.common.
classloaderurl.handler|oracle.fabric.common.uddiurl.handler" -Dweblogic.transact
ion.blocking.commit=true -Dweblogic.transaction.blocking.rollback=true -Dem.orac
le.home=E:\Oracle\Middleware\Oracle_APPDEV1 -Djava.awt.headless=true -Dweblogic.
management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrors
ToConsole= -Dweblogic.ext.dirs=E:\Oracle\MIDDLE~1\patch_wls1031\profiles\default
\sysext_manifest_classpath;E:\Oracle\MIDDLE~1\patch_oepe1031\profiles\default\sy
sext_manifest_classpath;E:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysex
t_manifest_classpath weblogic.Server
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
E:\Oracle\Middleware\user_projects\domains\soa8_domain\bin>
======================setSOADomainEnv.cmd===========================================
@ECHO OFF
REM Skip running this script again if it was run once
if "%XENGINE_DIR%" == "" goto set_env
echo *********************************************************
echo ** SOA specific environment is already set. Skipping ...
goto end_set_env
:set_env
set PLATFORM_TYPE=win
echo *********************************************************
echo ** Setting up SOA specific environment for %PLATFORM_TYPE%...
echo *********************************************************
REM 8331492: Value of weblogic.resourcepool.max_test_wait_secs is 10
REM seconds. It can be increased by uncommenting line below if your database
REM connections are REM slow. See SOA documentation for more details.
REM
REM set EXTRA_JAVA_PROPERTIES=%EXTRA_JAVA_PROPERTIES% -Dweblogic.resourcepool.max_test_wait_secs=30
REM 8395254: add -da:org.apache.xmlbeans... in EXTRA_JAVA_PROPERTIES
EXTRA_JAVA_PROPERTIES=%EXTRA_JAVA_PROPERTIES% -da:org.apache.xmlbeans...
set XENGINE_DIR="%SOA_ORACLE_HOME%\soa\thirdparty\edifecs\XEngine"
set PATH=%PATH%;%SOA_ORACLE_HOME%\soa\thirdparty\edifecs\XEngine\bin
set JAVA_OPTIONS=%JAVA_OPTIONS%
set DEFAULT_MEM_ARGS=-Xms512m -Xmx1024m
set PORT_MEM_ARGS=%DEFAULT_MEM_ARGS%
if "%JAVA_VENDOR%" == "Oracle" goto OracleJVM
set DEFAULT_MEM_ARGS=%DEFAULT_MEM_ARGS% -XX:PermSize=512m -XX:MaxPermSize=1024m
set PORT_MEM_ARGS=%PORT_MEM_ARGS% -XX:PermSize=256m -XX:MaxPermSize=512m
:OracleJVM
if "%PROCESSOR_ARCHITECTURE%"=="AMD64" (
set USER_MEM_ARGS=%PORT_MEM_ARGS%
) else (
set USER_MEM_ARGS=%DEFAULT_MEM_ARGS%
echo PATH=%PATH%
echo .
echo USER_MEM_ARGS=%USER_MEM_ARGS%
echo .
echo JAVA_OPTIONS=%JAVA_OPTIONS%
echo .
echo *****************************************************
echo ** End SOA Specific environment setup for %PLATFORM_TYPE%.
echo *****************************************************
:end_set_env -
Scenario is not running in ODI Standalone agent from OPMN
when i am trying to run my scenario using ODI standalone agent it is not running and it is giving below error in opmn log file.
VARNING: Error retrieving ID statistics for repository WORKREP1.
ODI-1406: Agent Agent_ODI started with warning: JDBC connection error occurs while connecting to the work repository WORKREP1.
Caused By: oracle.odi.core.config.WorkRepositoryResourceFailureException: ODI-10182: Uncategorized exception during repository access.
Could not get JDBC Connection; nested exception is java.sql.SQLException: Ett undantag uppstod när anslutning hämtades: oracle.ucp.UniversalConnectionPoolException: Kan inte hämta anslutning från datakälla: java.sql.SQLException: ORA-12154: TNS:could not resolve the connect identifier specified
at oracle.odi.core.repository.Repository.getWorkRepository(Repository.java:195)
at oracle.odi.core.OdiInstance.createWorkRepository(OdiInstance.java:504)
at oracle.odi.runtime.agent.utils.AgentOdiInstance.createWorkRepository(AgentOdiInstance.java:60)
at oracle.odi.core.OdiInstance.<init>(OdiInstance.java:581)
at oracle.odi.runtime.agent.utils.AgentOdiInstance.<init>(AgentOdiInstance.java:28)
at oracle.odi.runtime.agent.utils.AgentOdiInstance.createInstance(AgentOdiInstance.java:32)
at oracle.odi.runtime.agent.utils.OdiInstanceCache.getWorkInstance(OdiInstanceCache.java:181)
at oracle.odi.runtime.agent.support.InternalAgentUtils.getAuthenticatedTargetOdiInstance(InternalAgentUtils.java:336)
at oracle.odi.runtime.agent.servlet.AgentServlet.verifyAllIdStatistics(AgentServlet.java:988)
at oracle.odi.runtime.agent.servlet.AgentServlet.startup(AgentServlet.java:361)
at oracle.odi.runtime.agent.servlet.AgentServlet.init(AgentServlet.java:239)
at javax.servlet.GenericServlet.init(GenericServlet.java:241)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:431)
at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:676)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at oracle.odi.Agent.startAgent(Agent.java:204)
at oracle.odi.Agent.main(Agent.java:538)
Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Ett undantag uppstod när anslutning hämtades: oracle.ucp.UniversalConnectionPoolException: Kan inte hämta anslutning från datakälla: java.sql.SQLException: ORA-12154: TNS:could not resolve the connect identifier specified
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:82)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:524)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:588)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:613)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:645)
at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:111)
at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:121)
at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:136)
at oracle.odi.core.repository.support.RepositoryUtils$RepositoryInfoSource.loadRepositoryInfo(RepositoryUtils.java:182)
at oracle.odi.core.repository.support.RepositoryUtils.loadWorkRepositoryInfo(RepositoryUtils.java:382)
at oracle.odi.core.repository.Repository.getWorkRepository(Repository.java:174)
... 25 more
Caused by: java.sql.SQLException: Ett undantag uppstod när anslutning hämtades: oracle.ucp.UniversalConnectionPoolException: Kan inte hämta anslutning från datakälla: java.sql.SQLException: ORA-12154: TNS:could not resolve the connect identifier specified
at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:133)
at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
... 35 more
Caused by: java.sql.SQLException: Ett undantag uppstod när anslutning hämtades: oracle.ucp.UniversalConnectionPoolException: Kan inte hämta anslutning från datakälla: java.sql.SQLException: ORA-12154: TNS:could not resolve the connect identifier specified
at oracle.ucp.util.UCPErrorHandler.newSQLException(UCPErrorHandler.java:488)
at oracle.ucp.util.UCPErrorHandler.throwSQLException(UCPErrorHandler.java:163)
at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:943)
at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:873)
at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:863)
at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter$ConnectionProcessor.run(LoginTimeoutDatasourceAdapter.java:217)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: oracle.ucp.UniversalConnectionPoolException: Kan inte hämta anslutning från datakälla: java.sql.SQLException: ORA-12154: TNS:could not resolve the connect identifier specified
at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(UCPErrorHandler.java:368)
at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:49)
at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:80)
at oracle.ucp.jdbc.DriverConnectionFactoryAdapter.createConnection(DriverConnectionFactoryAdapter.java:122)
at oracle.ucp.common.UniversalConnectionPoolImpl$UniversalConnectionPoolInternal.createOnePooledConnectionInternal(UniversalConnectionPoolImpl.java:1610)
at oracle.ucp.common.UniversalConnectionPoolImpl$UniversalConnectionPoolInternal.access$600(UniversalConnectionPoolImpl.java:1446)
at oracle.ucp.common.UniversalConnectionPoolImpl.createOnePooledConnection(UniversalConnectionPoolImpl.java:514)
at oracle.ucp.jdbc.oracle.OracleJDBCConnectionPool.createOnePooledConnection(OracleJDBCConnectionPool.java:129)
at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnectionWithoutCountingRequests(UniversalConnectionPoolImpl.java:297)
at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnection(UniversalConnectionPoolImpl.java:142)
at oracle.ucp.jdbc.JDBCConnectionPool.borrowConnection(JDBCConnectionPool.java:157)
at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:931)
... 9 morei have tried to change the all the ways in odiparms file but i am getting the same error message....
-
Java.lang.OutOfMemoryError: PermGen space in Weblogic 10.3
Hi,
I Installed OIM in Oracle Weblogic 10.3.When I try to execute the patch_weblogic.cmd ,I am getiing the "java.lang.OutOfMemoryError: PermGen space".I tried increasing the size in xlStartWLS.cmd file.But still the error exists.Any ide?.Following is the error trace:
wldeploy] Caused by: javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: [J2EE Deployment SPI:260009]Exception caught for class 'weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl' while attempting to create DeploymentManager: java.lang.OutOfMemoryError: PermGen space
[wldeploy] at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:130)
[wldeploy] at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:84)
[wldeploy] at weblogic.deploy.api.tools.SessionHelper.getDeploymentManager(SessionHelper.java:446)
[wldeploy] at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:304)
[wldeploy] ... 32 more
[wldeploy] Caused by: java.lang.OutOfMemoryError: PermGen space
[wldeploy] at java.lang.Class.getDeclaredMethods0(Native Method)
[wldeploy] at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
[wldeploy] at java.lang.Class.getDeclaredMethod(Class.java:1935)
[wldeploy] at java.io.ObjectStreamClass.getInheritableMethod(ObjectStreamClass.java:1349)
[wldeploy] at java.io.ObjectStreamClass.access$2200(ObjectStreamClass.java:52)
[wldeploy] at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:448)
[wldeploy] at java.security.AccessController.doPrivileged(Native Method)
[wldeploy] at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:413)
[wldeploy] at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:310)
[wldeploy] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1106)
[wldeploy] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
[wldeploy] at weblogic.rjvm.OutboundMsgAbbrev.writeObject(OutboundMsgAbbrev.java:77)
[wldeploy] at weblogic.rjvm.OutboundMsgAbbrev.writeAbbrevs(OutboundMsgAbbrev.java:56)
[wldeploy] at weblogic.rjvm.OutboundMsgAbbrev.write(OutboundMsgAbbrev.java:39)
[wldeploy] at weblogic.rjvm.MsgAbbrevJVMConnection.writeMsgAbbrevs(MsgAbbrevJVMConnection.java:212)
[wldeploy] at weblogic.rjvm.MsgAbbrevJVMConnection.sendMsg(MsgAbbrevJVMConnection.java:180)
[wldeploy] at weblogic.rjvm.MsgAbbrevJVMConnection.sendMsg(MsgAbbrevJVMConnection.java:142)
[wldeploy] at weblogic.rjvm.ConnectionManager.findOrCreateConnection(ConnectionManager.java:1465)
[wldeploy] at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:437)
[wldeploy] at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:315)
[wldeploy] at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:251)
[wldeploy] at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:194)
[wldeploy] at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:225)
[wldeploy] at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:188)
[wldeploy] at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:344)
[wldeploy] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
[wldeploy] at weblogic.security.service.SecurityManager.runAs(Unknown Source)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
[wldeploy] at weblogic.jndi.Environment.getContext(Environment.java:315)
[wldeploy] at weblogic.jndi.Environment.getContext(Environment.java:285)
[wldeploy] at weblogic.jndi.Environment.createInitialContext(Environment.java:208)
[ant] Exiting C:\oim910\oimserver\xellerate\setup\weblogic-setup.xml.
java.lang.OutOfMemoryError: PermGen space
at org.apache.tools.ant.DefaultLogger.formatTime(DefaultLogger.java:276)
at org.apache.tools.ant.DefaultLogger.buildFinished(DefaultLogger.java:156)
at org.apache.tools.ant.Project.fireBuildFinished(Project.java:1848)
at org.apache.tools.ant.Main.runBuild(Main.java:688)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.Main.start(Main.java:150)
at org.apache.tools.ant.Main.main(Main.java:240)
PermGen space
Any input is highly appreciated.Thanks# Increase MaxPerm size
eg: -XX:+MaxPermSize=256m
# These additional parameters may also be helpful in some cases.
eg: -Xmn1228m -XX:+AggressiveHeap -Xms2048m -Xmx2048m -
Java.lang.OutOfMemoryError: PermGen space
<Oct 25, 2011 12:15:53 AM IST> <Error> <netuix> <BEA-423405> <An exception [java.lang.OutOfMemoryError: PermGen space] w
as thrown while rendering the content at [jsp/changemgmt/ChangeManager.jsp].
javax.servlet.ServletException: java.lang.OutOfMemoryError: PermGen space
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
at org.apache.beehive.netui.pageflow.scoping.internal.ScopedRequestDispatcher.include(ScopedRequestDispatcher.ja
va:119)
Truncated. see log file for complete stacktrace
Caused By: java.lang.OutOfMemoryError: PermGen space
at sun.misc.Unsafe.defineClass(Native Method)
at sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:63)
at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:399)
at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:396)
at java.security.AccessController.doPrivileged(Native Method)
Truncated. see log file for complete stacktrace
>
<Oct 25, 2011 12:15:53 AM IST> <Error> <netuix> <BEA-423137> <There was an error loading the requested URI /jsp/changemg
mt/ChangeManager.jsp.>
<Oct 25, 2011 12:16:14 AM IST> <Error> <HTTP> <BEA-101017> <[ServletContext@22272290[app:consoleapp module:console path:
/console spec-version:2.5]] Root cause of ServletException.
java.lang.OutOfMemoryError: PermGen space
>
<Oct 25, 2011 12:16:15 AM IST> <Error> <HTTP> <BEA-101107> <[ServletContext@22272290[app:consoleapp module:console path:
/console spec-version:2.5]] Problem occurred while serving the error page.
java.lang.OutOfMemoryError: PermGen space
>
Exception in thread "[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[ACTIVE] ExecuteThread: '1' fo
r queue: 'weblogic.kernel.Default (self-tuning)'"
Exception in thread "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[ACTIVE] ExecuteThread: '0' fo
r queue: 'weblogic.kernel.Default (self-tuning)'"
Exception in thread "[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[ACTIVE] ExecuteThread: '3' fo
r queue: 'weblogic.kernel.Default (self-tuning)'"
Java HotSpot(TM) Client VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal UNKNOWN to handler-
the VM may need to be forcibly terminated
Java HotSpot(TM) Client VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal UNKNOWN to handler-
the VM may need to be forcibly terminated
Java HotSpot(TM) Client VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal UNKNOWN to handler-
the VM may need to be forcibly terminated
Java HotSpot(TM) Client VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal UNKNOWN to handler-
the VM may need to be forcibly terminated
Java HotSpot(TM) Client VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal UNKNOWN to handler-
the VM may need to be forcibly terminated
Java HotSpot(TM) Client VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal UNKNOWN to handler-
the VM may need to be forcibly terminated
Environment:
OS: Windows Vista
Weblogic 10.3.5
JDK: java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode, sharing)
I created a new domain and when access the Admin console I get the " OutOfMemory " Error
I revisited the domain creation steps and identified that when selecting the available JDK it shows " JRockit SDK 1.7.0 @ E:\Development\Java\jdk1.7.0"
But if I do a java-version I get Sun JDK
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode, sharing)
Start-up Argument
JAVA Memory arguments: -Xms512m -Xmx512m
WLS Start Mode=Production
CLASSPATH=D:\BEA_HOME\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\BEA_HOME\patch_ocp360\profiles\default\sys_manifest_classpath\weblogic_patch.jar;E:\DEVELO~1\Java\JDK17~1.0\lib\tools.jar;D:\BEA_HOME\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\BEA_HOME\WLSERV~1.3\server\lib\weblogic.jar;D:\BEA_HOME\modules\features\weblogic.server.modules_10.3.5.0.jar;D:\BEA_HOME\WLSERV~1.3\server\lib\webservices.jar;D:\BEA_HOME\modules\ORGAPA~1.1/lib/ant-all.jar;D:\BEA_HOME\modules\NETSFA~1.0_1/lib/ant-contrib.jar;D:\BEA_HOME\WLSERV~1.3\common\derby\lib\derbyclient.jar;D:\BEA_HOME\WLSERV~1.3\server\lib\xqrl.jar;.;C:\Program Files\Java\jre7\lib\ext\QTJava.zip
PATH=D:\BEA_HOME\patch_wls1035\profiles\default\native;D:\BEA_HOME\patch_ocp360\profiles\default\native;D:\BEA_HOME\WLSERV~1.3\server\native\win\32;D:\BEA_HOME\WLSERV~1.3\server\bin;D:\BEA_HOME\modules\ORGAPA~1.1\bin;E:\DEVELO~1\Java\JDK17~1.0\jre\bin;E:\DEVELO~1\Java\JDK17~1.0\bin;D:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Broadcom\Broadcom 802.11\Driver;C:\Program Files\QuickTime\QTSystem\;D:\BEA_HOME\WLSERV~1.3\server\native\win\32\oci920_8
* 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:
Starting WLS with line:
E:\DEVELO~1\Java\JDK17~1.0\bin\java -Xms512m -Xmx512m -Dweblogic.Name=MyAdmin -Djava.security.policy=D:\BEA_HOME\WLSERV~1.3\server\lib\weblogic.policy -Dweblogic.ProductionModeEnabled=true -da -Dplatform.home=D:\BEA_HOME\WLSERV~1.3 -Dwls.home=D:\BEA_HOME\WLSERV~1.3\server -Dweblogic.home=D:\BEA_HOME\WLSERV~1.3\server -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=D:\BEA_HOME\patch_wls1035\profiles\default\sysext_manifest_classpath;D:\BEA_HOME\patch_ocp360\profiles\default\sysext_manifest_classpath weblogic.Server
<Oct 25, 2011 12:24:20 AM IST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<Oct 25, 2011 12:24:20 AM IST> <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>
<Oct 25, 2011 12:24:21 AM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 21.0-b17 from Oracle Corporation>
<Oct 25, 2011 12:24:22 AM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 >
Any possible pointers to the issue. Is it a issue with incompatible JDK 1.7 with weblogic 10.3.5.I just checked on the Oracle Support site. Oracle WebLogic Server 10.3.5.0.0 is certified with Oracle JDK (1.6.0_24+). There are other JDKs listed but they're all in the Java 6 family, no Java 7.
Also, Oracle WebLogic Server 12.1.1.0.0 shows as certified with Oracle JDK 1.6.0_29+.
Of course, this is all as of this writing.
D -
This problem happens after about 10-15 application restarts during development phase. I have read somewhere that this was a known bug in 11g versions of JDev and its integrated WLS (10.3.5 or 10.3.6?). I have then increased memory parameters in configuration file. The only thing I achieved is that this crash now occurs later then sooner. Still very frustrating. When this happens I have to restart WLS and sometimes kill frozen JDeveloper.
Any other idea/workaround?
<Dec 30, 2013 12:37:04 PM CST> <Warning> <HTTP> <BEA-101384> <WLServlet annotation is deprecated, please use servlet 3.0 annotation instead. App:ADFOracleReports@ADFOracleReports-FwkExtensions-context-root, Class:oracle.adfinternal.view.faces.activedata.AdsServlet>
<Dec 30, 2013 12:37:04 PM CST> <Warning> <HTTP> <BEA-101384> <WLServlet annotation is deprecated, please use servlet 3.0 annotation instead. App:ADFOracleReports@ADFOracleReports-ViewController-context-root, Class:oracle.adfinternal.view.faces.activedata.AdsServlet>
<Dec 30, 2013 12:37:22 PM CST> <Warning> <HTTP> <BEA-101162> <User defined listener org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl failed: java.lang.OutOfMemoryError: PermGen space.
java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:385)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:344)
Truncated. see log file for complete stacktrace
>
<Dec 30, 2013 12:37:33 PM CST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "1388428621416" for task "10". Error is: "weblogic.application.ModuleException: java.lang.OutOfMemoryError: PermGen space"
weblogic.application.ModuleException: java.lang.OutOfMemoryError: PermGen space
at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:213)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
Truncated. see log file for complete stacktrace
Caused By: java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:385)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:344)
Truncated. see log file for complete stacktrace
>
<Dec 30, 2013 12:37:33 PM CST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application "ADFOracleReports".>
<Dec 30, 2013 12:37:33 PM CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application "ADFOracleReports".>
<Dec 30, 2013 12:37:33 PM CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: java.lang.OutOfMemoryError: PermGen space
at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:213)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
Truncated. see log file for complete stacktrace
Caused By: java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:385)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:344)
Truncated. see log file for complete stacktrace
>
[12:37:53 PM] Cancel requested
[Application ADFOracleReports stopped and undeployed from IntegratedWebLogicServer]
<Dec 30, 2013 12:37:53 PM CST> <Error> <Deployer> <BEA-149062> <The task containing ID 10 cannot be canceled, since it has already completed execution.>
<Dec 30, 2013 12:37:53 PM CST> <Warning> <RMI> <BEA-080003> <A RuntimeException was generated by the RMI server: javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;Ljava.rmi.MarshalledObject;[Ljava.lang.String;Ljavax.security.auth.Subject;)
javax.management.RuntimeMBeanException: java.lang.UnsupportedOperationException: [Deployer:149062]The task containing ID 10 cannot be canceled, since it has already completed execution..
javax.management.RuntimeMBeanException: java.lang.UnsupportedOperationException: [Deployer:149062]The task containing ID 10 cannot be canceled, since it has already completed execution.
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:839)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:852)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:821)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)
at weblogic.management.mbeanservers.domainruntime.internal.FederatedMBeanServerInterceptor.invoke(FederatedMBeanServerInterceptor.java:375)
Truncated. see log file for complete stacktrace
Caused By: java.lang.UnsupportedOperationException: [Deployer:149062]The task containing ID 10 cannot be canceled, since it has already completed execution.
at weblogic.management.deploy.DeploymentTaskRuntime.prepareToCancel(DeploymentTaskRuntime.java:881)
at weblogic.management.deploy.DeploymentTaskRuntime.cancel(DeploymentTaskRuntime.java:854)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Truncated. see log file for complete stacktrace
>You can try to change the garbage collector algorithm. Refere to http://bexhuff.com/2012/09/jdeveloper-memory-and-performance
Timo -
Diagnosing java.lang.OutOfMemoryError: PermGen space
I am getting this error on our test instance:
Exception in thread "Thread-96425" java.lang.OutOfMemoryError: PermGen space
(We are using JDK 1.5.0_03)
What tools can I use to inspect the contents of PermGen? In particular, is there a way to see all the interned String objects?
I tried jmap -permstat, but it only shows perm gen usage based on classloader. I wasn't sure how to check the intern Strings.
Thanks
SamHi All,
We just to add few things before i go into deep as to what is the root cause that might cause Out Of Memory due to Permanant Generation.
Well recently i had faced this issue in one of the biggest application used in UK.I faced this issue and the resoultion for this took to almost 3 months.Now the issue is resolved.The reason for this was in the application itself.
Well to diagnose this, please add the following parameter into the JVM Options of the instance you are using it.DON'T use parallelGC.
-verbose:gc
-XX:+PrintClassHistogram
-XX:+PrintGCDetails
After this JVM options are added, restart you instance and then check the server.log file.You will see lots of classes.Please do a analysis of this classes.You will observe that some of the classes keeps on growing even after the FULLGC is done.It means that there is some problem you need to check either at the application layer as to which classes are creating this problem.Normally classes or sometimes API's being used by the application can caused PermGen issue.
Well String.intern method normally being used by XML api's .
Please drop me a mail for any further information you require.My id is
[email protected]
Regrads
Rahul Shah -
Hi All ..we are running with the following configuration.
Solaris Version 5.10
./prtconf
System Configuration: Sun Microsystems sun4v
Memory size: 8184 Megabytes
App Server Version,
Sun Java System Application Server Enterprise Edition 8.1_02 (build b11-fcs)
JVM Options in domain.xml,
<jvm-options>-Xmx512m</jvm-options>
but what Im facing is..say once in two days..when I open my application in the browser it shows..
Server Error
This server has encountered an internal error which prevents it from fulfilling your request. The most likely cause is a misconfiguration. Please ask the administrator to look for messages in the server's error log.
and in my server.log it shows..,
WARNING|sun-appserver-ee8.1_02|javax.enterprise.system.container.web|_ThreadID=17;|WEB3061 : HttpService: Unhandled pipeline exception
java.lang.RuntimeException: java.lang.OutOfMemoryError: PermGen space
at com.sun.enterprise.web.connector.httpservice.HttpServiceProcessor.process(HttpServiceProcessor.java:251)
at com.sun.enterprise.web.HttpServiceWebContainer.service(HttpServiceWebContainer.java:2071)
Caused by: java.lang.OutOfMemoryError: PermGen space
|#]
after getting this I used to reboot the machine..then It ll be fine for some time.,this happens repeatedly..
and some of the documents says..we need to increase the Xmx..
if it so.,how much I can incerase..we are running sun x-fire t2000
Thanks in Advance,
AshikRebooting the machine is unnecessary; you can just stop and restart the application server.
The PermGen holds Class objects primarily (also interned strings and a few other things); are you doing a lot of deployment/redeployment? Those operations greatly increase the number of classes in use by the app server (because each new deployment is a new set of classes from the app server perspective), and that's the most common cause of this problem. In that case, the only thing to do is increase the PermGen size by including in your jvm-options -XX:MaxPermSize=<something>; I'd try 128m or 256m.
More recent versions of the app server (especially platform edition 9.0) have better handling of the multiple classes involved, so you might want to check them out.
A good reference on GC is http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html
-Scott -
Given:
fabio@nodo1:/Middleware/user_projects/domains/domain1/bin$ grep USER_MEM_ARGS setDomainEnv.sh
# USER_MEM_ARGS - The variable to override the standard memory arguments
USER_MEM_ARGS="-Xms1024m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=512m"
export USER_MEM_ARGS
# IF USER_MEM_ARGS the environment variable is set, use it to override ALL MEM_ARGS values
if [ "${USER_MEM_ARGS}" != "" ] ; then
MEM_ARGS="${USER_MEM_ARGS}"
fabio@nodo1:/Middleware/user_projects/domains/domain1/bin$
Then, in Weblogic admin console, I start the ManagedServer registered in cluster1 asigned to that UnixMachine.
ManagedServer1.log reports:
####<May 26, 2010 10:01:40 AM CST> <Notice> <WebLogicServer> <nodo1> <ManagedServer1> <main> <<WLS Kernel>> <> <> <1274889700427> <BEA-000365> <Server state changed to FAILED>
####<May 26, 2010 10:01:40 AM CST> <Error> <WebLogicServer> <nodo1> <ManagedServer1> <main> <<WLS Kernel>> <> <> <1274889700428> <BEA-000383> <A critical service failed. The server will shut itself down>
####<May 26, 2010 10:01:40 AM CST> <Notice> <WebLogicServer> <nodo1> <ManagedServer1> <main> <<WLS Kernel>> <> <> <1274889700465> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
####<May 26, 2010 10:01:41 AM CST> <Error> <JMX> <nodo1> <ManagedServer1> <[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1274889701769> <BEA-149500> <An exception occurred while registering the MBean com.bea:ServerRuntime=ManagedServer1,Name=ManagedServer1_/uddiexplorer,ApplicationRuntime=uddiexplorer,Type=WebAppComponentRuntime.
javax.management.RuntimeErrorException: Error thrown in preRegister method
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.preRegisterInvoke(DefaultMBeanServerInterceptor.java:1015)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:938)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:714)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
at weblogic.management.mbeanservers.internal.JMXContextInterceptor.registerMBean(JMXContextInterceptor.java:448)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:712)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
at weblogic.management.jmx.mbeanserver.WLSMBeanServer.registerMBean(WLSMBeanServer.java:444)
at weblogic.management.jmx.modelmbean.WLSModelMBeanFactory.registerWLSModelMBean(WLSModelMBeanFactory.java:45)
at weblogic.management.jmx.modelmbean.WLSModelMBeanFactory.registerWLSModelMBean(WLSModelMBeanFactory.java:106)
at weblogic.management.mbeanservers.internal.RuntimeMBeanAgent$1.registered(RuntimeMBeanAgent.java:104)
at weblogic.management.provider.core.RegistrationManagerBase.invokeRegistrationHandlers(RegistrationManagerBase.java:180)
at weblogic.management.provider.core.RegistrationManagerBase.register(RegistrationManagerBase.java:110)
at weblogic.management.runtime.RuntimeMBeanDelegate.register(RuntimeMBeanDelegate.java:310)
at weblogic.management.runtime.RuntimeMBeanDelegate.<init>(RuntimeMBeanDelegate.java:248)
at weblogic.j2ee.ComponentRuntimeMBeanImpl.<init>(ComponentRuntimeMBeanImpl.java:57)
at weblogic.servlet.internal.WebAppRuntimeMBeanImpl.<init>(WebAppRuntimeMBeanImpl.java:53)
at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1118)
at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:449)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:424)
at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:924)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:356)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:43)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:39)
at weblogic.application.internal.BackgroundDeploymentService$1.next(BackgroundDeploymentService.java:348)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.BackgroundDeploymentService$BackgroundDeployAction.run(BackgroundDeploymentService.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused By: java.lang.AssertionError: java.lang.OutOfMemoryError: PermGen space
at weblogic.management.jmx.modelmbean.NotificationTranslatorBuilder.instantiateNotificationTranslator(NotificationTranslatorBuilder.java:51)
at weblogic.management.jmx.modelmbean.NotificationTranslatorBuilder.instantiateNotificationTranslator(NotificationTranslatorBuilder.java:22)
at weblogic.management.jmx.modelmbean.WLSModelMBean.bindNotifications(WLSModelMBean.java:116)
at weblogic.management.jmx.modelmbean.WLSModelMBean.preRegister(WLSModelMBean.java:1147)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.preRegisterInvoke(DefaultMBeanServerInterceptor.java:1010)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:938)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:714)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
at weblogic.management.mbeanservers.internal.JMXContextInterceptor.registerMBean(JMXContextInterceptor.java:448)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:712)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
at weblogic.management.jmx.mbeanserver.WLSMBeanServer.registerMBean(WLSMBeanServer.java:444)
at weblogic.management.jmx.modelmbean.WLSModelMBeanFactory.registerWLSModelMBean(WLSModelMBeanFactory.java:45)
at weblogic.management.jmx.modelmbean.WLSModelMBeanFactory.registerWLSModelMBean(WLSModelMBeanFactory.java:106)
at weblogic.management.mbeanservers.internal.RuntimeMBeanAgent$1.registered(RuntimeMBeanAgent.java:104)
at weblogic.management.provider.core.RegistrationManagerBase.invokeRegistrationHandlers(RegistrationManagerBase.java:180)
at weblogic.management.provider.core.RegistrationManagerBase.register(RegistrationManagerBase.java:110)
at weblogic.management.runtime.RuntimeMBeanDelegate.register(RuntimeMBeanDelegate.java:310)
at weblogic.management.runtime.RuntimeMBeanDelegate.<init>(RuntimeMBeanDelegate.java:248)
at weblogic.j2ee.ComponentRuntimeMBeanImpl.<init>(ComponentRuntimeMBeanImpl.java:57)
at weblogic.servlet.internal.WebAppRuntimeMBeanImpl.<init>(WebAppRuntimeMBeanImpl.java:53)
at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1118)
at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:449)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:424)
at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:924)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:356)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:43)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:39)
at weblogic.application.internal.BackgroundDeploymentService$1.next(BackgroundDeploymentService.java:348)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.BackgroundDeploymentService$BackgroundDeployAction.run(BackgroundDeploymentService.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused By: java.lang.OutOfMemoryError: PermGen space
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.getMethod0(Class.java:2670)
at java.lang.Class.getMethod(Class.java:1603)
at weblogic.management.jmx.modelmbean.PropertyChangeNotificationTranslator.<init>(PropertyChangeNotificationTranslator.java:66)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at weblogic.management.jmx.modelmbean.NotificationTranslatorBuilder.instantiateNotificationTranslator(NotificationTranslatorBuilder.java:45)
at weblogic.management.jmx.modelmbean.NotificationTranslatorBuilder.instantiateNotificationTranslator(NotificationTranslatorBuilder.java:22)
at weblogic.management.jmx.modelmbean.WLSModelMBean.bindNotifications(WLSModelMBean.java:116)
at weblogic.management.jmx.modelmbean.WLSModelMBean.preRegister(WLSModelMBean.java:1147)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.preRegisterInvoke(DefaultMBeanServerInterceptor.java:1010)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:938)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:714)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
at weblogic.management.mbeanservers.internal.JMXContextInterceptor.registerMBean(JMXContextInterceptor.java:448)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:712)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
at weblogic.management.jmx.mbeanserver.WLSMBeanServer.registerMBean(WLSMBeanServer.java:444)
at weblogic.management.jmx.modelmbean.WLSModelMBeanFactory.registerWLSModelMBean(WLSModelMBeanFactory.java:45)
at weblogic.management.jmx.modelmbean.WLSModelMBeanFactory.registerWLSModelMBean(WLSModelMBeanFactory.java:106)
at weblogic.management.mbeanservers.internal.RuntimeMBeanAgent$1.registered(RuntimeMBeanAgent.java:104)
at weblogic.management.provider.core.RegistrationManagerBase.invokeRegistrationHandlers(RegistrationManagerBase.java:180)
at weblogic.management.provider.core.RegistrationManagerBase.register(RegistrationManagerBase.java:110)
at weblogic.management.runtime.RuntimeMBeanDelegate.register(RuntimeMBeanDelegate.java:310)
>
####<May 26, 2010 10:01:41 AM CST> <Info> <Cluster> <nodo1> <ManagedServer1> <main> <<WLS Kernel>> <> <> <1274889701790> <BEA-000158> <Server has stopped sending cluster heartbeats and announcements. It is still receiving heartbeats and announcements from other cluster members.>
####<May 26, 2010 10:01:41 AM CST> <Notice> <Cluster> <nodo1> <ManagedServer1> <main> <<WLS Kernel>> <> <> <1274889701793> <BEA-000163> <Stopping "async" replication service>
What is the exact tuning I need to start up a simple managedserver in Weblogic 10.3.2, Linux Ubuntu ?Hi,
I doubt that the following USER_MEM_ARGS which u have mentioned in the *"setDomainEnv.sh"* is not taking effect....
USER_MEM_ARGS="-Xms1024m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=512m"
Can u check the STDOUT of the Server or first few lines of Server Log....there u will be able to see that what value it is taking actually to startup. Sometimes it happens if we set the MEM_ARGS values in if---else block then mistakenly it takes the default values....
Because 512M Memory for PermGen is enough for most of the Applications and Servers.
One more thing .... How r u starting your Servers ...Using StartScripts or using NodeManager (through AdminConsole)? Because there are different ways of setting the Memory Arguments for these two scenarios. Like mentioned in the following link: http://weblogic-wonders.com/weblogic/2010/03/26/nodemanager-based-managedservers-setting-mem_args/
Thanks
Jay SenSharma
http://weblogic-wonders.com/weblogic (WebLogic Wonders Are Here) -
Java.lang.OutOfMemoryError: PermGen space - help pl
Hello
I am getting this error when i run the servlet...
2005-05-16 21:10:11 StandardWrapperValve[server_flt]: Servlet.service() for servlet server_flt threw exception
java.lang.OutOfMemoryError: PermGen space
What causes this exception and how do you get over this? Do i need to make changes in my code?
Pl help
rgds
csbHello YoGee
Thank you for the info.
In fact its an applet-servlet comm appl that i am
running. The servlet creates the object and is send
to the applet where it is displayed. That is an instance of a class not the class itself.
The applet then
creates an object and is sent back to servlet for
updating the database. So its objects being sent back
and forth. Do i need to give the command in the
prompt? Can you be a bit more specific?
Again if the object created at the applet is set to
null ..ie.
sub s = new sub(id,add,zip) ;
s = null;
Is object s a candidate for garbage collection?This has nothing to do with the original question.
If there are no active references then it is available for collection.
What i mean is, if i no longer want the object s , is
there any way to completely(explicitly) remove it
from the memory?No. -
Open the console link I have following error:
Error opening /jsp/contentheader/ContentMenu.jsp.
The source of this error is:
javax.servlet.ServletException: java.lang.OutOfMemoryError: PermGen space
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
at com.bea.netuix.servlets.controls.content.JspContent.beginRender(JspContent.java:552)
at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:485)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326)
at com.bea.netuix.nf.UIControl.render(UIControl.java:582)
at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:486)
at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
at com.bea.netuix.servlets.jsp.taglib.skeleton.Child.doTag(Child.java:63)
at jsp_servlet._framework._skeletons._wlsconsole.__nolayout._jspService(__nolayout.java:119)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:130)
at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:481)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326)
at com.bea.netuix.nf.UIControl.render(UIControl.java:582)
at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:486)
at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
at com.bea.netuix.servlets.jsp.taglib.skeleton.Child.doTag(Child.java:63)
at jsp_servlet._framework._skeletons._wlsconsole.__twocollayout._jspService(__twocollayout.java:205)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:130)
at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:481)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208)
at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:162)
at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:211)
at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:196)
at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.bea.console.utils.MBeanUtilsInitSingleFileServlet.service(MBeanUtilsInitSingleFileServlet.java:47)
at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.lang.OutOfMemoryError: PermGen space
Caused by:
java.lang.OutOfMemoryError: PermGen space
I saw this:
http://www.oracle.com/technetwork/java/javase/memleaks-137499.html#gbyuu
The Oracle JVM Is Crashing Due to an OutOfMemory Error of the Permanent Generation (Doc ID 1077698.1)
How can I check the -XX:MaxPermSize option ?
Thank you
EugenHi Daniele,
ps -ef |grep java
oracle 2566 2519 23 Feb23 pts/1 2-17:35:39 /home/oracle/BIP111170/BIP1117/Oracle_BI1/jdk/bin/java -server -Xms256m -Xmx2048m -XX:MaxPermSize=512m -XX:-UseSSE42Intrinsics -Dweblogic.Name=AdminServer -Djava.security.policy=/home/oracle/BIP111170/BIP1117/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.ProductionModeEnabled=true -da -Dplatform.home=/home/oracle/BIP111170/BIP1117/wlserver_10.3 -Dwls.home=/home/oracle/BIP111170/BIP1117/wlserver_10.3/server -Dweblogic.home=/home/oracle/BIP111170/BIP1117/wlserver_10.3/server -Dcommon.components.home=/home/oracle/BIP111170/BIP1117/oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=/home/oracle/BIP111170/BIP1117/user_projects/domains/bifoundation_domain -Djrockit.optfile=/home/oracle/BIP111170/BIP1117/oracle_common/modules/oracle.jrf_11.1.1/jrocket_optfile.txt -Doracle.server.config.dir=/home/oracle/BIP111170/BIP1117/user_projects/domains/bifoundation_domain/config/fmwconfig/servers/AdminServer -Doracle.domain.config.dir=/home/oracle/BIP111170/BIP1117/user_projects/domains/bifoundation_domain/config/fmwconfig -Digf.arisidbeans.carmlloc=/home/oracle/BIP111170/BIP1117/user_projects/domains/bifoundation_domain/config/fmwconfig/carml -Digf.arisidstack.home=/home/oracle/BIP111170/BIP1117/user_projects/domains/bifoundation_domain/config/fmwconfig/arisidprovider -Doracle.security.jps.config=/home/oracle/BIP111170/BIP1117/user_projects/domains/bifoundation_domain/config/fmwconfig/jps-config.xml -Doracle.deployed.app.dir=/home/oracle/BIP111170/BIP1117/user_projects/domains/bifoundation_domain/servers/AdminServer/tmp/_WL_user -Doracle.deployed.app.ext=/- -Dweblogic.alternateTypesDirectory=/home/oracle/BIP111170/BIP1117/oracle_common/modules/oracle.ossoiap_11.1.1,/home/oracle/BIP111170/BIP1117/oracle_common/modules/oracle.oamprovider_11.1.1,/home/oracle/BIP111170/BIP1117/oracle_common/modules/oracle.jps_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dbi.oracle.home=/home/oracle/BIP111170/BIP1117/Oracle_BI1 -DEPM_ORACLE_HOME=/home/oracle/BIP111170/BIP1117/Oracle_BI1 -Dweblogic.MaxMessageSize=50000000 -DEPM_ORACLE_HOME=/home/oracle/BIP111170/BIP1117/Oracle_BI1 -DHYPERION_HOME=/home/oracle/BIP111170/BIP1117/Oracle_BI1 -DEPM_ORACLE_INSTANCE=novalue -Dhyperion.home=/home/oracle/BIP111170/BIP1117/Oracle_BI1 -DEPM_REG_PROPERTIES_PATH=/home/oracle/BIP111170/BIP1117/user_projects/domains/bifoundation_domain/config/fmwconfig -Depm.useApplicationContextId=false -Doracle.biee.search.bisearchproperties=/home/oracle/BIP111170/BIP1117/Oracle_BI1/bifoundation/jee/BISearchConfig.properties -Dweblogic.management.clearTextCredentialAccessEnabled=true -Doracle.notification.filewatching.interval=2000 -Dweblogic.security.SSL.ignoreHostnameVerification=true -Dweblogic.security.SSL.enableJSSE=true -Dfile.encoding=utf-8 -Doracle.ecsf.security.service=oracle.biee.search.security.BISearchSecurityService -Doracle.ecsf.configuration.class=oracle.biee.search.services.BISearchServiceConfiguration -Dxdo.server.config.dir=/home/oracle/BIP111170/BIP1117/user_projects/domains/bifoundation_domain/config/bipublisher -DXDO_FONT_DIR=/home/oracle/BIP111170/BIP1117/Oracle_BI1/common/fonts -Dem.oracle.home=/home/oracle/BIP111170/BIP1117/oracle_common -Djava.awt.headless=true -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/home/oracle/BIP111170/BIP1117/patch_wls1035/profiles/default/sysext_manifest_classpath weblogic.Server
oracle 4716 2818 0 Feb23 ? 00:20:32 /home/oracle/BIP111170/BIP1117/Oracle_BI1/jdk/bin/java -Doracle.opmn.uid=1092569638 -Doracle.opmn.index=1 -Doracle.process.uid=1092569638 -Doracle.process.index=1 -Doracle.component.configpath=/home/oracle/BIP111170/BIP1117/instances/instance1/config/OracleBIJavaHostComponent/coreapplication_obijh1 -Doracle.component.logpath=/home/oracle/BIP111170/BIP1117/instances/instance1/diagnostics/logs/OracleBIJavaHostComponent/coreapplication_obijh1/ -Doracle.instance.name=instance1 -Doracle.instance.uid=1092569638@instance1 -Doracle.admin.host=10.171.48.35 -Doracle.admin.port=7001 -Doracle.admin.protocol=N/A -Doracle.admin.username=weblogic -Doracle.admin.registered=true -Dcommon.components.home=/home/oracle/BIP111170/BIP1117/oracle_common -server -Xmx1024M -Xrs -Djava.security.manager=default -DXDO_FONT_DIR=/home/oracle/BIP111170/BIP1117/Oracle_BI1/common/fonts -Djava.security.policy=/home/oracle/BIP111170/BIP1117/instances/instance1/config/OracleBIJavaHostComponent/coreapplication_obijh1/java.policy -Djava.util.logging.config.class=oracle.core.ojdl.logging.LoggingConfiguration -Doracle.core.ojdl.logging.config.file=/home/oracle/BIP111170/BIP1117/instances/instance1/config/OracleBIJavaHostComponent/coreapplication_obijh1/logging-config.xml -Doracle.home=/home/oracle/BIP111170/BIP1117/Oracle_BI1 -Doracle.instance=/home/oracle/BIP111170/BIP1117/instances/instance1 -Doracle.component.type=OracleBIJavaHostComponent -Doracle.component.name=coreapplication_obijh1 -classpath /home/oracle/BIP111170/BIP1117/Oracle_BI1/../oracle_common/modules/oracle.odl_11.1.1/ojdl.jar:/home/oracle/BIP111170/BIP1117/Oracle_BI1/bifoundation/javahost/lib/core/sautils.jar:/home/oracle/BIP111170/BIP1117/Oracle_BI1/bifoundation/javahost/lib/core/mad.jar:/home/oracle/BIP111170/BIP1117/Oracle_BI1/bifoundation/javahost/lib/core/sawconnect.jar:/home/oracle/BIP111170/BIP1117/Oracle_BI1/bifoundation/javahost/lib/core/javahost.jar:/home/oracle/BIP111170/BIP1117/Oracle_BI1/../oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar:/home/oracle/BIP111170/BIP1117/Oracle_BI1/opmn/lib/ons.jar:/home/oracle/BIP111170/BIP1117/Oracle_BI1/../oracle_common/modules/oracle.jps_11.1.1/jps-manifest.jar:/home/oracle/BIP111170/BIP1117/Oracle_BI1/../oracle_common/modules/oracle.jps_11.1.1/jps-api.jar:/home/oracle/BIP111170/BIP1117/Oracle_BI1/../oracle_common/modules/oracle.jps_11.1.1/jps-common.jar:/home/oracle/BIP111170/BIP1117/Oracle_BI1/../oracle_common/modules/oracle.jps_11.1.1/jps-internal.jar:/home/oracle/BIP111170/BIP1117/Oracle_BI1/../oracle_common/modules/oracle.nlsrtl_11.1.0/orai18n.jar:/home/oracle/BIP111170/BIP1117/Oracle_BI1/../oracle_common/modules/oracle.nlsrtl_11.1.0/orai18n-collation.jar:/home/oracle/BIP111170/BIP1117/Oracle_BI1/../oracle_common/modules/oracle.nlsrtl_11.1.0/orai18n-mapping.jar:/home/oracle/BIP111170/BIP1117/Oracle_BI1/../oracle_common/modules/oracle.dms_11.1.1/dms.jar com.siebel.analytics.javahost.standalone.Main
oracle 8771 8731 0 13:06 pts/5 00:00:00 grep java
java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.1) (rhel-1.45.1.11.1.el6-x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
Thank you
Eugen -
BOE hangs, java.lang.OutOfMemoryError: PermGen space,
Good day,
I have an issue when working in the CMC that everything hangs and the following errors appear:
java.lang.OutOfMemoryError: PermGen space
and
Exception in thread "Business Objects - Sessions Clean up" java.lang.OutOfMemoryError: PermGen space
I have tried removing the tomcat service, rebooting and re-installing BOE120Tomcat service.
After I restart Tomcat it works for about 5 mins and the same erros start appearing again.
On startup, this is what appears in the log immediatley:
log4j:WARN Please initialize the log4j system properly.
java.lang.ClassNotFoundException: [Ljava.lang.String;
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:635)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:422)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:348)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
10 Mar 2011 11:42:44 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
10 Mar 2011 11:42:44 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/AnalyticalReporting] startup failed due to previous errors
Any ideas?
Many Thanks
DerekNot sure whether this will help you, but this is not the right forum
[Analyzing Out-of-Memory Situations|http://help.sap.com/saphelp_nwesrce/helpdata/en/97/d0de42c02c420da92a7cec346f9168/content.htm]
thanks
G. Lakshmipathi -
Server startup - java.lang.OutOfMemoryError: PermGen space
Version: WebLogic Server 10.3.2.0
JVM Sun 6 64
OS Windows Server 2008 64
Hi there,
I got the following error from a managed server startup. The AdminManager e NodeManager instances are up and runnig and the startup comand is performed from the web gui.
I tried to play with JVM arguments (web gui, not on script) increasing the amount to -Xms512m -Xmx1024m, but with not success and because the instance hasn't got any application deployed I felt reasonable put them back to -Xms512m -Xmx512m.
<13-Jan-2010 22:35:12 o'clock GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<13-Jan-2010 22:35:12 o'clock GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<13-Jan-2010 22:35:14 o'clock GMT> <Notice> <Security> <BEA-090171> <Loading the identity certificate and private key stored under the alias DemoIdentity from the jks keystore file D:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\DemoIdentity.jks.>
Exception in thread "[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'" java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Exception in thread "Timer-1" The WebLogic Server encountered a critical failure
java.lang.OutOfMemoryError: PermGen space
Reason: PermGen space
<13-Jan-2010 22:35:27> <FINEST> <NodeManager> <Waiting for the process to die: 3624>
<13-Jan-2010 22:35:27> <INFO> <NodeManager> <Server failed during startup so will not be restarted>
<13-Jan-2010 22:35:27> <FINEST> <NodeManager> <runMonitor returned, setting finished=true and notifying waiters>
Thanks in advance for any help.Hi,
As you have mentioned that you tried to play with JVM arguments (web gui, not on script) increasing the amount to -Xms512m -Xmx1024m.....
In case of OutOfMemoryError in PermGen Sapace ...increasing only the Heap Size will not solve anything...
Just a Bit Explaination:
Formula:
(OS Level)Process Size = Java Heap Native Space (2-3% OS related Memory)
PermSize : It's a Native Memory Area Outside of the Heap, Where ClassLoading kind of things happens.... In an operating System like Windows Default Process Size is 2GB (2048MB) default (It doesnt matter How much RAM do u have 2GB or 4GB or more)...until we dont change it by setting OS level parameter to increase the process size..Usually in OS like Solaris/Linux we get 4GB process size as well.
Now Lets take the default Process Size=2GB (Windows), Now if you have set the -Xmx512M, we can assume that rest of the memory 1536 Mb is available for Native codes.
(ProcessSize (-) HeapSize) = Native (+) (2-3% OS related Memory)
2048 MB (-) 512 MB = 1536 MB
THUMB RULES:
MaxPermSize = (Xmx/3) ---- Very Special Cases (One Third of maximum Heap Size)
MaxPermSize = (Xmx/4) ---- Recommended (One Fourth Of maximum Heap Size)
So finally you need to increase the PermGen Size... like -Xmx1024m -Xms1024m -XX:MaxPermSize256m
But again these are not the Final values ... It depends on ther Environments
Thanks
Jay SenSharma
Edited by: Jay SenSharma on Jan 14, 2010 5:36 PM
Maybe you are looking for
-
Please Help!!! 'iTunes cannot connect to iphone update software server'
I cannot 'Restore' iPhone 3G to pass on to my fiance, after she kindly allowed me to get a new iPhone4 because iTunes 'cannot connect to iphone update software server'. I have tried both our laptop and desktop - both connecting to the internet fine -
-
Maintaining persistent client state in Oracle 8.1.6
I'm running Oracle 8.1.6 on Windows NT 4.0. What are the methods to maintain the state of HTTP session (variable values, maybe transaction state) between the requests of the same user, in other words, how can I maintain HTTP session state in Oracle 8
-
BAPI to change invoice document status from deleted to something else
Hi experts, When the document is deleted thorugh MR8M, the invoice status(rbstat) in rbkp table of the invoice doument(MIRO) change to 2 i.e. deleted. I want to use the same data for parking again by using standard BAPI_INCOMINGINVOICE_GETDETAIL. But
-
Multiple Headings on MobileMe web Gallery through iPhoto?
Basically, all I want to know is, can I have more than one "Albums" listing on my web gallery. It doesn't seem like it, but I'm a very new Mac user so I thought I'd ask here. I'd like to be able to customize: Albums, Work Portfolio, Illustrations, et
-
Material wise Vendor List & Vendor wise material list
Hi all, Can any body help me how to get the report for 1) Material wise vendor report: that mean list showing the list of vendors from which that material is purchased and 2) Vendor wise material list: that mean list of materials purchased from a per