File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Android Security Essentials Live Lessons this week in the Android forum!
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
 
Similar Threads
Error when using JDOM
Help with Running msgsend demo of JavaMail
error while using BufferedImage class in servlet
JSP, Apache, tomcat problem
Color choices