This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Mac OS and the fly likes Mac OS 10.3.6 and Tomcat 4.1.24-LE-jdk14 for Servlet and JSP 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 » Engineering » Mac OS
Bookmark "Mac OS 10.3.6 and Tomcat 4.1.24-LE-jdk14 for Servlet and JSP" Watch "Mac OS 10.3.6 and Tomcat 4.1.24-LE-jdk14 for Servlet and JSP" New topic
Author

Mac OS 10.3.6 and Tomcat 4.1.24-LE-jdk14 for Servlet and JSP

Javini Javono
Ranch Hand

Joined: Dec 03, 2003
Posts: 286
Hi,

Here's an update on how I got Tomcat to run on my mac.
First I downloaded all the recent stuff (which may or may
not be a requirement); so, I installed XCode Tools 1.5
and then Java 1.4.2 Update 1 Developer Tools.

Then I went to the directory
/Library/Tomcat/bin

and issued this command:

sh -v startup.sh

Then I went to my Safari browser and placed in this
URL:

http://localhost:9006

and the default page came up as expected.

The only thing which fooled me was that I always thought
that the default port for Tomcat was 8080, and that may
have been why I could not get Tomcat to function.

Finally, I did make one other change though I cannot say
that it is critical for Tomcat alone or if it is critical only
if you use JBoss: it was a writeup at apple about what
happens after you install JRE 1.4 and how you need to
change a line within a JBOSS file, but I don't have the
particulars.

Thanks,
Javini Javono
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1913
    
    6
I've not tried the version of Tomcat delivered with the developer tools CD, but perhaps they switched the default port to stop it clashing with something (JBoss, perhaps?). Speaking of JBoss, I seem to remember having to change the /Library/JBoss/3.2/bin/run.conf file when Java 1.4.2 was installed via the software update mechanism. I think it's the line starting JAVA=, but the full version of my file is as follows.

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

perhaps they switched the default port to stop it clashing with something (JBoss, perhaps?).


That could very well be, Simon. I downloaded and installed Tomcat from the Jakarta site (without JBoss) and the default port is the customary 8080.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1913
    
    6
Mine is also 9006...

Javini Javono
Ranch Hand

Joined: Dec 03, 2003
Posts: 286
Hi,

Okay, so as mentioned above, this is the file in JBoss I changed:
/Library/JBoss/3.2/bin/run.conf

which, if I recall correctly, one does after installing the JRE version
1.4.2 (I think) which is part of the standard updates (not part of the developer
tools).

Note that I have not yet ever started JBoss, but here is my run.conf
file at this time:



As far as I know I followed the directions as given by Apple's web
site; but, please remember that I have not yet started JBoss
ever on my computer at this time.

Thanks,
Javini Javono

[ November 21, 2004: Message edited by: Javini Javono ]
[ November 21, 2004: Message edited by: Javini Javono ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Mac OS 10.3.6 and Tomcat 4.1.24-LE-jdk14 for Servlet and JSP
 
Similar Threads
Running Java 6 on MAC OS X (Tiger)
How to remove jboss default home ?
Error deploying simple servlet
validate xml dom with schema
How to fix port issue in tomcat