tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: mod_jk, missing uri map
Date Wed, 02 Sep 2009 18:28:57 GMT
... or try JkMountCopy All

On 13.08.2009 09:28, bazzaP wrote:
> 
> I came across the same error in my mod_jk.log file. It turned out not to be a
> problem with my mod_jk configuration though...I had set the
> transport-guarantee in web.xml to CONFIDENTIAL, but forgotten to configure
> the server certificate. I noticed you are also callling https:// . When I
> changed my transport-guarantee to NONE, it worked. So try doing the same, or
> check your SSL settings in apache?
> 
> 
> Diego Figueroa wrote:
>>
>> Hi,
>>
>> I'm having issues using mod_jk 1.2.28 with Tomcat 6.0.18 and Apache 2.2. 
>> Whenever I call one of the mount points defined on my apache2.conf file I 
>> get the same message in the log file (below). I am including what I 
>> believe are the relevant portions of my config files. Thanks!
>>
>> I call the URL:
>>
>> https://localhost/ceo/servlet/ceo
>>
>> My mod_jk.log shows:
>>
>> [Thu Jun 11 11:34:58 2009] [10331:3075028768] [debug] 
>> jk_child_init::mod_jk.c (3068): Initialized mod_jk/1.2.28
>> [Thu Jun 11 11:35:07 2009] [10075:3075028768] [debug] 
>> jk_translate::mod_jk.c (3419): missing uri map for 
>> localhost:/ceo/servlet/ceo
>> [Thu Jun 11 11:35:07 2009] [10075:3075028768] [debug] 
>> jk_map_to_storage::mod_jk.c (3579): missing uri map for 
>> localhost:/ceo/servlet/ceo
>>
>> My apache2.conf has:
>>
>> --- apache2.conf ---
>> LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so
>> JkWorkersFile /etc/apache2/workers.properties
>> JkLogFile /var/log/apache2/mod_jk.log
>> JkLogLevel debug
>> JkShmFile /var/log/apache2/jk.shm
>> JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
>> JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
>> JkRequestLogFormat "%w %V %T"
>> JkMount /ceo/* ajp13
>> --- apache2.conf ---
>>
>> My worker.properties file:
>>
>> --- workers.properties ---
>> workers.tomcat_home=/home/dfiguero/testbed/apache-tomcat-6.0.18
>> workers.java_home=/usr/lib/jvm/java-6-sun
>> ps=/
>>
>> worker.list=ajp13,jkstatus
>>
>> # defaults
>> worker.ajp13.port=8009
>> worker.ajp13.host=localhost
>> worker.ajp13.type=ajp13
>> worker.ajp13.lbfactor=1
>> worker.ajp13.socket_keepalive=true
>> worker.ajp13.connect_timeout=60000
>>
>> # status
>> worker.jkstatus.type=status
>> --- workers.properties ---
>>
>> Finally my server.xml file has (shared among several instances):
>>
>> --- server.xml ---
>> <?xml version='1.0' encoding='utf-8'?>
>> <Server port="${shutdown.port}" shutdown="SHUTDOWN">
>>
>>   <Listener className="org.apache.catalina.core.AprLifecycleListener" 
>> SSLEngine="on" />
>>   <Listener className="org.apache.catalina.core.JasperListener" />
>>   <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" 
>> />
>>   <Listener 
>> className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
>>
>>
>>   <GlobalNamingResources>
>>     <Resource name="UserDatabase" auth="Container"
>>               type="org.apache.catalina.UserDatabase"
>>               description="User database that can be updated and saved" 
>> factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
>>               pathname="${catalina.base}/../shared/conf/tomcat-users.xml" 
>> />
>>   </GlobalNamingResources>
>>
>>   <Service name="Catalina">
>>  
>>     <Connector port="${http.port}" protocol="HTTP/1.1" 
>>                connectionTimeout="60000" enableLookups="true"
>>                redirectPort="8443" />
>>
>>     <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" 
>> enableLookups="true" />
>>
>>     <Engine name="Catalina" defaultHost="localhost">
>>
>>       <Realm className="org.apache.catalina.realm.UserDatabaseRealm" 
>> resourceName="UserDatabase"/>
>>
>>       <Host name="localhost"  appBase="webapps"
>>             unpackWARs="true" autoDeploy="true"
>>             xmlValidation="false" xmlNamespaceAware="false">
>>       </Host>
>>     </Engine>
>>   </Service>
>> </Server>
>> --- server.xml ---

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


Mime
View raw message