Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > Tomcat plugin for Apache setup?

Tomcat plugin for Apache setup?
Thread Tools
mefogus
Forum Regular
Join Date: Apr 2001
Location: DC
Status: Offline
Reply With Quote
Aug 21, 2002, 05:42 PM
 
Can anyone give me a good pointer to a reference for setting up the Tomcat plugin on Apache? I would like to use my Mac as a small webserver, but I want to serve JSP. Any help would be much appreciated.

Thanks.
-m
     
kennethmac2000
Senior User
Join Date: Apr 2000
Location: Edinburgh, UK
Status: Offline
Reply With Quote
Aug 21, 2002, 07:32 PM
 
Originally posted by mefogus:
Can anyone give me a good pointer to a reference for setting up the Tomcat plugin on Apache? I would like to use my Mac as a small webserver, but I want to serve JSP. Any help would be much appreciated.

Thanks.
-m
What do you mean by Tomcat plugin? There is more than one.
     
Gary Kerbaugh
Dedicated MacNNer
Join Date: Jul 2001
Location: NC
Status: Offline
Reply With Quote
Aug 21, 2002, 09:18 PM
 
   There are several connectors but I believe that the newest is mod_webapp. Apple has a really good tutorial on Tomcat in their Internet Developer section. Here's the URL for it.

http://developer.apple.com/internet/java/tomcat1.html

Actually, the entire Internet Developer collection is really good. There's one on JBoss as well.
Gary
A computer scientist is someone who, when told to "Go to Hell", sees the
"go to", rather than the destination, as harmful.
     
mefogus  (op)
Forum Regular
Join Date: Apr 2001
Location: DC
Status: Offline
Reply With Quote
Aug 22, 2002, 12:21 PM
 
Originally posted by Gary Kerbaugh:
   There are several connectors but I believe that the newest is mod_webapp. Apple has a really good tutorial on Tomcat in their Internet Developer section. Here's the URL for it.

http://developer.apple.com/internet/java/tomcat1.html

Actually, the entire Internet Developer collection is really good. There's one on JBoss as well.
Thank you very much; this is exactely what I was gunning for.

-m
     
absmiths
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status: Offline
Reply With Quote
Sep 3, 2002, 10:29 AM
 
Does the mod_webapp not work for anyone else? When I configure it the way the dev article says, I first get a warning that the module is already loaded (even though there is no reference to it) and then an error that the virtual host is invalid. This has just started happening since 10.2
     
mntamago
Fresh-Faced Recruit
Join Date: Aug 2002
Location: Tokyo
Status: Offline
Reply With Quote
Sep 4, 2002, 09:32 AM
 
Originally posted by absmiths:
Does the mod_webapp not work for anyone else? When I configure it the way the dev article says, I first get a warning that the module is already loaded (even though there is no reference to it) and then an error that the virtual host is invalid. This has just started happening since 10.2
I had trouble with mod_webapp as discribed on Apple's site. In fact, because I am using Tomcat for devlopment at home, and do not really care about appearances so I gave up on the module. Now I just add the port number ( 8080 ) at the end of my URLs.

I have found one page that looks like it might be a work around for this modulue problem, but I have not spent time testing it yet. You might want to give the following a peek:

http://www.macdevcenter.com/pub/a/ma...tegration.html
( Last edited by mntamago; Sep 4, 2002 at 09:43 AM. )
     
absmiths
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status: Offline
Reply With Quote
Sep 4, 2002, 11:12 AM
 
Originally posted by mntamago:


I had trouble with mod_webapp as discribed on Apple's site. In fact, because I am using Tomcat for devlopment at home, and do not really care about appearances so I gave up on the module. Now I just add the port number ( 8080 ) at the end of my URLs.

I have found one page that looks like it might be a work around for this modulue problem, but I have not spent time testing it yet. You might want to give the following a peek:

http://www.macdevcenter.com/pub/a/ma...tegration.html
Actually, I fixed it myself. I had to separate the lines in the httpd.conf so they went with what was already there. I.E., The LoadModule line was added immediately after the other LoadModule lines, the AddModule line was added immediately after the other AddModule lines, and the IfModule stuff was added all the way at the bottom.

After I did that, it worked like a charm. I didn't do any of that with 10.1.5, so I must have gotten lucky. Anyway, I actually configured this on two different machines so I know it works.
     
absmiths
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status: Offline
Reply With Quote
Sep 4, 2002, 11:14 AM
 
Originally posted by mntamago:

I have found one page that looks like it might be a work around for this modulue problem, but I have not spent time testing it yet. You might want to give the following a peek:

http://www.macdevcenter.com/pub/a/ma...tegration.html
I would avoid mod_jk if I were you - I have used it in the past and it is not as easy to configure. The only down side to mod_webapp seems to be finding the stupid thing.
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 02:48 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,