Optional java VM arguments

Hi all,

I am runnig one application from Eclipse IDE with tomcat5.5.when configuring the server I mentiond Optional java VM arguments like below

-Durcl.package.base=com.mycomp

-Durcl.verbose=false

-Durcl.default.domain=mycomp

-Djava.system.class.loader=com.mycopm.UnifiedResourceClassLoader

-Dhyperwallet.jvm=jvm-1

-Xdebug -Xnoagent

-Djava.compiler=NONE

and I am adding some lidrary files to pathhs.

But Now when its going to production mechine there is no eclipse so I have to give this optional arguments when starting the tomcat server.How to give this to tomcat server which file I have to modify Please help me regarding this.

Thanks and Regards

[726 byte] By [konachinababu@gmail.coma] at [2007-11-27 10:54:13]
# 1

there's a startup script for tomcat you can edit the JVM args there.

it's called startup.bat or catalinastart.bat or someting.

there's probably already a placeholder there to enter/add your args.

SoulTech2012a at 2007-7-29 11:48:58 > top of Java-index,Desktop,Runtime Environment...
# 2

Hi SoulTech2012 ,

Hi Thanks for your reply and I tried to set my optional arguments.But its giving errors at the time strating the server.currently I am using Tomcat5.5 can u post the syntax please.

Thanks and regards

konachinababu@gmail.coma at 2007-7-29 11:48:58 > top of Java-index,Desktop,Runtime Environment...
# 3

what do you mean? looks like you already have the args setup.

try this:

http://java.sun.com/j2se/1.4.2/docs/tooldocs/solaris/java.html

SoulTech2012a at 2007-7-29 11:48:58 > top of Java-index,Desktop,Runtime Environment...
# 4

HI SoulTech2012 ,

I got solution for above problem in windows.

By modifying the catalina.bat and setclasspath.bat like below

catalina.bat

set CATALINA_OPTS=-Durcl.package.base=com.twinlion -Durcl.verbose=false -Durcl.default.domain=myCitadel -Djava.system.class.loader=com.twinlion.util.UnifiedResourceClassLoader -Dhyperwallet.jvm=jvm-1

setclaspath.bat

set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\classLoader.jar;%JAVA_HOME%\lib\cryptix-openpgp-provider.jar;%JAVA_HOME%\lib\cryptix-message-api.jar;%JAVA_HOME%\lib\cryptix-pki-api.jar;%JAVA_HOME%\lib\certpath-compat-api.jar;%JAVA_HOME%\lib\cryptix-jce-provider.jar;%JAVA_HOME%\lib\certpath-compat-api.jar;cryptix-jce-api.jar

I did the same thing in linux instead of bat files i did modifications in .sh files but its not working can you help me regarding this issue.

Thanks in advance

Chinna

konachinababu@gmail.coma at 2007-7-29 11:48:58 > top of Java-index,Desktop,Runtime Environment...