Hi,

That's right. How to do this is described in detail in the documentation 
I've mentioned before.


regards,

Kenneth Westelinck

>From: "Rafal Maczewski" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: Re: IOException in server
>Date: Mon, 26 Mar 2001 11:41:30 +0200
>
>Hi,
>
>Maybe you have apache compiled without DSO (Dynamic Shared Object) support.
>In such case you are not able to load the modules dynamically using
>LoadModule directive.
>Try running the
>httpd -l
>this should show you the list of compiled-in modules. If you have
>mod_jserv.c in the list than you just have to remove the LoadModule from 
>the
>tomcat-apache.conf and your apache should start.
>If you don't have mod_jserv.c compiled in then you have to recompile apache
>and either include DSO support or compile mod_jserv.c statically.
>Having the mod_jserv.c compiled statically is somewhat annoying because you
>have to remove the LoadModule directive every time you restart tomcat.
>
>Hope this helps,
>
>Rafal
>
>
>----- Original Message -----
>From: "Tonny Liu" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Monday, March 26, 2001 11:31 AM
>Subject: Re: IOException in server
>
>
> > Hi,I'm really confused :(
> > I've done what you told me and read the documents carefully, but I can't
>get out of it.
> > It looks like that apache can't execute "LoadMoudle", but what cause it?
> > I'm not clear about this error:
> > Invalid command 'LoadModule', perhaps mis-spelled or defined by a module
>not included in the server configuration
> >
> > I'm trying, and I posted this problem here, hoping your help at your
>convenience.
> >
> > Regards,
> >
> > Tonny.
> >
> > ----- Original Message -----
> > From: "Kenneth Westelinck" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Monday, March 26, 2001 3:56 PM
> > Subject: Re: IOException in server
> >
> >
> > > 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.
> > > >
>
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Reply via email to