aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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"
I agree. Here's the link:
subject: How to set java option in tomcat
Similar Threads
Help with Running msgsend demo of JavaMail
Error when using JDOM
error while using BufferedImage class in servlet
Color choices
JSP, Apache, tomcat problem