Re: [users@httpd] Integrating Apache and Tomcat via mod_jk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
>>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>>
>>
> 
> ---------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
> 
> 

-- 
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux