You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Thomas Charles Robinson <ro...@ocean.com.au> on 2004/12/01 17:10:45 UTC

JkCoyoteHandler/mod_jk won't serve examples (was: no examples with mod_jk?)

Hi,

Can anyone please help me? I've been looking at this for a couple of
weeks now and still have had no success....

t.

On Wed, 2004-12-01 at 02:08, Thomas Charles Robinson wrote:
> Hi Again,
> 
> Sorry about the long email. I've included all my logging with the
> configs. I've read the documentation and had some clarifications on
> JK/JK2 but still can't get this to work. What am I doing wrong here? Any
> help is appreciated and thanks in advance.
> 
> I'm trying to get tomcat4 (4.1.30) to work with apache (2.0.50) using
> mod_jk (1.2.5) on Fedora Core 1 but so far can only get it to serve
> content via the CoyoteConnector and Http on port 8080 (i.e. accessing
> http://kennetwww:8080 is fine) - see logging below:
> 
> ==> tomcat4/catalina_log.2004-12-01.txt <==
> 2004-12-01 01:56:44 StandardEngine[Standalone]: Mapping server name
> 'kennetwww'
> 2004-12-01 01:56:44 StandardEngine[Standalone]:  Trying a direct match
> 
> ==> tomcat4/kennetwww_log.2004-12-01.txt <==
> 2004-12-01 01:56:44 StandardHost[kennetwww]: Mapping request URI '/'
> 2004-12-01 01:56:44 StandardHost[kennetwww]:   Trying the longest
> context path prefix
> 2004-12-01 01:56:44 StandardHost[kennetwww]:  Mapped to context ''
> 2004-12-01 01:56:44 default: DefaultServlet.serveResource:  Serving
> resource '/' headers and data
> 
> ==> tomcat4/catalina_log.2004-12-01.txt <==
> 2004-12-01 01:56:45 StandardEngine[Standalone]: Mapping server name
> 'kennetwww'
> 2004-12-01 01:56:45 StandardEngine[Standalone]:  Trying a direct match
> 
> ==> tomcat4/kennetwww_log.2004-12-01.txt <==
> 2004-12-01 01:56:45 StandardHost[kennetwww]: Mapping request URI
> '/index.jsp'
> 2004-12-01 01:56:45 StandardHost[kennetwww]:   Trying the longest
> context path prefix
> 2004-12-01 01:56:45 StandardHost[kennetwww]:  Mapped to context ''
> 2004-12-01 01:56:45 jsp: init
> 
> 
> But when I try to connect directly to the host using the CoyoteConnector
> with the JkCoyoteHandler on port 8009, I see the hosts default apache
> web page and none of the examples/etc are available. mod_jk logging as
> follows:
> 
> Accessing http://kennetwww
> ==> httpd/access_log <==
> 192.168.1.23 - - [01/Dec/2004:01:33:17 +0000] "GET / HTTP/1.0" 200 1988
> "-" "Lynx/2.8.5dev.7 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.7a"
> 
> ==> tomcat4/mod_jk.log <==
> [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (486)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> map URI '/'
> [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (618)]:
> jk_uri_worker_map_t::map_uri_to_worker, done without a match
> [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (486)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> map URI '/'
> [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (618)]:
> jk_uri_worker_map_t::map_uri_to_worker, done without a match
> [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (486)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> map URI '/index.php'
> [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (618)]:
> jk_uri_worker_map_t::map_uri_to_worker, done without a match
> [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (486)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> map URI '/index.php'
> [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (618)]:
> jk_uri_worker_map_t::map_uri_to_worker, done without a match
> [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (486)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> map URI '/index.html'
> [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (618)]:
> jk_uri_worker_map_t::map_uri_to_worker, done without a match
> [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (486)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> map URI '/index.html'
> [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (618)]:
> jk_uri_worker_map_t::map_uri_to_worker, done without a match
> 
> Here are my configs:
> 
> Server.xml:
> <!-- Example Server Configuration File -->
> <Server port="8005" shutdown="SHUTDOWN" debug="99">
> 
>   <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
>         modJk="/usr/lib/httpd/modules/mod_jk.so"
>         jkDebug="trace"
>         workersConfig="/usr/share/tomcat4/conf/jk/workers.properties"/>
> 
>   <Listener
> className="org.apache.catalina.mbeans.ServerLifecycleListener"
>             debug="0"/>
>   <Listener
> className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
>             debug="0"/>
> 
>   <!-- Global JNDI resources -->
>   <GlobalNamingResources>
> 
>     <!-- Test entry for demonstration purposes -->
>     <Environment name="simpleValue" type="java.lang.Integer"
> value="30"/>
> 
>     <!-- Editable user database that can also be used by
>          UserDatabaseRealm to authenticate users -->
>     <Resource name="UserDatabase" auth="Container"
>               type="org.apache.catalina.UserDatabase"
>        description="User database that can be updated and saved">
>     </Resource>
>     <ResourceParams name="UserDatabase">
>       <parameter>
>         <name>factory</name>
>        
> <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
>       </parameter>
>       <parameter>
>         <name>pathname</name>
>         <value>temp/tomcat-users.xml</value>
>       </parameter>
>     </ResourceParams>
> 
>   </GlobalNamingResources>
> 
>   <!-- Define the Tomcat Stand-Alone Service -->
>   <Service name="Tomcat-Standalone">
> 
>     <!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -->
>     <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
>                port="8080" minProcessors="5" maxProcessors="75"
>                enableLookups="true" redirectPort="8443"
>                acceptCount="100" debug="99" connectionTimeout="20000"
>                useURIValidationHack="false" disableUploadTimeout="true"
> />
> 
>     <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
>     <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
>                port="8009" minProcessors="5" maxProcessors="75"
>                enableLookups="true" redirectPort="8443"
>                acceptCount="10" debug="99" connectionTimeout="0"
>                useURIValidationHack="false"
>               
> protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
> 
>     <!-- Define the top level container in our container hierarchy -->
>     <Engine name="Standalone" defaultHost="kennetwww" debug="99"
> jvmRoute="ajp13">
> 
>       <!-- Global logger unless overridden at lower levels -->
>       <Logger className="org.apache.catalina.logger.FileLogger"
>               prefix="catalina_log." suffix=".txt"
>               timestamp="true"/>
> 
>       <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
>                  debug="0" resourceName="UserDatabase"/>
> 
>       <!-- Define the default virtual host -->
>       <Host name="kennetwww" debug="99" appBase="webapps"
>        unpackWARs="true" autoDeploy="true">
> 
>         <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
>                 append="true" forwardAll="false"
>                 jkDebug="trace"
>               
> workersConfig="/usr/share/tomcat4/conf/jk/workers.properties"
>                 modJk="/usr/lib/httpd/modules/mod_jk.so" />
> 
>         <Logger className="org.apache.catalina.logger.FileLogger"
>                  directory="logs"  prefix="kennetwww_log." suffix=".txt"
>             timestamp="true"/>
> 
>         <!-- Tomcat Root Context -->
>         <!--
>           <Context path="" docBase="ROOT" debug="99"/>
>         -->
> 
>         <!-- Tomcat Examples Context -->
>         <Context path="/examples" docBase="examples" debug="99"
>                  reloadable="true" crossContext="true">
>           <Logger className="org.apache.catalina.logger.FileLogger"
>                      prefix="kennetwww_examples_log." suffix=".txt"
>               timestamp="true"/>
>           <Ejb   name="ejb/EmplRecord" type="Entity"
>                  home="com.wombat.empl.EmployeeRecordHome"
>                remote="com.wombat.empl.EmployeeRecord"/>
> 
>           <Environment name="maxExemptions" type="java.lang.Integer"
>                       value="15"/>
>           <Parameter name="context.param.name"
> value="context.param.value"
>                      override="false"/>
>           <Resource name="jdbc/EmployeeAppDb" auth="SERVLET"
>                     type="javax.sql.DataSource"/>
>           <ResourceParams name="jdbc/EmployeeAppDb">
>            
> <parameter><name>username</name><value>sa</value></parameter>
>             <parameter><name>password</name><value></value></parameter>
>             <parameter><name>driverClassName</name>
>               <value>org.hsql.jdbcDriver</value></parameter>
>             <parameter><name>url</name>
>               <value>jdbc:HypersonicSQL:database</value></parameter>
>           </ResourceParams>
>           <Resource name="mail/Session" auth="Container"
>                     type="javax.mail.Session"/>
>           <ResourceParams name="mail/Session">
>             <parameter>
>               <name>mail.smtp.host</name>
>               <value>localhost</value>
>             </parameter>
>           </ResourceParams>
>           <ResourceLink name="linkToGlobalResource"
>                     global="simpleValue"
>                     type="java.lang.Integer"/>
>         </Context>
>       </Host>
>     </Engine>
>   </Service>
> </Server>
> 
> jk/workers.properties:
> workers.tomcat_home=/usr/share/tomcat4
> workers.java_home=/usr/lib/jvm/java
> ps=/
> worker.list=ajp12, ajp13, jboss
> # , inprocess
> worker.ajp12.port=8007
> worker.ajp12.host=127.0.0.1
> worker.ajp12.type=ajp12
> worker.ajp12.lbfactor=1
> worker.ajp13.port=8009
> worker.ajp13.host=127.0.0.1
> worker.ajp13.type=ajp13
> worker.ajp13.lbfactor=1
> worker.jboss.port=8809
> worker.jboss.host=127.0.0.1
> worker.jboss.type=ajp13
> worker.jboss.lbfactor=1
> worker.loadbalancer.type=lb
> worker.loadbalancer.balanced_workers=ajp12, ajp13, jboss
> worker.inprocess.type=jni
> worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar
> worker.inprocess.cmd_line=start
> worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)lib$(ps)i386$(ps)server$(ps)libjvm.so
> worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
> worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr
> 
> auto/mod_jk.conf
> ########## Auto generated on Wed Dec 01 01:52:34 GMT 2004##########
> 
> <IfModule !mod_jk.c>
>   LoadModule jk_module /usr/lib/httpd/modules/mod_jk.so
> </IfModule>
> 
> JkWorkersFile "/usr/share/tomcat4/conf/jk/workers.properties"
> JkLogFile "/usr/share/tomcat4/logs/mod_jk.log"
> 
> JkLogLevel trace
> 
> 
> 
> <VirtualHost kennetwww>
>     ServerName kennetwww
> 
>     #################### kennetwww:/webdav ####################
> 
>     # Static files 
>     Alias /webdav "/var/lib/tomcat4/webapps/webdav"
> 
>     <Directory "/var/lib/tomcat4/webapps/webdav">
>         Options Indexes FollowSymLinks
>         DirectoryIndex index.jsp index.html index.htm 
>     </Directory>
> 
> 
>     # Deny direct access to WEB-INF and META-INF
>     #
>     <Location "/webdav/WEB-INF/*">
>         AllowOverride None
>         deny from all
>     </Location>
> 
>     <Location "/webdav/META-INF/*">
>         AllowOverride None
>         deny from all
>     </Location>
> 
>     JkMount /webdav/*.jsp  ajp13
> 
>     #################### kennetwww:/examples ####################
> 
>     # Static files 
>     Alias /examples "/usr/share/tomcat4/webapps/examples"
> 
>     <Directory "/usr/share/tomcat4/webapps/examples">
>         Options Indexes FollowSymLinks
>         DirectoryIndex index.html index.htm index.jsp 
>     </Directory>
> 
> 
>     # Deny direct access to WEB-INF and META-INF
>     #
>     <Location "/examples/WEB-INF/*">
>         AllowOverride None
>         deny from all
>     </Location>
> 
>     <Location "/examples/META-INF/*">
>         AllowOverride None
>         deny from all
>     </Location>
> 
>     JkMount /examples/jsp/security/protected/j_security_check  ajp13
>     JkMount /examples/snoop  ajp13
>     JkMount /examples/servlet/*  ajp13
>     JkMount /examples/CompressionTest  ajp13
>     JkMount /examples/*.jsp  ajp13
>     JkMount /examples/servletToJsp  ajp13
>     JkMount /examples/SendMailServlet  ajp13
> 
>     #################### kennetwww:/tomcat-docs ####################
> 
>     # Static files 
>     Alias /tomcat-docs "/var/lib/tomcat4/webapps/tomcat-docs"
> 
>     <Directory "/var/lib/tomcat4/webapps/tomcat-docs">
>         Options Indexes FollowSymLinks
>         DirectoryIndex index.html index.htm index.jsp 
>     </Directory>
> 
> 
>     # Deny direct access to WEB-INF and META-INF
>     #
>     <Location "/tomcat-docs/WEB-INF/*">
>         AllowOverride None
>         deny from all
>     </Location>
> 
>     <Location "/tomcat-docs/META-INF/*">
>         AllowOverride None
>         deny from all
>     </Location>
> 
>     JkMount /tomcat-docs/*.jsp  ajp13
> </VirtualHost>
> 
> 
> Other Logging Output:
> Dec  1 01:52:33 kennet su(pam_unix)[6355]: session opened for user
> tomcat4 by tom(uid=0)
> Dec  1 01:52:33 kennet su: Using CATALINA_BASE:   /usr/share/tomcat4
> Dec  1 01:52:33 kennet su: Using CATALINA_HOME:   /usr/share/tomcat4
> Dec  1 01:52:33 kennet su: Using CATALINA_TMPDIR:
> /usr/share/tomcat4/temp
> 
> ==> tomcat4/catalina.out <==
> StandardEngine[null]: setJvmRoute=ajp13
> 
> ==> messages <==
> Dec  1 01:52:33 kennet su: Using JAVA_HOME:       /usr/lib/jvm/java
> Dec  1 01:52:33 kennet su(pam_unix)[6355]: session closed for user
> tomcat4
> Dec  1 01:52:33 kennet tomcat4: dtomcat4 startup succeeded
> 
> ==> tomcat4/catalina.out <==
> 01-Dec-2004 01:52:34 org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on port 8080
> Starting service Tomcat-Standalone
> Apache Tomcat/4.1
> 
> ==> tomcat4/kennetwww_examples_log.2004-12-01.txt <==
> 2004-12-01 01:52:35 StandardContext[/examples]: Starting
> 2004-12-01 01:52:35 StandardContext[/examples]: Processing start(),
> current available=false
> 2004-12-01 01:52:35 StandardContext[/examples]: Configuring default
> Resources
> 2004-12-01 01:52:35 StandardContext[/examples]: Configuring
> non-privileged default Loader
> 2004-12-01 01:52:35 StandardContext[/examples]: Configuring default
> Manager
> 2004-12-01 01:52:35 StandardContext[/examples]: Processing standard
> container startup
> 2004-12-01 01:52:35 WebappLoader[/examples]: Deploying class
> repositories to work directory
> /usr/share/tomcat4/work/Standalone/kennetwww/examples
> 2004-12-01 01:52:35 WebappLoader[/examples]: Deploy class files
> /WEB-INF/classes to /usr/share/tomcat4/webapps/examples/WEB-INF/classes
> 2004-12-01 01:52:35 WebappLoader[/examples]: Reloading checks are
> enabled for this Context
> 2004-12-01 01:52:35 ContextConfig[/examples]: ContextConfig: Processing
> START
> 2004-12-01 01:52:35 StandardContext[/examples]: Setting deployment
> descriptor public ID to '-//Sun Microsystems, Inc.//DTD Web Application
> 2.3//EN'
> 2004-12-01 01:52:35 StandardContext[/examples]: Setting deployment
> descriptor public ID to '-//Sun Microsystems, Inc.//DTD Web Application
> 2.3//EN'
> 2004-12-01 01:52:35 ContextConfig[/examples]:  Accumulating TLD resource
> paths
> 2004-12-01 01:52:35 ContextConfig[/examples]:   Scanning <taglib>
> elements in web.xml
> 2004-12-01 01:52:35 ContextConfig[/examples]:    Adding path
> '/WEB-INF/jsp/debug-taglib.tld' for URI
> 'http://jakarta.apache.org/tomcat/debug-taglib'
> 2004-12-01 01:52:35 ContextConfig[/examples]:    Adding path
> '/WEB-INF/jsp/example-taglib.tld' for URI
> 'http://jakarta.apache.org/tomcat/examples-taglib'
> 2004-12-01 01:52:35 ContextConfig[/examples]:   Scanning TLDs in
> /WEB-INF subdirectory
> 2004-12-01 01:52:35 ContextConfig[/examples]:   Scanning JARs in
> /WEB-INF/lib subdirectory
> 2004-12-01 01:52:35 ContextConfig[/examples]:  Scanning TLD at resource
> path '/WEB-INF/jsp/debug-taglib.tld'
> 2004-12-01 01:52:35 ContextConfig[/examples]:  Scanning TLD at resource
> path '/WEB-INF/jsp/example-taglib.tld'
> 2004-12-01 01:52:35 Authenticator[/examples]: No SingleSignOn Valve is
> present
> 2004-12-01 01:52:35 ContextConfig[/examples]: Configured an
> authenticator for method FORM
> 2004-12-01 01:52:35 ContextConfig[/examples]: Pipline Configuration:
> 2004-12-01 01:52:35 ContextConfig[/examples]:  
> org.apache.catalina.authenticator.FormAuthenticator/1.0
> 2004-12-01 01:52:35 ContextConfig[/examples]:  
> org.apache.catalina.core.StandardContextValve/1.0
> 2004-12-01 01:52:35 ContextConfig[/examples]: ======================
> 2004-12-01 01:52:35
> NamingContextListener[/Standalone/kennetwww/examples]: Creating JNDI
> naming context
> 2004-12-01 01:52:35
> NamingContextListener[/Standalone/kennetwww/examples]:   Resource
> parameters for linkToGlobalResource = null
> 2004-12-01 01:52:35
> NamingContextListener[/Standalone/kennetwww/examples]:   Adding resource
> link linkToGlobalResource
> 2004-12-01 01:52:35
> NamingContextListener[/Standalone/kennetwww/examples]:   Resource
> parameters for jdbc/EmployeeAppDb =
> ResourceParams[name=jdbc/EmployeeAppDb,
> parameters={url=jdbc:HypersonicSQL:database, password=,
> driverClassName=org.hsql.jdbcDriver, username=sa}]
> 2004-12-01 01:52:35
> NamingContextListener[/Standalone/kennetwww/examples]:   Adding resource
> ref jdbc/EmployeeAppDb
> 2004-12-01 01:52:35
> NamingContextListener[/Standalone/kennetwww/examples]:  
> ResourceRef[className=javax.sql.DataSource,factoryClassLocation=null,factoryClassName=org.apache.naming.factory.ResourceFactory,{type=scope,content=Shareable},{type=auth,content=SERVLET},{type=url,content=jdbc:HypersonicSQL:database},{type=password,content=},{type=driverClassName,content=org.hsql.jdbcDriver},{type=username,content=sa}]
> 2004-12-01 01:52:35
> NamingContextListener[/Standalone/kennetwww/examples]:   Resource
> parameters for mail/Session = ResourceParams[name=mail/Session,
> parameters={mail.smtp.host=localhost}]
> 2004-12-01 01:52:35
> NamingContextListener[/Standalone/kennetwww/examples]:   Adding resource
> ref mail/Session
> 2004-12-01 01:52:35
> NamingContextListener[/Standalone/kennetwww/examples]:  
> ResourceRef[className=javax.mail.Session,factoryClassLocation=null,factoryClassName=org.apache.naming.factory.ResourceFactory,{type=scope,content=Shareable},{type=auth,content=Container},{type=mail.smtp.host,content=localhost}]
> 2004-12-01 01:52:35
> NamingContextListener[/Standalone/kennetwww/examples]:   Adding
> environment entry foo/name4
> 2004-12-01 01:52:35
> NamingContextListener[/Standalone/kennetwww/examples]:   Adding
> environment entry maxExemptions
> 2004-12-01 01:52:35
> NamingContextListener[/Standalone/kennetwww/examples]:   Adding
> environment entry minExemptions
> 2004-12-01 01:52:35
> NamingContextListener[/Standalone/kennetwww/examples]:   Adding
> environment entry foo/bar/name2
> 2004-12-01 01:52:35
> NamingContextListener[/Standalone/kennetwww/examples]:   Adding
> environment entry name3
> 2004-12-01 01:52:35
> NamingContextListener[/Standalone/kennetwww/examples]:   Adding
> environment entry foo/name1
> 2004-12-01 01:52:35
> NamingContextListener[/Standalone/kennetwww/examples]:   Resource
> parameters for ejb/EmplRecord = null
> 2004-12-01 01:52:35
> NamingContextListener[/Standalone/kennetwww/examples]:   Resource
> parameters for ejb/Account = null
> 2004-12-01 01:52:35
> NamingContextListener[/Standalone/kennetwww/examples]:   Resource
> parameters for UserTransaction = null
> 2004-12-01 01:52:35 StandardManager[/examples]: Seeding random number
> generator class java.security.SecureRandom
> 2004-12-01 01:52:35 StandardManager[/examples]: Seeding of random number
> generator has been completed
> 2004-12-01 01:52:35 StandardContext[/examples]: Posting standard context
> attributes
> 2004-12-01 01:52:35 StandardContext[/examples]: Configuring application
> event listeners
> 2004-12-01 01:52:35 StandardContext[/examples]:  Configuring event
> listener class 'listeners.ContextListener'
> 2004-12-01 01:52:35 StandardContext[/examples]:  Configuring event
> listener class 'listeners.SessionListener'
> 2004-12-01 01:52:35 StandardContext[/examples]: Sending application
> start events
> 2004-12-01 01:52:35 ContextListener: contextInitialized()
> 2004-12-01 01:52:35 SessionListener: contextInitialized()
> 2004-12-01 01:52:35 StandardContext[/examples]: Starting filters
> 2004-12-01 01:52:35 StandardContext[/examples]:  Starting filter
> 'Servlet Mapped Filter'
> 2004-12-01 01:52:35 StandardContext[/examples]:  Starting filter
> 'Compression Filter'
> 2004-12-01 01:52:35 StandardContext[/examples]:  Starting filter 'Set
> Character Encoding'
> 2004-12-01 01:52:35 StandardContext[/examples]:  Starting filter 'Path
> Mapped Filter'
> 2004-12-01 01:52:35 StandardContext[/examples]:  Starting filter
> 'Request Dumper Filter'
> 2004-12-01 01:52:35 StandardWrapper[/examples:default]: Loading
> container servlet default
> 2004-12-01 01:52:35 default: init
> 2004-12-01 01:52:35 default: DefaultServlet.init:  input buffer
> size=2048, output buffer size=2048
> 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> file=index.html
> 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> file=index.htm
> 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> file=index.jsp
> 2004-12-01 01:52:35 StandardWrapper[/examples:invoker]: Loading
> container servlet invoker
> 2004-12-01 01:52:35 invoker: init
> 2004-12-01 01:52:35 invoker: init: Associated with Context '/examples'
> 2004-12-01 01:52:35 jsp: init
> 2004-12-01 01:52:35 StandardContext[/examples]: Starting completed
> 
> ==> tomcat4/kennetwww_log.2004-12-01.txt <==
> 2004-12-01 01:52:35 HostConfig[kennetwww]: HostConfig: Processing START
> 2004-12-01 01:52:35 HostConfig[kennetwww]: Deploying discovered web
> applications
> 2004-12-01 01:52:35 HostConfig[kennetwww]: Deploying web application
> directory ROOT
> 2004-12-01 01:52:35 StandardHost[kennetwww]: Installing web application
> at context path  from URL file:/var/lib/tomcat4/webapps/ROOT
> 2004-12-01 01:52:35 WebappLoader[]: Deploying class repositories to work
> directory /usr/share/tomcat4/work/Standalone/kennetwww/_
> 
> ==> tomcat4/catalina.out <==
> 01-Dec-2004 01:52:35 org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on port 8080
> 01-Dec-2004 01:52:35 org.apache.jk.common.ChannelSocket init
> INFO: JK2: ajp13 listening on /0.0.0.0:8009
> 01-Dec-2004 01:52:35 org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/23  config=null
> 
> ==> tomcat4/catalina_log.2004-12-01.txt <==
> 2004-12-01 01:52:35 EngineConfig: EngineConfig: Processing START
> 
> ==> tomcat4/kennetwww_log.2004-12-01.txt <==
> 2004-12-01 01:52:35 StandardManager[]: Seeding random number generator
> class java.security.SecureRandom
> 2004-12-01 01:52:35 StandardManager[]: Seeding of random number
> generator has been completed
> 2004-12-01 01:52:35 StandardWrapper[:default]: Loading container servlet
> default
> 2004-12-01 01:52:35 default: init
> 2004-12-01 01:52:35 default: DefaultServlet.init:  input buffer
> size=2048, output buffer size=2048
> 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> file=index.html
> 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> file=index.htm
> 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> file=index.jsp
> 2004-12-01 01:52:35 StandardWrapper[:invoker]: Loading container servlet
> invoker
> 2004-12-01 01:52:35 invoker: init
> 2004-12-01 01:52:35 invoker: init: Associated with Context ''
> 2004-12-01 01:52:35 jsp: init
> 2004-12-01 01:52:35 HostConfig[kennetwww]: Deploying web application
> directory tomcat-docs
> 2004-12-01 01:52:35 StandardHost[kennetwww]: Installing web application
> at context path /tomcat-docs from URL
> file:/var/lib/tomcat4/webapps/tomcat-docs
> 2004-12-01 01:52:35 WebappLoader[/tomcat-docs]: Deploying class
> repositories to work directory
> /usr/share/tomcat4/work/Standalone/kennetwww/tomcat-docs
> 2004-12-01 01:52:35 StandardManager[/tomcat-docs]: Seeding random number
> generator class java.security.SecureRandom
> 2004-12-01 01:52:35 StandardManager[/tomcat-docs]: Seeding of random
> number generator has been completed
> 2004-12-01 01:52:35 StandardWrapper[/tomcat-docs:default]: Loading
> container servlet default
> 2004-12-01 01:52:35 default: init
> 2004-12-01 01:52:35 default: DefaultServlet.init:  input buffer
> size=2048, output buffer size=2048
> 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> file=index.html
> 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> file=index.htm
> 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> file=index.jsp
> 2004-12-01 01:52:35 StandardWrapper[/tomcat-docs:invoker]: Loading
> container servlet invoker
> 2004-12-01 01:52:35 invoker: init
> 2004-12-01 01:52:35 invoker: init: Associated with Context
> '/tomcat-docs'
> 2004-12-01 01:52:35 jsp: init
> 2004-12-01 01:52:35 HostConfig[kennetwww]: Deploying web application
> directory webdav
> 2004-12-01 01:52:35 StandardHost[kennetwww]: Installing web application
> at context path /webdav from URL file:/var/lib/tomcat4/webapps/webdav
> 2004-12-01 01:52:35 WebappLoader[/webdav]: Deploying class repositories
> to work directory /usr/share/tomcat4/work/Standalone/kennetwww/webdav
> 2004-12-01 01:52:35 StandardManager[/webdav]: Seeding random number
> generator class java.security.SecureRandom
> 2004-12-01 01:52:35 StandardManager[/webdav]: Seeding of random number
> generator has been completed
> 2004-12-01 01:52:35 StandardWrapper[/webdav:default]: Loading container
> servlet default
> 2004-12-01 01:52:35 default: init
> 2004-12-01 01:52:35 default: DefaultServlet.init:  input buffer
> size=2048, output buffer size=2048
> 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> file=index.jsp
> 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> file=index.html
> 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> file=index.htm
> 2004-12-01 01:52:35 StandardWrapper[/webdav:invoker]: Loading container
> servlet invoker
> 2004-12-01 01:52:35 invoker: init
> 2004-12-01 01:52:35 invoker: init: Associated with Context '/webdav'
> 2004-12-01 01:52:35 jsp: init
> 2004-12-01 01:52:35 HostConfig[kennetwww]:  Starting background thread
> 2004-12-01 01:52:35 HostConfig[kennetwww]: BACKGROUND THREAD Starting
> 
> ==> httpd/access_log <==
> 192.168.1.23 - - [01/Dec/2004:01:52:47 +0000] "GET / HTTP/1.0" 200 1988
> "-" "Lynx/2.8.5dev.7 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.7a"
> 
> ==> tomcat4/mod_jk.log <==
> [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (486)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> map URI '/'
> [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (618)]:
> jk_uri_worker_map_t::map_uri_to_worker, done without a match
> [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (486)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> map URI '/'
> [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (618)]:
> jk_uri_worker_map_t::map_uri_to_worker, done without a match
> [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (486)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> map URI '/index.php'
> [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (618)]:
> jk_uri_worker_map_t::map_uri_to_worker, done without a match
> [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (486)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> map URI '/index.php'
> [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (618)]:
> jk_uri_worker_map_t::map_uri_to_worker, done without a match
> [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (486)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> map URI '/index.html'
> [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (618)]:
> jk_uri_worker_map_t::map_uri_to_worker, done without a match
> [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (486)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> map URI '/index.html'
> [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (618)]:
> jk_uri_worker_map_t::map_uri_to_worker, done without a match
> 
> ==> tomcat4/kennetwww_log.2004-12-01.txt <==
> 2004-12-01 01:52:50 HostConfig[kennetwww]: Deploying discovered web
> applications
> 2004-12-01 01:53:05 HostConfig[kennetwww]: Deploying discovered web
> applications

Re: jk_uri_worker_map_t::map_uri_to_worker, done without a match

Posted by Bill Barker <wb...@wilshire.com>.
  <Context path="" docBase="ROOT" >
    <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
            noRoot="false" forwardAll="true" />
  </Context>

"Thomas Charles Robinson" <ro...@ocean.com.au> wrote in message 
news:1102255092.29839.1.camel@olympus.kelvin.daedaluscompass.com...
> Ok, so since nobody else knows this:
>
> If I take the auto/mod_jk.conf auto generated from ApacheConfig and make
> some manual edits to include:
>
> JkMount / ajp13
> JkMount /* ajp13
>
> It all seems to work.
>
> Of course, the next question is how to get this auto generated! (why do
> I feel like I'm talking to myself)!
>
> t.
>
> On Fri, 2004-12-03 at 23:46, Thomas Charles Robinson wrote:
>> Hi,
>>
>> I'm trying to configure tomcat 4.1.30 but at the moment I can't get the
>> examples to serve using mod_jk 1.2.5 & apache 2.0.50. I keep getting the
>> error below. I've tried various different things in the server.xml and
>> mod_jk.conf (for apache) but can't get it to work. Does anyone have any
>> clues as to what the problem is and/or to some documentation about how
>> to fix it?
>>
>> Best regards,
>>
>> Tom
>>
>>
>>
>> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (486)]: Into
>> jk_uri_worker_map_t::map_uri_to_worker
>> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (500)]: Attempting to
>> map URI '/'
>> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (618)]:
>> jk_uri_worker_map_t::map_uri_to_worker, done without a match
>> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (486)]: Into
>> jk_uri_worker_map_t::map_uri_to_worker
>> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (500)]: Attempting to
>> map URI '/'
>> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (618)]:
>> jk_uri_worker_map_t::map_uri_to_worker, done without a match
>> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (486)]: Into
>> jk_uri_worker_map_t::map_uri_to_worker
>> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (500)]: Attempting to
>> map URI '/index.php'
>> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (618)]:
>> jk_uri_worker_map_t::map_uri_to_worker, done without a match
>> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (486)]: Into
>> jk_uri_worker_map_t::map_uri_to_worker
>> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (500)]: Attempting to
>> map URI '/index.php'
>> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (618)]:
>> jk_uri_worker_map_t::map_uri_to_worker, done without a match
>> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (486)]: Into
>> jk_uri_worker_map_t::map_uri_to_worker
>> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (500)]: Attempting to
>> map URI '/index.html'
>> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (618)]:
>> jk_uri_worker_map_t::map_uri_to_worker, done without a match
>> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (486)]: Into
>> jk_uri_worker_map_t::map_uri_to_worker
>> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (500)]: Attempting to
>> map URI '/index.html'
>> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (618)]:
>> jk_uri_worker_map_t::map_uri_to_worker, done without a match
>>
>> On Wed, 2004-12-01 at 16:10, Thomas Charles Robinson wrote:
>> > Hi,
>> >
>> > Can anyone please help me? I've been looking at this for a couple of
>> > weeks now and still have had no success....
>> >
>> > t.
>> >
>> > On Wed, 2004-12-01 at 02:08, Thomas Charles Robinson wrote:
>> > > Hi Again,
>> > >
>> > > Sorry about the long email. I've included all my logging with the
>> > > configs. I've read the documentation and had some clarifications on
>> > > JK/JK2 but still can't get this to work. What am I doing wrong here? 
>> > > Any
>> > > help is appreciated and thanks in advance.
>> > >
>> > > I'm trying to get tomcat4 (4.1.30) to work with apache (2.0.50) using
>> > > mod_jk (1.2.5) on Fedora Core 1 but so far can only get it to serve
>> > > content via the CoyoteConnector and Http on port 8080 (i.e. accessing
>> > > http://kennetwww:8080 is fine) - see logging below:
>> > >
>> > > ==> tomcat4/catalina_log.2004-12-01.txt <==
>> > > 2004-12-01 01:56:44 StandardEngine[Standalone]: Mapping server name
>> > > 'kennetwww'
>> > > 2004-12-01 01:56:44 StandardEngine[Standalone]:  Trying a direct 
>> > > match
>> > >
>> > > ==> tomcat4/kennetwww_log.2004-12-01.txt <==
>> > > 2004-12-01 01:56:44 StandardHost[kennetwww]: Mapping request URI '/'
>> > > 2004-12-01 01:56:44 StandardHost[kennetwww]:   Trying the longest
>> > > context path prefix
>> > > 2004-12-01 01:56:44 StandardHost[kennetwww]:  Mapped to context ''
>> > > 2004-12-01 01:56:44 default: DefaultServlet.serveResource:  Serving
>> > > resource '/' headers and data
>> > >
>> > > ==> tomcat4/catalina_log.2004-12-01.txt <==
>> > > 2004-12-01 01:56:45 StandardEngine[Standalone]: Mapping server name
>> > > 'kennetwww'
>> > > 2004-12-01 01:56:45 StandardEngine[Standalone]:  Trying a direct 
>> > > match
>> > >
>> > > ==> tomcat4/kennetwww_log.2004-12-01.txt <==
>> > > 2004-12-01 01:56:45 StandardHost[kennetwww]: Mapping request URI
>> > > '/index.jsp'
>> > > 2004-12-01 01:56:45 StandardHost[kennetwww]:   Trying the longest
>> > > context path prefix
>> > > 2004-12-01 01:56:45 StandardHost[kennetwww]:  Mapped to context ''
>> > > 2004-12-01 01:56:45 jsp: init
>> > >
>> > >
>> > > But when I try to connect directly to the host using the 
>> > > CoyoteConnector
>> > > with the JkCoyoteHandler on port 8009, I see the hosts default apache
>> > > web page and none of the examples/etc are available. mod_jk logging 
>> > > as
>> > > follows:
>> > >
>> > > Accessing http://kennetwww
>> > > ==> httpd/access_log <==
>> > > 192.168.1.23 - - [01/Dec/2004:01:33:17 +0000] "GET / HTTP/1.0" 200 
>> > > 1988
>> > > "-" "Lynx/2.8.5dev.7 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.7a"
>> > >
>> > > ==> tomcat4/mod_jk.log <==
>> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (486)]: Into
>> > > jk_uri_worker_map_t::map_uri_to_worker
>> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (500)]: Attempting 
>> > > to
>> > > map URI '/'
>> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (618)]:
>> > > jk_uri_worker_map_t::map_uri_to_worker, done without a match
>> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (486)]: Into
>> > > jk_uri_worker_map_t::map_uri_to_worker
>> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (500)]: Attempting 
>> > > to
>> > > map URI '/'
>> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (618)]:
>> > > jk_uri_worker_map_t::map_uri_to_worker, done without a match
>> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (486)]: Into
>> > > jk_uri_worker_map_t::map_uri_to_worker
>> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (500)]: Attempting 
>> > > to
>> > > map URI '/index.php'
>> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (618)]:
>> > > jk_uri_worker_map_t::map_uri_to_worker, done without a match
>> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (486)]: Into
>> > > jk_uri_worker_map_t::map_uri_to_worker
>> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (500)]: Attempting 
>> > > to
>> > > map URI '/index.php'
>> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (618)]:
>> > > jk_uri_worker_map_t::map_uri_to_worker, done without a match
>> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (486)]: Into
>> > > jk_uri_worker_map_t::map_uri_to_worker
>> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (500)]: Attempting 
>> > > to
>> > > map URI '/index.html'
>> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (618)]:
>> > > jk_uri_worker_map_t::map_uri_to_worker, done without a match
>> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (486)]: Into
>> > > jk_uri_worker_map_t::map_uri_to_worker
>> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (500)]: Attempting 
>> > > to
>> > > map URI '/index.html'
>> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (618)]:
>> > > jk_uri_worker_map_t::map_uri_to_worker, done without a match
>> > >
>> > > Here are my configs:
>> > >
>> > > Server.xml:
>> > > <!-- Example Server Configuration File -->
>> > > <Server port="8005" shutdown="SHUTDOWN" debug="99">
>> > >
>> > >   <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
>> > >         modJk="/usr/lib/httpd/modules/mod_jk.so"
>> > >         jkDebug="trace"
>> > > 
>> > > workersConfig="/usr/share/tomcat4/conf/jk/workers.properties"/>
>> > >
>> > >   <Listener
>> > > className="org.apache.catalina.mbeans.ServerLifecycleListener"
>> > >             debug="0"/>
>> > >   <Listener
>> > > className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
>> > >             debug="0"/>
>> > >
>> > >   <!-- Global JNDI resources -->
>> > >   <GlobalNamingResources>
>> > >
>> > >     <!-- Test entry for demonstration purposes -->
>> > >     <Environment name="simpleValue" type="java.lang.Integer"
>> > > value="30"/>
>> > >
>> > >     <!-- Editable user database that can also be used by
>> > >          UserDatabaseRealm to authenticate users -->
>> > >     <Resource name="UserDatabase" auth="Container"
>> > >               type="org.apache.catalina.UserDatabase"
>> > >        description="User database that can be updated and saved">
>> > >     </Resource>
>> > >     <ResourceParams name="UserDatabase">
>> > >       <parameter>
>> > >         <name>factory</name>
>> > >
>> > > <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
>> > >       </parameter>
>> > >       <parameter>
>> > >         <name>pathname</name>
>> > >         <value>temp/tomcat-users.xml</value>
>> > >       </parameter>
>> > >     </ResourceParams>
>> > >
>> > >   </GlobalNamingResources>
>> > >
>> > >   <!-- Define the Tomcat Stand-Alone Service -->
>> > >   <Service name="Tomcat-Standalone">
>> > >
>> > >     <!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -->
>> > >     <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
>> > >                port="8080" minProcessors="5" maxProcessors="75"
>> > >                enableLookups="true" redirectPort="8443"
>> > >                acceptCount="100" debug="99" connectionTimeout="20000"
>> > >                useURIValidationHack="false" 
>> > > disableUploadTimeout="true"
>> > > />
>> > >
>> > >     <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
>> > >     <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
>> > >                port="8009" minProcessors="5" maxProcessors="75"
>> > >                enableLookups="true" redirectPort="8443"
>> > >                acceptCount="10" debug="99" connectionTimeout="0"
>> > >                useURIValidationHack="false"
>> > >
>> > > protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
>> > >
>> > >     <!-- Define the top level container in our container 
>> > > hierarchy -->
>> > >     <Engine name="Standalone" defaultHost="kennetwww" debug="99"
>> > > jvmRoute="ajp13">
>> > >
>> > >       <!-- Global logger unless overridden at lower levels -->
>> > >       <Logger className="org.apache.catalina.logger.FileLogger"
>> > >               prefix="catalina_log." suffix=".txt"
>> > >               timestamp="true"/>
>> > >
>> > >       <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
>> > >                  debug="0" resourceName="UserDatabase"/>
>> > >
>> > >       <!-- Define the default virtual host -->
>> > >       <Host name="kennetwww" debug="99" appBase="webapps"
>> > >        unpackWARs="true" autoDeploy="true">
>> > >
>> > >         <Listener 
>> > > className="org.apache.ajp.tomcat4.config.ApacheConfig"
>> > >                 append="true" forwardAll="false"
>> > >                 jkDebug="trace"
>> > >
>> > > workersConfig="/usr/share/tomcat4/conf/jk/workers.properties"
>> > >                 modJk="/usr/lib/httpd/modules/mod_jk.so" />
>> > >
>> > >         <Logger className="org.apache.catalina.logger.FileLogger"
>> > >                  directory="logs"  prefix="kennetwww_log." 
>> > > suffix=".txt"
>> > >             timestamp="true"/>
>> > >
>> > >         <!-- Tomcat Root Context -->
>> > >         <!--
>> > >           <Context path="" docBase="ROOT" debug="99"/>
>> > >         -->
>> > >
>> > >         <!-- Tomcat Examples Context -->
>> > >         <Context path="/examples" docBase="examples" debug="99"
>> > >                  reloadable="true" crossContext="true">
>> > >           <Logger className="org.apache.catalina.logger.FileLogger"
>> > >                      prefix="kennetwww_examples_log." suffix=".txt"
>> > >               timestamp="true"/>
>> > >           <Ejb   name="ejb/EmplRecord" type="Entity"
>> > >                  home="com.wombat.empl.EmployeeRecordHome"
>> > >                remote="com.wombat.empl.EmployeeRecord"/>
>> > >
>> > >           <Environment name="maxExemptions" type="java.lang.Integer"
>> > >                       value="15"/>
>> > >           <Parameter name="context.param.name"
>> > > value="context.param.value"
>> > >                      override="false"/>
>> > >           <Resource name="jdbc/EmployeeAppDb" auth="SERVLET"
>> > >                     type="javax.sql.DataSource"/>
>> > >           <ResourceParams name="jdbc/EmployeeAppDb">
>> > >
>> > > <parameter><name>username</name><value>sa</value></parameter>
>> > > 
>> > > <parameter><name>password</name><value></value></parameter>
>> > >             <parameter><name>driverClassName</name>
>> > >               <value>org.hsql.jdbcDriver</value></parameter>
>> > >             <parameter><name>url</name>
>> > >               <value>jdbc:HypersonicSQL:database</value></parameter>
>> > >           </ResourceParams>
>> > >           <Resource name="mail/Session" auth="Container"
>> > >                     type="javax.mail.Session"/>
>> > >           <ResourceParams name="mail/Session">
>> > >             <parameter>
>> > >               <name>mail.smtp.host</name>
>> > >               <value>localhost</value>
>> > >             </parameter>
>> > >           </ResourceParams>
>> > >           <ResourceLink name="linkToGlobalResource"
>> > >                     global="simpleValue"
>> > >                     type="java.lang.Integer"/>
>> > >         </Context>
>> > >       </Host>
>> > >     </Engine>
>> > >   </Service>
>> > > </Server>
>> > >
>> > > jk/workers.properties:
>> > > workers.tomcat_home=/usr/share/tomcat4
>> > > workers.java_home=/usr/lib/jvm/java
>> > > ps=/
>> > > worker.list=ajp12, ajp13, jboss
>> > > # , inprocess
>> > > worker.ajp12.port=8007
>> > > worker.ajp12.host=127.0.0.1
>> > > worker.ajp12.type=ajp12
>> > > worker.ajp12.lbfactor=1
>> > > worker.ajp13.port=8009
>> > > worker.ajp13.host=127.0.0.1
>> > > worker.ajp13.type=ajp13
>> > > worker.ajp13.lbfactor=1
>> > > worker.jboss.port=8809
>> > > worker.jboss.host=127.0.0.1
>> > > worker.jboss.type=ajp13
>> > > worker.jboss.lbfactor=1
>> > > worker.loadbalancer.type=lb
>> > > worker.loadbalancer.balanced_workers=ajp12, ajp13, jboss
>> > > worker.inprocess.type=jni
>> > > worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar
>> > > worker.inprocess.cmd_line=start
>> > > worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)lib$(ps)i386$(ps)server$(ps)libjvm.so
>> > > worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
>> > > worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr
>> > >
>> > > auto/mod_jk.conf
>> > > ########## Auto generated on Wed Dec 01 01:52:34 GMT 2004##########
>> > >
>> > > <IfModule !mod_jk.c>
>> > >   LoadModule jk_module /usr/lib/httpd/modules/mod_jk.so
>> > > </IfModule>
>> > >
>> > > JkWorkersFile "/usr/share/tomcat4/conf/jk/workers.properties"
>> > > JkLogFile "/usr/share/tomcat4/logs/mod_jk.log"
>> > >
>> > > JkLogLevel trace
>> > >
>> > >
>> > >
>> > > <VirtualHost kennetwww>
>> > >     ServerName kennetwww
>> > >
>> > >     #################### kennetwww:/webdav ####################
>> > >
>> > >     # Static files
>> > >     Alias /webdav "/var/lib/tomcat4/webapps/webdav"
>> > >
>> > >     <Directory "/var/lib/tomcat4/webapps/webdav">
>> > >         Options Indexes FollowSymLinks
>> > >         DirectoryIndex index.jsp index.html index.htm
>> > >     </Directory>
>> > >
>> > >
>> > >     # Deny direct access to WEB-INF and META-INF
>> > >     #
>> > >     <Location "/webdav/WEB-INF/*">
>> > >         AllowOverride None
>> > >         deny from all
>> > >     </Location>
>> > >
>> > >     <Location "/webdav/META-INF/*">
>> > >         AllowOverride None
>> > >         deny from all
>> > >     </Location>
>> > >
>> > >     JkMount /webdav/*.jsp  ajp13
>> > >
>> > >     #################### kennetwww:/examples ####################
>> > >
>> > >     # Static files
>> > >     Alias /examples "/usr/share/tomcat4/webapps/examples"
>> > >
>> > >     <Directory "/usr/share/tomcat4/webapps/examples">
>> > >         Options Indexes FollowSymLinks
>> > >         DirectoryIndex index.html index.htm index.jsp
>> > >     </Directory>
>> > >
>> > >
>> > >     # Deny direct access to WEB-INF and META-INF
>> > >     #
>> > >     <Location "/examples/WEB-INF/*">
>> > >         AllowOverride None
>> > >         deny from all
>> > >     </Location>
>> > >
>> > >     <Location "/examples/META-INF/*">
>> > >         AllowOverride None
>> > >         deny from all
>> > >     </Location>
>> > >
>> > >     JkMount /examples/jsp/security/protected/j_security_check  ajp13
>> > >     JkMount /examples/snoop  ajp13
>> > >     JkMount /examples/servlet/*  ajp13
>> > >     JkMount /examples/CompressionTest  ajp13
>> > >     JkMount /examples/*.jsp  ajp13
>> > >     JkMount /examples/servletToJsp  ajp13
>> > >     JkMount /examples/SendMailServlet  ajp13
>> > >
>> > >     #################### kennetwww:/tomcat-docs ####################
>> > >
>> > >     # Static files
>> > >     Alias /tomcat-docs "/var/lib/tomcat4/webapps/tomcat-docs"
>> > >
>> > >     <Directory "/var/lib/tomcat4/webapps/tomcat-docs">
>> > >         Options Indexes FollowSymLinks
>> > >         DirectoryIndex index.html index.htm index.jsp
>> > >     </Directory>
>> > >
>> > >
>> > >     # Deny direct access to WEB-INF and META-INF
>> > >     #
>> > >     <Location "/tomcat-docs/WEB-INF/*">
>> > >         AllowOverride None
>> > >         deny from all
>> > >     </Location>
>> > >
>> > >     <Location "/tomcat-docs/META-INF/*">
>> > >         AllowOverride None
>> > >         deny from all
>> > >     </Location>
>> > >
>> > >     JkMount /tomcat-docs/*.jsp  ajp13
>> > > </VirtualHost>
>> > >
>> > >
>> > > Other Logging Output:
>> > > Dec  1 01:52:33 kennet su(pam_unix)[6355]: session opened for user
>> > > tomcat4 by tom(uid=0)
>> > > Dec  1 01:52:33 kennet su: Using CATALINA_BASE:   /usr/share/tomcat4
>> > > Dec  1 01:52:33 kennet su: Using CATALINA_HOME:   /usr/share/tomcat4
>> > > Dec  1 01:52:33 kennet su: Using CATALINA_TMPDIR:
>> > > /usr/share/tomcat4/temp
>> > >
>> > > ==> tomcat4/catalina.out <==
>> > > StandardEngine[null]: setJvmRoute=ajp13
>> > >
>> > > ==> messages <==
>> > > Dec  1 01:52:33 kennet su: Using JAVA_HOME:       /usr/lib/jvm/java
>> > > Dec  1 01:52:33 kennet su(pam_unix)[6355]: session closed for user
>> > > tomcat4
>> > > Dec  1 01:52:33 kennet tomcat4: dtomcat4 startup succeeded
>> > >
>> > > ==> tomcat4/catalina.out <==
>> > > 01-Dec-2004 01:52:34 org.apache.coyote.http11.Http11Protocol init
>> > > INFO: Initializing Coyote HTTP/1.1 on port 8080
>> > > Starting service Tomcat-Standalone
>> > > Apache Tomcat/4.1
>> > >
>> > > ==> tomcat4/kennetwww_examples_log.2004-12-01.txt <==
>> > > 2004-12-01 01:52:35 StandardContext[/examples]: Starting
>> > > 2004-12-01 01:52:35 StandardContext[/examples]: Processing start(),
>> > > current available=false
>> > > 2004-12-01 01:52:35 StandardContext[/examples]: Configuring default
>> > > Resources
>> > > 2004-12-01 01:52:35 StandardContext[/examples]: Configuring
>> > > non-privileged default Loader
>> > > 2004-12-01 01:52:35 StandardContext[/examples]: Configuring default
>> > > Manager
>> > > 2004-12-01 01:52:35 StandardContext[/examples]: Processing standard
>> > > container startup
>> > > 2004-12-01 01:52:35 WebappLoader[/examples]: Deploying class
>> > > repositories to work directory
>> > > /usr/share/tomcat4/work/Standalone/kennetwww/examples
>> > > 2004-12-01 01:52:35 WebappLoader[/examples]: Deploy class files
>> > > /WEB-INF/classes to 
>> > > /usr/share/tomcat4/webapps/examples/WEB-INF/classes
>> > > 2004-12-01 01:52:35 WebappLoader[/examples]: Reloading checks are
>> > > enabled for this Context
>> > > 2004-12-01 01:52:35 ContextConfig[/examples]: ContextConfig: 
>> > > Processing
>> > > START
>> > > 2004-12-01 01:52:35 StandardContext[/examples]: Setting deployment
>> > > descriptor public ID to '-//Sun Microsystems, Inc.//DTD Web 
>> > > Application
>> > > 2.3//EN'
>> > > 2004-12-01 01:52:35 StandardContext[/examples]: Setting deployment
>> > > descriptor public ID to '-//Sun Microsystems, Inc.//DTD Web 
>> > > Application
>> > > 2.3//EN'
>> > > 2004-12-01 01:52:35 ContextConfig[/examples]:  Accumulating TLD 
>> > > resource
>> > > paths
>> > > 2004-12-01 01:52:35 ContextConfig[/examples]:   Scanning <taglib>
>> > > elements in web.xml
>> > > 2004-12-01 01:52:35 ContextConfig[/examples]:    Adding path
>> > > '/WEB-INF/jsp/debug-taglib.tld' for URI
>> > > 'http://jakarta.apache.org/tomcat/debug-taglib'
>> > > 2004-12-01 01:52:35 ContextConfig[/examples]:    Adding path
>> > > '/WEB-INF/jsp/example-taglib.tld' for URI
>> > > 'http://jakarta.apache.org/tomcat/examples-taglib'
>> > > 2004-12-01 01:52:35 ContextConfig[/examples]:   Scanning TLDs in
>> > > /WEB-INF subdirectory
>> > > 2004-12-01 01:52:35 ContextConfig[/examples]:   Scanning JARs in
>> > > /WEB-INF/lib subdirectory
>> > > 2004-12-01 01:52:35 ContextConfig[/examples]:  Scanning TLD at 
>> > > resource
>> > > path '/WEB-INF/jsp/debug-taglib.tld'
>> > > 2004-12-01 01:52:35 ContextConfig[/examples]:  Scanning TLD at 
>> > > resource
>> > > path '/WEB-INF/jsp/example-taglib.tld'
>> > > 2004-12-01 01:52:35 Authenticator[/examples]: No SingleSignOn Valve 
>> > > is
>> > > present
>> > > 2004-12-01 01:52:35 ContextConfig[/examples]: Configured an
>> > > authenticator for method FORM
>> > > 2004-12-01 01:52:35 ContextConfig[/examples]: Pipline Configuration:
>> > > 2004-12-01 01:52:35 ContextConfig[/examples]:
>> > > org.apache.catalina.authenticator.FormAuthenticator/1.0
>> > > 2004-12-01 01:52:35 ContextConfig[/examples]:
>> > > org.apache.catalina.core.StandardContextValve/1.0
>> > > 2004-12-01 01:52:35 ContextConfig[/examples]: ======================
>> > > 2004-12-01 01:52:35
>> > > NamingContextListener[/Standalone/kennetwww/examples]: Creating JNDI
>> > > naming context
>> > > 2004-12-01 01:52:35
>> > > NamingContextListener[/Standalone/kennetwww/examples]:   Resource
>> > > parameters for linkToGlobalResource = null
>> > > 2004-12-01 01:52:35
>> > > NamingContextListener[/Standalone/kennetwww/examples]:   Adding 
>> > > resource
>> > > link linkToGlobalResource
>> > > 2004-12-01 01:52:35
>> > > NamingContextListener[/Standalone/kennetwww/examples]:   Resource
>> > > parameters for jdbc/EmployeeAppDb =
>> > > ResourceParams[name=jdbc/EmployeeAppDb,
>> > > parameters={url=jdbc:HypersonicSQL:database, password=,
>> > > driverClassName=org.hsql.jdbcDriver, username=sa}]
>> > > 2004-12-01 01:52:35
>> > > NamingContextListener[/Standalone/kennetwww/examples]:   Adding 
>> > > resource
>> > > ref jdbc/EmployeeAppDb
>> > > 2004-12-01 01:52:35
>> > > NamingContextListener[/Standalone/kennetwww/examples]:
>> > > ResourceRef[className=javax.sql.DataSource,factoryClassLocation=null,factoryClassName=org.apache.naming.factory.ResourceFactory,{type=scope,content=Shareable},{type=auth,content=SERVLET},{type=url,content=jdbc:HypersonicSQL:database},{type=password,content=},{type=driverClassName,content=org.hsql.jdbcDriver},{type=username,content=sa}]
>> > > 2004-12-01 01:52:35
>> > > NamingContextListener[/Standalone/kennetwww/examples]:   Resource
>> > > parameters for mail/Session = ResourceParams[name=mail/Session,
>> > > parameters={mail.smtp.host=localhost}]
>> > > 2004-12-01 01:52:35
>> > > NamingContextListener[/Standalone/kennetwww/examples]:   Adding 
>> > > resource
>> > > ref mail/Session
>> > > 2004-12-01 01:52:35
>> > > NamingContextListener[/Standalone/kennetwww/examples]:
>> > > ResourceRef[className=javax.mail.Session,factoryClassLocation=null,factoryClassName=org.apache.naming.factory.ResourceFactory,{type=scope,content=Shareable},{type=auth,content=Container},{type=mail.smtp.host,content=localhost}]
>> > > 2004-12-01 01:52:35
>> > > NamingContextListener[/Standalone/kennetwww/examples]:   Adding
>> > > environment entry foo/name4
>> > > 2004-12-01 01:52:35
>> > > NamingContextListener[/Standalone/kennetwww/examples]:   Adding
>> > > environment entry maxExemptions
>> > > 2004-12-01 01:52:35
>> > > NamingContextListener[/Standalone/kennetwww/examples]:   Adding
>> > > environment entry minExemptions
>> > > 2004-12-01 01:52:35
>> > > NamingContextListener[/Standalone/kennetwww/examples]:   Adding
>> > > environment entry foo/bar/name2
>> > > 2004-12-01 01:52:35
>> > > NamingContextListener[/Standalone/kennetwww/examples]:   Adding
>> > > environment entry name3
>> > > 2004-12-01 01:52:35
>> > > NamingContextListener[/Standalone/kennetwww/examples]:   Adding
>> > > environment entry foo/name1
>> > > 2004-12-01 01:52:35
>> > > NamingContextListener[/Standalone/kennetwww/examples]:   Resource
>> > > parameters for ejb/EmplRecord = null
>> > > 2004-12-01 01:52:35
>> > > NamingContextListener[/Standalone/kennetwww/examples]:   Resource
>> > > parameters for ejb/Account = null
>> > > 2004-12-01 01:52:35
>> > > NamingContextListener[/Standalone/kennetwww/examples]:   Resource
>> > > parameters for UserTransaction = null
>> > > 2004-12-01 01:52:35 StandardManager[/examples]: Seeding random number
>> > > generator class java.security.SecureRandom
>> > > 2004-12-01 01:52:35 StandardManager[/examples]: Seeding of random 
>> > > number
>> > > generator has been completed
>> > > 2004-12-01 01:52:35 StandardContext[/examples]: Posting standard 
>> > > context
>> > > attributes
>> > > 2004-12-01 01:52:35 StandardContext[/examples]: Configuring 
>> > > application
>> > > event listeners
>> > > 2004-12-01 01:52:35 StandardContext[/examples]:  Configuring event
>> > > listener class 'listeners.ContextListener'
>> > > 2004-12-01 01:52:35 StandardContext[/examples]:  Configuring event
>> > > listener class 'listeners.SessionListener'
>> > > 2004-12-01 01:52:35 StandardContext[/examples]: Sending application
>> > > start events
>> > > 2004-12-01 01:52:35 ContextListener: contextInitialized()
>> > > 2004-12-01 01:52:35 SessionListener: contextInitialized()
>> > > 2004-12-01 01:52:35 StandardContext[/examples]: Starting filters
>> > > 2004-12-01 01:52:35 StandardContext[/examples]:  Starting filter
>> > > 'Servlet Mapped Filter'
>> > > 2004-12-01 01:52:35 StandardContext[/examples]:  Starting filter
>> > > 'Compression Filter'
>> > > 2004-12-01 01:52:35 StandardContext[/examples]:  Starting filter 'Set
>> > > Character Encoding'
>> > > 2004-12-01 01:52:35 StandardContext[/examples]:  Starting filter 
>> > > 'Path
>> > > Mapped Filter'
>> > > 2004-12-01 01:52:35 StandardContext[/examples]:  Starting filter
>> > > 'Request Dumper Filter'
>> > > 2004-12-01 01:52:35 StandardWrapper[/examples:default]: Loading
>> > > container servlet default
>> > > 2004-12-01 01:52:35 default: init
>> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  input buffer
>> > > size=2048, output buffer size=2048
>> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
>> > > file=index.html
>> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
>> > > file=index.htm
>> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
>> > > file=index.jsp
>> > > 2004-12-01 01:52:35 StandardWrapper[/examples:invoker]: Loading
>> > > container servlet invoker
>> > > 2004-12-01 01:52:35 invoker: init
>> > > 2004-12-01 01:52:35 invoker: init: Associated with Context 
>> > > '/examples'
>> > > 2004-12-01 01:52:35 jsp: init
>> > > 2004-12-01 01:52:35 StandardContext[/examples]: Starting completed
>> > >
>> > > ==> tomcat4/kennetwww_log.2004-12-01.txt <==
>> > > 2004-12-01 01:52:35 HostConfig[kennetwww]: HostConfig: Processing 
>> > > START
>> > > 2004-12-01 01:52:35 HostConfig[kennetwww]: Deploying discovered web
>> > > applications
>> > > 2004-12-01 01:52:35 HostConfig[kennetwww]: Deploying web application
>> > > directory ROOT
>> > > 2004-12-01 01:52:35 StandardHost[kennetwww]: Installing web 
>> > > application
>> > > at context path  from URL file:/var/lib/tomcat4/webapps/ROOT
>> > > 2004-12-01 01:52:35 WebappLoader[]: Deploying class repositories to 
>> > > work
>> > > directory /usr/share/tomcat4/work/Standalone/kennetwww/_
>> > >
>> > > ==> tomcat4/catalina.out <==
>> > > 01-Dec-2004 01:52:35 org.apache.coyote.http11.Http11Protocol start
>> > > INFO: Starting Coyote HTTP/1.1 on port 8080
>> > > 01-Dec-2004 01:52:35 org.apache.jk.common.ChannelSocket init
>> > > INFO: JK2: ajp13 listening on /0.0.0.0:8009
>> > > 01-Dec-2004 01:52:35 org.apache.jk.server.JkMain start
>> > > INFO: Jk running ID=0 time=0/23  config=null
>> > >
>> > > ==> tomcat4/catalina_log.2004-12-01.txt <==
>> > > 2004-12-01 01:52:35 EngineConfig: EngineConfig: Processing START
>> > >
>> > > ==> tomcat4/kennetwww_log.2004-12-01.txt <==
>> > > 2004-12-01 01:52:35 StandardManager[]: Seeding random number 
>> > > generator
>> > > class java.security.SecureRandom
>> > > 2004-12-01 01:52:35 StandardManager[]: Seeding of random number
>> > > generator has been completed
>> > > 2004-12-01 01:52:35 StandardWrapper[:default]: Loading container 
>> > > servlet
>> > > default
>> > > 2004-12-01 01:52:35 default: init
>> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  input buffer
>> > > size=2048, output buffer size=2048
>> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
>> > > file=index.html
>> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
>> > > file=index.htm
>> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
>> > > file=index.jsp
>> > > 2004-12-01 01:52:35 StandardWrapper[:invoker]: Loading container 
>> > > servlet
>> > > invoker
>> > > 2004-12-01 01:52:35 invoker: init
>> > > 2004-12-01 01:52:35 invoker: init: Associated with Context ''
>> > > 2004-12-01 01:52:35 jsp: init
>> > > 2004-12-01 01:52:35 HostConfig[kennetwww]: Deploying web application
>> > > directory tomcat-docs
>> > > 2004-12-01 01:52:35 StandardHost[kennetwww]: Installing web 
>> > > application
>> > > at context path /tomcat-docs from URL
>> > > file:/var/lib/tomcat4/webapps/tomcat-docs
>> > > 2004-12-01 01:52:35 WebappLoader[/tomcat-docs]: Deploying class
>> > > repositories to work directory
>> > > /usr/share/tomcat4/work/Standalone/kennetwww/tomcat-docs
>> > > 2004-12-01 01:52:35 StandardManager[/tomcat-docs]: Seeding random 
>> > > number
>> > > generator class java.security.SecureRandom
>> > > 2004-12-01 01:52:35 StandardManager[/tomcat-docs]: Seeding of random
>> > > number generator has been completed
>> > > 2004-12-01 01:52:35 StandardWrapper[/tomcat-docs:default]: Loading
>> > > container servlet default
>> > > 2004-12-01 01:52:35 default: init
>> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  input buffer
>> > > size=2048, output buffer size=2048
>> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
>> > > file=index.html
>> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
>> > > file=index.htm
>> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
>> > > file=index.jsp
>> > > 2004-12-01 01:52:35 StandardWrapper[/tomcat-docs:invoker]: Loading
>> > > container servlet invoker
>> > > 2004-12-01 01:52:35 invoker: init
>> > > 2004-12-01 01:52:35 invoker: init: Associated with Context
>> > > '/tomcat-docs'
>> > > 2004-12-01 01:52:35 jsp: init
>> > > 2004-12-01 01:52:35 HostConfig[kennetwww]: Deploying web application
>> > > directory webdav
>> > > 2004-12-01 01:52:35 StandardHost[kennetwww]: Installing web 
>> > > application
>> > > at context path /webdav from URL file:/var/lib/tomcat4/webapps/webdav
>> > > 2004-12-01 01:52:35 WebappLoader[/webdav]: Deploying class 
>> > > repositories
>> > > to work directory /usr/share/tomcat4/work/Standalone/kennetwww/webdav
>> > > 2004-12-01 01:52:35 StandardManager[/webdav]: Seeding random number
>> > > generator class java.security.SecureRandom
>> > > 2004-12-01 01:52:35 StandardManager[/webdav]: Seeding of random 
>> > > number
>> > > generator has been completed
>> > > 2004-12-01 01:52:35 StandardWrapper[/webdav:default]: Loading 
>> > > container
>> > > servlet default
>> > > 2004-12-01 01:52:35 default: init
>> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  input buffer
>> > > size=2048, output buffer size=2048
>> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
>> > > file=index.jsp
>> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
>> > > file=index.html
>> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
>> > > file=index.htm
>> > > 2004-12-01 01:52:35 StandardWrapper[/webdav:invoker]: Loading 
>> > > container
>> > > servlet invoker
>> > > 2004-12-01 01:52:35 invoker: init
>> > > 2004-12-01 01:52:35 invoker: init: Associated with Context '/webdav'
>> > > 2004-12-01 01:52:35 jsp: init
>> > > 2004-12-01 01:52:35 HostConfig[kennetwww]:  Starting background 
>> > > thread
>> > > 2004-12-01 01:52:35 HostConfig[kennetwww]: BACKGROUND THREAD Starting
>> > >
>> > > ==> httpd/access_log <==
>> > > 192.168.1.23 - - [01/Dec/2004:01:52:47 +0000] "GET / HTTP/1.0" 200 
>> > > 1988
>> > > "-" "Lynx/2.8.5dev.7 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.7a"
>> > >
>> > > ==> tomcat4/mod_jk.log <==
>> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (486)]: Into
>> > > jk_uri_worker_map_t::map_uri_to_worker
>> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (500)]: Attempting 
>> > > to
>> > > map URI '/'
>> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (618)]:
>> > > jk_uri_worker_map_t::map_uri_to_worker, done without a match
>> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (486)]: Into
>> > > jk_uri_worker_map_t::map_uri_to_worker
>> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (500)]: Attempting 
>> > > to
>> > > map URI '/'
>> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (618)]:
>> > > jk_uri_worker_map_t::map_uri_to_worker, done without a match
>> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (486)]: Into
>> > > jk_uri_worker_map_t::map_uri_to_worker
>> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (500)]: Attempting 
>> > > to
>> > > map URI '/index.php'
>> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (618)]:
>> > > jk_uri_worker_map_t::map_uri_to_worker, done without a match
>> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (486)]: Into
>> > > jk_uri_worker_map_t::map_uri_to_worker
>> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (500)]: Attempting 
>> > > to
>> > > map URI '/index.php'
>> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (618)]:
>> > > jk_uri_worker_map_t::map_uri_to_worker, done without a match
>> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (486)]: Into
>> > > jk_uri_worker_map_t::map_uri_to_worker
>> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (500)]: Attempting 
>> > > to
>> > > map URI '/index.html'
>> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (618)]:
>> > > jk_uri_worker_map_t::map_uri_to_worker, done without a match
>> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (486)]: Into
>> > > jk_uri_worker_map_t::map_uri_to_worker
>> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (500)]: Attempting 
>> > > to
>> > > map URI '/index.html'
>> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (618)]:
>> > > jk_uri_worker_map_t::map_uri_to_worker, done without a match
>> > >
>> > > ==> tomcat4/kennetwww_log.2004-12-01.txt <==
>> > > 2004-12-01 01:52:50 HostConfig[kennetwww]: Deploying discovered web
>> > > applications
>> > > 2004-12-01 01:53:05 HostConfig[kennetwww]: Deploying discovered web
>> > > applications
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org 




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: jk_uri_worker_map_t::map_uri_to_worker, done without a match

Posted by Thomas Charles Robinson <ro...@ocean.com.au>.
Ok, so since nobody else knows this:

If I take the auto/mod_jk.conf auto generated from ApacheConfig and make
some manual edits to include:

JkMount / ajp13
JkMount /* ajp13

It all seems to work.

Of course, the next question is how to get this auto generated! (why do
I feel like I'm talking to myself)!

t.

On Fri, 2004-12-03 at 23:46, Thomas Charles Robinson wrote:
> Hi,
> 
> I'm trying to configure tomcat 4.1.30 but at the moment I can't get the
> examples to serve using mod_jk 1.2.5 & apache 2.0.50. I keep getting the
> error below. I've tried various different things in the server.xml and
> mod_jk.conf (for apache) but can't get it to work. Does anyone have any
> clues as to what the problem is and/or to some documentation about how
> to fix it?
> 
> Best regards,
> 
> Tom
> 
> 
> 
> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (486)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> map URI '/'
> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (618)]:
> jk_uri_worker_map_t::map_uri_to_worker, done without a match
> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (486)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> map URI '/'
> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (618)]:
> jk_uri_worker_map_t::map_uri_to_worker, done without a match
> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (486)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> map URI '/index.php'
> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (618)]:
> jk_uri_worker_map_t::map_uri_to_worker, done without a match
> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (486)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> map URI '/index.php'
> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (618)]:
> jk_uri_worker_map_t::map_uri_to_worker, done without a match
> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (486)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> map URI '/index.html'
> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (618)]:
> jk_uri_worker_map_t::map_uri_to_worker, done without a match
> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (486)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> map URI '/index.html'
> [Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (618)]:
> jk_uri_worker_map_t::map_uri_to_worker, done without a match
> 
> On Wed, 2004-12-01 at 16:10, Thomas Charles Robinson wrote:
> > Hi,
> > 
> > Can anyone please help me? I've been looking at this for a couple of
> > weeks now and still have had no success....
> > 
> > t.
> > 
> > On Wed, 2004-12-01 at 02:08, Thomas Charles Robinson wrote:
> > > Hi Again,
> > > 
> > > Sorry about the long email. I've included all my logging with the
> > > configs. I've read the documentation and had some clarifications on
> > > JK/JK2 but still can't get this to work. What am I doing wrong here? Any
> > > help is appreciated and thanks in advance.
> > > 
> > > I'm trying to get tomcat4 (4.1.30) to work with apache (2.0.50) using
> > > mod_jk (1.2.5) on Fedora Core 1 but so far can only get it to serve
> > > content via the CoyoteConnector and Http on port 8080 (i.e. accessing
> > > http://kennetwww:8080 is fine) - see logging below:
> > > 
> > > ==> tomcat4/catalina_log.2004-12-01.txt <==
> > > 2004-12-01 01:56:44 StandardEngine[Standalone]: Mapping server name
> > > 'kennetwww'
> > > 2004-12-01 01:56:44 StandardEngine[Standalone]:  Trying a direct match
> > > 
> > > ==> tomcat4/kennetwww_log.2004-12-01.txt <==
> > > 2004-12-01 01:56:44 StandardHost[kennetwww]: Mapping request URI '/'
> > > 2004-12-01 01:56:44 StandardHost[kennetwww]:   Trying the longest
> > > context path prefix
> > > 2004-12-01 01:56:44 StandardHost[kennetwww]:  Mapped to context ''
> > > 2004-12-01 01:56:44 default: DefaultServlet.serveResource:  Serving
> > > resource '/' headers and data
> > > 
> > > ==> tomcat4/catalina_log.2004-12-01.txt <==
> > > 2004-12-01 01:56:45 StandardEngine[Standalone]: Mapping server name
> > > 'kennetwww'
> > > 2004-12-01 01:56:45 StandardEngine[Standalone]:  Trying a direct match
> > > 
> > > ==> tomcat4/kennetwww_log.2004-12-01.txt <==
> > > 2004-12-01 01:56:45 StandardHost[kennetwww]: Mapping request URI
> > > '/index.jsp'
> > > 2004-12-01 01:56:45 StandardHost[kennetwww]:   Trying the longest
> > > context path prefix
> > > 2004-12-01 01:56:45 StandardHost[kennetwww]:  Mapped to context ''
> > > 2004-12-01 01:56:45 jsp: init
> > > 
> > > 
> > > But when I try to connect directly to the host using the CoyoteConnector
> > > with the JkCoyoteHandler on port 8009, I see the hosts default apache
> > > web page and none of the examples/etc are available. mod_jk logging as
> > > follows:
> > > 
> > > Accessing http://kennetwww
> > > ==> httpd/access_log <==
> > > 192.168.1.23 - - [01/Dec/2004:01:33:17 +0000] "GET / HTTP/1.0" 200 1988
> > > "-" "Lynx/2.8.5dev.7 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.7a"
> > > 
> > > ==> tomcat4/mod_jk.log <==
> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (486)]: Into
> > > jk_uri_worker_map_t::map_uri_to_worker
> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> > > map URI '/'
> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (618)]:
> > > jk_uri_worker_map_t::map_uri_to_worker, done without a match
> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (486)]: Into
> > > jk_uri_worker_map_t::map_uri_to_worker
> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> > > map URI '/'
> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (618)]:
> > > jk_uri_worker_map_t::map_uri_to_worker, done without a match
> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (486)]: Into
> > > jk_uri_worker_map_t::map_uri_to_worker
> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> > > map URI '/index.php'
> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (618)]:
> > > jk_uri_worker_map_t::map_uri_to_worker, done without a match
> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (486)]: Into
> > > jk_uri_worker_map_t::map_uri_to_worker
> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> > > map URI '/index.php'
> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (618)]:
> > > jk_uri_worker_map_t::map_uri_to_worker, done without a match
> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (486)]: Into
> > > jk_uri_worker_map_t::map_uri_to_worker
> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> > > map URI '/index.html'
> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (618)]:
> > > jk_uri_worker_map_t::map_uri_to_worker, done without a match
> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (486)]: Into
> > > jk_uri_worker_map_t::map_uri_to_worker
> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> > > map URI '/index.html'
> > > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (618)]:
> > > jk_uri_worker_map_t::map_uri_to_worker, done without a match
> > > 
> > > Here are my configs:
> > > 
> > > Server.xml:
> > > <!-- Example Server Configuration File -->
> > > <Server port="8005" shutdown="SHUTDOWN" debug="99">
> > > 
> > >   <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
> > >         modJk="/usr/lib/httpd/modules/mod_jk.so"
> > >         jkDebug="trace"
> > >         workersConfig="/usr/share/tomcat4/conf/jk/workers.properties"/>
> > > 
> > >   <Listener
> > > className="org.apache.catalina.mbeans.ServerLifecycleListener"
> > >             debug="0"/>
> > >   <Listener
> > > className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
> > >             debug="0"/>
> > > 
> > >   <!-- Global JNDI resources -->
> > >   <GlobalNamingResources>
> > > 
> > >     <!-- Test entry for demonstration purposes -->
> > >     <Environment name="simpleValue" type="java.lang.Integer"
> > > value="30"/>
> > > 
> > >     <!-- Editable user database that can also be used by
> > >          UserDatabaseRealm to authenticate users -->
> > >     <Resource name="UserDatabase" auth="Container"
> > >               type="org.apache.catalina.UserDatabase"
> > >        description="User database that can be updated and saved">
> > >     </Resource>
> > >     <ResourceParams name="UserDatabase">
> > >       <parameter>
> > >         <name>factory</name>
> > >        
> > > <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
> > >       </parameter>
> > >       <parameter>
> > >         <name>pathname</name>
> > >         <value>temp/tomcat-users.xml</value>
> > >       </parameter>
> > >     </ResourceParams>
> > > 
> > >   </GlobalNamingResources>
> > > 
> > >   <!-- Define the Tomcat Stand-Alone Service -->
> > >   <Service name="Tomcat-Standalone">
> > > 
> > >     <!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -->
> > >     <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
> > >                port="8080" minProcessors="5" maxProcessors="75"
> > >                enableLookups="true" redirectPort="8443"
> > >                acceptCount="100" debug="99" connectionTimeout="20000"
> > >                useURIValidationHack="false" disableUploadTimeout="true"
> > > />
> > > 
> > >     <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
> > >     <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
> > >                port="8009" minProcessors="5" maxProcessors="75"
> > >                enableLookups="true" redirectPort="8443"
> > >                acceptCount="10" debug="99" connectionTimeout="0"
> > >                useURIValidationHack="false"
> > >               
> > > protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
> > > 
> > >     <!-- Define the top level container in our container hierarchy -->
> > >     <Engine name="Standalone" defaultHost="kennetwww" debug="99"
> > > jvmRoute="ajp13">
> > > 
> > >       <!-- Global logger unless overridden at lower levels -->
> > >       <Logger className="org.apache.catalina.logger.FileLogger"
> > >               prefix="catalina_log." suffix=".txt"
> > >               timestamp="true"/>
> > > 
> > >       <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
> > >                  debug="0" resourceName="UserDatabase"/>
> > > 
> > >       <!-- Define the default virtual host -->
> > >       <Host name="kennetwww" debug="99" appBase="webapps"
> > >        unpackWARs="true" autoDeploy="true">
> > > 
> > >         <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
> > >                 append="true" forwardAll="false"
> > >                 jkDebug="trace"
> > >               
> > > workersConfig="/usr/share/tomcat4/conf/jk/workers.properties"
> > >                 modJk="/usr/lib/httpd/modules/mod_jk.so" />
> > > 
> > >         <Logger className="org.apache.catalina.logger.FileLogger"
> > >                  directory="logs"  prefix="kennetwww_log." suffix=".txt"
> > >             timestamp="true"/>
> > > 
> > >         <!-- Tomcat Root Context -->
> > >         <!--
> > >           <Context path="" docBase="ROOT" debug="99"/>
> > >         -->
> > > 
> > >         <!-- Tomcat Examples Context -->
> > >         <Context path="/examples" docBase="examples" debug="99"
> > >                  reloadable="true" crossContext="true">
> > >           <Logger className="org.apache.catalina.logger.FileLogger"
> > >                      prefix="kennetwww_examples_log." suffix=".txt"
> > >               timestamp="true"/>
> > >           <Ejb   name="ejb/EmplRecord" type="Entity"
> > >                  home="com.wombat.empl.EmployeeRecordHome"
> > >                remote="com.wombat.empl.EmployeeRecord"/>
> > > 
> > >           <Environment name="maxExemptions" type="java.lang.Integer"
> > >                       value="15"/>
> > >           <Parameter name="context.param.name"
> > > value="context.param.value"
> > >                      override="false"/>
> > >           <Resource name="jdbc/EmployeeAppDb" auth="SERVLET"
> > >                     type="javax.sql.DataSource"/>
> > >           <ResourceParams name="jdbc/EmployeeAppDb">
> > >            
> > > <parameter><name>username</name><value>sa</value></parameter>
> > >             <parameter><name>password</name><value></value></parameter>
> > >             <parameter><name>driverClassName</name>
> > >               <value>org.hsql.jdbcDriver</value></parameter>
> > >             <parameter><name>url</name>
> > >               <value>jdbc:HypersonicSQL:database</value></parameter>
> > >           </ResourceParams>
> > >           <Resource name="mail/Session" auth="Container"
> > >                     type="javax.mail.Session"/>
> > >           <ResourceParams name="mail/Session">
> > >             <parameter>
> > >               <name>mail.smtp.host</name>
> > >               <value>localhost</value>
> > >             </parameter>
> > >           </ResourceParams>
> > >           <ResourceLink name="linkToGlobalResource"
> > >                     global="simpleValue"
> > >                     type="java.lang.Integer"/>
> > >         </Context>
> > >       </Host>
> > >     </Engine>
> > >   </Service>
> > > </Server>
> > > 
> > > jk/workers.properties:
> > > workers.tomcat_home=/usr/share/tomcat4
> > > workers.java_home=/usr/lib/jvm/java
> > > ps=/
> > > worker.list=ajp12, ajp13, jboss
> > > # , inprocess
> > > worker.ajp12.port=8007
> > > worker.ajp12.host=127.0.0.1
> > > worker.ajp12.type=ajp12
> > > worker.ajp12.lbfactor=1
> > > worker.ajp13.port=8009
> > > worker.ajp13.host=127.0.0.1
> > > worker.ajp13.type=ajp13
> > > worker.ajp13.lbfactor=1
> > > worker.jboss.port=8809
> > > worker.jboss.host=127.0.0.1
> > > worker.jboss.type=ajp13
> > > worker.jboss.lbfactor=1
> > > worker.loadbalancer.type=lb
> > > worker.loadbalancer.balanced_workers=ajp12, ajp13, jboss
> > > worker.inprocess.type=jni
> > > worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar
> > > worker.inprocess.cmd_line=start
> > > worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)lib$(ps)i386$(ps)server$(ps)libjvm.so
> > > worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
> > > worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr
> > > 
> > > auto/mod_jk.conf
> > > ########## Auto generated on Wed Dec 01 01:52:34 GMT 2004##########
> > > 
> > > <IfModule !mod_jk.c>
> > >   LoadModule jk_module /usr/lib/httpd/modules/mod_jk.so
> > > </IfModule>
> > > 
> > > JkWorkersFile "/usr/share/tomcat4/conf/jk/workers.properties"
> > > JkLogFile "/usr/share/tomcat4/logs/mod_jk.log"
> > > 
> > > JkLogLevel trace
> > > 
> > > 
> > > 
> > > <VirtualHost kennetwww>
> > >     ServerName kennetwww
> > > 
> > >     #################### kennetwww:/webdav ####################
> > > 
> > >     # Static files 
> > >     Alias /webdav "/var/lib/tomcat4/webapps/webdav"
> > > 
> > >     <Directory "/var/lib/tomcat4/webapps/webdav">
> > >         Options Indexes FollowSymLinks
> > >         DirectoryIndex index.jsp index.html index.htm 
> > >     </Directory>
> > > 
> > > 
> > >     # Deny direct access to WEB-INF and META-INF
> > >     #
> > >     <Location "/webdav/WEB-INF/*">
> > >         AllowOverride None
> > >         deny from all
> > >     </Location>
> > > 
> > >     <Location "/webdav/META-INF/*">
> > >         AllowOverride None
> > >         deny from all
> > >     </Location>
> > > 
> > >     JkMount /webdav/*.jsp  ajp13
> > > 
> > >     #################### kennetwww:/examples ####################
> > > 
> > >     # Static files 
> > >     Alias /examples "/usr/share/tomcat4/webapps/examples"
> > > 
> > >     <Directory "/usr/share/tomcat4/webapps/examples">
> > >         Options Indexes FollowSymLinks
> > >         DirectoryIndex index.html index.htm index.jsp 
> > >     </Directory>
> > > 
> > > 
> > >     # Deny direct access to WEB-INF and META-INF
> > >     #
> > >     <Location "/examples/WEB-INF/*">
> > >         AllowOverride None
> > >         deny from all
> > >     </Location>
> > > 
> > >     <Location "/examples/META-INF/*">
> > >         AllowOverride None
> > >         deny from all
> > >     </Location>
> > > 
> > >     JkMount /examples/jsp/security/protected/j_security_check  ajp13
> > >     JkMount /examples/snoop  ajp13
> > >     JkMount /examples/servlet/*  ajp13
> > >     JkMount /examples/CompressionTest  ajp13
> > >     JkMount /examples/*.jsp  ajp13
> > >     JkMount /examples/servletToJsp  ajp13
> > >     JkMount /examples/SendMailServlet  ajp13
> > > 
> > >     #################### kennetwww:/tomcat-docs ####################
> > > 
> > >     # Static files 
> > >     Alias /tomcat-docs "/var/lib/tomcat4/webapps/tomcat-docs"
> > > 
> > >     <Directory "/var/lib/tomcat4/webapps/tomcat-docs">
> > >         Options Indexes FollowSymLinks
> > >         DirectoryIndex index.html index.htm index.jsp 
> > >     </Directory>
> > > 
> > > 
> > >     # Deny direct access to WEB-INF and META-INF
> > >     #
> > >     <Location "/tomcat-docs/WEB-INF/*">
> > >         AllowOverride None
> > >         deny from all
> > >     </Location>
> > > 
> > >     <Location "/tomcat-docs/META-INF/*">
> > >         AllowOverride None
> > >         deny from all
> > >     </Location>
> > > 
> > >     JkMount /tomcat-docs/*.jsp  ajp13
> > > </VirtualHost>
> > > 
> > > 
> > > Other Logging Output:
> > > Dec  1 01:52:33 kennet su(pam_unix)[6355]: session opened for user
> > > tomcat4 by tom(uid=0)
> > > Dec  1 01:52:33 kennet su: Using CATALINA_BASE:   /usr/share/tomcat4
> > > Dec  1 01:52:33 kennet su: Using CATALINA_HOME:   /usr/share/tomcat4
> > > Dec  1 01:52:33 kennet su: Using CATALINA_TMPDIR:
> > > /usr/share/tomcat4/temp
> > > 
> > > ==> tomcat4/catalina.out <==
> > > StandardEngine[null]: setJvmRoute=ajp13
> > > 
> > > ==> messages <==
> > > Dec  1 01:52:33 kennet su: Using JAVA_HOME:       /usr/lib/jvm/java
> > > Dec  1 01:52:33 kennet su(pam_unix)[6355]: session closed for user
> > > tomcat4
> > > Dec  1 01:52:33 kennet tomcat4: dtomcat4 startup succeeded
> > > 
> > > ==> tomcat4/catalina.out <==
> > > 01-Dec-2004 01:52:34 org.apache.coyote.http11.Http11Protocol init
> > > INFO: Initializing Coyote HTTP/1.1 on port 8080
> > > Starting service Tomcat-Standalone
> > > Apache Tomcat/4.1
> > > 
> > > ==> tomcat4/kennetwww_examples_log.2004-12-01.txt <==
> > > 2004-12-01 01:52:35 StandardContext[/examples]: Starting
> > > 2004-12-01 01:52:35 StandardContext[/examples]: Processing start(),
> > > current available=false
> > > 2004-12-01 01:52:35 StandardContext[/examples]: Configuring default
> > > Resources
> > > 2004-12-01 01:52:35 StandardContext[/examples]: Configuring
> > > non-privileged default Loader
> > > 2004-12-01 01:52:35 StandardContext[/examples]: Configuring default
> > > Manager
> > > 2004-12-01 01:52:35 StandardContext[/examples]: Processing standard
> > > container startup
> > > 2004-12-01 01:52:35 WebappLoader[/examples]: Deploying class
> > > repositories to work directory
> > > /usr/share/tomcat4/work/Standalone/kennetwww/examples
> > > 2004-12-01 01:52:35 WebappLoader[/examples]: Deploy class files
> > > /WEB-INF/classes to /usr/share/tomcat4/webapps/examples/WEB-INF/classes
> > > 2004-12-01 01:52:35 WebappLoader[/examples]: Reloading checks are
> > > enabled for this Context
> > > 2004-12-01 01:52:35 ContextConfig[/examples]: ContextConfig: Processing
> > > START
> > > 2004-12-01 01:52:35 StandardContext[/examples]: Setting deployment
> > > descriptor public ID to '-//Sun Microsystems, Inc.//DTD Web Application
> > > 2.3//EN'
> > > 2004-12-01 01:52:35 StandardContext[/examples]: Setting deployment
> > > descriptor public ID to '-//Sun Microsystems, Inc.//DTD Web Application
> > > 2.3//EN'
> > > 2004-12-01 01:52:35 ContextConfig[/examples]:  Accumulating TLD resource
> > > paths
> > > 2004-12-01 01:52:35 ContextConfig[/examples]:   Scanning <taglib>
> > > elements in web.xml
> > > 2004-12-01 01:52:35 ContextConfig[/examples]:    Adding path
> > > '/WEB-INF/jsp/debug-taglib.tld' for URI
> > > 'http://jakarta.apache.org/tomcat/debug-taglib'
> > > 2004-12-01 01:52:35 ContextConfig[/examples]:    Adding path
> > > '/WEB-INF/jsp/example-taglib.tld' for URI
> > > 'http://jakarta.apache.org/tomcat/examples-taglib'
> > > 2004-12-01 01:52:35 ContextConfig[/examples]:   Scanning TLDs in
> > > /WEB-INF subdirectory
> > > 2004-12-01 01:52:35 ContextConfig[/examples]:   Scanning JARs in
> > > /WEB-INF/lib subdirectory
> > > 2004-12-01 01:52:35 ContextConfig[/examples]:  Scanning TLD at resource
> > > path '/WEB-INF/jsp/debug-taglib.tld'
> > > 2004-12-01 01:52:35 ContextConfig[/examples]:  Scanning TLD at resource
> > > path '/WEB-INF/jsp/example-taglib.tld'
> > > 2004-12-01 01:52:35 Authenticator[/examples]: No SingleSignOn Valve is
> > > present
> > > 2004-12-01 01:52:35 ContextConfig[/examples]: Configured an
> > > authenticator for method FORM
> > > 2004-12-01 01:52:35 ContextConfig[/examples]: Pipline Configuration:
> > > 2004-12-01 01:52:35 ContextConfig[/examples]:  
> > > org.apache.catalina.authenticator.FormAuthenticator/1.0
> > > 2004-12-01 01:52:35 ContextConfig[/examples]:  
> > > org.apache.catalina.core.StandardContextValve/1.0
> > > 2004-12-01 01:52:35 ContextConfig[/examples]: ======================
> > > 2004-12-01 01:52:35
> > > NamingContextListener[/Standalone/kennetwww/examples]: Creating JNDI
> > > naming context
> > > 2004-12-01 01:52:35
> > > NamingContextListener[/Standalone/kennetwww/examples]:   Resource
> > > parameters for linkToGlobalResource = null
> > > 2004-12-01 01:52:35
> > > NamingContextListener[/Standalone/kennetwww/examples]:   Adding resource
> > > link linkToGlobalResource
> > > 2004-12-01 01:52:35
> > > NamingContextListener[/Standalone/kennetwww/examples]:   Resource
> > > parameters for jdbc/EmployeeAppDb =
> > > ResourceParams[name=jdbc/EmployeeAppDb,
> > > parameters={url=jdbc:HypersonicSQL:database, password=,
> > > driverClassName=org.hsql.jdbcDriver, username=sa}]
> > > 2004-12-01 01:52:35
> > > NamingContextListener[/Standalone/kennetwww/examples]:   Adding resource
> > > ref jdbc/EmployeeAppDb
> > > 2004-12-01 01:52:35
> > > NamingContextListener[/Standalone/kennetwww/examples]:  
> > > ResourceRef[className=javax.sql.DataSource,factoryClassLocation=null,factoryClassName=org.apache.naming.factory.ResourceFactory,{type=scope,content=Shareable},{type=auth,content=SERVLET},{type=url,content=jdbc:HypersonicSQL:database},{type=password,content=},{type=driverClassName,content=org.hsql.jdbcDriver},{type=username,content=sa}]
> > > 2004-12-01 01:52:35
> > > NamingContextListener[/Standalone/kennetwww/examples]:   Resource
> > > parameters for mail/Session = ResourceParams[name=mail/Session,
> > > parameters={mail.smtp.host=localhost}]
> > > 2004-12-01 01:52:35
> > > NamingContextListener[/Standalone/kennetwww/examples]:   Adding resource
> > > ref mail/Session
> > > 2004-12-01 01:52:35
> > > NamingContextListener[/Standalone/kennetwww/examples]:  
> > > ResourceRef[className=javax.mail.Session,factoryClassLocation=null,factoryClassName=org.apache.naming.factory.ResourceFactory,{type=scope,content=Shareable},{type=auth,content=Container},{type=mail.smtp.host,content=localhost}]
> > > 2004-12-01 01:52:35
> > > NamingContextListener[/Standalone/kennetwww/examples]:   Adding
> > > environment entry foo/name4
> > > 2004-12-01 01:52:35
> > > NamingContextListener[/Standalone/kennetwww/examples]:   Adding
> > > environment entry maxExemptions
> > > 2004-12-01 01:52:35
> > > NamingContextListener[/Standalone/kennetwww/examples]:   Adding
> > > environment entry minExemptions
> > > 2004-12-01 01:52:35
> > > NamingContextListener[/Standalone/kennetwww/examples]:   Adding
> > > environment entry foo/bar/name2
> > > 2004-12-01 01:52:35
> > > NamingContextListener[/Standalone/kennetwww/examples]:   Adding
> > > environment entry name3
> > > 2004-12-01 01:52:35
> > > NamingContextListener[/Standalone/kennetwww/examples]:   Adding
> > > environment entry foo/name1
> > > 2004-12-01 01:52:35
> > > NamingContextListener[/Standalone/kennetwww/examples]:   Resource
> > > parameters for ejb/EmplRecord = null
> > > 2004-12-01 01:52:35
> > > NamingContextListener[/Standalone/kennetwww/examples]:   Resource
> > > parameters for ejb/Account = null
> > > 2004-12-01 01:52:35
> > > NamingContextListener[/Standalone/kennetwww/examples]:   Resource
> > > parameters for UserTransaction = null
> > > 2004-12-01 01:52:35 StandardManager[/examples]: Seeding random number
> > > generator class java.security.SecureRandom
> > > 2004-12-01 01:52:35 StandardManager[/examples]: Seeding of random number
> > > generator has been completed
> > > 2004-12-01 01:52:35 StandardContext[/examples]: Posting standard context
> > > attributes
> > > 2004-12-01 01:52:35 StandardContext[/examples]: Configuring application
> > > event listeners
> > > 2004-12-01 01:52:35 StandardContext[/examples]:  Configuring event
> > > listener class 'listeners.ContextListener'
> > > 2004-12-01 01:52:35 StandardContext[/examples]:  Configuring event
> > > listener class 'listeners.SessionListener'
> > > 2004-12-01 01:52:35 StandardContext[/examples]: Sending application
> > > start events
> > > 2004-12-01 01:52:35 ContextListener: contextInitialized()
> > > 2004-12-01 01:52:35 SessionListener: contextInitialized()
> > > 2004-12-01 01:52:35 StandardContext[/examples]: Starting filters
> > > 2004-12-01 01:52:35 StandardContext[/examples]:  Starting filter
> > > 'Servlet Mapped Filter'
> > > 2004-12-01 01:52:35 StandardContext[/examples]:  Starting filter
> > > 'Compression Filter'
> > > 2004-12-01 01:52:35 StandardContext[/examples]:  Starting filter 'Set
> > > Character Encoding'
> > > 2004-12-01 01:52:35 StandardContext[/examples]:  Starting filter 'Path
> > > Mapped Filter'
> > > 2004-12-01 01:52:35 StandardContext[/examples]:  Starting filter
> > > 'Request Dumper Filter'
> > > 2004-12-01 01:52:35 StandardWrapper[/examples:default]: Loading
> > > container servlet default
> > > 2004-12-01 01:52:35 default: init
> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  input buffer
> > > size=2048, output buffer size=2048
> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> > > file=index.html
> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> > > file=index.htm
> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> > > file=index.jsp
> > > 2004-12-01 01:52:35 StandardWrapper[/examples:invoker]: Loading
> > > container servlet invoker
> > > 2004-12-01 01:52:35 invoker: init
> > > 2004-12-01 01:52:35 invoker: init: Associated with Context '/examples'
> > > 2004-12-01 01:52:35 jsp: init
> > > 2004-12-01 01:52:35 StandardContext[/examples]: Starting completed
> > > 
> > > ==> tomcat4/kennetwww_log.2004-12-01.txt <==
> > > 2004-12-01 01:52:35 HostConfig[kennetwww]: HostConfig: Processing START
> > > 2004-12-01 01:52:35 HostConfig[kennetwww]: Deploying discovered web
> > > applications
> > > 2004-12-01 01:52:35 HostConfig[kennetwww]: Deploying web application
> > > directory ROOT
> > > 2004-12-01 01:52:35 StandardHost[kennetwww]: Installing web application
> > > at context path  from URL file:/var/lib/tomcat4/webapps/ROOT
> > > 2004-12-01 01:52:35 WebappLoader[]: Deploying class repositories to work
> > > directory /usr/share/tomcat4/work/Standalone/kennetwww/_
> > > 
> > > ==> tomcat4/catalina.out <==
> > > 01-Dec-2004 01:52:35 org.apache.coyote.http11.Http11Protocol start
> > > INFO: Starting Coyote HTTP/1.1 on port 8080
> > > 01-Dec-2004 01:52:35 org.apache.jk.common.ChannelSocket init
> > > INFO: JK2: ajp13 listening on /0.0.0.0:8009
> > > 01-Dec-2004 01:52:35 org.apache.jk.server.JkMain start
> > > INFO: Jk running ID=0 time=0/23  config=null
> > > 
> > > ==> tomcat4/catalina_log.2004-12-01.txt <==
> > > 2004-12-01 01:52:35 EngineConfig: EngineConfig: Processing START
> > > 
> > > ==> tomcat4/kennetwww_log.2004-12-01.txt <==
> > > 2004-12-01 01:52:35 StandardManager[]: Seeding random number generator
> > > class java.security.SecureRandom
> > > 2004-12-01 01:52:35 StandardManager[]: Seeding of random number
> > > generator has been completed
> > > 2004-12-01 01:52:35 StandardWrapper[:default]: Loading container servlet
> > > default
> > > 2004-12-01 01:52:35 default: init
> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  input buffer
> > > size=2048, output buffer size=2048
> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> > > file=index.html
> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> > > file=index.htm
> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> > > file=index.jsp
> > > 2004-12-01 01:52:35 StandardWrapper[:invoker]: Loading container servlet
> > > invoker
> > > 2004-12-01 01:52:35 invoker: init
> > > 2004-12-01 01:52:35 invoker: init: Associated with Context ''
> > > 2004-12-01 01:52:35 jsp: init
> > > 2004-12-01 01:52:35 HostConfig[kennetwww]: Deploying web application
> > > directory tomcat-docs
> > > 2004-12-01 01:52:35 StandardHost[kennetwww]: Installing web application
> > > at context path /tomcat-docs from URL
> > > file:/var/lib/tomcat4/webapps/tomcat-docs
> > > 2004-12-01 01:52:35 WebappLoader[/tomcat-docs]: Deploying class
> > > repositories to work directory
> > > /usr/share/tomcat4/work/Standalone/kennetwww/tomcat-docs
> > > 2004-12-01 01:52:35 StandardManager[/tomcat-docs]: Seeding random number
> > > generator class java.security.SecureRandom
> > > 2004-12-01 01:52:35 StandardManager[/tomcat-docs]: Seeding of random
> > > number generator has been completed
> > > 2004-12-01 01:52:35 StandardWrapper[/tomcat-docs:default]: Loading
> > > container servlet default
> > > 2004-12-01 01:52:35 default: init
> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  input buffer
> > > size=2048, output buffer size=2048
> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> > > file=index.html
> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> > > file=index.htm
> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> > > file=index.jsp
> > > 2004-12-01 01:52:35 StandardWrapper[/tomcat-docs:invoker]: Loading
> > > container servlet invoker
> > > 2004-12-01 01:52:35 invoker: init
> > > 2004-12-01 01:52:35 invoker: init: Associated with Context
> > > '/tomcat-docs'
> > > 2004-12-01 01:52:35 jsp: init
> > > 2004-12-01 01:52:35 HostConfig[kennetwww]: Deploying web application
> > > directory webdav
> > > 2004-12-01 01:52:35 StandardHost[kennetwww]: Installing web application
> > > at context path /webdav from URL file:/var/lib/tomcat4/webapps/webdav
> > > 2004-12-01 01:52:35 WebappLoader[/webdav]: Deploying class repositories
> > > to work directory /usr/share/tomcat4/work/Standalone/kennetwww/webdav
> > > 2004-12-01 01:52:35 StandardManager[/webdav]: Seeding random number
> > > generator class java.security.SecureRandom
> > > 2004-12-01 01:52:35 StandardManager[/webdav]: Seeding of random number
> > > generator has been completed
> > > 2004-12-01 01:52:35 StandardWrapper[/webdav:default]: Loading container
> > > servlet default
> > > 2004-12-01 01:52:35 default: init
> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  input buffer
> > > size=2048, output buffer size=2048
> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> > > file=index.jsp
> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> > > file=index.html
> > > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> > > file=index.htm
> > > 2004-12-01 01:52:35 StandardWrapper[/webdav:invoker]: Loading container
> > > servlet invoker
> > > 2004-12-01 01:52:35 invoker: init
> > > 2004-12-01 01:52:35 invoker: init: Associated with Context '/webdav'
> > > 2004-12-01 01:52:35 jsp: init
> > > 2004-12-01 01:52:35 HostConfig[kennetwww]:  Starting background thread
> > > 2004-12-01 01:52:35 HostConfig[kennetwww]: BACKGROUND THREAD Starting
> > > 
> > > ==> httpd/access_log <==
> > > 192.168.1.23 - - [01/Dec/2004:01:52:47 +0000] "GET / HTTP/1.0" 200 1988
> > > "-" "Lynx/2.8.5dev.7 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.7a"
> > > 
> > > ==> tomcat4/mod_jk.log <==
> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (486)]: Into
> > > jk_uri_worker_map_t::map_uri_to_worker
> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> > > map URI '/'
> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (618)]:
> > > jk_uri_worker_map_t::map_uri_to_worker, done without a match
> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (486)]: Into
> > > jk_uri_worker_map_t::map_uri_to_worker
> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> > > map URI '/'
> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (618)]:
> > > jk_uri_worker_map_t::map_uri_to_worker, done without a match
> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (486)]: Into
> > > jk_uri_worker_map_t::map_uri_to_worker
> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> > > map URI '/index.php'
> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (618)]:
> > > jk_uri_worker_map_t::map_uri_to_worker, done without a match
> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (486)]: Into
> > > jk_uri_worker_map_t::map_uri_to_worker
> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> > > map URI '/index.php'
> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (618)]:
> > > jk_uri_worker_map_t::map_uri_to_worker, done without a match
> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (486)]: Into
> > > jk_uri_worker_map_t::map_uri_to_worker
> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> > > map URI '/index.html'
> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (618)]:
> > > jk_uri_worker_map_t::map_uri_to_worker, done without a match
> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (486)]: Into
> > > jk_uri_worker_map_t::map_uri_to_worker
> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> > > map URI '/index.html'
> > > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (618)]:
> > > jk_uri_worker_map_t::map_uri_to_worker, done without a match
> > > 
> > > ==> tomcat4/kennetwww_log.2004-12-01.txt <==
> > > 2004-12-01 01:52:50 HostConfig[kennetwww]: Deploying discovered web
> > > applications
> > > 2004-12-01 01:53:05 HostConfig[kennetwww]: Deploying discovered web
> > > applications
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


jk_uri_worker_map_t::map_uri_to_worker, done without a match

Posted by Thomas Charles Robinson <ro...@ocean.com.au>.
Hi,

I'm trying to configure tomcat 4.1.30 but at the moment I can't get the
examples to serve using mod_jk 1.2.5 & apache 2.0.50. I keep getting the
error below. I've tried various different things in the server.xml and
mod_jk.conf (for apache) but can't get it to work. Does anyone have any
clues as to what the problem is and/or to some documentation about how
to fix it?

Best regards,

Tom



[Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (486)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (500)]: Attempting to
map URI '/'
[Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (618)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (486)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (500)]: Attempting to
map URI '/'
[Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (618)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (486)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (500)]: Attempting to
map URI '/index.php'
[Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (618)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (486)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (500)]: Attempting to
map URI '/index.php'
[Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (618)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (486)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (500)]: Attempting to
map URI '/index.html'
[Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (618)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (486)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (500)]: Attempting to
map URI '/index.html'
[Fri Dec 03 19:08:40 2004]  [jk_uri_worker_map.c (618)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match

On Wed, 2004-12-01 at 16:10, Thomas Charles Robinson wrote:
> Hi,
> 
> Can anyone please help me? I've been looking at this for a couple of
> weeks now and still have had no success....
> 
> t.
> 
> On Wed, 2004-12-01 at 02:08, Thomas Charles Robinson wrote:
> > Hi Again,
> > 
> > Sorry about the long email. I've included all my logging with the
> > configs. I've read the documentation and had some clarifications on
> > JK/JK2 but still can't get this to work. What am I doing wrong here? Any
> > help is appreciated and thanks in advance.
> > 
> > I'm trying to get tomcat4 (4.1.30) to work with apache (2.0.50) using
> > mod_jk (1.2.5) on Fedora Core 1 but so far can only get it to serve
> > content via the CoyoteConnector and Http on port 8080 (i.e. accessing
> > http://kennetwww:8080 is fine) - see logging below:
> > 
> > ==> tomcat4/catalina_log.2004-12-01.txt <==
> > 2004-12-01 01:56:44 StandardEngine[Standalone]: Mapping server name
> > 'kennetwww'
> > 2004-12-01 01:56:44 StandardEngine[Standalone]:  Trying a direct match
> > 
> > ==> tomcat4/kennetwww_log.2004-12-01.txt <==
> > 2004-12-01 01:56:44 StandardHost[kennetwww]: Mapping request URI '/'
> > 2004-12-01 01:56:44 StandardHost[kennetwww]:   Trying the longest
> > context path prefix
> > 2004-12-01 01:56:44 StandardHost[kennetwww]:  Mapped to context ''
> > 2004-12-01 01:56:44 default: DefaultServlet.serveResource:  Serving
> > resource '/' headers and data
> > 
> > ==> tomcat4/catalina_log.2004-12-01.txt <==
> > 2004-12-01 01:56:45 StandardEngine[Standalone]: Mapping server name
> > 'kennetwww'
> > 2004-12-01 01:56:45 StandardEngine[Standalone]:  Trying a direct match
> > 
> > ==> tomcat4/kennetwww_log.2004-12-01.txt <==
> > 2004-12-01 01:56:45 StandardHost[kennetwww]: Mapping request URI
> > '/index.jsp'
> > 2004-12-01 01:56:45 StandardHost[kennetwww]:   Trying the longest
> > context path prefix
> > 2004-12-01 01:56:45 StandardHost[kennetwww]:  Mapped to context ''
> > 2004-12-01 01:56:45 jsp: init
> > 
> > 
> > But when I try to connect directly to the host using the CoyoteConnector
> > with the JkCoyoteHandler on port 8009, I see the hosts default apache
> > web page and none of the examples/etc are available. mod_jk logging as
> > follows:
> > 
> > Accessing http://kennetwww
> > ==> httpd/access_log <==
> > 192.168.1.23 - - [01/Dec/2004:01:33:17 +0000] "GET / HTTP/1.0" 200 1988
> > "-" "Lynx/2.8.5dev.7 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.7a"
> > 
> > ==> tomcat4/mod_jk.log <==
> > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (486)]: Into
> > jk_uri_worker_map_t::map_uri_to_worker
> > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> > map URI '/'
> > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (618)]:
> > jk_uri_worker_map_t::map_uri_to_worker, done without a match
> > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (486)]: Into
> > jk_uri_worker_map_t::map_uri_to_worker
> > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> > map URI '/'
> > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (618)]:
> > jk_uri_worker_map_t::map_uri_to_worker, done without a match
> > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (486)]: Into
> > jk_uri_worker_map_t::map_uri_to_worker
> > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> > map URI '/index.php'
> > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (618)]:
> > jk_uri_worker_map_t::map_uri_to_worker, done without a match
> > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (486)]: Into
> > jk_uri_worker_map_t::map_uri_to_worker
> > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> > map URI '/index.php'
> > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (618)]:
> > jk_uri_worker_map_t::map_uri_to_worker, done without a match
> > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (486)]: Into
> > jk_uri_worker_map_t::map_uri_to_worker
> > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> > map URI '/index.html'
> > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (618)]:
> > jk_uri_worker_map_t::map_uri_to_worker, done without a match
> > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (486)]: Into
> > jk_uri_worker_map_t::map_uri_to_worker
> > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> > map URI '/index.html'
> > [Wed Dec 01 01:33:17 2004]  [jk_uri_worker_map.c (618)]:
> > jk_uri_worker_map_t::map_uri_to_worker, done without a match
> > 
> > Here are my configs:
> > 
> > Server.xml:
> > <!-- Example Server Configuration File -->
> > <Server port="8005" shutdown="SHUTDOWN" debug="99">
> > 
> >   <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
> >         modJk="/usr/lib/httpd/modules/mod_jk.so"
> >         jkDebug="trace"
> >         workersConfig="/usr/share/tomcat4/conf/jk/workers.properties"/>
> > 
> >   <Listener
> > className="org.apache.catalina.mbeans.ServerLifecycleListener"
> >             debug="0"/>
> >   <Listener
> > className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
> >             debug="0"/>
> > 
> >   <!-- Global JNDI resources -->
> >   <GlobalNamingResources>
> > 
> >     <!-- Test entry for demonstration purposes -->
> >     <Environment name="simpleValue" type="java.lang.Integer"
> > value="30"/>
> > 
> >     <!-- Editable user database that can also be used by
> >          UserDatabaseRealm to authenticate users -->
> >     <Resource name="UserDatabase" auth="Container"
> >               type="org.apache.catalina.UserDatabase"
> >        description="User database that can be updated and saved">
> >     </Resource>
> >     <ResourceParams name="UserDatabase">
> >       <parameter>
> >         <name>factory</name>
> >        
> > <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
> >       </parameter>
> >       <parameter>
> >         <name>pathname</name>
> >         <value>temp/tomcat-users.xml</value>
> >       </parameter>
> >     </ResourceParams>
> > 
> >   </GlobalNamingResources>
> > 
> >   <!-- Define the Tomcat Stand-Alone Service -->
> >   <Service name="Tomcat-Standalone">
> > 
> >     <!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -->
> >     <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
> >                port="8080" minProcessors="5" maxProcessors="75"
> >                enableLookups="true" redirectPort="8443"
> >                acceptCount="100" debug="99" connectionTimeout="20000"
> >                useURIValidationHack="false" disableUploadTimeout="true"
> > />
> > 
> >     <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
> >     <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
> >                port="8009" minProcessors="5" maxProcessors="75"
> >                enableLookups="true" redirectPort="8443"
> >                acceptCount="10" debug="99" connectionTimeout="0"
> >                useURIValidationHack="false"
> >               
> > protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
> > 
> >     <!-- Define the top level container in our container hierarchy -->
> >     <Engine name="Standalone" defaultHost="kennetwww" debug="99"
> > jvmRoute="ajp13">
> > 
> >       <!-- Global logger unless overridden at lower levels -->
> >       <Logger className="org.apache.catalina.logger.FileLogger"
> >               prefix="catalina_log." suffix=".txt"
> >               timestamp="true"/>
> > 
> >       <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
> >                  debug="0" resourceName="UserDatabase"/>
> > 
> >       <!-- Define the default virtual host -->
> >       <Host name="kennetwww" debug="99" appBase="webapps"
> >        unpackWARs="true" autoDeploy="true">
> > 
> >         <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
> >                 append="true" forwardAll="false"
> >                 jkDebug="trace"
> >               
> > workersConfig="/usr/share/tomcat4/conf/jk/workers.properties"
> >                 modJk="/usr/lib/httpd/modules/mod_jk.so" />
> > 
> >         <Logger className="org.apache.catalina.logger.FileLogger"
> >                  directory="logs"  prefix="kennetwww_log." suffix=".txt"
> >             timestamp="true"/>
> > 
> >         <!-- Tomcat Root Context -->
> >         <!--
> >           <Context path="" docBase="ROOT" debug="99"/>
> >         -->
> > 
> >         <!-- Tomcat Examples Context -->
> >         <Context path="/examples" docBase="examples" debug="99"
> >                  reloadable="true" crossContext="true">
> >           <Logger className="org.apache.catalina.logger.FileLogger"
> >                      prefix="kennetwww_examples_log." suffix=".txt"
> >               timestamp="true"/>
> >           <Ejb   name="ejb/EmplRecord" type="Entity"
> >                  home="com.wombat.empl.EmployeeRecordHome"
> >                remote="com.wombat.empl.EmployeeRecord"/>
> > 
> >           <Environment name="maxExemptions" type="java.lang.Integer"
> >                       value="15"/>
> >           <Parameter name="context.param.name"
> > value="context.param.value"
> >                      override="false"/>
> >           <Resource name="jdbc/EmployeeAppDb" auth="SERVLET"
> >                     type="javax.sql.DataSource"/>
> >           <ResourceParams name="jdbc/EmployeeAppDb">
> >            
> > <parameter><name>username</name><value>sa</value></parameter>
> >             <parameter><name>password</name><value></value></parameter>
> >             <parameter><name>driverClassName</name>
> >               <value>org.hsql.jdbcDriver</value></parameter>
> >             <parameter><name>url</name>
> >               <value>jdbc:HypersonicSQL:database</value></parameter>
> >           </ResourceParams>
> >           <Resource name="mail/Session" auth="Container"
> >                     type="javax.mail.Session"/>
> >           <ResourceParams name="mail/Session">
> >             <parameter>
> >               <name>mail.smtp.host</name>
> >               <value>localhost</value>
> >             </parameter>
> >           </ResourceParams>
> >           <ResourceLink name="linkToGlobalResource"
> >                     global="simpleValue"
> >                     type="java.lang.Integer"/>
> >         </Context>
> >       </Host>
> >     </Engine>
> >   </Service>
> > </Server>
> > 
> > jk/workers.properties:
> > workers.tomcat_home=/usr/share/tomcat4
> > workers.java_home=/usr/lib/jvm/java
> > ps=/
> > worker.list=ajp12, ajp13, jboss
> > # , inprocess
> > worker.ajp12.port=8007
> > worker.ajp12.host=127.0.0.1
> > worker.ajp12.type=ajp12
> > worker.ajp12.lbfactor=1
> > worker.ajp13.port=8009
> > worker.ajp13.host=127.0.0.1
> > worker.ajp13.type=ajp13
> > worker.ajp13.lbfactor=1
> > worker.jboss.port=8809
> > worker.jboss.host=127.0.0.1
> > worker.jboss.type=ajp13
> > worker.jboss.lbfactor=1
> > worker.loadbalancer.type=lb
> > worker.loadbalancer.balanced_workers=ajp12, ajp13, jboss
> > worker.inprocess.type=jni
> > worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar
> > worker.inprocess.cmd_line=start
> > worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)lib$(ps)i386$(ps)server$(ps)libjvm.so
> > worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
> > worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr
> > 
> > auto/mod_jk.conf
> > ########## Auto generated on Wed Dec 01 01:52:34 GMT 2004##########
> > 
> > <IfModule !mod_jk.c>
> >   LoadModule jk_module /usr/lib/httpd/modules/mod_jk.so
> > </IfModule>
> > 
> > JkWorkersFile "/usr/share/tomcat4/conf/jk/workers.properties"
> > JkLogFile "/usr/share/tomcat4/logs/mod_jk.log"
> > 
> > JkLogLevel trace
> > 
> > 
> > 
> > <VirtualHost kennetwww>
> >     ServerName kennetwww
> > 
> >     #################### kennetwww:/webdav ####################
> > 
> >     # Static files 
> >     Alias /webdav "/var/lib/tomcat4/webapps/webdav"
> > 
> >     <Directory "/var/lib/tomcat4/webapps/webdav">
> >         Options Indexes FollowSymLinks
> >         DirectoryIndex index.jsp index.html index.htm 
> >     </Directory>
> > 
> > 
> >     # Deny direct access to WEB-INF and META-INF
> >     #
> >     <Location "/webdav/WEB-INF/*">
> >         AllowOverride None
> >         deny from all
> >     </Location>
> > 
> >     <Location "/webdav/META-INF/*">
> >         AllowOverride None
> >         deny from all
> >     </Location>
> > 
> >     JkMount /webdav/*.jsp  ajp13
> > 
> >     #################### kennetwww:/examples ####################
> > 
> >     # Static files 
> >     Alias /examples "/usr/share/tomcat4/webapps/examples"
> > 
> >     <Directory "/usr/share/tomcat4/webapps/examples">
> >         Options Indexes FollowSymLinks
> >         DirectoryIndex index.html index.htm index.jsp 
> >     </Directory>
> > 
> > 
> >     # Deny direct access to WEB-INF and META-INF
> >     #
> >     <Location "/examples/WEB-INF/*">
> >         AllowOverride None
> >         deny from all
> >     </Location>
> > 
> >     <Location "/examples/META-INF/*">
> >         AllowOverride None
> >         deny from all
> >     </Location>
> > 
> >     JkMount /examples/jsp/security/protected/j_security_check  ajp13
> >     JkMount /examples/snoop  ajp13
> >     JkMount /examples/servlet/*  ajp13
> >     JkMount /examples/CompressionTest  ajp13
> >     JkMount /examples/*.jsp  ajp13
> >     JkMount /examples/servletToJsp  ajp13
> >     JkMount /examples/SendMailServlet  ajp13
> > 
> >     #################### kennetwww:/tomcat-docs ####################
> > 
> >     # Static files 
> >     Alias /tomcat-docs "/var/lib/tomcat4/webapps/tomcat-docs"
> > 
> >     <Directory "/var/lib/tomcat4/webapps/tomcat-docs">
> >         Options Indexes FollowSymLinks
> >         DirectoryIndex index.html index.htm index.jsp 
> >     </Directory>
> > 
> > 
> >     # Deny direct access to WEB-INF and META-INF
> >     #
> >     <Location "/tomcat-docs/WEB-INF/*">
> >         AllowOverride None
> >         deny from all
> >     </Location>
> > 
> >     <Location "/tomcat-docs/META-INF/*">
> >         AllowOverride None
> >         deny from all
> >     </Location>
> > 
> >     JkMount /tomcat-docs/*.jsp  ajp13
> > </VirtualHost>
> > 
> > 
> > Other Logging Output:
> > Dec  1 01:52:33 kennet su(pam_unix)[6355]: session opened for user
> > tomcat4 by tom(uid=0)
> > Dec  1 01:52:33 kennet su: Using CATALINA_BASE:   /usr/share/tomcat4
> > Dec  1 01:52:33 kennet su: Using CATALINA_HOME:   /usr/share/tomcat4
> > Dec  1 01:52:33 kennet su: Using CATALINA_TMPDIR:
> > /usr/share/tomcat4/temp
> > 
> > ==> tomcat4/catalina.out <==
> > StandardEngine[null]: setJvmRoute=ajp13
> > 
> > ==> messages <==
> > Dec  1 01:52:33 kennet su: Using JAVA_HOME:       /usr/lib/jvm/java
> > Dec  1 01:52:33 kennet su(pam_unix)[6355]: session closed for user
> > tomcat4
> > Dec  1 01:52:33 kennet tomcat4: dtomcat4 startup succeeded
> > 
> > ==> tomcat4/catalina.out <==
> > 01-Dec-2004 01:52:34 org.apache.coyote.http11.Http11Protocol init
> > INFO: Initializing Coyote HTTP/1.1 on port 8080
> > Starting service Tomcat-Standalone
> > Apache Tomcat/4.1
> > 
> > ==> tomcat4/kennetwww_examples_log.2004-12-01.txt <==
> > 2004-12-01 01:52:35 StandardContext[/examples]: Starting
> > 2004-12-01 01:52:35 StandardContext[/examples]: Processing start(),
> > current available=false
> > 2004-12-01 01:52:35 StandardContext[/examples]: Configuring default
> > Resources
> > 2004-12-01 01:52:35 StandardContext[/examples]: Configuring
> > non-privileged default Loader
> > 2004-12-01 01:52:35 StandardContext[/examples]: Configuring default
> > Manager
> > 2004-12-01 01:52:35 StandardContext[/examples]: Processing standard
> > container startup
> > 2004-12-01 01:52:35 WebappLoader[/examples]: Deploying class
> > repositories to work directory
> > /usr/share/tomcat4/work/Standalone/kennetwww/examples
> > 2004-12-01 01:52:35 WebappLoader[/examples]: Deploy class files
> > /WEB-INF/classes to /usr/share/tomcat4/webapps/examples/WEB-INF/classes
> > 2004-12-01 01:52:35 WebappLoader[/examples]: Reloading checks are
> > enabled for this Context
> > 2004-12-01 01:52:35 ContextConfig[/examples]: ContextConfig: Processing
> > START
> > 2004-12-01 01:52:35 StandardContext[/examples]: Setting deployment
> > descriptor public ID to '-//Sun Microsystems, Inc.//DTD Web Application
> > 2.3//EN'
> > 2004-12-01 01:52:35 StandardContext[/examples]: Setting deployment
> > descriptor public ID to '-//Sun Microsystems, Inc.//DTD Web Application
> > 2.3//EN'
> > 2004-12-01 01:52:35 ContextConfig[/examples]:  Accumulating TLD resource
> > paths
> > 2004-12-01 01:52:35 ContextConfig[/examples]:   Scanning <taglib>
> > elements in web.xml
> > 2004-12-01 01:52:35 ContextConfig[/examples]:    Adding path
> > '/WEB-INF/jsp/debug-taglib.tld' for URI
> > 'http://jakarta.apache.org/tomcat/debug-taglib'
> > 2004-12-01 01:52:35 ContextConfig[/examples]:    Adding path
> > '/WEB-INF/jsp/example-taglib.tld' for URI
> > 'http://jakarta.apache.org/tomcat/examples-taglib'
> > 2004-12-01 01:52:35 ContextConfig[/examples]:   Scanning TLDs in
> > /WEB-INF subdirectory
> > 2004-12-01 01:52:35 ContextConfig[/examples]:   Scanning JARs in
> > /WEB-INF/lib subdirectory
> > 2004-12-01 01:52:35 ContextConfig[/examples]:  Scanning TLD at resource
> > path '/WEB-INF/jsp/debug-taglib.tld'
> > 2004-12-01 01:52:35 ContextConfig[/examples]:  Scanning TLD at resource
> > path '/WEB-INF/jsp/example-taglib.tld'
> > 2004-12-01 01:52:35 Authenticator[/examples]: No SingleSignOn Valve is
> > present
> > 2004-12-01 01:52:35 ContextConfig[/examples]: Configured an
> > authenticator for method FORM
> > 2004-12-01 01:52:35 ContextConfig[/examples]: Pipline Configuration:
> > 2004-12-01 01:52:35 ContextConfig[/examples]:  
> > org.apache.catalina.authenticator.FormAuthenticator/1.0
> > 2004-12-01 01:52:35 ContextConfig[/examples]:  
> > org.apache.catalina.core.StandardContextValve/1.0
> > 2004-12-01 01:52:35 ContextConfig[/examples]: ======================
> > 2004-12-01 01:52:35
> > NamingContextListener[/Standalone/kennetwww/examples]: Creating JNDI
> > naming context
> > 2004-12-01 01:52:35
> > NamingContextListener[/Standalone/kennetwww/examples]:   Resource
> > parameters for linkToGlobalResource = null
> > 2004-12-01 01:52:35
> > NamingContextListener[/Standalone/kennetwww/examples]:   Adding resource
> > link linkToGlobalResource
> > 2004-12-01 01:52:35
> > NamingContextListener[/Standalone/kennetwww/examples]:   Resource
> > parameters for jdbc/EmployeeAppDb =
> > ResourceParams[name=jdbc/EmployeeAppDb,
> > parameters={url=jdbc:HypersonicSQL:database, password=,
> > driverClassName=org.hsql.jdbcDriver, username=sa}]
> > 2004-12-01 01:52:35
> > NamingContextListener[/Standalone/kennetwww/examples]:   Adding resource
> > ref jdbc/EmployeeAppDb
> > 2004-12-01 01:52:35
> > NamingContextListener[/Standalone/kennetwww/examples]:  
> > ResourceRef[className=javax.sql.DataSource,factoryClassLocation=null,factoryClassName=org.apache.naming.factory.ResourceFactory,{type=scope,content=Shareable},{type=auth,content=SERVLET},{type=url,content=jdbc:HypersonicSQL:database},{type=password,content=},{type=driverClassName,content=org.hsql.jdbcDriver},{type=username,content=sa}]
> > 2004-12-01 01:52:35
> > NamingContextListener[/Standalone/kennetwww/examples]:   Resource
> > parameters for mail/Session = ResourceParams[name=mail/Session,
> > parameters={mail.smtp.host=localhost}]
> > 2004-12-01 01:52:35
> > NamingContextListener[/Standalone/kennetwww/examples]:   Adding resource
> > ref mail/Session
> > 2004-12-01 01:52:35
> > NamingContextListener[/Standalone/kennetwww/examples]:  
> > ResourceRef[className=javax.mail.Session,factoryClassLocation=null,factoryClassName=org.apache.naming.factory.ResourceFactory,{type=scope,content=Shareable},{type=auth,content=Container},{type=mail.smtp.host,content=localhost}]
> > 2004-12-01 01:52:35
> > NamingContextListener[/Standalone/kennetwww/examples]:   Adding
> > environment entry foo/name4
> > 2004-12-01 01:52:35
> > NamingContextListener[/Standalone/kennetwww/examples]:   Adding
> > environment entry maxExemptions
> > 2004-12-01 01:52:35
> > NamingContextListener[/Standalone/kennetwww/examples]:   Adding
> > environment entry minExemptions
> > 2004-12-01 01:52:35
> > NamingContextListener[/Standalone/kennetwww/examples]:   Adding
> > environment entry foo/bar/name2
> > 2004-12-01 01:52:35
> > NamingContextListener[/Standalone/kennetwww/examples]:   Adding
> > environment entry name3
> > 2004-12-01 01:52:35
> > NamingContextListener[/Standalone/kennetwww/examples]:   Adding
> > environment entry foo/name1
> > 2004-12-01 01:52:35
> > NamingContextListener[/Standalone/kennetwww/examples]:   Resource
> > parameters for ejb/EmplRecord = null
> > 2004-12-01 01:52:35
> > NamingContextListener[/Standalone/kennetwww/examples]:   Resource
> > parameters for ejb/Account = null
> > 2004-12-01 01:52:35
> > NamingContextListener[/Standalone/kennetwww/examples]:   Resource
> > parameters for UserTransaction = null
> > 2004-12-01 01:52:35 StandardManager[/examples]: Seeding random number
> > generator class java.security.SecureRandom
> > 2004-12-01 01:52:35 StandardManager[/examples]: Seeding of random number
> > generator has been completed
> > 2004-12-01 01:52:35 StandardContext[/examples]: Posting standard context
> > attributes
> > 2004-12-01 01:52:35 StandardContext[/examples]: Configuring application
> > event listeners
> > 2004-12-01 01:52:35 StandardContext[/examples]:  Configuring event
> > listener class 'listeners.ContextListener'
> > 2004-12-01 01:52:35 StandardContext[/examples]:  Configuring event
> > listener class 'listeners.SessionListener'
> > 2004-12-01 01:52:35 StandardContext[/examples]: Sending application
> > start events
> > 2004-12-01 01:52:35 ContextListener: contextInitialized()
> > 2004-12-01 01:52:35 SessionListener: contextInitialized()
> > 2004-12-01 01:52:35 StandardContext[/examples]: Starting filters
> > 2004-12-01 01:52:35 StandardContext[/examples]:  Starting filter
> > 'Servlet Mapped Filter'
> > 2004-12-01 01:52:35 StandardContext[/examples]:  Starting filter
> > 'Compression Filter'
> > 2004-12-01 01:52:35 StandardContext[/examples]:  Starting filter 'Set
> > Character Encoding'
> > 2004-12-01 01:52:35 StandardContext[/examples]:  Starting filter 'Path
> > Mapped Filter'
> > 2004-12-01 01:52:35 StandardContext[/examples]:  Starting filter
> > 'Request Dumper Filter'
> > 2004-12-01 01:52:35 StandardWrapper[/examples:default]: Loading
> > container servlet default
> > 2004-12-01 01:52:35 default: init
> > 2004-12-01 01:52:35 default: DefaultServlet.init:  input buffer
> > size=2048, output buffer size=2048
> > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> > file=index.html
> > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> > file=index.htm
> > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> > file=index.jsp
> > 2004-12-01 01:52:35 StandardWrapper[/examples:invoker]: Loading
> > container servlet invoker
> > 2004-12-01 01:52:35 invoker: init
> > 2004-12-01 01:52:35 invoker: init: Associated with Context '/examples'
> > 2004-12-01 01:52:35 jsp: init
> > 2004-12-01 01:52:35 StandardContext[/examples]: Starting completed
> > 
> > ==> tomcat4/kennetwww_log.2004-12-01.txt <==
> > 2004-12-01 01:52:35 HostConfig[kennetwww]: HostConfig: Processing START
> > 2004-12-01 01:52:35 HostConfig[kennetwww]: Deploying discovered web
> > applications
> > 2004-12-01 01:52:35 HostConfig[kennetwww]: Deploying web application
> > directory ROOT
> > 2004-12-01 01:52:35 StandardHost[kennetwww]: Installing web application
> > at context path  from URL file:/var/lib/tomcat4/webapps/ROOT
> > 2004-12-01 01:52:35 WebappLoader[]: Deploying class repositories to work
> > directory /usr/share/tomcat4/work/Standalone/kennetwww/_
> > 
> > ==> tomcat4/catalina.out <==
> > 01-Dec-2004 01:52:35 org.apache.coyote.http11.Http11Protocol start
> > INFO: Starting Coyote HTTP/1.1 on port 8080
> > 01-Dec-2004 01:52:35 org.apache.jk.common.ChannelSocket init
> > INFO: JK2: ajp13 listening on /0.0.0.0:8009
> > 01-Dec-2004 01:52:35 org.apache.jk.server.JkMain start
> > INFO: Jk running ID=0 time=0/23  config=null
> > 
> > ==> tomcat4/catalina_log.2004-12-01.txt <==
> > 2004-12-01 01:52:35 EngineConfig: EngineConfig: Processing START
> > 
> > ==> tomcat4/kennetwww_log.2004-12-01.txt <==
> > 2004-12-01 01:52:35 StandardManager[]: Seeding random number generator
> > class java.security.SecureRandom
> > 2004-12-01 01:52:35 StandardManager[]: Seeding of random number
> > generator has been completed
> > 2004-12-01 01:52:35 StandardWrapper[:default]: Loading container servlet
> > default
> > 2004-12-01 01:52:35 default: init
> > 2004-12-01 01:52:35 default: DefaultServlet.init:  input buffer
> > size=2048, output buffer size=2048
> > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> > file=index.html
> > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> > file=index.htm
> > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> > file=index.jsp
> > 2004-12-01 01:52:35 StandardWrapper[:invoker]: Loading container servlet
> > invoker
> > 2004-12-01 01:52:35 invoker: init
> > 2004-12-01 01:52:35 invoker: init: Associated with Context ''
> > 2004-12-01 01:52:35 jsp: init
> > 2004-12-01 01:52:35 HostConfig[kennetwww]: Deploying web application
> > directory tomcat-docs
> > 2004-12-01 01:52:35 StandardHost[kennetwww]: Installing web application
> > at context path /tomcat-docs from URL
> > file:/var/lib/tomcat4/webapps/tomcat-docs
> > 2004-12-01 01:52:35 WebappLoader[/tomcat-docs]: Deploying class
> > repositories to work directory
> > /usr/share/tomcat4/work/Standalone/kennetwww/tomcat-docs
> > 2004-12-01 01:52:35 StandardManager[/tomcat-docs]: Seeding random number
> > generator class java.security.SecureRandom
> > 2004-12-01 01:52:35 StandardManager[/tomcat-docs]: Seeding of random
> > number generator has been completed
> > 2004-12-01 01:52:35 StandardWrapper[/tomcat-docs:default]: Loading
> > container servlet default
> > 2004-12-01 01:52:35 default: init
> > 2004-12-01 01:52:35 default: DefaultServlet.init:  input buffer
> > size=2048, output buffer size=2048
> > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> > file=index.html
> > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> > file=index.htm
> > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> > file=index.jsp
> > 2004-12-01 01:52:35 StandardWrapper[/tomcat-docs:invoker]: Loading
> > container servlet invoker
> > 2004-12-01 01:52:35 invoker: init
> > 2004-12-01 01:52:35 invoker: init: Associated with Context
> > '/tomcat-docs'
> > 2004-12-01 01:52:35 jsp: init
> > 2004-12-01 01:52:35 HostConfig[kennetwww]: Deploying web application
> > directory webdav
> > 2004-12-01 01:52:35 StandardHost[kennetwww]: Installing web application
> > at context path /webdav from URL file:/var/lib/tomcat4/webapps/webdav
> > 2004-12-01 01:52:35 WebappLoader[/webdav]: Deploying class repositories
> > to work directory /usr/share/tomcat4/work/Standalone/kennetwww/webdav
> > 2004-12-01 01:52:35 StandardManager[/webdav]: Seeding random number
> > generator class java.security.SecureRandom
> > 2004-12-01 01:52:35 StandardManager[/webdav]: Seeding of random number
> > generator has been completed
> > 2004-12-01 01:52:35 StandardWrapper[/webdav:default]: Loading container
> > servlet default
> > 2004-12-01 01:52:35 default: init
> > 2004-12-01 01:52:35 default: DefaultServlet.init:  input buffer
> > size=2048, output buffer size=2048
> > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> > file=index.jsp
> > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> > file=index.html
> > 2004-12-01 01:52:35 default: DefaultServlet.init:  welcome
> > file=index.htm
> > 2004-12-01 01:52:35 StandardWrapper[/webdav:invoker]: Loading container
> > servlet invoker
> > 2004-12-01 01:52:35 invoker: init
> > 2004-12-01 01:52:35 invoker: init: Associated with Context '/webdav'
> > 2004-12-01 01:52:35 jsp: init
> > 2004-12-01 01:52:35 HostConfig[kennetwww]:  Starting background thread
> > 2004-12-01 01:52:35 HostConfig[kennetwww]: BACKGROUND THREAD Starting
> > 
> > ==> httpd/access_log <==
> > 192.168.1.23 - - [01/Dec/2004:01:52:47 +0000] "GET / HTTP/1.0" 200 1988
> > "-" "Lynx/2.8.5dev.7 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.7a"
> > 
> > ==> tomcat4/mod_jk.log <==
> > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (486)]: Into
> > jk_uri_worker_map_t::map_uri_to_worker
> > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> > map URI '/'
> > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (618)]:
> > jk_uri_worker_map_t::map_uri_to_worker, done without a match
> > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (486)]: Into
> > jk_uri_worker_map_t::map_uri_to_worker
> > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> > map URI '/'
> > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (618)]:
> > jk_uri_worker_map_t::map_uri_to_worker, done without a match
> > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (486)]: Into
> > jk_uri_worker_map_t::map_uri_to_worker
> > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> > map URI '/index.php'
> > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (618)]:
> > jk_uri_worker_map_t::map_uri_to_worker, done without a match
> > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (486)]: Into
> > jk_uri_worker_map_t::map_uri_to_worker
> > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> > map URI '/index.php'
> > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (618)]:
> > jk_uri_worker_map_t::map_uri_to_worker, done without a match
> > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (486)]: Into
> > jk_uri_worker_map_t::map_uri_to_worker
> > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> > map URI '/index.html'
> > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (618)]:
> > jk_uri_worker_map_t::map_uri_to_worker, done without a match
> > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (486)]: Into
> > jk_uri_worker_map_t::map_uri_to_worker
> > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (500)]: Attempting to
> > map URI '/index.html'
> > [Wed Dec 01 01:52:47 2004]  [jk_uri_worker_map.c (618)]:
> > jk_uri_worker_map_t::map_uri_to_worker, done without a match
> > 
> > ==> tomcat4/kennetwww_log.2004-12-01.txt <==
> > 2004-12-01 01:52:50 HostConfig[kennetwww]: Deploying discovered web
> > applications
> > 2004-12-01 01:53:05 HostConfig[kennetwww]: Deploying discovered web
> > applications


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org