OK, my worker.properties:

worker.list=worker1
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009

and in my server.xml:

<Connector port="8009" protocol="AJP/1.3"
redirectPort="8443" />

The latter I did not add, it was there by default
after I installed tomcat. In fact, I didn't change
anything in server.xml, its the default installed
version. My war is deployed by just dumping the .war
in the webapps dit and I can access it using url:
localhost:8080/myapp/index.html

No errors are reported, but my tomcat app is just not
reached via apache. The connector is still not
working.

Added mod configuration:

LoadModule jk_module 
/usr/local/apache/libexec/mod_jk-1.2.26-httpd-1.3.39-eapi.so
AddModule mod_jk.c
JkWorkersFile /etc/httpd/conf/workers.properties
JkShmFile /usr/local/apache/logs/mod_jk.shm
JkLogFile /usr/local/apache/logs/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkMount /myapp/* worker1

Can anyone spot errors here? The paths are all valid,
triple-checked those.

Thanks.



--- Charl Gerber <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> using jdk 1.6_05, Tomcat 6.0.14 and Apache 1.3.39.
> 
> Tomcat seems to be working fine on its own, as does
> Apache. I installed the mod_jk connector according
> to
> documentation so much so that I eventually get the
> log
> message:
> 
> [Tue Mar 25 21:32:19 2008] [32488:0] [info]
> jk_init::mod_jk.c (2706): mod_jk/1.2.26 initialized
> 
> I think the connector is fine. Accessing my tomcat
> app
> (running on port 8080) doesn't seem to work, though.
> I
> read I still have to change the server.xml of Tomcat
> and find an example:
> 
> <Connector port="15409" protocol="AJP/1.3" /> 
> 
> Is that all? And which port do I use? 
> 
> Thanks in advance!
> Charl
> 
> 
>
---------------------------------------------------------------------
> To start a new topic, e-mail:
> users@tomcat.apache.org
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


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

Reply via email to