Click to See Complete Forum and Search --> : tomcat 4 + apache 1.3 - who has it working


RedHat123
10-02-2002, 11:32 AM
Who has apache and tomcat working together ? How did you do it ? Are you using the Warp connector ? Details plz. Im wanting to save myself some grief (and hair) before i try it.

RedHat123
10-02-2002, 04:40 PM
im going to following these instructions:
http://fbn.dyndns.org/webprojects/local_tomcathowto/tomcat4.html#h3

...and report back here the results. stay tuned to the penguin channel for further updates...:D

miteycasey
10-02-2002, 05:32 PM
I've been trying to do this off and on for a month now and haven't had any luck.
I still have a spot of hair left so there is still time.
GOOD LUCK! :)

RedHat123
10-02-2002, 08:16 PM
so where is this mod_webapp module i need to download ? I dont see it in the binaries on the jakarata site.

Toky
10-03-2002, 09:47 PM
what is tomcat?

lpahdoco
10-04-2002, 10:34 AM
Tomcat serves .jsp (Java) to the web.

For those looking for mod_webapp:
mod_webapp.so is downloadable from jakarta.apache.org, according to my developer. He already had all the files for me, I just dropped them on my server.

You configure your apache (in my case with /etc/httpd/conf/httpd.conf) to map mod_webapp to mod_webapp.so. Do that in the DSO support section of the .conf.

Linda

Toky
10-05-2002, 11:06 AM
thanks for the reply...
now, off to the web to get those files for my server...

(so, you'll probaly see some posts from me asking for help on how to set it up) :D

RedHat123
10-05-2002, 12:50 PM
take a look at this example, even though they discuss setting up on OSX, the instructions should apply here too:
http://developer.apple.com/internet/java/tomcat1.html

the following is the config settings needed (according to the article) for httpd.conf

LoadModule webapp_module libexec/httpd/mod_webapp.so

AddModule mod_webapp.c

# port 8008 is corret, not a typo
<IfModule mod_webapp.c>

WebAppConnection warpConnection warp localhost:8008
WebAppDeploy examples warpConnection /examples/

</IfModule>


However, when i restart Apache, i get warnings that the mod_webapp.so might crash under EAPI ???

Also , i get a warning that says that the line in the above config file, is an invalid virtual host ???

help ?



:confused:

RedHat123
10-05-2002, 06:18 PM
Im tired of trying to find info on mod_webapp. from my searches, it looks like plenty of others have said the same thing...its just not ready yet ?

Anyway, im going with Resin (www.caucho.com) It seems to integrate with Apache easier too. Ive got Resin up as a stand-alone service, but my static content doesnt seem to work....

[EDITED]
I just had some bad lines in my httpd.conf file after running the caucho/resin setup

everything is groovy now. my static content is served up by Apache and dynamic (JSP send servlet requests) content gets routed to Resin. Maybe i should post the details of my experience in the "how i did it forum" ?


goovy baby
:p