-
1. Re: OOM error when accessing my application after jboss 5.1.0 is deployed
jaikiran Dec 2, 2010 3:22 AM (in response to ohmygod)Which operating system? And how do you start the server? Post the initial few lines from the console log which show the JVM params being used.
-
2. Re: OOM error when accessing my application after jboss 5.1.0 is deployed
ohmygod Dec 2, 2010 3:49 AM (in response to jaikiran)Here you are. I'm using Windows XP.
C:\Welocalize\globalsight\server\GlobalSight_20101202\GlobalSight\jboss>set JAVA_HOME=C:/Program Files/Java/jdk1.6.0_07
C:\Welocalize\globalsight\server\GlobalSight_20101202\GlobalSight\jboss>set JAVA_OPTS= -Dorg.jboss.logging.Log4jService.catchSystemOut=false
C:\Welocalize\globalsight\server\GlobalSight_20101202\GlobalSight\jboss>jboss_server\bin\run.bat;
Calling C:\Welocalize\globalsight\server\GlobalSight_20101202\GlobalSight\jboss\jboss_server\bin\run.conf.bat
===============================================================================JBoss Bootstrap Environment
JBOSS_HOME: C:\Welocalize\globalsight\server\GlobalSight_20101202\GlobalSight\jboss\jboss_server
JAVA: C:/Program Files/Java/jdk1.6.0_07\bin\java
JAVA_OPTS: -Dprogram.name=run.bat -Dorg.jboss.logging.Log4jService.catchSystemOut=false -server
CLASSPATH: C:\Welocalize\globalsight\server\GlobalSight_20101202\GlobalSight\jboss\jboss_server\bin\run.jar
===============================================================================
run.bat: unused non-option argument: ;
16:03:40,265 INFO [ServerImpl] Starting JBoss (Microcontainer)...
16:03:40,296 INFO [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053) -
3. Re: OOM error when accessing my application after jboss 5.1.0 is deployed
ohmygod Dec 2, 2010 3:53 AM (in response to ohmygod)16:03:49,609 INFO [ServerInfo] Java version: 1.6.0_07,Sun Microsystems Inc.
16:03:49,609 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
16:03:49,609 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 10.0-b23,Sun Microsystems Inc.
16:03:49,609 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
16:03:49,640 INFO [ServerInfo] VM arguments: -Dprogram.name=run.bat -Dorg.jboss.logging.Log4jService.catchSystemOut=false -Djava.endorsed.dirs=C:\Welocalize\globalsight\server\GlobalSight_20101202\GlobalSight\jboss\jboss_server\lib\endorsed
16:03:49,750 INFO [JMXKernel] Legacy JMX core initialized
16:03:57,421 INFO [ProfileServiceBootstrap] Loading profile: ProfileKey@127fa03[domain=default, server=default, name=default]Why is not there the parameter "-Xms512m -Xmx1024m -XX:MaxPermSize=512m" I set in run.conf.bat (set "JAVA_OPTS=-Xms512M -Xmx1024M -XX:MaxPermSize=512M") displaying in the console? I only see this one: VM arguments: -Dprogram.name=run.bat -Dorg.jboss.logging.Log4jService.catchSystemOut=false -Djava.endorsed.dirs=C:\Welocalize\globalsight\server\GlobalSight_20101202\GlobalSight\jboss\jboss_server\lib\endorsed.
-
4. Re: OOM error when accessing my application after jboss 5.1.0 is deployed
jaikiran Dec 2, 2010 4:01 AM (in response to ohmygod)C:\Welocalize\globalsight\server\GlobalSight_20101202\GlobalSight\jboss>set JAVA_OPTS= -Dorg.jboss.logging.Log4jService.catchSystemOut=false
Why are you doing this outside of the run.conf.bat script? Set (append) it to the JAVA_OPTS section in the run.conf.bat. This explains why you are running into all these out of memory issues.