wood burning stoves 2.0*
The moose likes Tomcat and the fly likes How to set java option in tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to set java option in tomcat" Watch "How to set java option in tomcat" New topic
Author

How to set java option in tomcat

vikas mishra
Greenhorn

Joined: Jan 28, 2004
Posts: 26
hi
i have jar (developed by me) for watermarking of image.
this jar is working fine
when i m running program form command line by giving switches
-Dsun.java2d.pmoffscreen=false and -Xmx128000000 but when i m trying
this jar with tomcat and jas it showing error

i want to set these 2 switches from tomcat how can i do this

i m useing tomact4 on linux8.0
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

look inside catalina.sh. It is heavily commented.

big hint: "JAVA_OPTS"
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to set java option in tomcat