|
From: Shashidhar G. M. <Sha...@ar...> - 2008-09-17 03:19:19
|
Hi Leif, Thanks for your suggestion I found the issue basically I need to change the parameter -Xss128k to -Xss256K. Reducing it to 128k was not providing enough thread stack size to launch the spring deployer. ________________________________ From: wra...@li... [mailto:wra...@li...] On Behalf Of Shashidhar Gaurav Misra Sent: Tuesday, September 16, 2008 8:01 PM To: wra...@li... Subject: Re: [Wrapper-user] Java service wrapper not able to load the springdeployer on Solaris 64-bit Hi Leif, When I am trying to start my Jboss using run.sh (comes along with Jboss) then I am not getting this error. The error comes only when I am trying to start my Jboss server using wrapper. I have taken a snapshot of java command line in both the cases but I don't see much difference. When starting Jboss using run.sh JBOSS_HOME: /usr/local/jboss JAVA: /usr/java/bin/java JAVA_OPTS: -server -Xms128m -Xmx128m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dprogram.name=run.sh CLASSPATH: /usr/local/jboss/bin/run.jar:/usr/java/lib/tools.jar When starting Jboss using wrapper TATUS | wrapper | 2008/09/16 09:22:21 | --> Wrapper Started as Daemon INFO | wrapper | 2008/09/16 09:22:21 | Command[0] : /usr/java/bin/java INFO | wrapper | 2008/09/16 09:22:21 | Command[1] : -Dprogram.name=run.sh INFO | wrapper | 2008/09/16 09:22:21 | Command[2] : -Dmy.hostname=abc INFO | wrapper | 2008/09/16 09:22:21 | Command[3] : -Djava.endorsed.dirs=/usr/local/jboss/lib/endorsed INFO | wrapper | 2008/09/16 09:22:21 | Command[8] : -Djava.awt.headless=true INFO | wrapper | 2008/09/16 09:22:21 | Command[10] : -Ddrools.compiler=JANINO INFO | wrapper | 2008/09/16 09:22:21 | Command[11] : -server INFO | wrapper | 2008/09/16 09:22:21 | Command[12] : -Xss128k INFO | wrapper | 2008/09/16 09:22:21 | Command[13] : -Dnode.platform.model=sun4u INFO | wrapper | 2008/09/16 09:22:21 | Command[15] : -Dsun.rmi.dgc.server.gcInterval=3600000 INFO | wrapper | 2008/09/16 09:22:21 | Command[16] : -Dsun.rmi.dgc.client.gcInterval=3600000 INFO | wrapper | 2008/09/16 09:22:21 | Command[24] : -XX:MaxPermSize=128m INFO | wrapper | 2008/09/16 09:22:21 | Command[25] : -Dsecurity.services.mode=enabled INFO | wrapper | 2008/09/16 09:22:21 | Command[26] : -XX:NewRatio=3 INFO | wrapper | 2008/09/16 09:22:21 | Command[27] : -Xms128m INFO | wrapper | 2008/09/16 09:22:21 | Command[28] : -Xmx128m INFO | wrapper | 2008/09/16 09:22:21 | Command[29] : -Djava.library.path=/usr/local/jboss/lib INFO | wrapper | 2008/09/16 09:22:21 | Command[30] : -classpath INFO | wrapper | 2008/09/16 09:22:21 | Command[31] : /usr/local/jboss/lib/wrapper.jar:/usr/local/jboss/bin/run.jar:/usr/ja va/lib/tools.jar:/usr/local/jboss/server/default/lib/commons-lang-2.3.jar:/usr/local/jboss/server/default/lib/joda-time-1.4.j ar:/usr/local/jboss/server/default/lib/snmp-support.jar:/usr/local/jboss/cbs_workflow INFO | wrapper | 2008/09/16 09:22:21 | Command[32] : -Dwrapper.key=0gfBDmkCcjEcotd4 INFO | wrapper | 2008/09/16 09:22:21 | Command[33] : -Dwrapper.port=18100 INFO | wrapper | 2008/09/16 09:22:21 | Command[34] : -Dwrapper.jvm.port.min=31000 INFO | wrapper | 2008/09/16 09:22:21 | Command[35] : -Dwrapper.jvm.port.max=31999 INFO | wrapper | 2008/09/16 09:22:21 | Command[36] : -Dwrapper.pid=9451 INFO | wrapper | 2008/09/16 09:22:21 | Command[37] : -Dwrapper.version=3.2.3 INFO | wrapper | 2008/09/16 09:22:21 | Command[38] : -Dwrapper.native_library=wrapper INFO | wrapper | 2008/09/16 09:22:21 | Command[39] : -Dwrapper.service=TRUE INFO | wrapper | 2008/09/16 09:22:21 | Command[40] : -Dwrapper.cpu.timeout=10 INFO | wrapper | 2008/09/16 09:22:21 | Command[41] : -Dwrapper.jvmid=1 INFO | wrapper | 2008/09/16 09:22:21 | Command[42] : org.tanukisoftware.wrapper.WrapperSimpleApp INFO | wrapper | 2008/09/16 09:22:21 | Command[43] : org.jboss.Main I tried removing the parameters -Xss128k and -XX:NewRatio=3 but then I am getting some other error. Not sure why these parameters are being passed but some of my services are not able to start up which are otherwise getting started when using run.sh. The same configuration for wrapper.conf is working fine on Linux. Please suggest. Thanks Shashidhar ________________________________ "DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error,please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus." |