Dear list subscriber,
im now working on this since two weeks and i just can progress with it so i 
really need some urgent help on this issue
what i intent to do is to use tomcate behinde apache as a servlet container and 
i tried many howto out there on the web but none of them was  the right one for 
me :s
so i appologize for your help:
here is information about my System , Configs  and Logs tahnks in advance:

Yel
--------------------------------------------------------------------------------------------------------
My System :
/usr/share/tomcat/conf # uname -a
Linux suseleo 2.6.11.4-21.2-default #1 Thu Apr 21 09:37:56 UTC 2005 i686 i686 
i386 GNU/Linux
Suse 9.1

JRE:
/usr/share/tomcat/conf # java -version
java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)

SDK:
JAVA_HOME:       /opt/IBMJava2-142

Packages I'am using:
JK connector: apache2-jakarta-tomcat-connectors-5.0.19-13.i586.rpm
Tomcat Servlets Container: jakarta-tomcat-5.0.19-13.i586.rpm

My Configs:

Workers.properties:
-----------------------------------------------------------
workers.CATALINA_HOME=/usr/share/tomcat
workers.java_home=$(JAVA_HOME)
ps=/
worker.list=dom4
worker.dom4.type=ajp13
worker.dom4.host=localhost
worker.dom4.port=8009
worker.dom4.lbfactor=50
worker.dom4.cachesize=10
worker.dom4.cache_timeout=600
worker.dom4.socket_keepalive=1
worker.dom4.reclycle_timeout=300
------------------------------------------------------------

Jk2.properties:
------------------------------------------------------------
is empty i did uncomment nothing :
## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED
## WHEN YOU EDIT THE FILE.

## COMMENTS WILL BE _LOST_

## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.

# Set the desired handler list
# handler.list=apr,request,channelJni
#
# Override the default port for the socketChannel
# channelSocket.port=8019
# Default:
# channelUnix.file=${jkHome}/work/jk2.socket
# Just to check if the the config  is working
# shm.file=${jkHome}/work/jk2.shm

# In order to enable jni use any channelJni directive
# channelJni.disabled = 0
# And one of the following directives:

# apr.jniModeSo=/opt/apache2/modules/mod_jk2.so

# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
# apr.jniModeSo=inprocess
-----------------------------------------------------------

My mod_jk.conf (which i include in Apache2:
---------------------------------------------------------
# Load mod_jk module

# Update this path to match your modules location
        LoadModule    jk_module  /usr/lib/apache2/mod_jk.so

# Declare the module for <IfModule directive> (remove this line on Apache 2.x)
##apache2       AddModule     mod_jk.c
# Where to find workers.properties

# Update this path to match your conf directory location (put 
workers.properties next to httpd.conf)
        JkWorkersFile /usr/share/tomcat/conf/workers.properties

# Where to put jk logs
# Update this path to match your logs directory location (put mod_jk.log next 
to access_log)
        JkLogFile     /usr/share/tomcat/logs/mod_jk.log

# Set the jk log level [debug/error/info]
        JkLogLevel    debug

# Select the log format
        JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "

# JkOptions indicate to send SSL KEY SIZE,
        JkOptions     +ForwardKeySize +ForwardURICompat -ForwardDirectories

# JkRequestLogFormat set the request format
        JkRequestLogFormat     "%w %V %T"

# Send everything for context /examples to worker named worker1 (ajp13)
         JkMount  /examples/* dom4
---------------------------------------------------------------------------------

My Server.xml: (only list uncommented lines)
----------------------------------------------------------
<Server port="8005" shutdown="SHUTDOWN" debug="0">

<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>conf/tomcat-users.xml</value>
        </parameter>
        </ResourceParams>
</GlobalNamingResources>

<Service name="Catalina">

<!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -->
    <Connector port="8080"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               debug="0" connectionTimeout="20000"
               disableUploadTimeout="true" />
    <!-- Note : To disable connection timeouts, set connectionTimeout value
to 0 -->

<!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
<Connector port="8009"
          enableLookups="true" redirectPort="8443" debug="0"
          protocol="AJP/1.3" />
<!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
<!-- See proxy documentation for more information about using this. -->

<!-- Define the top level container in our container hierarchy -->
   <Engine name="Catalina" defaultHost="localhost" debug="0">

<!-- 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"/>

<Host name="localhost" debug="0" appBase="webapps"
       unpackWARs="true" autoDeploy="true"
       xmlValidation="false" xmlNamespaceAware="false">

<Logger className="org.apache.catalina.logger.FileLogger"
                 directory="logs"  prefix="localhost_log." suffix=".txt"
            timestamp="true"/>
------------------------------------------------------------------------------
and last but not least :)

my mod_jk.log
---------------------------------------------------------------
[Tue Aug 30 14:14:08 2005]  [jk_uri_worker_map.c (500)]: Attempting to map  URI 
'/examples'
[Tue Aug 30 14:14:08 2005]  [jk_uri_worker_map.c (618)]: 
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Tue Aug 30 14:14:08 2005]  [jk_uri_worker_map.c (486)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Tue Aug 30 14:14:08 2005]  [jk_uri_worker_map.c (500)]: Attempting to map  URI 
'/error/HTTP_NOT_FOUND.html.var'
[Tue Aug 30 14:14:08 2005]  [jk_uri_worker_map.c (618)]: 
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Tue Aug 30 14:14:08 2005]  [jk_uri_worker_map.c (486)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Tue Aug 30 14:14:08 2005]  [jk_uri_worker_map.c (500)]: Attempting to map  URI 
'/error/include/top.html'
[Tue Aug 30 14:14:08 2005]  [jk_uri_worker_map.c (618)]: 
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Tue Aug 30 14:14:08 2005]  [jk_uri_worker_map.c (486)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Tue Aug 30 14:14:08 2005]  [jk_uri_worker_map.c (500)]: Attempting to map  URI 
'/error/include/bottom.html'
[Tue Aug 30 14:14:08 2005]  [jk_uri_worker_map.c (618)]: 
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Tue Aug 30 14:14:08 2005]  [jk_uri_worker_map.c (486)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Tue Aug 30 14:14:08 2005]  [jk_uri_worker_map.c (500)]: Attempting to map  URI 
'/error/contact.html.var'
[Tue Aug 30 14:14:08 2005]  [jk_uri_worker_map.c (618)]: 
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Tue Aug 30 14:14:08 2005]  [jk_uri_worker_map.c (486)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Tue Aug 30 14:14:08 2005]  [jk_uri_worker_map.c (500)]: Attempting to map  URI 
'/favicon.ico'
[Tue Aug 30 14:14:08 2005]  [jk_uri_worker_map.c (618)]: 
jk_uri_worker_map_t::map_uri_to_worker, done without a match
------------------------------------------------------------------------------------
My Tomcat log (catalina.out) (end) i hope you still want to help me if you  
reach this part !
-----------------------------------------------------------------------------------
30.08.2005 14:16:44 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
30.08.2005 14:16:44 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 6793 ms
30.08.2005 14:16:45 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
30.08.2005 14:16:45 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.19
30.08.2005 14:16:45 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
30.08.2005 14:16:45 org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
30.08.2005 14:16:45 org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL 
file:/etc/tomcat/base/Catalina/localhost/manager.xml
30.08.2005 14:16:49 org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL 
file:/etc/tomcat/base/Catalina/localhost/admin.xml
30.08.2005 14:16:51 org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', 
returnNull=true
30.08.2005 14:16:51 org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', 
returnNull=true
30.08.2005 14:16:53 org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', 
returnNull=true
30.08.2005 14:17:01 org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL 
file:/etc/tomcat/base/Catalina/localhost/balancer.xml
30.08.2005 14:17:02 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
30.08.2005 14:17:03 org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
30.08.2005 14:17:03 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=2/57  config=/usr/share/tomcat/conf/jk2.properties
30.08.2005 14:17:03 org.apache.catalina.startup.Catalina start
INFO: Server startup in 18794 ms
-------------------------------------------------------------------------------------------------------
__________________________________________________
Verpassen Sie keine eBay-Auktion und bieten Sie bequem
und schnell über das Telefon mit http://www.telefonbieten.de

Ihre eMails auf dem Handy lesen - ohne Zeitverlust - 24h/Tag
eMail, FAX, SMS, VoiceMail mit http://www.directbox.com



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to