tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Delbecq <delbd+jaka...@oma.be>
Subject Re: setting JAVA_OPT in Tomcat
Date Fri, 06 Jun 2008 05:52:20 GMT
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message