Hi Chris, My mod_jk.conf setting are below, no error reported in the mod_jk.log file when I have the following in either virtual hosts tag or in mod_jk.conf. I am only testing with test1.foo.com, apache is running on the localhost and my jboss app is on a remote server, worker82
Nicola LoadModule jk_module modules/mod_jk.so # Where to find workers.properties JkWorkersFile conf/ctp/workers.properties # Where to put jk logs JkLogFile d:/tools/apache2/logs/mod_jk.log # Set the jk log level [debug/error/info] JkLogLevel info # Select the log format JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " # Option to mount and point apache to jboss on 212.147.152.81 (this is a remote server where my jboss app is running) # JkOptions indicate to send SSL KEY SIZE, JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories # JkRequestLogFormat set the request format JkRequestLogFormat "%w %V %T" JkShmFile logs/jk.shm <Location /jkstatus/> JkMount status Order deny,allow Deny from all Allow from 127.0.0.1 </Location> # Mount my app for test1.foo.com on worker82 JkMount /ctp/* worker82 JkMount /vengine/* worker82 JkUnMount /ctp/images/* worker82 JkUnMount /ctp/editor/* worker82 JkUnMount /ctp/css/* worker82 JkMount /cerplay/* worker82 JkMount /coplay/* worker82 JkMount /login/j_security_check worker82 JkMount /webservices/webservice worker82 -----Original Message----- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: 13 October 2008 15:43 To: Tomcat Users List Subject: Re: apache virtual hosts using different tomcat on different servers -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nicola, Nicola Burns wrote: > I move my 'JkMount *.jsp workerA' information from mod_jk.conf into > my virtual hosts tag and restart apache. When I attempt to access my > url test1.foo.com, apache tell me it cannot find my home.do page to > login (not found in this server, but when I simply move this back to > the mod_jk.conf file again, I can login? Can you post your mod_jk configuration? Please post both mod_jk.conf /and/ the JkMount directives you are using (and indicate which virtual hosts they are in). > The only thing I leave in the mod_jk.conf file is the location of the > log/worker.properties files. Is this a windows relative path issue? It's possible, but not likely. Provide a complete path if you are concerned about it. Also, you could look at your log file to see if there are any mod_jk startup errors. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkjzXowACgkQ9CaO5/Lv0PCGqACfYZWToZE+/bx5yDJHXCs4jkg0 E+UAoI9tk2mE7ELg2UBVnPszSFM7MNM6 =wWdS -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]