• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

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

 
Ranch Hand
Posts: 286
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
sharp shooter, and author
Posts: 1913
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Sheriff
Posts: 67537
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 1913
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mine is also 9006...

 
Javini Javono
Ranch Hand
Posts: 286
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic