File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes How to setup VM arguments in Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "How to setup VM arguments in Tomcat" Watch "How to setup VM arguments in Tomcat" New topic
Author

How to setup VM arguments in Tomcat

Amrita Anilkumar
Greenhorn

Joined: Jan 08, 2008
Posts: 3
We are trying to run an application on Tomcat. Project is placed in webapps folder inside Tomcat 5.0 folder. We want the logs for applcation to be on our machine for which there are two log4j xml and dtd files that shall help in mapping via server. VM arguments are to be set so that startup.bat reads these files. I am not aware about the file where I need to modify and the statement to code. Is there any way to do this??

In case if the tomcat server is started in RAD,then we start the server and then Go to Run -> Debug� or Run -> Run and Select �Arguments� tab and add the following log4j.configuration="file:\C:\logfile\log4j.xml".

We want to do the same when the application is run only in Tomcat without RAD/eclipse.


Thanks in advance,
Amrita
Wammes Waggel
Greenhorn

Joined: Jan 11, 2008
Posts: 2
Usually you can set the VN amrgs in catalina.bat
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to setup VM arguments in Tomcat
 
Similar Threads
where to place log4j.properties file
How to set VM arguments in Tomcat 5.0
deployment problems in tomcat 4.1.27
Running JSP from outside tomcat\webapps\ROOT
RAD - Tomcat 4.1 - Configuration