Hi,
mod_jserv.so is an old module to link apache with Tomcat. You should copy
this to your libexec directory (as you already did). Next you should start
Tomcat and check if the tomcat-apache.conf is created in
/usr/local/jakarta-tomcat/conf . Now check the contents of this file. Near
the beginning you should find something like:
LoadModule jserv_module libexec/mod_jserv.so . Next include this file in
Apache's httpd.conf and start Apache.
Please note that the tomcat-apache.conf file is auto-generated. If you
change something in it the changes are lost during the next restart of
Tomcat.
For more information
- about Apache: see included manuals
- about mod_jserv: http://java.apache.org/jserv/install/howto.servlets.html
- about tomcat: see included documentation
regards,
Kenneth Westelinck
>From: "Tonny Liu" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: Re: IOException in server
>Date: Mon, 26 Mar 2001 15:18:21 +0800
>
>Thank you, Kenneth Westelinck .
>
>Please help me with another problem: I included tomcat.conf in
>httpd.conf,but I can't start apache for the following error:
>************
>Syntax error on line 1 of
>/usr/local/jakarta-tomcat/conf/tomcat-apache.conf:
>Invalid command 'LoadModule', perhaps mis-spelled or defined by a module
>not included in the server configuration
>../bin/apachectl restart: httpd could not be started
>******************
>
>I've got a version of mod_jserv.so and copied it in
>/usr/local/apache/libexec/. can you tell me why?
>
>Thanks very much!
>
>Regards,
>
>Tonny.
>
>----- Original Message -----
>From: "Kenneth Westelinck" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Monday, March 26, 2001 1:46 PM
>Subject: Re: IOException in server
>
>
> > Hi,
> >
> > I don't think you should connect to port 8007 (8007 is for AJP12
>connector).
> > The actual webserver is running on port 8080, or whatever is configured
>in
> > server.xml . So if you browse to : http://localhost:8080/ you should see
> > some nice stuff.
> >
> >
> > regards,
> >
> > Kenneth Westelinck
> >
> >
> > >From: "Tonny Liu" <[EMAIL PROTECTED]>
> > >Reply-To: [EMAIL PROTECTED]
> > >To: <[EMAIL PROTECTED]>
> > >Subject: IOException in server
> > >Date: Mon, 26 Mar 2001 13:45:28 +0800
> > >
> > >Hi,I encountered a problem,it seems curious to me.
> > >I installed tomcat in Redhat6.2, and started it , I can see it
>listening on
> > >port 8007,but when I tried to connect it from a browser:
> > >http://localhost:8007, I can't get anyting, but In server, it gave the
> > >following error:
> > >************************BEGIN
>ERROR*************************************
> > >HANDLER THREAD PROBLEM: java.io.IOException: Stream broken
> > >java.io.IOException: Stream broken
> > > at
> >
>
>>org.apache.tomcat.service.connector.AJP12RequestAdapter.readNextRequest(Ajp12ConnectionHandler.java:386)
> > > at
> >
>
>>org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:134)
> > > at
> >
> >org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
> > > at java.lang.Thread.run(Thread.java:475)
> > >************************END
>ERROR***************************************
> > >
> > >
> > >
> > >
> >
> >
>_________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at
>http://www.hotmail.com.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.