Flightbase
24.05.03, 14:08
Moinsen!
Ein arbeitskollege von mir hat folgendes problem... ich bin mal so frei das in englisch zu posten. wenns jemand nicht verstehen sollte, dann übedrsetz ich es zur not.:
################################################## #######################################
i am trying to integrate apache and tomcat in linux with mod_webapp.so. in my linux system i have 2 network cards and 2 separate IP address
123.456.789.1 and 987.654.321.1
i installed everything and also i added following lines in httpd.conf
Servername 123.456.789.1
LoadModule webapp_module modules/mod_webapp.so
AddModule mod_webapp.c
And the end of the file you must add these lines:
WebAppConnection connection warp 123.456.789.1:8008
WebAppDeploy examples connection /examples
WebAppDeploy testApplication connection /testApplication
>>after this i restarted tomcat and apache.
when i try to use a html page with http://123.456.789.1/testApplication/servlet/testServlet i am getting following error
mod_webapp(warp) error
unable to connect (-2) to host:123.456.789 port:8080
and when i see the apache error log file i am getting an error like the following
Cannot retrieve hostID for http://123.456.789.1:80
No RID(-1)
Invalid RID 256 excepted 0
and
in tomcat eroor log file the following message
Exception in Socket
java.net.SocketException: Broken Pipe
but without apache it is working fine(directly connection to tomcat)
when i try to use the same html page with http://123.456.789.1:8180/testApplication/servlet/testServlet i am getting the results.
thanks in advance
################################################## ######################
wie schon gesacht... danke im vorraus!
greets, Nik
Ein arbeitskollege von mir hat folgendes problem... ich bin mal so frei das in englisch zu posten. wenns jemand nicht verstehen sollte, dann übedrsetz ich es zur not.:
################################################## #######################################
i am trying to integrate apache and tomcat in linux with mod_webapp.so. in my linux system i have 2 network cards and 2 separate IP address
123.456.789.1 and 987.654.321.1
i installed everything and also i added following lines in httpd.conf
Servername 123.456.789.1
LoadModule webapp_module modules/mod_webapp.so
AddModule mod_webapp.c
And the end of the file you must add these lines:
WebAppConnection connection warp 123.456.789.1:8008
WebAppDeploy examples connection /examples
WebAppDeploy testApplication connection /testApplication
>>after this i restarted tomcat and apache.
when i try to use a html page with http://123.456.789.1/testApplication/servlet/testServlet i am getting following error
mod_webapp(warp) error
unable to connect (-2) to host:123.456.789 port:8080
and when i see the apache error log file i am getting an error like the following
Cannot retrieve hostID for http://123.456.789.1:80
No RID(-1)
Invalid RID 256 excepted 0
and
in tomcat eroor log file the following message
Exception in Socket
java.net.SocketException: Broken Pipe
but without apache it is working fine(directly connection to tomcat)
when i try to use the same html page with http://123.456.789.1:8180/testApplication/servlet/testServlet i am getting the results.
thanks in advance
################################################## ######################
wie schon gesacht... danke im vorraus!
greets, Nik