You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by jbashir <jo...@ufnasoft.com> on 2006/09/14 16:06:15 UTC

Problem in configuring tomcat and apache

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


Re: Problem in configuring tomcat and apache

Posted by jbashir <jo...@ufnasoft.com>.
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


Re: Problem in configuring tomcat and apache

Posted by Peter Rossbach <pr...@objektpark.de>.
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
>
>