Google-sovellukset
Päävalikko

Post a Comment On: lo-fi

"Leopard for the Web Developer - Running Tomcat as a Service"

8 Comments -

1 – 8 of 8
Blogger BugBoy said...

thanks for the article. i think i followed all your steps. i rebooted and tried to access tomcat to no avail, but if i navigate to the /usr/local/tomact/bin directory and call ./catalina.sh run
tomcat starts right up

2/20/2008 1:04 PM

Anonymous Anonymous said...

worked for me beautifully!
thanks a bunch

2/27/2008 3:26 AM

Anonymous Anonymous said...

you can start without rebooting your mac with

launchctl start org.apache.tomcat.tomcat6


then, use

tail /var/log/system.log

for error checking during start

3/07/2008 2:22 PM

Blogger Eric said...

Excellent tip, Oliver. Thanks!

3/07/2008 8:51 PM

Anonymous Anonymous said...

Worked for me too!. As a follow up, how about a howto for fronting tomcat with apache?

3/08/2008 8:38 AM

Blogger Eric said...

Although there's some extra steps involved in getting Apache to connect to Tomcat, one of the first steps involved is getting mod_jk installed. I have an article about doing that here:

Install mod_jk on Leopard

I'll try to find some time to write up the missing steps to connect the two, but this should get you started

3/10/2008 7:06 AM

Blogger Eric said...

@bugboy

It sounds like you might have a permissions problem. If you install the plist file in /Library/LaunchDaemons you need to make sure that the file is owned by the root user. Try using the terminal and sudo to make that happen. The following command may help you:

sudo chown root /Library/LaunchDaemons/org.apache.tomcat.tomcat6
.plist

3/10/2008 7:09 AM

Anonymous Anonymous said...

It works really nice. Thank you very much.

3/26/2008 4:12 AM

You can use some HTML tags, such as <b>, <i>, <a>

Comment moderation has been enabled. All comments must be approved by the blog author.

You will be asked to sign in after submitting your comment.
Please prove you're not a robot