setting in catalina.sh:
JAVA_OPTS="$JAVA_OPTS
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Dcom.sun.CORBA.transport.ORBTCPReadTimeouts=10:30000:500:10"

it seems doesn't solve my problem

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

thanks...

---------- Forwarded message ----------
From: luke l <[EMAIL PROTECTED]>
Date: Jun 6, 2008 2:27 PM
Subject: Fwd: setting JAVA_OPT in Tomcat
To: users@tomcat.apache.org


Putting a space in catalina.sh as follow
JAVA_OPTS="$JAVA_OPTS
"-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager"
 "-Djava.util.logging.config.file="$CATALINA_BASE/conf/logging.properties
 " -Dcom.sun.CORBA.transport.ORBTCPReadTimeouts=10:30000:500:10" "
this error is raised:
usr/local/tom6/bin/catalina.sh: line 184:
-Dcom.sun.CORBA.transport.ORBTCPReadTimeouts=10:30000:500:10 : command not
found

Anyway other JAVA_OPT defined (java.util.logging) works properly without a
space

thanks

---------- Forwarded message ----------
From: luke l <[EMAIL PROTECTED]>
Date: Jun 6, 2008 10:23 AM
Subject: Fwd: setting JAVA_OPT in Tomcat
To: users@tomcat.apache.org



*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" :)*

I've again an error

Unrecognized option:
-J-Dcom.sun.CORBA.transport.ORBTCPReadTimeouts=10:30000:500:10
Could not create the Java virtual machine.
Unrecognized option:
-J-Dcom.sun.CORBA.transport.ORBTCPReadTimeouts=10:30000:500:10
Could not create the Java virtual machine.
and Tomcat doesn't start

thanks

Reply via email to