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 set Tomcat 6 - Variable Environment 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 "set Tomcat 6 - Variable Environment" Watch "set Tomcat 6 - Variable Environment" New topic
Author

set Tomcat 6 - Variable Environment

André Asantos
Ranch Hand

Joined: Nov 23, 2009
Posts: 234
hello,
please anybody else knows if needed set path too?

e.g
CATALINA_HOME and %catalina_home%...


???

abs,
André AS
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

I'm not sure what you're asking. You may need to set the CATALINA_HOME environment variable. %catalina_home% would be how to refer to an environment variable in DOS. (I don't know if they're case-sensitive in DOS or not.)

Are you having a specific problem?
Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8806
    
    5
i think you'll more help with this in the servlets forum...


Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
André Asantos
Ranch Hand

Joined: Nov 23, 2009
Posts: 234
thank you...
AS
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60822
    
  65

You should not need to set CATALINA_HOME, the script files should do that for you.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15964
    
  19

Bear Bibeault wrote:You should not need to set CATALINA_HOME, the script files should do that for you.


Emphasis added. If you do set CATALINA_HOME, the externally-provided setting will override the script files. The default value set in the scripts is the parent directory of the script being executed. In other words, the net effect would be if you set CATALINA_HOME and executed $CATALINA_HOME/bin/catalina/sh (Unix) or %CATALINA_HOME%\bin\catalina.bat (Windows)


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: set Tomcat 6 - Variable Environment
 
Similar Threads
Help - problem with a fresh install of tomcat and JSP - SOLVED
How to set a different port number to for Tomcat 6
setting the environment variables
Servlets
Tomcat starting trouble