This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to set java option in tomcat" Watch "How to set java option in tomcat" New topic

How to set java option in tomcat

vikas mishra

Joined: Jan 28, 2004
Posts: 26
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 It is heavily commented.

big hint: "JAVA_OPTS"
jQuery in Action, 2nd edition
subject: How to set java option in tomcat