En l'instant précis du 06/06/08 09:42, luke l s'exprimait en ces termes:
Hi,

I must start Tomcat setting a value for this attribute
com.sun.CORBA.transport.ORBTCPReadTimeouts (it set a Timeout for a corba
socket).
I've tried to add com.sun.CORBA.transport.ORBTCPReadTimeouts in JAVA_OPTS
Tomcat variable in catalina.sh script:

JAVA_OPTS="$JAVA_OPTS
......"-Dcom.sun.CORBA.transport.ORBTCPReadTimeouts=1:30:50:10" "

but Tomcat can't start:


Unrecognized option:
-J-Dcom.sun.CORBA.transport.ORBTCPReadTimeouts=10:30000:500:10
Could not create the Java virtual machine.

Any suggestion???
thanks in advance



Don't forget to add a space between $JAVA_OPTS and your additionnal option. In your case, you joined -J and -D parameters without a space, as a result the jvm does not recognize an option named "J-D" :)

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to