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/18 21:11:58 UTC

Cannot open connection "conn"

I have set up Tomcat 4.01, mod_webapp, and Apache 1.3.22 on Windows 2000.
What could be causing this error in the Apache error log, in regards to the
Tomcat connection?

[Thu Oct 18 09:50:02 2001] [error] Connection "conn" cannot connect
[Thu Oct 18 09:50:02 2001] [error] Cannot open connection "conn"

Tomcat parameters in httpd.conf

LoadModule webapp_module modules/mod_webapp.so

NameVirtualHost *

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
#
#<VirtualHost ip.address.of.host.some_domain.com>
#    ServerAdmin webmaster@host.some_domain.com
#    DocumentRoot /www/docs/host.some_domain.com
#    ServerName host.some_domain.com
#    ErrorLog logs/host.some_domain.com-error_log
#    CustomLog logs/host.some_domain.com-access_log common
#</VirtualHost>

#<VirtualHost _default_:*>
#</VirtualHost>

<VirtualHost *>
   ServerName localhost
   WebAppConnection conn warp localhost:8008
   WebAppDeploy examples conn /examples/
   WebAppDeploy onjava conn /onjava/
   WebAppInfo /webapp-info
 </VirtualHost>

Re: Cannot open connection "conn"

Posted by Barry White <ba...@charter.net>.
Try not using a virtual host.  i.e. get it working using the default Apache
config and go from there.
Barry

----- Original Message -----
From: "Kemp Randy-W18971" <Ra...@motorola.com>
To: <to...@jakarta.apache.org>
Sent: Thursday, October 18, 2001 3:11 PM
Subject: Cannot open connection "conn"


> I have set up Tomcat 4.01, mod_webapp, and Apache 1.3.22 on Windows 2000.
> What could be causing this error in the Apache error log, in regards to
the
> Tomcat connection?
>
> [Thu Oct 18 09:50:02 2001] [error] Connection "conn" cannot connect
> [Thu Oct 18 09:50:02 2001] [error] Cannot open connection "conn"
>
> Tomcat parameters in httpd.conf
>
> LoadModule webapp_module modules/mod_webapp.so
>
> NameVirtualHost *
>
> #
> # VirtualHost example:
> # Almost any Apache directive may go into a VirtualHost container.
> #
> #<VirtualHost ip.address.of.host.some_domain.com>
> #    ServerAdmin webmaster@host.some_domain.com
> #    DocumentRoot /www/docs/host.some_domain.com
> #    ServerName host.some_domain.com
> #    ErrorLog logs/host.some_domain.com-error_log
> #    CustomLog logs/host.some_domain.com-access_log common
> #</VirtualHost>
>
> #<VirtualHost _default_:*>
> #</VirtualHost>
>
> <VirtualHost *>
>    ServerName localhost
>    WebAppConnection conn warp localhost:8008
>    WebAppDeploy examples conn /examples/
>    WebAppDeploy onjava conn /onjava/
>    WebAppInfo /webapp-info
>  </VirtualHost>
>


Re: Cannot open connection "conn"

Posted by Janek Bogucki <ja...@yahoo.co.uk>.
What's in your server.xml?

 --- Kemp Randy-W18971 <Ra...@motorola.com>
wrote: > I have set up Tomcat 4.01, mod_webapp, and
Apache
> 1.3.22 on Windows 2000.
> What could be causing this error in the Apache error
> log, in regards to the
> Tomcat connection?
> 
> [Thu Oct 18 09:50:02 2001] [error] Connection "conn"
> cannot connect
> [Thu Oct 18 09:50:02 2001] [error] Cannot open
> connection "conn"
> 
> Tomcat parameters in httpd.conf
> 
> LoadModule webapp_module modules/mod_webapp.so
> 
> NameVirtualHost *
> 
> #
> # VirtualHost example:
> # Almost any Apache directive may go into a
> VirtualHost container.
> #
> #<VirtualHost ip.address.of.host.some_domain.com>
> #    ServerAdmin webmaster@host.some_domain.com
> #    DocumentRoot /www/docs/host.some_domain.com
> #    ServerName host.some_domain.com
> #    ErrorLog logs/host.some_domain.com-error_log
> #    CustomLog logs/host.some_domain.com-access_log
> common
> #</VirtualHost>
> 
> #<VirtualHost _default_:*>
> #</VirtualHost>
> 
> <VirtualHost *>
>    ServerName localhost
>    WebAppConnection conn warp localhost:8008
>    WebAppDeploy examples conn /examples/
>    WebAppDeploy onjava conn /onjava/
>    WebAppInfo /webapp-info
>  </VirtualHost> 

____________________________________________________________
Nokia Game is on again. 
Go to http://uk.yahoo.com/nokiagame/ and join the new
all media adventure before November 3rd.