tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: session and AJP
Date Tue, 23 Jan 2007 21:04:46 GMT
alessandro.ilardo@my-sandro.net schrieb:
> I'm trying to set up an AJP connector between Apache 2 (red hat) and
> Tomcat 5.5 (red hat) running on two different servers.
> 
> <VirtualHost *:80>
> ServerName server2.domain.com
> DocumentRoot "/var/www/html"
> JkMount /id/admin/* tomcat559
> </VirtualHost>

OK, no rules for jboss322, so we can ignore this worker.

> worker.list=tomcat559,jboss322
> worker.tomcat559.maintain=60

Drop the maintain line, it will not do anything.

> worker.tomcat559.type=ajp13
> worker.tomcat559.port=8009
> worker.tomcat559.host=intServer.domain.com
> worker.jboss322.maintain=60

Drop the maintain line, it will not do anything.

> worker.jboss322.type=ajp13
> worker.jboss322.port=8009
> worker.jboss322.host=server3.domain.com
> 
> If I call the following url
> http://server2.domain.com/id/admin/

/id/ or /im/ (which you wrote above)?

> The web application running on Tomcat correctly asks me for a user
> identification. Once I enter the user name and password a file not found
> back to me.
> 
> Error. The file was not found. 
> filename = /etc/httpd/htdocs/im/admin/index.jsp

Activate the access log in tomcat and check what's in the Tomcat access
log. Check if the URL occuring there is what you expect.

> 
> On Tomcat I get the following message
> [Channel Socket] Connection timeout reached
> 
> 
> I also made a test with the sample application which is included in the Tomcat installation.
>  /jsp-examples/sessions/carts.html
> and it reported the same kind of error while inside the firewall, with a url like this
> http://intServer.domain.com:8080/jsp-examples/sessions/carts.html
> the sample application works fine.

Which firewall?

> I guess my problem is related to the session and connector.
> Can anyone tell me how to fix it?
> 
> 
> Thanks in advance
> 
> Regards
> Alessandro Ilardo

Regards,

Rainer

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message