That came from about a million examples for JK configuration. I certainly didn't make it up! :-) What should I be using instead?
Is it possible that the problem below is due to the security warnings in my apache log? 2002-11-15 16:06:01 StandardContext[]: Starting 2002-11-15 16:06:01 StandardContext[]: Processing start(), current available=false 2002-11-15 16:06:01 StandardContext[]: Configuring default Resources 2002-11-15 16:06:01 StandardContext[]: Configuring non-privileged default Loader 2002-11-15 16:06:01 StandardContext[]: Configuring default Manager 2002-11-15 16:06:02 StandardContext[]: Processing standard container startup 2002-11-15 16:06:02 WebappLoader[]: Deploying class repositories to work directory /usr/jakarta- tomcat-4.1.12/work/Apache/www.urlinone.com/_ 2002-11-15 16:06:02 WebappLoader[]: Deploy class files /WEB-INF/classes to /var/tomcat4/webapps/ urlinone/WEB-INF/classes 2002-11-15 16:06:02 ContextConfig[]: ContextConfig: Processing START 2002-11-15 16:06:02 StandardContext[]: Setting deployment descriptor public ID to '-//Sun Micros ystems, Inc.//DTD Web Application 2.3//EN' 2002-11-15 16:06:03 StandardContext[]: Setting deployment descriptor public ID to '-//Sun Micros ystems, Inc.//DTD Web Application 2.3//EN' 2002-11-15 16:06:03 ContextConfig[]: WARNING: Security role name tomcat used in an <auth-constra int> without being defined in a <security-role> 2002-11-15 16:06:03 ContextConfig[]: WARNING: Security role name role1 used in an <auth-constrai nt> without being defined in a <security-role> 2002-11-15 16:06:03 ContextConfig[]: Accumulating TLD resource paths 2002-11-15 16:06:03 Authenticator[]: No SingleSignOn Valve is present 2002-11-15 16:06:03 ContextConfig[]: Configured an authenticator for method FORM 2002-11-15 16:06:03 ContextConfig[]: Pipline Configuration: 2002-11-15 16:06:03 ContextConfig[]: org.apache.catalina.authenticator.FormAuthenticator/1.0 2002-11-15 16:06:03 ContextConfig[]: org.apache.catalina.core.StandardContextValve/1.0 2002-11-15 16:06:03 ContextConfig[]: ====================== 2002-11-15 16:06:03 NamingContextListener[/Apache/www.urlinone.com]: Creating JNDI naming contex t 2002-11-15 16:06:03 StandardManager[]: Seeding random number generator class java.security.Secur eRandom 2002-11-15 16:06:04 StandardManager[]: Seeding of random number generator has been completed 2002-11-15 16:06:05 StandardContext[]: Posting standard context attributes 2002-11-15 16:06:05 StandardContext[]: Configuring application event listeners 2002-11-15 16:06:05 StandardContext[]: Sending application start events 2002-11-15 16:06:05 ContextListener: contextInitialized() 2002-11-15 16:06:05 SessionListener: contextInitialized() 2002-11-15 16:06:05 StandardContext[]: Starting filters 2002-11-15 16:06:05 StandardContext[]: Starting filter 'Servlet Mapped Filter' 2002-11-15 16:06:05 StandardContext[]: Starting filter 'Compression Filter' 2002-11-15 16:06:05 StandardContext[]: Starting filter 'Set Character Encoding' 2002-11-15 16:06:05 StandardContext[]: Starting filter 'Path Mapped Filter' 2002-11-15 16:06:05 StandardContext[]: Starting filter 'Request Dumper Filter' 2002-11-15 16:06:05 StandardWrapper[:default]: Loading container servlet default 2002-11-15 16:06:06 StandardWrapper[:invoker]: Loading container servlet invoker 2002-11-15 16:06:06 StandardContext[]: Starting completed --Lee -----Original Message----- From: Turner, John [mailto:JTurner@;AAS.com] Sent: Friday, November 15, 2002 4:17 PM To: 'Tomcat Users List' Subject: RE: Errors in mod_jk.log Just curious...what is "PoolTcpConnector"? John > -----Original Message----- > From: Lee Grey [mailto:leegrey@;mindspring.com] > Sent: Friday, November 15, 2002 4:09 PM > To: [EMAIL PROTECTED] > Subject: Errors in mod_jk.log > > > When I try to run a JSP or servlet, I get the following in > mod_jk.log (this > is all from a single request)--------: > > [Fri Nov 15 15:47:27 2002] [jk_connect.c (177)]: > jk_open_socket, connect() > failed errno = 111 > [Fri Nov 15 15:47:27 2002] [jk_ajp_common.c (626)]: In > jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 111 > [Fri Nov 15 15:47:27 2002] [jk_ajp_common.c (872)]: Error > connecting to the > Tomcat process. > [Fri Nov 15 15:47:27 2002] [jk_ajp_common.c (1181)]: In > jk_endpoint_t::service, ajp_send_request failed in send loop 0 > [Fri Nov 15 15:47:27 2002] [jk_connect.c (177)]: > jk_open_socket, connect() > failed errno = 111 > [Fri Nov 15 15:47:27 2002] [jk_ajp_common.c (626)]: In > jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 111 > [Fri Nov 15 15:47:27 2002] [jk_ajp_common.c (872)]: Error > connecting to the > Tomcat process. > [Fri Nov 15 15:47:27 2002] [jk_ajp_common.c (1181)]: In > jk_endpoint_t::service, ajp_send_request failed in send loop 1 > [Fri Nov 15 15:47:27 2002] [jk_connect.c (177)]: > jk_open_socket, connect() > failed errno = 111 > [Fri Nov 15 15:47:27 2002] [jk_ajp_common.c (626)]: In > jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 111 > [Fri Nov 15 15:47:27 2002] [jk_ajp_common.c (872)]: Error > connecting to the > Tomcat process. > [Fri Nov 15 15:47:27 2002] [jk_ajp_common.c (1181)]: In > jk_endpoint_t::service, ajp_send_request failed in send loop 2 > > > Here's part of my httpd.conf > file---------------------------------------------------------- > -------------- > ---------: > > # mod_jk configuration > JkWorkersFile /var/tomcat4/conf/jk/workers.properties > JkLogFile /var/tomcat4/logs/mod_jk.log > JkLogLevel info > JkLogStampFormat "[%a %b %d %H:%M:%S %Y]" > JkMount /*.jsp worker1 > JkMount /servlets/* worker1 > JkMount /servlet/* worker1 > JkMount /jsp/* worker1 > > <VirtualHost *> > ServerName www.ebayrelay.com > ServerAlias ebayrelay.com > DocumentRoot /var/tomcat4/webapps/examples > ErrorLog logs/ebayrelay-errorlog > CustomLog logs/ebayrelay-access.log common > > Alias /examples /var/tomcat4/webapps/examples > JkMount /*.jsp worker1 > JkMount /*/servlet/ worker1 > </VirtualHost> > > > And here's part of > server.xml---------------------------------------------------- > -------------- > ------------------: > > <Engine name="Apache" defaultHost="www.urlinone.com" debug="0"> > > <Connector className="org.apache.tomcat.service.PoolTcpConnector"> > <Parameter name="handler" > value="org.apache.tomcat.service.connector.Ajp13ConnectionHandler"/> > <Parameter name="port" value="8009"/> > </Connector> > > <Realm className="org.apache.catalina.realm.MemoryRealm" /> > > <Logger className="org.apache.catalina.logger.FileLogger" > prefix="apache_log." suffix=".txt" > timestamp="true"/> > > <Valve className="org.apache.catalina.valves.AccessLogValve" > directory="logs" prefix="ebayrelay_access_log." > suffix=".txt" > pattern="common" resolveHosts="false"/> > > <Host name="www.ebayrelay.com" debug="0" > appBase="/var/tomcat4/webapps/examples" > unpackWARs="true" autoDeploy="true"> > <Alias>localhost</Alias> > <Alias>www</Alias> > <Alias>192.168.1.80</Alias> > > <Context path="" docBase="" debug="1"/> > > <Valve > className="org.apache.catalina.valves.AccessLogValve" > directory="logs" prefix="home_access_log." > suffix=".txt" > pattern="common" resolveHosts="false"/> > </Host> > > > Finally, workers.properties > contains------------------------------------------------------ > -------------- > -----------: > > worker.list=worker1 > worker.worker1.type=ajp13 > worker.worker1.host=192.168.1.80 > worker.worker1.port=8009 > > > I'm trying to run > http://www.ebayrelay.com:8080/examples/jsp/num/numguess.jsp or > http://www.ebayrelay.com:8080/examples/jsp/num/numguess.jsp > when I get the > errors. The static pages from Apache work fine. I'm sure > there's something > stupid here, but I just don't see it. > > Thanks, > Lee > ____________________________________________ > If you've ever opened more than one browser > window at the same time, you need URL in One > at http://www.URLinOne.com. There's no > software to install, and it's free! > > > -- > To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
