tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbashir <jos...@ufnasoft.com>
Subject Re: Problem in configuring tomcat and apache
Date Thu, 14 Sep 2006 15:54:59 GMT

The problem is not here <Listener
className="org.apache.jk.config.ApacheConfig"
modJk="/TOMCAT_HOME/mod_jk/mod_jk.so" />. 
modJk="/TOMCAT_HOME/mod_jk/mod_jk.so" just shows where the mod_jk.so is
located.

After restarting tomcat it should automatically create a folder 'auto' and
in that folder a file 'mod_jk.conf', as: /TOMCAT_HOME/conf/auto/mod_jk.conf.
Here instead of creating the folder and file it give the following runtime
exception:

Caused by: java.lang.RuntimeException: Unable to create path to  config
file: /usr/local/tomcat/apache-tomcat-5.5.15/conf/auto/mod_jk.conf.

Any idea?


Joseph



Peter Rossbach wrote:
> 
> Use ${catalina.base} instead.
> 
> Peter
> 
> 
> Am 14.09.2006 um 16:06 schrieb jbashir:
> 
>>
>> I am configuring tomcat and apache through mod_jk on Linux. In the  
>> server.xml
>> file in /TOMCAT_HOME/conf, I have added this line:
>>
>> <Listener className="org.apache.jk.config.ApacheConfig"
>> modJk="/TOMCAT_HOME/mod_jk/mod_jk.so" />
>>
>> And when I restart the tomcat, I get this error:
>>
>> Caused by: java.lang.RuntimeException: Unable to create path to  
>> config file
>> :
>> /usr/local/tomcat/apache-tomcat-5.5.15/conf/auto/mod_jk.conf
>>
>> What this error is and how it will be removed. Any suggestion?
>> -- 
>> View this message in context: http://www.nabble.com/Problem-in- 
>> configuring-tomcat-and-apache-tf2271859.html#a6306662
>> Sent from the Tomcat - User forum at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Problem-in-configuring-tomcat-and-apache-tf2271859.html#a6308900
Sent from the Tomcat - User forum at Nabble.com.


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


Mime
View raw message