apache / tomcat conflict

I (finally) got a hello servlet up and running on my remote server. I can open it with the following: http://www.betaflea.com:9080/servlet/HelloServlet.

What I cannot do is open it with http://www.betaflea.com/ or http://www.betaflea.com/HelloServlet because I get an apache 404 error.

How can I clear this conflict?

Message was edited by:

ryeterrell

[382 byte] By [ryeterrella] at [2007-11-26 16:18:15]
# 1

> I (finally) got a hello servlet up and running on my

> remote server. I can open it with the following:

> http://www.betaflea.com:9080/servlet/HelloServlet.

>

> What I cannot do is open it with

> http://www.betaflea.com/ or

> http://www.betaflea.com/HelloServlet because I get an

> apache 404 error.

>

> How can I clear this conflict?

>

> Message was edited by:

> ryeterrell

To do that, u must

1.install the present web server you are using as the default web server (ie assigning port 80 to it).

2. in ur web.xml file set the welcome files to the name of the file u want to display

i.e

<welcome-file-list>

<welcome-file>

name of your file

</welcome-file>

</welcome-file-list>

CJ2a at 2007-7-8 22:41:27 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
You need special plugin to make Apache forwar servlet/JSP requests to tomcat (proxy or proxy_ajp13). Proper httpd configuration is needed as well.
_Dima_a at 2007-7-8 22:41:27 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
So the easiest thing to do would be to turn off apache and use tomcat alone on port 80, huh?
ryeterrella at 2007-7-8 22:41:27 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
Yes, You've got it ;)
_Dima_a at 2007-7-8 22:41:27 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...