Daniel,

I found it.  It took some looking around, but, the file is at
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/archives/v4.0.2-b2/src/w
ebapp-module-1.0.2-tc402-src.tar.gz
I just downloaded it, and it configured fine.  The make is now running.

Personally, I think the Jakarta project is setting itself up for problems.
The webapp component requires APR (Apache Portable Runtime) source to be
available at build time, but the only way to get APR source is via CVS.  The
latest official Tomcat connectors package (which includes webapp) includes
APR java files, but not the source.  Ugh.

If APR isn't far enough along to have formal versions, etc., I don't think
the rest of the project ought to be requiring its use, yet.

Mark Post

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 7:52 AM
To: [EMAIL PROTECTED]
Subject: mod_webapp.so?


I've been trying (unsuccessfully) to download the
webapp-module-1.0.2-tc402-src.tar.gz referred to in
http://www.marist.edu/htbin/wlvtype?LINUX-VM.25804 .  From a google
search it looks like they used to be in the various
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/ directories, but
they aren't there anymore.  I thought I'd try out cvs for the first
time, but it looks like it's not getting through our firewall.  Is
anyone aware of any working locations for
webapp-module-1.0.2-tc402-src.tar.gz?  Or somewhere I can find a s390
compiled mod_webapp.so?

RH 7.2 lpar
thanks,
Daniel

p.s. I tried the mod_webapp-0.5-dev.1.src.rpm which compiled fine, but
otherwise isn't working.

It used different commands than:
<IfModule mod_webapp.c>
WebAppConnection   conn       warp   tcsl:8008
WebAppDeploy       examples     conn   /examples
</IfModule>

after a bit after tomcat is up and i have a
[root@tcsl conf]# netstat -an |grep 8008
tcp        0      0 0.0.0.0:8008            0.0.0.0:*               LISTEN


[root@tcsl conf]# /sbin/service httpd start
Starting httpd: Syntax error on line 1525 of /etc/httpd/conf/httpd.conf:
Invalid command 'WebAppDeploy', perhaps mis-spelled or defined by a
module not included in the server configuration
[FAILED]

The default suggested by the rpm was:
    WebAppConnection warpConnection warp tcsl:8008
    WebAppMount examples warpConnection /examples/

Apache started, but /var/tomcat4/logs/apache_log.(date).txt quickly
filled up with various exceptions.
(Starts off several connections, then several errors about Invalid
packet with type 0, then moves on to java.io.IOException: Broken pipe
errors)

Going to /examples/ got me a HTTP 500 - Internal server error, and in
the tomcat apache log another attempt to connect, invalid packet type 0,
then a SocketException: Socket closed.

 From the /var/log/httpd/error_log side, I get 7 of these a few seconds
after apache is up (all with the same timestamp):
[Fri Jun  7 07:35:46 2002] [error] Cannot retrieve host ID for tcsl:80
INVALID RID got 256 expected 0

followed by a
[Fri Jun  7 07:35:46 2002] [error] Cannot retrieve host ID for tcsl:80
NO RID (-1)

Then when trying to access /examples/:
[Fri Jun  7 07:36:05 2002] [error] Cannot retrieve host ID for tcsl:80
[Fri Jun  7 07:36:05 2002] [error] Error handling
"http://tcsl:80/examples/": Unable to connect (-2) to Host: tcsl
(130.18.16.172) Port: 8008

Same problems if I use fqdn in tomcat's server.xml config and apache's
httpd.conf

Reply via email to