Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 77770 invoked from network); 27 Sep 2002 09:25:50 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 27 Sep 2002 09:25:50 -0000 Received: (qmail 10855 invoked by uid 97); 27 Sep 2002 09:26:23 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 10794 invoked by uid 97); 27 Sep 2002 09:26:22 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 10750 invoked by uid 98); 27 Sep 2002 09:26:20 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <171725147A70D51182F400306E00192D70DA04@GDMXS045> From: =?iso-8859-1?Q?=22Steltner=2C_J=F6rn__HTC/DE/ESS=22?= To: 'Tomcat Users List' Subject: RE: Appache v2.0.40 + Tomcat 4.1.x + Connectors II Date: Fri, 27 Sep 2002 11:25:35 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I don't have any TOMCAT or Catalina variables in my Environment. I = start it witj ./startup.sh thats all. -----Original Message----- From: Robert L Sowders [mailto:rsowders@usgs.gov] Sent: Freitag, 27. September 2002 11:18 To: Tomcat Users List Subject: Re: Appache v2.0.40 + Tomcat 4.1.x + Connectors II Have you set the Tomcat home in the environment in which it starts? Type env at the cmd line and look for all TOMCAT variables. "Steltner, J=F6rn HTC/DE/ESS" 09/27/2002 02:13 AM Please respond to "Tomcat Users List" =20 To: "'tomcat-user@jakarta.apache.org'" cc:=20 Subject: Appache v2.0.40 + Tomcat 4.1.x + Connectors II Hallo, thanks for the reply. Again, I installed the Apache (/opt/apache2) and Tomcat (/opt/jakarta) from source. Both are running well. I compiled = the=20 jk2 connectors and made the configuration. Apache is loading the module, = but couldn't find the jk-worker. The Tomcat installation gets an error in = the Log-File. It seems that Apache can no find the Tomcat process.... My environment is a Suse Prof v8.0, 2.4.18 kernel=20 I need some help. Regards Joern Part I: mod_jk.log [Fri Sep 27 09:35:26 2002] [jk_uri_worker_map.c (477)]: Attempting to = map URI '/examples/jsp/source.jsp' [Fri Sep 27 09:35:26 2002] [jk_uri_worker_map.c (558)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 ->=20 *.jsp [Fri Sep 27 09:35:26 2002] [mod_jk.c (1277)]: Into handler = r->proxyreq=3D0 r->handler=3Djakarta-servlet r->notes=3D135575144 worker=3Dajp13 [Fri Sep 27 09:35:26 2002] [jk_worker.c (132)]: Into=20 wc_get_worker_for_name ajp13 [Fri Sep 27 09:35:26 2002] [jk_worker.c (136)]: = wc_get_worker_for_name, done did not found a worker Part II: catalina.out Starting service Tomcat-Standalone Apache Tomcat/4.1.10 [ERROR] JkMain - -No class name for request request=20 [INFO] JkMain - -APR not loaded, disabling jni components: java.io.IOException: /opt/jakarta/lib/libjkjni.so: libapr.so.0: cannot=20 open shared object file: No such file or directory [INFO] ChannelSocket - -JK2: ajp13 listening on tcp port 8009 [INFO] ChannelUn - -No file, disabling unix channel [INFO] JkMain - -Jk running ID=3D0 time=3D1/75 config=3D/opt/jakarta/conf/jk2.properties Part III: j2.properties ## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED ## WHEN YOU EDIT THE FILE. ## COMMENTS WILL BE _LOST_ ## DOCUMENTATION OF THE FORMAT IN JkMain javadoc. # Override the default port for the socketChannel channelSocket.port=3D8009 # list of needed handlers.=20 handler.list=3Dapr,channelSocket,channelUnix,request=20 # Set the default port for the channelSocket=20 channelSocket.port=3D8009=20 # State where the UNIX domain socket is located=20 #channelUnix.file=3D/opt/jakarta/work/jk2.socket=20 # Just to check if the the config is working # shm.file=3D${jkHome}/work/jk2.shm # If set to inprocess the mod_jk2 will Register natives itself # This will enable the starting of the Tomcat from mod_jk2 # apr.jniModeSo=3Dinprocess # Dynamic library serverRoot=3D/opt/apache2 apr.NativeSo=3D/opt/jakarta/lib/libjkjni.so # In order to enable jni use any channelJni directive # channelJni.disabled =3D 0 # And one of the following directives: #apr.jniModeSo=3D/opt/apache2/modules/mod_jk2.so Part IV: worker2.properties [logger] level=3DDEBUG [config:] file=3D${serverRoot}/conf/workers2.properties debug=3D0 debugEnv=3D0 # Shared memory handling. Needs to be set. [shm] file=3D/opt/apache2/logs/shm.file size=3D1048576 [uriMap:] info=3DMaps the requests. Options: debug debug=3D1 [shm:] info=3DScoreboard. Required for reconfiguration and status with = multiprocess servers file=3D${serverRoot}/logs/jk2.shm size=3D1000000 debug=3D0 disabled=3D0 [channel.socket:localhost:8009] info=3DAjp13 forwarding over socket port=3D8009 debug=3D1 host=3D127.0.0.1 tomcatId=3Dlocalhost:8009 # Example UNIX domain socket [channel.un:/opt/jakarta/work/jk2.socket] tomcatId=3Dlocalhost:8009 debug=3D0 # define the worker [ajp13:localhost:8009] #channel=3Dchannel.un:/usr/local/tomcat/work/jk2.socket # To use the TCP/IP socket instead, just comment out the above # line, and uncomment the one below channel=3Dchannel.socket:localhost:8009 =20 # Announce a "status" worker [status:status] =20 # Uri mapping [uri:/examples/*] worker=3Dajp13:localhost:8009 #worker=3Dajp13:/usr/local/tomcat/work/jk2.socket =20 [uri:/status/*] worker=3Dstatus:status -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: