Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Javini Javono
Ranch Hand
Posts: 286
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64980
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mine is also 9006...

 
Javini Javono
Ranch Hand
Posts: 286
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic