httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbashir <jos...@ufnasoft.com>
Subject Re: [users@httpd] Integrating Apache and Tomcat via mod_jk
Date Sat, 02 Sep 2006 13:59:19 GMT

A little explanation of the problem:
I have the tomcat running on one computer with ip 192.168.0.130 and
apache running on another computer with ip 192.168.0.21

In the server.xml I have included these two lines:
<Listener className="org.apache.jk.config.ApacheConfig"
modJk="http://192.168.0.21/modules/mod_jk.dll" /> AND
<Listener 	className="org.apache.jk.config.ApacheConfig" append="true"
forwardAll="false" modJk="http://192.168.0.21/modules/mod_jk.dll" />

This creates two new folder $TOMCAT_HOME\conf\auto\ AND
$TOMCAT_HOME\conf\jk\.

The Apache is installed on 192.168.0.21. In the $APACHE_HOME\conf\httpd.conf
file I have to include the line:
Include http://192.168.0.130:8080/conf/auto/mod_jk.conf, to tell apache
where mod_jk.conf is. When I start apache it gives the error:

[error] Access to config file c:/program files/apache
 group/apache/http://192.168.0.130:8080/conf/auto/mod_jk.conf denied: not a
valid filename
fopen: Permission denied
apache: could not open document config file c:/program files/apache
group/apache/http://192.168.0.130:8080/conf/auto/mod_jk.conf

If this line:
Include http://192.168.0.130:8080/conf/auto/mod_jk.conf
does not accept the url (it accepts only a directory), then what should I
do?



Serge Dubrouski wrote:
> 
> I think yes. Why not? You can specify "address" on which Tomcat will
> be listeningg in the server.xml and then set the same port in the
> workers.properties.
> 
> On 9/2/06, jbashir <joseph@ufnasoft.com> wrote:
>>
>> Is it possible to integrate Apache and Tomcat via mod_jk on remote
>> computers.
>> I mean Apache is on one computer and Tomcat is installed on another
>> computers? Any idea??
>> --
>> View this message in context:
>> http://www.nabble.com/Integrating-Apache-and-Tomcat-via-mod_jk-tf2207087.html#a6112723
>> Sent from the Apache HTTP Server - Users forum at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server
>> Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Integrating-Apache-and-Tomcat-via-mod_jk-tf2207087.html#a6112937
Sent from the Apache HTTP Server - Users forum at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message