Re: Getting mod_webapp - should I give up?

2002-08-15 Thread Adrian

The best way I`ve seen to do it is still http://pubbitch.org/jboss.html ,
I`ve built it on FreeBSD , Linux etc.
If you use the ./configure --with-apxs=/usr/local/apache2/bin/apxs it builds
just fine with make.
- Original Message -
From: "Murray Cumming" <[EMAIL PROTECTED]>
To: "Murray Cumming" <[EMAIL PROTECTED]>
Cc: "Tomcat-User" <[EMAIL PROTECTED]>
Sent: Thursday, August 15, 2002 5:03 AM
Subject: Getting mod_webapp - should I give up?


> So, nobody can help me to build mod_webapp, and there is no rpm of it to
> download. Does this just mean that it can't be built?
>
> I don't remember where I read that mod_webapp was the "correct" way to
> integrate Apache2 and Tomcat4. The documentation is a bit fragmented.
>
> Is mod_jk* the true way to do this? If so, could someone give me a URL
> to a definitive page that says this and how to get/build it?
>
> I just want to integrate Apache2 and tomcat4, not do anything special.
> About a year ago I did successfully integrate Apache1 and tomcat, but I
> haven't worked with tomcat since then.
>
> On Tue, 2002-08-13 at 17:20, Murray Cumming wrote:
> > OK, so if I had read README.txt properly then I would know that I need
> > to do a cvs checkout of apr into the webapp directory.
> >
> > It tells me to copy and modify a build.properties.sample file, but there
> > is no such file there, so I ignored that.
> >
> > As instructed, I then ran
> > support/buildConf.sh
> >
> > This creates a configure script, which I am tempted to run, but the next
> > step tells me to run ant. I did that, and I still this error:
> >
> > BUILD FAILED
> >
file:/home/murrayc/jakarta-tomcat-connectors-4.0.4-src/webapp/build.xml:105:
Cannot find Tomcat 4.0 classes
> >
> > So, how do I tell it where to find these tomcat classes? I have already
> > installed jakarta-tomcat-4 from here:
> > http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/rpms/
>
> --
> Murray Cumming
> [EMAIL PROTECTED]
> www.murrayc.com
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Getting mod_webapp - should I give up?

2002-08-15 Thread Murray Cumming

So, I'll forget about mod_webapp because no one knows how to build it
and the people who built it once say that it doesn't work well anyway.

So, I'll try mod_jk, though I'm concerned that it's marked as deprecated
in the apache bugzilla.

Now, I just need a URL of some instructions for building mod_jk, because
there are no binaries or rpms for mod_jk either, at least not for
Tomcat4. Note that I'm trying to use Apache2.

On Thu, 2002-08-15 at 10:16, John Burgess wrote:
> As far as I can see, mod_webapp was designed to be an easier to setup way of
> integrating apache and tomcat and it succeeds in this on windows for apache
> 1.3 and tomcat 4.0x.  However, it will serve all content from a directory
> you configure it for from tomcat whereas mod_jk* will leave html, jpg, gif
> etc to Apache.  The way round this is to have your pics and static pages in
> a different location that is served by Apache alone and referenced as
> /static/xxx or similar but this then loses the convenience of a single war
> file containing everything needed for the application (it can even include a
> mod_jk conf file which can help with mapping servlets without the need for
> the ugly /servlet/servlet_name of the auto-created jk conf filers of tomcat
> 3)
> 
> Worse than the above, I have found that large requests or frequent requests
> or just at random cause tomcat to give an error about the client terminating
> or some such and hang.  With mod_jk this doesn't happen (or with tomcat
> standalone).
> 
> Best Wishes
> John Burgess
> [EMAIL PROTECTED]
> Tel: 01865 718666 
> Fax: 01865 718600
> 
> 
> -Original Message-
> From: Murray Cumming [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 15, 2002 10:04 AM
> To: Murray Cumming
> Cc: Tomcat-User
> Subject: Getting mod_webapp - should I give up?
> 
> 
> So, nobody can help me to build mod_webapp, and there is no rpm of it to
> download. Does this just mean that it can't be built?
> 
> I don't remember where I read that mod_webapp was the "correct" way to
> integrate Apache2 and Tomcat4. The documentation is a bit fragmented.
> 
> Is mod_jk* the true way to do this? If so, could someone give me a URL
> to a definitive page that says this and how to get/build it?
> 
> I just want to integrate Apache2 and tomcat4, not do anything special.
> About a year ago I did successfully integrate Apache1 and tomcat, but I
> haven't worked with tomcat since then.
> 
> On Tue, 2002-08-13 at 17:20, Murray Cumming wrote:
> > OK, so if I had read README.txt properly then I would know that I need
> > to do a cvs checkout of apr into the webapp directory.
> > 
> > It tells me to copy and modify a build.properties.sample file, but there
> > is no such file there, so I ignored that.
> > 
> > As instructed, I then ran 
> > support/buildConf.sh
> > 
> > This creates a configure script, which I am tempted to run, but the next
> > step tells me to run ant. I did that, and I still this error:
> > 
> > BUILD FAILED
> >
> file:/home/murrayc/jakarta-tomcat-connectors-4.0.4-src/webapp/build.xml:105:
> Cannot find Tomcat 4.0 classes
> > 
> > So, how do I tell it where to find these tomcat classes? I have already
> > installed jakarta-tomcat-4 from here:
> > http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/rpms/
>  
> -- 
> Murray Cumming
> [EMAIL PROTECTED]
> www.murrayc.com
> 
> 
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.380 / Virus Database: 213 - Release Date: 24/07/02
>  
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.380 / Virus Database: 213 - Release Date: 24/07/02
>  
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 
> 
-- 
Murray Cumming
[EMAIL PROTECTED]
www.murrayc.com


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Getting mod_webapp - should I give up?

2002-08-15 Thread Stephan Orme

I had a very similar experience and came to the the same conclusion though I
was using Tomcat 4.04. This is why I've been trying to get CGI's under
Tomcat standalone to work, unfortunately I haven't been able to find out any
information on this anywhere. (And if YOU know something I'd appreciate
hearing of it! - see my earlier post titled: 'Do included CGI's work with
Tomcat' the problem seems to be that you Tomcat doesn't process included
CGI's)


> As far as I can see, mod_webapp was designed to be an easier to setup way of
> integrating apache and tomcat and it succeeds in this on windows for apache
> 1.3 and tomcat 4.0x.  However, it will serve all content from a directory
> you configure it for from tomcat whereas mod_jk* will leave html, jpg, gif
> etc to Apache.  The way round this is to have your pics and static pages in
> a different location that is served by Apache alone and referenced as
> /static/xxx or similar but this then loses the convenience of a single war
> file containing everything needed for the application (it can even include a
> mod_jk conf file which can help with mapping servlets without the need for
> the ugly /servlet/servlet_name of the auto-created jk conf filers of tomcat
> 3)
> 
> Worse than the above, I have found that large requests or frequent requests
> or just at random cause tomcat to give an error about the client terminating
> or some such and hang.  With mod_jk this doesn't happen (or with tomcat
> standalone).
> 

> 
> 
> So, nobody can help me to build mod_webapp, and there is no rpm of it to
> download. Does this just mean that it can't be built?
> 
> I don't remember where I read that mod_webapp was the "correct" way to
> integrate Apache2 and Tomcat4. The documentation is a bit fragmented.
> 
> Is mod_jk* the true way to do this? If so, could someone give me a URL
> to a definitive page that says this and how to get/build it?
> 
> I just want to integrate Apache2 and tomcat4, not do anything special.
> About a year ago I did successfully integrate Apache1 and tomcat, but I
> haven't worked with tomcat since then.
> 
> On Tue, 2002-08-13 at 17:20, Murray Cumming wrote:
>> OK, so if I had read README.txt properly then I would know that I need
>> to do a cvs checkout of apr into the webapp directory.
>> 
>> It tells me to copy and modify a build.properties.sample file, but there
>> is no such file there, so I ignored that.
>> 
>> As instructed, I then ran
>> support/buildConf.sh
>> 
>> This creates a configure script, which I am tempted to run, but the next
>> step tells me to run ant. I did that, and I still this error:
>> 
>> BUILD FAILED
>> 
> file:/home/murrayc/jakarta-tomcat-connectors-4.0.4-src/webapp/build.xml:105:
> Cannot find Tomcat 4.0 classes
>> 
>> So, how do I tell it where to find these tomcat classes? I have already
>> installed jakarta-tomcat-4 from here:
>> http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/rpms/
> 


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Getting mod_webapp - should I give up?

2002-08-15 Thread John Burgess

As far as I can see, mod_webapp was designed to be an easier to setup way of
integrating apache and tomcat and it succeeds in this on windows for apache
1.3 and tomcat 4.0x.  However, it will serve all content from a directory
you configure it for from tomcat whereas mod_jk* will leave html, jpg, gif
etc to Apache.  The way round this is to have your pics and static pages in
a different location that is served by Apache alone and referenced as
/static/xxx or similar but this then loses the convenience of a single war
file containing everything needed for the application (it can even include a
mod_jk conf file which can help with mapping servlets without the need for
the ugly /servlet/servlet_name of the auto-created jk conf filers of tomcat
3)

Worse than the above, I have found that large requests or frequent requests
or just at random cause tomcat to give an error about the client terminating
or some such and hang.  With mod_jk this doesn't happen (or with tomcat
standalone).

Best Wishes
John Burgess
[EMAIL PROTECTED]
Tel: 01865 718666 
Fax: 01865 718600


-Original Message-
From: Murray Cumming [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 10:04 AM
To: Murray Cumming
Cc: Tomcat-User
Subject: Getting mod_webapp - should I give up?


So, nobody can help me to build mod_webapp, and there is no rpm of it to
download. Does this just mean that it can't be built?

I don't remember where I read that mod_webapp was the "correct" way to
integrate Apache2 and Tomcat4. The documentation is a bit fragmented.

Is mod_jk* the true way to do this? If so, could someone give me a URL
to a definitive page that says this and how to get/build it?

I just want to integrate Apache2 and tomcat4, not do anything special.
About a year ago I did successfully integrate Apache1 and tomcat, but I
haven't worked with tomcat since then.

On Tue, 2002-08-13 at 17:20, Murray Cumming wrote:
> OK, so if I had read README.txt properly then I would know that I need
> to do a cvs checkout of apr into the webapp directory.
> 
> It tells me to copy and modify a build.properties.sample file, but there
> is no such file there, so I ignored that.
> 
> As instructed, I then ran 
> support/buildConf.sh
> 
> This creates a configure script, which I am tempted to run, but the next
> step tells me to run ant. I did that, and I still this error:
> 
> BUILD FAILED
>
file:/home/murrayc/jakarta-tomcat-connectors-4.0.4-src/webapp/build.xml:105:
Cannot find Tomcat 4.0 classes
> 
> So, how do I tell it where to find these tomcat classes? I have already
> installed jakarta-tomcat-4 from here:
> http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/rpms/
 
-- 
Murray Cumming
[EMAIL PROTECTED]
www.murrayc.com


--
To unsubscribe, e-mail:

For additional commands, e-mail:


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.380 / Virus Database: 213 - Release Date: 24/07/02
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.380 / Virus Database: 213 - Release Date: 24/07/02
 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Getting mod_webapp

2002-08-13 Thread Murray Cumming

On Sun, 2002-08-11 at 19:58, Murray Cumming wrote:
> I'm sure this should be on an FAQ somewhere, but I have a good look all
> over the place and I can't find any definitive help.
> 
> I'm using Tomcat 4.0.4 (because I've read that Cocoon 2 needs it rather
> than Tomcat 3), trying to make it work though Apache2 on RedHat 7.2
> 
> To keeps things simple, I've installed from the RPM. I believe I need
> the mod_webapp apache module that's provided by
> tomcat-jakarta-connectors4.0.4, but I can't find any RPM of this.
> 
> Instead, I tried building tomcat-jakarta-connectors from source, but
> maybe I'm not familiar enough with the ant build system:

OK, so if I had read README.txt properly then I would know that I need
to do a cvs checkout of apr into the webapp directory.

It tells me to copy and modify a build.properties.sample file, but there
is no such file there, so I ignored that.

As instructed, I then ran 
support/buildConf.sh

This creates a configure script, which I am tempted to run, but the next
step tells me to run ant. I did that, and I still this error:

BUILD FAILED
file:/home/murrayc/jakarta-tomcat-connectors-4.0.4-src/webapp/build.xml:105: Cannot 
find Tomcat 4.0 classes

So, how do I tell it where to find these tomcat classes? I have already
installed jakarta-tomcat-4 from here:
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/rpms/


-- 
Murray Cumming
[EMAIL PROTECTED]
www.murrayc.com


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Getting mod_webapp

2002-08-12 Thread Turner, John


APR = Apache Portable Runtime

http://apr.apache.org/

John Turner
[EMAIL PROTECTED]


-Original Message-
From: Murray Cumming [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 9:04 AM
To: Adrian
Cc: Tomcat Users List
Subject: Re: Getting mod_webapp


On Mon, 2002-08-12 at 13:46, Adrian wrote:
> Are you running apache2 ?

Yes. It's installed by default on RedHat 7.2

> If not you need to get the APR

Erm, what's an APR?

> and unzip it in the
> webapp dir. Keep me updated, we`ll get you through it. Going to work,
write
> me back If I can help. I check my mail there too.
> - Original Message -
> From: "Murray Cumming" <[EMAIL PROTECTED]>
> To: "Adrian" <[EMAIL PROTECTED]>
> Cc: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Monday, August 12, 2002 7:45 AM
> Subject: Re: Getting mod_webapp
> 
> 
> >
> > On Mon, 2002-08-12 at 12:33, Adrian wrote:
> > > You have to have the servlet.jar in your classpath just like when you
> build
> > > a connector.
> >
> > Thanks, but I'm afraid I need to have this spelled out. I don't seem to
> > have any CLASSPATH environment variable set. With ant, is there some
> > standard way to add a path to the classpath used while building?
> >
> >  I`ve built `em on FreeBSD,
> > > so I know it can be a pain. There was a site www.pubbitch.org/jboss
that
> > > helped point me in the right direction.
> >
> > This page:
> > http://www.pubbitch.org/jboss.html
> > suggests building it with a manual gcc command line, but I would really
> > prefer to use the regular build system.
> >
> > There are other pages there about using mod_jk2 instead, but everything
> > I've seen so far suggests that mod_webapp is the regular choice. I just
> > want to set it up in the most standard way possible.
> >
> > > I`ve got to build a linux box today
> > > for a customer with James and Tomcat, write back if you still need
help.
> > > - Original Message -
> > > From: "Murray Cumming" <[EMAIL PROTECTED]>
> > > To: "Tomcat-User" <[EMAIL PROTECTED]>
> > > Sent: Sunday, August 11, 2002 2:58 PM
> > > Subject: Getting mod_webapp
> > >
> > >
> > > > I'm sure this should be on an FAQ somewhere, but I have a good look
> all
> > > > over the place and I can't find any definitive help.
> > > >
> > > > I'm using Tomcat 4.0.4 (because I've read that Cocoon 2 needs it
> rather
> > > > than Tomcat 3), trying to make it work though Apache2 on RedHat 7.2
> > > >
> > > > To keeps things simple, I've installed from the RPM. I believe I
need
> > > > the mod_webapp apache module that's provided by
> > > > tomcat-jakarta-connectors4.0.4, but I can't find any RPM of this.
> > > >
> > > > Instead, I tried building tomcat-jakarta-connectors from source, but
> > > > maybe I'm not familiar enough with the ant build system:
> > > >
> > > > If I run ant from the top level I get this error:
> > > >
> > > > [javac] Compiling 31 source files to
> > > > /home/murrayc/jakarta-tomcat-connectors-4.0.4-src/jk/build/classes
> > > > [javac]
> > > >
> > >
>
/home/murrayc/jakarta-tomcat-connectors-4.0.4-src/jk/java/org/apache/jk/comm
> > > on/JkInputStream.java:66: package javax.servlet does not exist
> > > > [javac] import javax.servlet.ServletInputStream;
> > > >
> > > >
> > > > And if I run ant from the webapp directory, I get this error:
> > > >
> > > > BUILD FAILED
> > > >
> > >
>
file:/home/murrayc/jakarta-tomcat-connectors-4.0.4-src/webapp/build.xml:105:
> > > Cannot find Tomcat 4.0 classes
> > > >
> > > >
> > > > --
> > > > Murray Cumming
> > > > [EMAIL PROTECTED]
> > > > www.murrayc.com
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > > For additional commands, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > >
> > > >
> > >
> > >
> > --
> > Murray Cumming
> > [EMAIL PROTECTED]
> > www.murrayc.com
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> >
> 
> 
> 
-- 
Murray Cumming
[EMAIL PROTECTED]
www.murrayc.com


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Getting mod_webapp

2002-08-12 Thread Murray Cumming

On Mon, 2002-08-12 at 13:46, Adrian wrote:
> Are you running apache2 ?

Yes. It's installed by default on RedHat 7.2

> If not you need to get the APR

Erm, what's an APR?

> and unzip it in the
> webapp dir. Keep me updated, we`ll get you through it. Going to work, write
> me back If I can help. I check my mail there too.
> - Original Message -
> From: "Murray Cumming" <[EMAIL PROTECTED]>
> To: "Adrian" <[EMAIL PROTECTED]>
> Cc: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Monday, August 12, 2002 7:45 AM
> Subject: Re: Getting mod_webapp
> 
> 
> >
> > On Mon, 2002-08-12 at 12:33, Adrian wrote:
> > > You have to have the servlet.jar in your classpath just like when you
> build
> > > a connector.
> >
> > Thanks, but I'm afraid I need to have this spelled out. I don't seem to
> > have any CLASSPATH environment variable set. With ant, is there some
> > standard way to add a path to the classpath used while building?
> >
> >  I`ve built `em on FreeBSD,
> > > so I know it can be a pain. There was a site www.pubbitch.org/jboss that
> > > helped point me in the right direction.
> >
> > This page:
> > http://www.pubbitch.org/jboss.html
> > suggests building it with a manual gcc command line, but I would really
> > prefer to use the regular build system.
> >
> > There are other pages there about using mod_jk2 instead, but everything
> > I've seen so far suggests that mod_webapp is the regular choice. I just
> > want to set it up in the most standard way possible.
> >
> > > I`ve got to build a linux box today
> > > for a customer with James and Tomcat, write back if you still need help.
> > > - Original Message -
> > > From: "Murray Cumming" <[EMAIL PROTECTED]>
> > > To: "Tomcat-User" <[EMAIL PROTECTED]>
> > > Sent: Sunday, August 11, 2002 2:58 PM
> > > Subject: Getting mod_webapp
> > >
> > >
> > > > I'm sure this should be on an FAQ somewhere, but I have a good look
> all
> > > > over the place and I can't find any definitive help.
> > > >
> > > > I'm using Tomcat 4.0.4 (because I've read that Cocoon 2 needs it
> rather
> > > > than Tomcat 3), trying to make it work though Apache2 on RedHat 7.2
> > > >
> > > > To keeps things simple, I've installed from the RPM. I believe I need
> > > > the mod_webapp apache module that's provided by
> > > > tomcat-jakarta-connectors4.0.4, but I can't find any RPM of this.
> > > >
> > > > Instead, I tried building tomcat-jakarta-connectors from source, but
> > > > maybe I'm not familiar enough with the ant build system:
> > > >
> > > > If I run ant from the top level I get this error:
> > > >
> > > > [javac] Compiling 31 source files to
> > > > /home/murrayc/jakarta-tomcat-connectors-4.0.4-src/jk/build/classes
> > > > [javac]
> > > >
> > >
> /home/murrayc/jakarta-tomcat-connectors-4.0.4-src/jk/java/org/apache/jk/comm
> > > on/JkInputStream.java:66: package javax.servlet does not exist
> > > > [javac] import javax.servlet.ServletInputStream;
> > > >
> > > >
> > > > And if I run ant from the webapp directory, I get this error:
> > > >
> > > > BUILD FAILED
> > > >
> > >
> file:/home/murrayc/jakarta-tomcat-connectors-4.0.4-src/webapp/build.xml:105:
> > > Cannot find Tomcat 4.0 classes
> > > >
> > > >
> > > > --
> > > > Murray Cumming
> > > > [EMAIL PROTECTED]
> > > > www.murrayc.com
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > > For additional commands, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > >
> > > >
> > >
> > >
> > --
> > Murray Cumming
> > [EMAIL PROTECTED]
> > www.murrayc.com
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> >
> 
> 
> 
-- 
Murray Cumming
[EMAIL PROTECTED]
www.murrayc.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Getting mod_webapp

2002-08-12 Thread Adrian

Are you running apache2 ? If not you need to get the APR and unzip it in the
webapp dir. Keep me updated, we`ll get you through it. Going to work, write
me back If I can help. I check my mail there too.
- Original Message -
From: "Murray Cumming" <[EMAIL PROTECTED]>
To: "Adrian" <[EMAIL PROTECTED]>
Cc: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, August 12, 2002 7:45 AM
Subject: Re: Getting mod_webapp


>
> On Mon, 2002-08-12 at 12:33, Adrian wrote:
> > You have to have the servlet.jar in your classpath just like when you
build
> > a connector.
>
> Thanks, but I'm afraid I need to have this spelled out. I don't seem to
> have any CLASSPATH environment variable set. With ant, is there some
> standard way to add a path to the classpath used while building?
>
>  I`ve built `em on FreeBSD,
> > so I know it can be a pain. There was a site www.pubbitch.org/jboss that
> > helped point me in the right direction.
>
> This page:
> http://www.pubbitch.org/jboss.html
> suggests building it with a manual gcc command line, but I would really
> prefer to use the regular build system.
>
> There are other pages there about using mod_jk2 instead, but everything
> I've seen so far suggests that mod_webapp is the regular choice. I just
> want to set it up in the most standard way possible.
>
> > I`ve got to build a linux box today
> > for a customer with James and Tomcat, write back if you still need help.
> > - Original Message -
> > From: "Murray Cumming" <[EMAIL PROTECTED]>
> > To: "Tomcat-User" <[EMAIL PROTECTED]>
> > Sent: Sunday, August 11, 2002 2:58 PM
> > Subject: Getting mod_webapp
> >
> >
> > > I'm sure this should be on an FAQ somewhere, but I have a good look
all
> > > over the place and I can't find any definitive help.
> > >
> > > I'm using Tomcat 4.0.4 (because I've read that Cocoon 2 needs it
rather
> > > than Tomcat 3), trying to make it work though Apache2 on RedHat 7.2
> > >
> > > To keeps things simple, I've installed from the RPM. I believe I need
> > > the mod_webapp apache module that's provided by
> > > tomcat-jakarta-connectors4.0.4, but I can't find any RPM of this.
> > >
> > > Instead, I tried building tomcat-jakarta-connectors from source, but
> > > maybe I'm not familiar enough with the ant build system:
> > >
> > > If I run ant from the top level I get this error:
> > >
> > > [javac] Compiling 31 source files to
> > > /home/murrayc/jakarta-tomcat-connectors-4.0.4-src/jk/build/classes
> > > [javac]
> > >
> >
/home/murrayc/jakarta-tomcat-connectors-4.0.4-src/jk/java/org/apache/jk/comm
> > on/JkInputStream.java:66: package javax.servlet does not exist
> > > [javac] import javax.servlet.ServletInputStream;
> > >
> > >
> > > And if I run ant from the webapp directory, I get this error:
> > >
> > > BUILD FAILED
> > >
> >
file:/home/murrayc/jakarta-tomcat-connectors-4.0.4-src/webapp/build.xml:105:
> > Cannot find Tomcat 4.0 classes
> > >
> > >
> > > --
> > > Murray Cumming
> > > [EMAIL PROTECTED]
> > > www.murrayc.com
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > >
> > >
> >
> >
> --
> Murray Cumming
> [EMAIL PROTECTED]
> www.murrayc.com
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Getting mod_webapp

2002-08-12 Thread Murray Cumming


On Mon, 2002-08-12 at 12:33, Adrian wrote:
> You have to have the servlet.jar in your classpath just like when you build
> a connector.

Thanks, but I'm afraid I need to have this spelled out. I don't seem to
have any CLASSPATH environment variable set. With ant, is there some
standard way to add a path to the classpath used while building?

 I`ve built `em on FreeBSD,
> so I know it can be a pain. There was a site www.pubbitch.org/jboss that
> helped point me in the right direction.

This page:
http://www.pubbitch.org/jboss.html
suggests building it with a manual gcc command line, but I would really
prefer to use the regular build system.

There are other pages there about using mod_jk2 instead, but everything
I've seen so far suggests that mod_webapp is the regular choice. I just
want to set it up in the most standard way possible.

> I`ve got to build a linux box today
> for a customer with James and Tomcat, write back if you still need help.
> - Original Message -
> From: "Murray Cumming" <[EMAIL PROTECTED]>
> To: "Tomcat-User" <[EMAIL PROTECTED]>
> Sent: Sunday, August 11, 2002 2:58 PM
> Subject: Getting mod_webapp
> 
> 
> > I'm sure this should be on an FAQ somewhere, but I have a good look all
> > over the place and I can't find any definitive help.
> >
> > I'm using Tomcat 4.0.4 (because I've read that Cocoon 2 needs it rather
> > than Tomcat 3), trying to make it work though Apache2 on RedHat 7.2
> >
> > To keeps things simple, I've installed from the RPM. I believe I need
> > the mod_webapp apache module that's provided by
> > tomcat-jakarta-connectors4.0.4, but I can't find any RPM of this.
> >
> > Instead, I tried building tomcat-jakarta-connectors from source, but
> > maybe I'm not familiar enough with the ant build system:
> >
> > If I run ant from the top level I get this error:
> >
> > [javac] Compiling 31 source files to
> > /home/murrayc/jakarta-tomcat-connectors-4.0.4-src/jk/build/classes
> > [javac]
> >
> /home/murrayc/jakarta-tomcat-connectors-4.0.4-src/jk/java/org/apache/jk/comm
> on/JkInputStream.java:66: package javax.servlet does not exist
> > [javac] import javax.servlet.ServletInputStream;
> >
> >
> > And if I run ant from the webapp directory, I get this error:
> >
> > BUILD FAILED
> >
> file:/home/murrayc/jakarta-tomcat-connectors-4.0.4-src/webapp/build.xml:105:
> Cannot find Tomcat 4.0 classes
> >
> >
> > --
> > Murray Cumming
> > [EMAIL PROTECTED]
> > www.murrayc.com
> >
> >
> > --
> > To unsubscribe, e-mail:
> 
> > For additional commands, e-mail:
> 
> >
> >
> 
> 
-- 
Murray Cumming
[EMAIL PROTECTED]
www.murrayc.com


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Getting mod_webapp

2002-08-12 Thread Adrian

You have to have the servlet.jar in your classpath just like when you build
a connector. I`ve built `em on FreeBSD,
so I know it can be a pain. There was a site www.pubbitch.org/jboss that
helped point me in the right direction. I`ve got to build a linux box today
for a customer with James and Tomcat, write back if you still need help.
- Original Message -
From: "Murray Cumming" <[EMAIL PROTECTED]>
To: "Tomcat-User" <[EMAIL PROTECTED]>
Sent: Sunday, August 11, 2002 2:58 PM
Subject: Getting mod_webapp


> I'm sure this should be on an FAQ somewhere, but I have a good look all
> over the place and I can't find any definitive help.
>
> I'm using Tomcat 4.0.4 (because I've read that Cocoon 2 needs it rather
> than Tomcat 3), trying to make it work though Apache2 on RedHat 7.2
>
> To keeps things simple, I've installed from the RPM. I believe I need
> the mod_webapp apache module that's provided by
> tomcat-jakarta-connectors4.0.4, but I can't find any RPM of this.
>
> Instead, I tried building tomcat-jakarta-connectors from source, but
> maybe I'm not familiar enough with the ant build system:
>
> If I run ant from the top level I get this error:
>
> [javac] Compiling 31 source files to
> /home/murrayc/jakarta-tomcat-connectors-4.0.4-src/jk/build/classes
> [javac]
>
/home/murrayc/jakarta-tomcat-connectors-4.0.4-src/jk/java/org/apache/jk/comm
on/JkInputStream.java:66: package javax.servlet does not exist
> [javac] import javax.servlet.ServletInputStream;
>
>
> And if I run ant from the webapp directory, I get this error:
>
> BUILD FAILED
>
file:/home/murrayc/jakarta-tomcat-connectors-4.0.4-src/webapp/build.xml:105:
Cannot find Tomcat 4.0 classes
>
>
> --
> Murray Cumming
> [EMAIL PROTECTED]
> www.murrayc.com
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Getting mod_webapp to accomplish the same thing at the mod_jk

2002-05-19 Thread tc


I was able to get the examples working using:
 DocumentRoot /usr/local/tomcat/webapps/
 WebAppConnection warpConnection warp localhost:8008
 WebAppDeploy examples warpConnection /examples

But I am not able to get my own site working.  I have multiple sites
running on the same box and I am unable to get it to function to get the
same results as the mod_jk.so


Thanks for any help..


On Sun, 19 May 2002, Adrian wrote:

> 
>  LoadModule webapp_module libexec/mod_webapp.so
>  WebAppConnection warpConnection warp localhost:8008
>  WebAppDeploy examples warpConnection /examples/
>^^^
> You forgot the WebAppDeploy line. Are you loading the module mod_webapp ?
> Get the examples running , then move on.
> 
> 
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, May 19, 2002 8:36 AM
> Subject: Getting mod_webapp to accomplish the same thing at the mod_jk
> 
> 
> >
> > I am having no luch at getting the mod_webapp (tomcat 4.x on apache
> > 1.3.x)  to accomplish the same tasks as the mod_jk (tomcat 3.x on apache
> > 1.3.x)
> >
> > Here is what I have using the mod_jk (using tomcat 3.x on apache 1.3.x)
> >
> > For the http.conf
> > 
> > DocumentRoot /home/web/mysite
> > ServerName www.mysite.com
> > JkMount /*.jsp ajp13
> > JkMount /servlet/* ajp13
> > CustomLog /usr/local/apache/logs/access_log_dnsme common
> > 
> >
> > For the server.xml
> > 
> > 
> > 
> >
> >
> >
> >
> > Here is what I have using mod_webapp (using tomcat 4.x on apache 1.3.x)
> >
> > The httpd.conf:
> > 
> >  ServerName www.mysite.com
> >  DocumentRoot /home/web/mysite/
> >  WebAppConnection warpConnection warp localhost:8008
> > 
> >
> >
> > The server.xml:
> >   
> >  > className="org.apache.catalina.connector.warp.WarpConnector"
> >  port="8008" minProcessors="5" maxProcessors="75"
> >  enableLookups="true" appBase="webapps"
> >  acceptCount="10" debug="0"/>
> > 
> >  >  name="www.mysite.com" debug="0">
> >   
> >>   prefix="apache_log." suffix=".txt"
> >   timestamp="true"/>
> >   
> >   
> > 
> >   
> >
> >
> >
> > This obviously is wrong.  I'm stumped here and I am unable to get it
> > working.  Can someone point me along.  I was able to get the Tomcat
> > examples running, but I was unable to get my own site up.
> >
> > Thanks for any help.
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> 
> > For additional commands, e-mail:
> 
> >
> >
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Getting mod_webapp to accomplish the same thing at the mod_jk

2002-05-19 Thread Adrian


 LoadModule webapp_module libexec/mod_webapp.so
 WebAppConnection warpConnection warp localhost:8008
 WebAppDeploy examples warpConnection /examples/
   ^^^
You forgot the WebAppDeploy line. Are you loading the module mod_webapp ?
Get the examples running , then move on.


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, May 19, 2002 8:36 AM
Subject: Getting mod_webapp to accomplish the same thing at the mod_jk


>
> I am having no luch at getting the mod_webapp (tomcat 4.x on apache
> 1.3.x)  to accomplish the same tasks as the mod_jk (tomcat 3.x on apache
> 1.3.x)
>
> Here is what I have using the mod_jk (using tomcat 3.x on apache 1.3.x)
>
> For the http.conf
> 
> DocumentRoot /home/web/mysite
> ServerName www.mysite.com
> JkMount /*.jsp ajp13
> JkMount /servlet/* ajp13
> CustomLog /usr/local/apache/logs/access_log_dnsme common
> 
>
> For the server.xml
> 
> 
> 
>
>
>
>
> Here is what I have using mod_webapp (using tomcat 4.x on apache 1.3.x)
>
> The httpd.conf:
> 
>  ServerName www.mysite.com
>  DocumentRoot /home/web/mysite/
>  WebAppConnection warpConnection warp localhost:8008
> 
>
>
> The server.xml:
>   
>  className="org.apache.catalina.connector.warp.WarpConnector"
>  port="8008" minProcessors="5" maxProcessors="75"
>  enableLookups="true" appBase="webapps"
>  acceptCount="10" debug="0"/>
> 
>   name="www.mysite.com" debug="0">
>   
>  prefix="apache_log." suffix=".txt"
>   timestamp="true"/>
>   
>   
> 
>   
>
>
>
> This obviously is wrong.  I'm stumped here and I am unable to get it
> working.  Can someone point me along.  I was able to get the Tomcat
> examples running, but I was unable to get my own site up.
>
> Thanks for any help.
>
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Getting mod_webapp to accomplish the same thing at the mod_jk

2002-05-19 Thread Jeffrey Bonevich

[EMAIL PROTECTED] wrote:

> I am having no luch at getting the mod_webapp (tomcat 4.x on apache
> 1.3.x)  to accomplish the same tasks as the mod_jk (tomcat 3.x on apache
> 1.3.x)
> 
> Here is what I have using the mod_jk (using tomcat 3.x on apache 1.3.x)
> 
> For the http.conf
> 
> DocumentRoot /home/web/mysite
> ServerName www.mysite.com
> JkMount /*.jsp ajp13
> JkMount /servlet/* ajp13
> CustomLog /usr/local/apache/logs/access_log_dnsme common
> 
> 
> For the server.xml
> 
>   
> 
> 
> 
> 
> 
> Here is what I have using mod_webapp (using tomcat 4.x on apache 1.3.x)
> 
> The httpd.conf:
> 
>  ServerName www.mysite.com
>  DocumentRoot /home/web/mysite/
>  WebAppConnection warpConnection warp localhost:8008


You need a WebAppDeploy directive here as well.  Something like:
WebAppDeploy servlets warpConnection /servlet/


> 
> 
> 
> The server.xml:
>   
>  className="org.apache.catalina.connector.warp.WarpConnector"
>  port="8008" minProcessors="5" maxProcessors="75"
>  enableLookups="true" appBase="webapps"
>  acceptCount="10" debug="0"/>
> 
>   name="www.mysite.com" debug="0">
>   
>  prefix="apache_log." suffix=".txt"
>   timestamp="true"/>
>   
>   
> 
>   
> 
> 
> 
> This obviously is wrong.  I'm stumped here and I am unable to get it
> working.  Can someone point me along.  I was able to get the Tomcat
> examples running, but I was unable to get my own site up.
> 
> Thanks for any help.
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 
> 
> 


-- 
Jeffrey Bonevich
Ann Arbor, Michigan
[EMAIL PROTECTED]
http://www.bonevich.com

Hwæt! Wë Gär-Dena   in geär-dagum,
peod-cyninga,   prym gefrünon,
hü ða aepelingas   ellen fremedon!


--
To unsubscribe, e-mail:   
For additional commands, e-mail: