[
https://jira.jboss.org/jira/browse/JBAS-7748?page=com.atlassian.jira.plug...
]
Brian Stansberry resolved JBAS-7748.
------------------------------------
Resolution: Rejected
Assignee: Brian Stansberry
Great, not a bug. :-)
Looks like not appending to any pre-existing JAVA_OPTS goes far back. I looked at run.conf
in svn history plus a 3.2.x and 4.0.5_CP branch I had on my hard disk, and I always see
this kind of usage:
if [ "x$JAVA_OPTS" = "x" ]; then
JAVA_OPTS="blah blah blah"
fi
OOME during startup of "all" config
-----------------------------------
Key: JBAS-7748
URL:
https://jira.jboss.org/jira/browse/JBAS-7748
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: JBossAS-6.0.0.M2
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Priority: Critical
Attachments: boot.log
Bela Ban reports a consistently reproducible OOME during startup of M2's
"all" config. I can't reproduce and the testsuite uses "all" for
most testing, but it's consistently reproducible for him and he's not doing
anything unusual; just starting "all" on a FC9 system with Sun JDK 1.6.0_18.
Failure consistently appears during start of the HAPartition bean, which interestingly is
one place where 2 threads are involved in the startup:
From his boot.log:
17:33:32,251 DEBUG [CacheJmxWrapper] Registered in JMX under
jboss.cache:config=ha-partition,service=Cache
17:33:32,286 INFO [JChannel] JGroups version: 2.6.13.GA
17:33:36,675 WARN [ClassLoaderManager] Unexpected error during load
of:org.jgroups.protocols.UNICAST: 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)
at org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLoader.java:70)
at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:668)
at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:627)
at java.security.AccessController.doPrivileged(Native Method)
at
org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:626)
at
org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:603)
at
org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDelegateLoader.java:134)
at
org.jboss.classloader.spi.filter.FilteredDelegateLoader.loadClass(FilteredDelegateLoader.java:131)
at
org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:455)
at
org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:267)
at
org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:166)
at
org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:270)
at
org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1129)
at
org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:901)
at org.jboss.classloader.spi.base.BaseClassLoader.doLoadClass(BaseClassLoader.java:523)
at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:468)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at org.jgroups.util.Util.loadClass(Util.java:1735)
at
org.jgroups.stack.Configurator$ProtocolConfiguration.createLayer(Configurator.java:808)
at
org.jgroups.stack.Configurator$ProtocolConfiguration.access$000(Configurator.java:729)
at org.jgroups.stack.Configurator.createProtocols(Configurator.java:510)
at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:61)
at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:295)
at org.jgroups.JChannel.init(JChannel.java:1578)
at org.jgroups.JChannel.<init>(JChannel.java:248)
at
org.jboss.ha.framework.server.JChannelFactory.initializeChannel(JChannelFactory.java:1253)
at
org.jboss.ha.framework.server.JChannelFactory.createChannelFromRegisteredStack(JChannelFactory.java:1211)
at
org.jboss.ha.framework.server.JChannelFactory.createMultiplexerChannel(JChannelFactory.java:308)
at
org.jboss.ha.framework.server.ClusterPartition.createChannel(ClusterPartition.java:1463)
17:33:42,650 WARN [ClassLoaderManager] Unexpected error during load
of:org.jgroups.protocols.UNICAST: 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)
at org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLoader.java:70)
at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:668)
at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:627)
at java.security.AccessController.doPrivileged(Native Method)
at
org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:626)
at
org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:603)
at
org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDelegateLoader.java:134)
at
org.jboss.classloader.spi.filter.FilteredDelegateLoader.loadClass(FilteredDelegateLoader.java:131)
at
org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:455)
at
org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:267)
at
org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:166)
at
org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:270)
at
org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1129)
at
org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:901)
at org.jboss.classloader.spi.base.BaseClassLoader.doLoadClass(BaseClassLoader.java:523)
at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:468)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at org.jgroups.util.Util.loadClass(Util.java:1745)
at
org.jgroups.stack.Configurator$ProtocolConfiguration.createLayer(Configurator.java:808)
at
org.jgroups.stack.Configurator$ProtocolConfiguration.access$000(Configurator.java:729)
at org.jgroups.stack.Configurator.createProtocols(Configurator.java:510)
at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:61)
at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:295)
at org.jgroups.JChannel.init(JChannel.java:1578)
at org.jgroups.JChannel.<init>(JChannel.java:248)
at
org.jboss.ha.framework.server.JChannelFactory.initializeChannel(JChannelFactory.java:1253)
at
org.jboss.ha.framework.server.JChannelFactory.createChannelFromRegisteredStack(JChannelFactory.java:1211)
at
org.jboss.ha.framework.server.JChannelFactory.createMultiplexerChannel(JChannelFactory.java:308)
at
org.jboss.ha.framework.server.ClusterPartition.createChannel(ClusterPartition.java:1463)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira