Paths must match up. Check the paths in the config files I sent against your paths. If they don't match up, adjust the paths in the config files I sent. This configuration works on W2K with Apache 2.0.44 and Tomcat 4.1.18. Comment out 8080 in the server.xml file because Apache will serve up everything except .jsp and servlet files. See the [uri:/examples/*.jsp] and [uri:/examples/servlet/*] in the workers2.properties file?
-----Original Message----- From: Chris Dodunski [mailto:[EMAIL PROTECTED] Sent: Saturday, March 15, 2003 3:09 PM To: Tomcat Users List Subject: JK2 (cont.) Hi, Used your two configuration files, and commented out listener on port 8080 as you suggested (server.xml). Still unable to browse Tomcat webapps. Also, now unable to start Tomcat as stand-alone either (started Apache alone for the test). Apache is logging the following error messages... [Sun Mar 16 10:05:30 2003] [error] shm.init(): No file [Sun Mar 16 10:05:31 2003] [notice] Parent: Created child process 1432 [Sun Mar 16 10:05:31 2003] [error] shm.init(): No file [Sun Mar 16 10:05:31 2003] [notice] Child 1432: Child process is running [Sun Mar 16 10:05:31 2003] [error] shm.init(): No file [Sun Mar 16 10:05:31 2003] [error] mod_jk child init 1 0 [Sun Mar 16 10:05:31 2003] [notice] Child 1432: Acquired the start mutex. [Sun Mar 16 10:05:31 2003] [notice] Child 1432: Starting 250 worker threads. [Sun Mar 16 10:37:34 2003] [notice] Parent: Received shutdown signal -- Shutting down the server. [Sun Mar 16 10:37:34 2003] [notice] Child 1432: Exit event signaled. Child process is ending. [Sun Mar 16 10:37:36 2003] [notice] Child 1432: Released the start mutex [Sun Mar 16 10:37:37 2003] [notice] Child 1432: Waiting for 250 worker threads to exit. [Sun Mar 16 10:37:37 2003] [notice] Child 1432: All worker threads have exited. [Sun Mar 16 10:37:37 2003] [notice] Child 1432: Child process is exiting [Sun Mar 16 10:37:37 2003] [notice] Parent: Child process exited successfully. [Sun Mar 16 10:40:41 2003] [notice] Parent: Created child process 1108 [Sun Mar 16 10:40:42 2003] [notice] Child 1108: Child process is running [Sun Mar 16 10:40:47 2003] [error] Can't find class org/apache/jk/apr/TomcatStarter java.lang.NoClassDefFoundError: org/apache/jk/apr/TomcatStarter [Sun Mar 16 10:40:47 2003] [error] workerEnv.initWorkers() init failed for worker.jni:onStartup [Sun Mar 16 10:40:47 2003] [error] Can't find class org/apache/jk/apr/TomcatStarter java.lang.NoClassDefFoundError: org/apache/jk/apr/TomcatStarter [Sun Mar 16 10:40:47 2003] [error] workerEnv.initWorkers() init failed for worker.jni:onShutdown [Sun Mar 16 10:40:47 2003] [error] mod_jk child init 1 0 [Sun Mar 16 10:40:47 2003] [notice] Child 1108: Acquired the start mutex. [Sun Mar 16 10:40:47 2003] [notice] Child 1108: Starting 250 worker threads. [Sun Mar 16 10:43:54 2003] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/examples [Sun Mar 16 10:44:35 2003] [notice] Parent: Received shutdown signal -- Shutting down the server. [Sun Mar 16 10:44:35 2003] [notice] Child 1108: Exit event signaled. Child process is ending. [Sun Mar 16 10:44:37 2003] [notice] Child 1108: Released the start mutex [Sun Mar 16 10:44:38 2003] [notice] Child 1108: Waiting for 250 worker threads to exit. [Sun Mar 16 10:44:38 2003] [notice] Child 1108: All worker threads have exited. [Sun Mar 16 10:44:38 2003] [notice] Child 1108: Child process is exiting [Sun Mar 16 10:44:38 2003] [notice] Parent: Child process exited successfully. [Sun Mar 16 10:52:07 2003] [notice] Parent: Created child process 3836 [Sun Mar 16 10:52:07 2003] [notice] Child 3836: Child process is running [Sun Mar 16 10:52:08 2003] [error] Can't find class org/apache/jk/apr/TomcatStarter java.lang.NoClassDefFoundError: org/apache/jk/apr/TomcatStarter [Sun Mar 16 10:52:08 2003] [error] workerEnv.initWorkers() init failed for worker.jni:onStartup [Sun Mar 16 10:52:08 2003] [error] Can't find class org/apache/jk/apr/TomcatStarter java.lang.NoClassDefFoundError: org/apache/jk/apr/TomcatStarter [Sun Mar 16 10:52:08 2003] [error] workerEnv.initWorkers() init failed for worker.jni:onShutdown [Sun Mar 16 10:52:08 2003] [error] mod_jk child init 1 0 [Sun Mar 16 10:52:08 2003] [notice] Child 3836: Acquired the start mutex. [Sun Mar 16 10:52:08 2003] [notice] Child 3836: Starting 250 worker threads. [Sun Mar 16 10:52:46 2003] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/examples [Sun Mar 16 10:53:08 2003] [error] channelSocket.open() connect failed localhost:8009 61 Unknown error [Sun Mar 16 10:53:08 2003] [error] ajp13.connect() failed ajp13:localhost:8009 [Sun Mar 16 10:53:08 2003] [error] ajp13.service() failed to connect endpoint errno=61 Unknown error [Sun Mar 16 10:53:08 2003] [error] ajp13.service() Error forwarding ajp13:localhost:8009 1 1 [Sun Mar 16 10:53:08 2003] [error] lb.service() worker failed 120000 for ajp13:localhost:8009 [Sun Mar 16 10:53:08 2003] [error] lb.service() worker failed 120000 for ajp13:jni [Sun Mar 16 10:53:08 2003] [error] lb.service() unrecoverable error... [Sun Mar 16 10:53:08 2003] [error] mod_jk.handler() Error connecting to tomcat 120000 Thanks, Chris. ----- Original Message ----- From: "Chris Dodunski" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Sunday, March 16, 2003 10:25 AM Subject: Re: Repost Tomcat Apache integration how to's > Hi Dave, > > Thank you for your help. I am yet to try your attached configuration files. > I attempted to download > "ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Win2k_TC4.1.10_JSDK1.4.zip", > but get a 'login attempt failed' error. Just one further question regarding > your earlier advice. What is the reasoning behind commenting out the > listener on port 8080? Is this solely to prevent direct access to Tomcat, > all access forced to go via Apache (a security matter)? Thanks again. > > Chris. > > > ----- Original Message ----- > From: "Short, Dave" <[EMAIL PROTECTED]> > To: "'Tomcat Users List'" <[EMAIL PROTECTED]> > Sent: Sunday, March 16, 2003 6:38 AM > Subject: FW: Repost Tomcat Apache integration how to's > > > > > > > > -----Original Message----- > > From: Robert L Sowders [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, September 17, 2002 6:47 PM > > To: Tomcat Users List > > Subject: Repost Tomcat Apache integration how to's > > > > > > Short list of Apache Tomcat integration How To's for multiple operating > > systems. > > > > I'm reposting this list for those that need it. It is getting buried to > > far in the list archives to turn up in a search now. > > > > First try the search at > > http://www.mail-archive.com/[EMAIL PROTECTED]/ or Google. > > > > Here is mine for windows using all the latest of each. > > ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Win2k_TC4.1.10_JSDK1.4.zip > > > > Here's another for windows using the "production quality" versions. > > http://www.cnr.berkeley.edu/~salazar/apache_tomcat.html > > > > Here's another for windows using older "production quality" versions. > > http://www.galatea.com/flashguides/apache-tomcat-24-win32.xml > > > > Here's another for windows and Linux using older versions, and mod_webapp. > > http://bruno.vernay.free.fr/HowTo/Apache-tomcat/bWebServer/index.html > > > > Here's one for an unspecified unix using "production quality" versions. > > http://www.pubbitch.org/jboss/mod_jk2.html > > > > Here is one using older versions on Linux. > > http://www.ubeans.com/tomcat/index.html > > > > Here's a nice one for RH Linux using solid production versions. > > http://www.johnturner.com/howto/apache-tomcat-howto.html > > > > rls > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]