Mantis - Resin
Viewing Issue Advanced Details
959 minor always 02-22-06 05:52 02-27-06 09:47
eahollin  
ferg  
normal  
closed 3.0.17  
fixed  
none    
none 3.0.19  
0000959: httpd.exe argument issue
Same as Issue 0000435:

It appears that the httpd executable can handle at most 20 arguments for the resulting command line because the error only occurs when it hits 21. Actually, I only send 14 on the command line _to_ httpd; the rest appear to be generated by the httpd executable itself. It looks like the argument containing the name of the java executable is getting wiped out or overwritten once the number of arguments reaches 21. I verified that the issue still exists in Resin Pro 3.0.17.

C:\Java\resin-pro-3.0.17>C:\Java\resin-pro-3.0.17\httpd.exe -verbose -Xrs -Xms256m -Xmx1024m -Dlog.root=c:\java\resin-pro-3.0.17\logs -XX:NewSize=64m -XX:PermSize=128m -XX:+UseConcMarkSweepGC -XX:MaxTenuringThreshold=10 -XX:SurvivorRatio=16 -XX:+UseCMSCompactAtFullCollection -XX:CMSFullGCsBeforeCompaction=0 -XX:+CMSPermGenSweepingEnabled -Xloggc:c:\resin-pro-3.0.14\log\JVMgc.log -Dcom.sun.management.jmxremote
java: c:\Java\jdk1.5.0_05\bin\java.exe
JAVA_HOME: c:\Java\jdk1.5.0_05
RESIN_HOME: c:\java\resin-pro-3.0.17
SERVER_ROOT: c:\java\resin-pro-3.0.17
CLASSPATH: C:\java\mq\Java\lib\providerutil.jar;C:\java\mq\Java\lib\com.ibm.mqjms.jar;C:\java\mq\Java\lib\ldap.jar;C:\java\mq\Java\lib\jta.jar;C:\java\mq\Java\lib\jndi.jar;C:\java\mq\Java\lib\jms.jar;C:\java\mq\Java\lib\connector.jar;C:\java\mq\Java\lib\fscontext.jar;C:\java\mq\Java\lib\com.ibm.mq.jar;c:\java\jvmstat\jars\jvmstat_util.jar;c:\java\jvmstat\jars\jvmstat_graph.jar;c:\java\jvmstat\visualgc.jar;c:\java\resin-pro-3.0.17\classes;c:\java\resin-pro-3.0.17\lib\resin.jar;c:\Java\jdk1.5.0_05\lib\tools.jar;c:\Java\jdk1.5.0_05\jre\lib\rt.jar;c:\java\resin-pro-3.0.17\lib\aopalliance.jar;c:\java\resin-pro-3.0.17\lib\eclipse-compiler.jar;c:\java\resin-pro-3.0.17\lib\ejb-20.jar;c:\java\resin-pro-3.0.17\lib\ejb-30.jar;c:\java\resin-pro-3.0.17\lib\j2eedeploy.jar;c:\java\resin-pro-3.0.17\lib\jca-15.jar;c:\java\resin-pro-3.0.17\lib\jms-11.jar;c:\java\resin-pro-3.0.17\lib\jmx-12.jar;c:\java\resin-pro-3.0.17\lib\jsdk-24.jar;c:\java\resin-pro-3.0.17\lib\jstl-11.jar;c:\java\resin-pro-3.0.17\lib\jta-101.jar;c:\java\resin-pro-3.0.17\lib\license.jar;c:\java\resin-pro-3.0.17\lib\ojdbc14.jar;c:\java\resin-pro-3.0.17\lib\portlet-10.jar;c:\java\resin-pro-3.0.17\lib\pro.jar;c:\java\resin-pro-3.0.17\lib\quercus.jar;c:\java\resin-pro-3.0.17\lib\resin-jdk15.jar;c:\java\resin-pro-3.0.17\lib\resinboot.jar;c:\java\resin-pro-3.0.17\lib\script-10.jar;c:\java\resin-pro-3.0.17\lib\webutil.jar;C:\java\mq\Java\lib\providerutil.jar;C:\java\mq\Java\lib\com.ibm.mqjms.jar;C:\java\mq\Java\lib\ldap.jar;C:\java\mq\Java\lib\jta.jar;C:\java\mq\Java\lib\jndi.jar;C:\java\mq\Java\lib\jms.jar;C:\java\mq\Java\lib\connector.jar;C:\java\mq\Java\lib\fscontext.jar;C:\java\mq\Java\lib\com.ibm.mq.jar;c:\java\jvmstat\jars\jvmstat_util.jar;c:\java\jvmstat\jars\jvmstat_graph.jar;c:\java\jvmstat\visualgc.jar
PATH: C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\cvs\cvsnt;c:\java\jdk1.5.0_05\bin;c:\java\jvmstat\bat;C:\Java\Sun\AppServer\bin;c:\Java\mq\Java\bin;c:\Java\mq\Java\lib;c:\Java\mq\bin;C:\java\mq\tools\c\samples\bin;C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98bin;C:\PROGRA~1\F-Secure;;c:\java\resin-pro-3.0.17\bin;c:\java\resin-pro-3.0.17\win32;\Program Files\GnuWin32\bin
arg 0:
arg 1: "-Xrs"
arg 2: "-Xms256m"
arg 3: "-Xmx1024m"
arg 4: "-Dlog.root=c:\java\resin-pro-3.0.17\log"
arg 5: "-XX:NewSize=64m"
arg 6: "-XX:PermSize=128m"
arg 7: "-XX:+UseConcMarkSweepGC"
arg 8: "-XX:MaxTenuringThreshold=10"
arg 9: "-XX:SurvivorRatio=16"
arg 10: "-XX:+UseCMSCompactAtFullCollection"
arg 11: "-XX:CMSFullGCsBeforeCompaction=0"
arg 12: "-XX:+CMSPermGenSweepingEnabled"
arg 13: "-Xloggc:c:\resin-pro-3.0.17\log\JVMgc.log"
arg 14: "-Dcom.sun.management.jmxremote"
arg 15: -classpath
arg 16: "C:\java\mq\Java\lib\providerutil.jar;C:\java\mq\Java\lib\com.ibm.m
qjms.jar;C:\java\mq\Java\lib\ldap.jar;C:\java\mq\Java\lib\jta.jar;C:\java\mq\Java\lib\jndi.jar;C:\java\mq\Java\lib\jms.jar;C:\java\mq\Java\lib\connector.jar;C:\java\mq\Java\lib\fscontext.jar;C:\java\mq\Java\lib\com.ibm.mq.jar;c:\java\jvmstat\jars\jvmstat_util.jar;c:\java\jvmstat\jars\jvmstat_graph.jar;c:\java\jvmstat\visualgc.jar;c:\java\resin-pro-3.0.17\classes;c:\java\resin-pro-3.0.17\lib\resin.jar;c:\Java\jdk1.5.0_05\lib\tools.jar;c:\Java\jdk1.5.0_05\jre\lib\rt.jar;c:\java\resin-pro-3.0.17\lib\aopalliance.jar;c:\java\resin-pro-3.0.17\lib\eclipse-compiler.jar;c:\java\resin-pro-3.0.17\lib\ejb-20.jar;c:\java\resin-pro-3.0.17\lib\ejb-30.jar;c:\java\resin-pro-3.0.17\lib\j2eedeploy.jar;c:\java\resin-pro-3.0.17\lib\jca-15.jar;c:\java\resin-pro-3.0.17\lib\jms-11.jar;c:\java\resin-pro-3.0.17\lib\jmx-12.jar;c:\java\resin-pro-3.0.17\lib\jsdk-24.jar;c:\java\resin-pro-3.0.17\lib\jstl-11.jar;c:\java\resin-pro-3.0.17\lib\jta-101.jar;c:\java\resin-pro-3.0.17\lib\license.jar;c:\java\resin-pro-3.0.17\lib\ojdbc14.jar;c:\java\resin-pro-3.0.17\lib\portlet-10.jar;c:\java\resin-pro-3.0.17\lib\pro.jar;c:\java\resin-pro-3.0.17\lib\quercus.jar;c:\java\resin-pro-3.0.17\lib\resin-jdk15.jar;c:\java\resin-pro-3.0.17\lib\resinboot.jar;c:\java\resin-pro-3.0.17\lib\script-10.jar;c:\java\resin-pro-3.0.17\lib\webutil.jar;C:\java\mq\Java\lib\providerutil.jar;C:\java\mq\Java\lib\com.ibm.mqjms.jar;C:\java\mq\Java\lib\ldap.jar;C:\java\mq\Java\lib\jta.jar;C:\java\mq\Java\lib\jndi.jar;C:\java\mq\Java\lib\jms.jar;C:\java\mq\Java\lib\connector.jar;C:\java\mq\Java\lib\fscontext.jar;C:\java\mq\Java\lib\com.ibm.mq.jar;c:\java\jvmstat\jars\jvmstat_util.jar;c:\java\jvmstat\jars\jvmstat_graph.jar;c:\java\jvmstat\visualgc.jar"
arg 17: -Dresin.home="c:\java\resin-pro-3.0.17"
arg 18: -Dserver.home="c:\java\resin-pro-3.0.17"
arg 19: -Djava.util.logging.manager=com.caucho.log.LogManagerImpl
arg 20: -Djavax.management.builder.initial=com.caucho.jmx.MBeanServerBuilderImpl
arg 21: com.caucho.server.resin.Resin
Couldn't start "-Xrs" "-Xms256m" "-Xmx1024m" "-Dlog.root=c:\java\resin-pro-3.0.17\log" "-XX:NewSize=64m" "-XX:PermSize=128m" "-XX:+UseConcMarkSweepGC" "-XX:MaxTenuringThreshold=10" "-XX:SurvivorRatio=16" "-XX:+UseCMSCompactAtFullCollection" "-XX:CMSFullGCsBeforeCompaction=0" "-XX:+CMSPermGenSweepingEnabled" "-Xloggc:c:\resin-pro-3.0.17\log\JVMgc.log" "-Dcom.sun.management.jmxremote" -classpath "C:\java\mq\Java\lib\providerutil.jar;C:\java\mq\Java\lib\com.ibm.mqjms.jar;C:\java\mq\Java\lib\ldap.jar;C:\java\mq\Java\lib\jta.jar;C:\java\mq\Java\lib\jndi.jar;C:\java\mq\Java\lib\jms.jar;C:\java\mq\Java\lib\connector.jar;C:\java\mq\Java\lib\fscontext.jar;C:\java\mq\Java\lib\com.ibm.mq.jar;c:\java\jvmstat\jars\jvmstat_util.jar;c:\java\jvmstat\jars\jvmstat_graph.jar;c:\java\jvmstat\visualgc.jar;c:\java\resin-pro-3.0.17\classes;c:\java\resin-pro-3.0.17\lib\resin.jar;c:\Java\jdk1.5.0_05\lib\tools.jar;c:\Java\jdk1.5.0_05\jre\lib\rt.jar;c:\java\resin-pro-3.0.17\lib\aopalliance.jar;c:\java\resin-pro-3.0.17\lib\eclipse-compiler.jar;c:\java\resin-pro-3.0.17\lib\ejb-20.jar;c:\java\resin-pro-3.0.17\lib\ejb-30.jar;c:\java\resin-pro-3.0.17\lib\j2eedeploy.jar;c:\java\resin-pro-3.0.17\lib\jca-15.jar;c:\java\resin-pro-3.0.17\lib\jms-11.jar;c:\java\resin-pro-3.0.17\lib\jmx-12.jar;c:\java\resin-pro-3.0.17\lib\jsdk-24.jar;c:\java\resin-pro-3.0.17\lib\jstl-11.jar;c:\java\resin-pro-3.0.17\lib\jta-101.jar;c:\java\resin-pro-3.0.17\lib\license.jar;c:\java\resin-pro-3.0.17\lib\ojdbc14.jar;c:\java\resin-pro-3.0.17\lib\portlet-10.jar;c:\java\resin-pro-3.0.17\lib\pro.jar;c:\java\resin-pro-3.0.17\lib\quercus.jar;c:\java\resin-pro-3.0.17\lib\resin-jdk15.jar;c:\java\resin-pro-3.0.17\lib\resinboot.jar;c:\java\resin-pro-3.0.17\lib\script-10.jar;c:\java\resin-pro-3.0.17\lib\webutil.jar;C:\java\mq\Java\lib\providerutil.jar;C:\java\mq\Java\lib\com.i
bm.mqjms.jar;C:\java\mq\Java\lib\ldap.jar;C:\java\mq\Java\lib\jta.jar;C:\java\mq\Java\lib\jndi.jar;C:\java\mq\Java\lib\jms.jar;C:\java\mq\Java\lib\connector.jar;C:\java\mq\Java\lib\fscontext.jar;C:\java\mq\Java\lib\com.ibm.mq.jar;c:\java\jvmstat\jars\jvmstat_util.jar;c:\java\jvmstat\jars\jvmstat_graph.jar;c:\java\jvmstat\visualgc.jar" -Dresin.home="c:\java\resin-pro-3.0.17" -Dserver.home="c:\java\resin-pro-3.0.17" -Djava.util.logging.manager=com.caucho.log.LogManagerImpl -Djavax.management.builder.initial=com.caucho.jmx.MBeanServerBuilderImpl com.caucho.server.resin.Resin -socketwait 2468.

Notes
(0000900)
ferg   
02-27-06 09:47   
The JVM arguments (-J, -D, -X) weren't properly counted for the allocation of the argument list.