You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kemp Randy-W18971 <Ra...@motorola.com> on 2001/10/24 15:46:19 UTC

Why can't I connect

Can someone explain why I can't connect in Windows 2000 with Tomcat 4.01 and
Apache 1.3.22?
1.  I am using all binaries, and I put mod_webapp.so and libapp.dll in
Apache directory Modules.
2.  I put this entry in Tomcat server.xml after the EJB entry 
<Context path="/onjava" docBase="onjava" debug="0" reloadable="true" />    
3.  I put this in Apache httpd.conf at the end
<VirtualHost *>
   ServerName localhost
   WebAppConnection conn warp localhost:8080
   WebAppDeploy examples conn /examples/
   WebAppDeploy onjava conn /onjava/
   WebAppInfo /webapp-info
 </VirtualHost>
4.  I put my war file in the tomcat webapps directory.
5.  I can bring up localhost and localhost:8080 OK.
6.  If I type localhost/onjava/, the following entry is in the Apache error
logs: (both Apache and Tomcat are started)

Fri Oct 19 12:41:00 2001] [error] [client 127.0.0.1] File does not exist:
c:/program files/apache group/apache/htdocs/onjava
[Fri Oct 19 12:41:44 2001] [error] Connection "conn" cannot connect
[Fri Oct 19 12:41:44 2001] [error] Cannot open connection "conn"
[Fri Oct 19 15:21:00 2001] [error] Web-application not yet deployed
[Fri Oct 19 15:22:08 2001] [error] Web-application not yet deployed
[Fri Oct 19 15:22:21 2001] [error] Web-application not yet deployed
[Fri Oct 19 15:24:42 2001] [error] Cannot deploy application examples
[Fri Oct 19 15:24:42 2001] [error] Cannot deploy application examples

What could I be missing? 



Re: Why can't I connect

Posted by Pier Fumagalli <pi...@betaversion.org>.
Kemp Randy-W18971 at Randy.L.Kemp@motorola.com wrote:

> Can someone explain why I can't connect in Windows 2000 with Tomcat 4.01 and
> Apache 1.3.22?
> 1.  I am using all binaries, and I put mod_webapp.so and libapp.dll in
> Apache directory Modules.
> 2.  I put this entry in Tomcat server.xml after the EJB entry
> <Context path="/onjava" docBase="onjava" debug="0" reloadable="true" />
> 3.  I put this in Apache httpd.conf at the end
> <VirtualHost *>
>  ServerName localhost
>  WebAppConnection conn warp localhost:8080

Localhost:8008, not 8080

    Pier


>  WebAppDeploy examples conn /examples/
>  WebAppDeploy onjava conn /onjava/
>  WebAppInfo /webapp-info
> </VirtualHost>
> 4.  I put my war file in the tomcat webapps directory.
> 5.  I can bring up localhost and localhost:8080 OK.
> 6.  If I type localhost/onjava/, the following entry is in the Apache error
> logs: (both Apache and Tomcat are started)
> 
> Fri Oct 19 12:41:00 2001] [error] [client 127.0.0.1] File does not exist:
> c:/program files/apache group/apache/htdocs/onjava
> [Fri Oct 19 12:41:44 2001] [error] Connection "conn" cannot connect
> [Fri Oct 19 12:41:44 2001] [error] Cannot open connection "conn"
> [Fri Oct 19 15:21:00 2001] [error] Web-application not yet deployed
> [Fri Oct 19 15:22:08 2001] [error] Web-application not yet deployed
> [Fri Oct 19 15:22:21 2001] [error] Web-application not yet deployed
> [Fri Oct 19 15:24:42 2001] [error] Cannot deploy application examples
> [Fri Oct 19 15:24:42 2001] [error] Cannot deploy application examples
> 
> What could I be missing?
> 
> 
> 
>