 |
 |
Tomcat questions
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Nov 2000
Location: Netherlands
Status:
Offline
|
|
I've just installed Tomcat 5 on my Mac, and it works. Still I'm not sure where's the best place to put it. Now I've put it in /etc/jakarta-tomcat-5.0.24 but is that the best place? Does it matter?
Can I have Tomcat start up without logging in?
How do I set the JAVA_HOME variable best? I thought this variable was set by default by OSX, but "echo $JAVA_HOME" didn't return anything.
Is there a preference pane or some front-end GUI tool that can handle Tomcat settings, startup etc?
|
|
"Chance is irrelevant. We will succeed."
== 7 of 9 ==
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status:
Offline
|
|
Originally posted by ervier:
I've just installed Tomcat 5 on my Mac, and it works. Still I'm not sure where's the best place to put it. Now I've put it in /etc/jakarta-tomcat-5.0.24 but is that the best place? Does it matter?
Can I have Tomcat start up without logging in?
How do I set the JAVA_HOME variable best? I thought this variable was set by default by OSX, but "echo $JAVA_HOME" didn't return anything.
Is there a preference pane or some front-end GUI tool that can handle Tomcat settings, startup etc?
You can put it wherever you like. Apple installs it in /Library/tomcat for the developer tools.
You can start it up without logging in by creating a StartupItem.
I set JAVA_HOME in my .bashrc to:
Code:
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
export JAVA_HOME
There are two tools on VersionTracker that purport to provide GUIs for Tomcat, but both of them seem pretty crappy to me.
|
|
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Nov 1999
Status:
Offline
|
|
Theoretically it can go wherever you want, but /etc is usually for system configuration files, not programs. Out of curiosity, why did you put it there?
|
|
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
|
| |
|
|
|
 |
|
 |
|
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status:
Offline
|
|
i installed mine in /usr/local and made things a bit easier by making a symbolic link in my home directory, so i could just dump files in there, via Finder:
ln -s /usr/local/jakarta-tomcat-5.0.19/webapps/ROOT /users/username/Tomcat
|
|
"Have sharp knives. Be creative. Cook to music" ~ maxelson
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Sep 2000
Status:
Offline
|
|
Originally posted by ervier:
I've just installed Tomcat 5 on my Mac, and it works. Still I'm not sure where's the best place to put it. Now I've put it in /etc/jakarta-tomcat-5.0.24 but is that the best place? Does it matter?
Can I have Tomcat start up without logging in?
How do I set the JAVA_HOME variable best? I thought this variable was set by default by OSX, but "echo $JAVA_HOME" didn't return anything.
Is there a preference pane or some front-end GUI tool that can handle Tomcat settings, startup etc?
I have it installed in my home directory, and run it as a user not root. Java home is some complex path in System/Library, frameworks... you can get it from Apples developer doc's. I have it set in my .tscrc file.
In terms of setup I don't know of any GUI for editing server.xml, but you could use any XML editor to get a 'nice' tree view. Its very much along the usual apache configuration lines.
|
|
Nobody made a greater mistake than
he who did nothing because he could only
do a little. Edmund Burke
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|