mod_webapp.so - undefined symbol: wa_pool

2003-11-07 Thread Gustavo Gomes
I get the error undefined symbol: wa_pool trying to start the httpd service loading 
the mod_webapp.so to link apache to jboss.

Can anyone help-me please?

httpd 2.0.44, mod_webapp.so 4.1.18

2003-03-13 Thread Lester Vecsey
I'm using a stock redhat 8.0 installation and attempting to LoadModule
mod_webapp.so into apache httpd 2.0.44,

--
/usr/local/apache2/bin/apachectl start
Cannot load /usr/local/apache2/modules/mod_webapp.so into server:
/usr/local/apache2/modules/mod_webapp.so: undefined symbol: wa_provider_info
--

Has anyone seen the above error before? I searched groups.google.com, and
the tomcat-users and tomcat-dev mailing list, and have never seen
wa_provider_info mentioned. Additionally, there does not seem to be many
occurances of 2.0.44 mentioned either, even though it has been out for some
time now. Are most people at this httpd version using it with tomcat5?

Here is the 'nm' output on mod_webapp.so

--
nm mod_webapp.so | egrep wa_provider
 U wa_provider_info
3800 D wa_providers
 U wa_provider_warp
--

And binutils, gcc version

--
ld -v
GNU ld version 2.13.90.0.2 20020802
gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with:
../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
 --enable-shared --enable-threads=posix --disable-checking --host=i386-redha
t-linux --with-system-zlib --enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
--

I also compiled the 4.1.21-beta connector, and it produced the same size
mod_webapp.so file but the byte contents differed a bit. Same
wa_provider_info error when having httpd load it.

Here is how I built webapp,

cd /usr/src/jakarta-tomcat-connectors-4.1.18-src/webapp
ln -s /usr/src/httpd-2.0.44/srclib/apr
support/buildconf.sh
mv build/mod_webapp.so /usr/local/apache2/modules

I also tried building with a fresh apr-0.9.1.tar.gz unpacked as my apr
directory, but it didn't help.

httpd-2.0.44 was built like this,

./configure --enable-rewrite --with-mpm=worker

Thanks for your help..




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



mod_webapp.so

2003-01-19 Thread Bryan A. Zimmer
Hello.

I have tried to set up apache with tomcat. tomcat4 alone (v 4.1.18) works
OK, but I can't load mod_webapp.so with the other modules in the httpd.conf
file, I get a message saying something like undefined symbol:
ap_table_get.

I am using this on a Linux (RedHat version 8.0). If anyone has any advice
please e-mail me at:

[EMAIL PROTECTED]

Remove NOSPAM to get the actual address.

Thank you.

Bryan Zimmer



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




building mod_webapp.so on SunOS

2002-12-31 Thread Rich Baldwin
I am going to post this to the GNU list, but I thought that I would run
it by you all too.

I'm trying to build mod_webapp.so for a SunOS.  The default download for
mod_webapp.so causes apache to throw a __lshrdi3: referenced symbol not
found error.  This is a documented bug.  The fix is to build
mod_webapp.so from the source.
When I try to build mod_webapp.so from the downloaded source, I get an
error that I need autoconf.  I downloaded autoconf and this build fails
because it needs GNU M4,  AND as expected, when I tried to build GNU M4,
it fails because it can't find regrex.c.  Can ANYONE end my pain and
suffering? ;-)  I can't find any regrex.c source (I assume this is some
regular expression code in some library). Any ideas?

Tx, Rich


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




Re: mod_webapp.so versus mod_jk

2002-11-21 Thread Bill Barker

Matthew Hannigan [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 On Wed, Nov 20, 2002 at 01:51:33PM -0600, Kent Perrier wrote:
  On Wed, 2002-11-20 at 13:24, Steve Cromer wrote:
  
   Hi,
  
   I would like to integrate Tomcat and Apache.  I noticed that there is
more than
   one way to do this.  One way involves Warp, using mod_webapp.so and
another
   involves mod_jk.
  
 
  Please, go look in the archives.  This question is asked almost on a
  daily basis.  The answer is in the archives.

 It's asked daily in the archives because there is no
 clear answer in the docs.

 Add to this the code word and acronym soup of jakarta, tomcat,
 catalina, jasper, warp, coyote, ajp12, ajp13, ajp14.

 Don't underestimate the hurdle a newbie has to go through.


 I belive the answer is:

 mod_webapp - don't use, obsolete

Not quite.  More like being maintained but not enhanced.  This means that
without new volunteers, it probably won't support anything other than the
Apache pre-fork MPM.  It has way fewer active developers than mod_jk*, but
that is not the same as none.


 mod_jk - stable, being maintained but not enhanced,
   use with apache1.* or apache2, and tomcat3 or tomcat4

 mod_jk2 - developmental, being maintained and enhanced,
   use with apache2 and tomcat4

Current enhancements improve the support for all threaded servers (i.e.
Apache2[non-pre-fork]/IIS/iPlanet).  On *nix platforms, there is also
support for Unix-Sockets (which should out-perform the default TCP-Sockets).
If you want to use JNI to connect to Tomcat, than this is the only way to
go.  Current support is for Apache-1.3.x, Apache2, IIS, (and less active,
iPlanet).  Full support for Tomcat 3.3.x, Tomcat 4.1.x and Tomcat 5.x.
Partial support for Tomcat 3.2.x (native-only), and Tomcat 4.0.x (you need
to build the classes for yourself, not hard).

IMHO, well worth deploying and testing if you have a non-production box to
do it on.


 I use mod_jk with apache1.3.27 and tomcat4.0.6 and
 haven't had many problems.

 Matt





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




mod_webapp.so versus mod_jk

2002-11-20 Thread Steve Cromer

Hi,

I would like to integrate Tomcat and Apache.  I noticed that there is more than
one way to do this.  One way involves Warp, using mod_webapp.so and another 
involves mod_jk.

My question is, which one of these is better and why.  Are one of these methods 
a newer and better approach for integrating Tomcat and Apache?

I am running Apache 1.3.20, Tomcat 4.0.6, and my OS is HP-UX 11.

I am a real newbie at this, so any help/background would be greatly 
appreciated.

Thanks,

Steve Cromer
[EMAIL PROTECTED]


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




Re: mod_webapp.so versus mod_jk

2002-11-20 Thread Kent Perrier
On Wed, 2002-11-20 at 13:24, Steve Cromer wrote:
 
 Hi,
 
 I would like to integrate Tomcat and Apache.  I noticed that there is more than
 one way to do this.  One way involves Warp, using mod_webapp.so and another 
 involves mod_jk.
 

Please, go look in the archives.  This question is asked almost on a
daily basis.  The answer is in the archives.

Kent

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




Re: mod_webapp.so versus mod_jk

2002-11-20 Thread Matthew Hannigan
On Wed, Nov 20, 2002 at 01:51:33PM -0600, Kent Perrier wrote:
 On Wed, 2002-11-20 at 13:24, Steve Cromer wrote:
  
  Hi,
  
  I would like to integrate Tomcat and Apache.  I noticed that there is more than
  one way to do this.  One way involves Warp, using mod_webapp.so and another 
  involves mod_jk.
  
 
 Please, go look in the archives.  This question is asked almost on a
 daily basis.  The answer is in the archives.

It's asked daily in the archives because there is no
clear answer in the docs.

Add to this the code word and acronym soup of jakarta, tomcat,
catalina, jasper, warp, coyote, ajp12, ajp13, ajp14.

Don't underestimate the hurdle a newbie has to go through.


I belive the answer is:

mod_webapp  - don't use, obsolete

mod_jk  - stable, being maintained but not enhanced,
  use with apache1.* or apache2, and tomcat3 or tomcat4

mod_jk2 - developmental, being maintained and enhanced,
  use with apache2 and tomcat4

I use mod_jk with apache1.3.27 and tomcat4.0.6 and
haven't had many problems.

Matt



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




mod_webapp.so binary for Solaris 2.6

2002-11-06 Thread Elena Blanco
Hi

Does anyone have a mod_webapp.so binary for Solaris 2.6?

Many thanks,

Elena
--
Elena Blanco
Systems Administrator, New DNB
Oxford University Press
Tel: (01865) 353329

--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




where is mod_webapp.so binary?

2002-10-21 Thread Z.BEAT
I am running Apache 1.3 and Tomcat 4.1.2, on Solaris
7.   Where can I download mod_webapp.so binary?   I am
currently running Tomcat only as a Standalone, and it
would be nice if I could connect it to Apache.   

The expected location does not have the module:

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/webapp/release/v1.2.0/

Thanks!

__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




RE: binary mod_webapp.so for solaris7?

2002-09-30 Thread Anthony Milbourne

Sorry

We have one for Solaris 8 - but that probably won't help.

Anthony.

 -Original Message-
 From: David Bishop [SMTP:[EMAIL PROTECTED]]
 Sent: 27 September 2002 20:53
 To:   Tomcat Users List
 Subject:  binary mod_webapp.so for solaris7?
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 See subject :-)  Anyone have one of those?  I was never able to get the
 module 
 to load correctly with a self-compiled version, even with Solaris 8, but
 the 
 binary modules seem to work fine, when I can get them.  I am running
 Apache 
 1.3.26, Solaris 7 on an ultra 60, tomcat 4.0.4.
 
 Thanks *very* much.
 - -- 
 A mouse is a device used to point at the xterm you want to type in. 
   --Kim Alm, a.s.r 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.0 (GNU/Linux)
 
 iD8DBQE9lLcIEHLN/FXAbC0RAs5qAKDRS0k9JH1RYWVejGOZKZ5oJ6EngQCfXujH
 tesH8v2Al8zEGXEjzS/S08o=
 =AJT9
 -END PGP SIGNATURE-
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**


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




Re: binary mod_webapp.so for solaris7?

2002-09-30 Thread Raj Saini

I have the webapps and mod_jk connectors solaris 2.7. How can I put them 
on the server? I tried to send through mailing list but it is too big to 
put here.

Raj

David Bishop wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 See subject :-)  Anyone have one of those?  I was never able to get the module 
 to load correctly with a self-compiled version, even with Solaris 8, but the 
 binary modules seem to work fine, when I can get them.  I am running Apache 
 1.3.26, Solaris 7 on an ultra 60, tomcat 4.0.4.

 
 Thanks *very* much.
 - -- 
 A mouse is a device used to point at the xterm you want to type in. 
   --Kim Alm, a.s.r 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.0 (GNU/Linux)
 
 iD8DBQE9lLcIEHLN/FXAbC0RAs5qAKDRS0k9JH1RYWVejGOZKZ5oJ6EngQCfXujH
 tesH8v2Al8zEGXEjzS/S08o=
 =AJT9
 -END PGP SIGNATURE-
 
 
 --
 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: binary mod_webapp.so for solaris7?

2002-09-30 Thread David Bishop

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


You can email them directly to me, at [EMAIL PROTECTED]  That would be 
*very* nice of you!

On Monday 30 September 2002 03:36 am, Raj Saini wrote:
 I have the webapps and mod_jk connectors solaris 2.7. How can I put them
 on the server? I tried to send through mailing list but it is too big to
 put here.

 Raj

 David Bishop wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  See subject :-)  Anyone have one of those?  I was never able to get the
  module to load correctly with a self-compiled version, even with Solaris
  8, but the binary modules seem to work fine, when I can get them.  I am
  running Apache 1.3.26, Solaris 7 on an ultra 60, tomcat 4.0.4.
 
 
  Thanks *very* much.
  - --
  A mouse is a device used to point at the xterm you want to type in.
--Kim Alm, a.s.r
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.2.0 (GNU/Linux)
 
  iD8DBQE9lLcIEHLN/FXAbC0RAs5qAKDRS0k9JH1RYWVejGOZKZ5oJ6EngQCfXujH
  tesH8v2Al8zEGXEjzS/S08o=
  =AJT9
  -END PGP SIGNATURE-
 
 
  --
  To unsubscribe, e-mail:  
  mailto:[EMAIL PROTECTED] For additional
  commands, e-mail: mailto:[EMAIL PROTECTED]

- -- 
A mouse is a device used to point at the xterm you want to type in. 
  --Kim Alm, a.s.r 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9mE9UEHLN/FXAbC0RAnjeAJ9OQlkNK9X6OuzFCsr2Zg1ekWQhHgCfeqtt
hznC2WUU1cFkMb8zUg8ARM4=
=QwB9
-END PGP SIGNATURE-


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




binary mod_webapp.so for solaris7?

2002-09-27 Thread David Bishop

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

See subject :-)  Anyone have one of those?  I was never able to get the module 
to load correctly with a self-compiled version, even with Solaris 8, but the 
binary modules seem to work fine, when I can get them.  I am running Apache 
1.3.26, Solaris 7 on an ultra 60, tomcat 4.0.4.

Thanks *very* much.
- -- 
A mouse is a device used to point at the xterm you want to type in. 
  --Kim Alm, a.s.r 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9lLcIEHLN/FXAbC0RAs5qAKDRS0k9JH1RYWVejGOZKZ5oJ6EngQCfXujH
tesH8v2Al8zEGXEjzS/S08o=
=AJT9
-END PGP SIGNATURE-


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




Need help: Can't get Tomcat examples on Apache using mod_webapp.so

2002-08-28 Thread Guoben Li

Hi,

  I can't get Tomcat examples display on Apache. 
The following is a list of all I did and what I got.

  Please, please help.  Many thanks!

Guoben Li

1. Apache 1.3.26; Tomcat 4.0.4 on the same Solaris host
   http://myserver:8080/examples works well;

2. successfully compiled mod_webapp.so from 
   jakarta-tomcat-connectors-4.0.4-src and copied to libexec/.;

3. in httpd.conf, added:
   __
   LoadModule webapp_module libexec/mod_webapp.so
   AddModule mod_webapp.c

   WebAppConnection conn warp localhost:8008
   WebAppDeploy examples conn /examples/
   WebAppInfo /webapp-info
   ___
   
   bin/apachectl configtest had [warn] mod_webapp.c is already added but
   Syntax OK;

4. in server.xml, the only place changed was 'name=':
   ___
   Engine className=org.apache. ...
name=myserver.domain.com debug=0
   ___

5. started tomcat with bin/startup.sh then restarted apache

   http://myserver/examples The page cannot be found

   http://myserver/examples/ The page cannot be displayed

   http://myserver/webapp-info/ however displays Host and Connections info:

  Host myserver.domain.com:80 
Application Name examples
Root URL Path /examples/
Connection conn

Connection Name conn
Connection parameters localhost:8008
Provider warp
Configuration Details Host: localhost Port:8008 Address:127.0.0.1 Socket 
Count: 1 Server ID: -653512835 


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




Re: Need help: Can't get Tomcat examples on Apache using mod_webapp.so

2002-08-28 Thread George Sexton

The default 4.0.4 server.xml has the Warp connector commented out. Search for 
8008 in server.xml, and uncomment that block.

Incidentally, that was an excellent request for help. 


Quoting Guoben Li [EMAIL PROTECTED]:

 Hi,
 
   I can't get Tomcat examples display on Apache. 
 The following is a list of all I did and what I got.
 
   Please, please help.  Many thanks!
 
 Guoben Li
 
 1. Apache 1.3.26; Tomcat 4.0.4 on the same Solaris host
http://myserver:8080/examples works well;
 
 2. successfully compiled mod_webapp.so from 
jakarta-tomcat-connectors-4.0.4-src and copied to libexec/.;
 
 3. in httpd.conf, added:
__
LoadModule webapp_module libexec/mod_webapp.so
AddModule mod_webapp.c
 
WebAppConnection conn warp localhost:8008
WebAppDeploy examples conn /examples/
WebAppInfo /webapp-info
___

bin/apachectl configtest had [warn] mod_webapp.c is already added but
Syntax OK;
 
 4. in server.xml, the only place changed was 'name=':
___
Engine className=org.apache. ...
 name=myserver.domain.com debug=0
___
 
 5. started tomcat with bin/startup.sh then restarted apache
 
http://myserver/examples The page cannot be found
 
http://myserver/examples/ The page cannot be displayed
 
http://myserver/webapp-info/ however displays Host and Connections info:
 
   Host myserver.domain.com:80 
   Application Name examples
   Root URL Path /examples/
   Connection conn
 
   Connection Name conn
   Connection parameters localhost:8008
   Provider warp
   Configuration Details Host: localhost Port:8008 Address:127.0.0.1 
Socket
 Count: 1 Server ID: -653512835 
 
 
 --
 To unsubscribe, e-mail:  
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 


George Sexton
MH Software, Inc.
Voice: 303 438 9585
URL: http://www.mhsoftware.com

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




problems compiling Apache module mod_webapp.so !

2002-08-27 Thread Júlio Adrian Miño Van Helden

Hi, my name is Julio and i leave in brasil. I try to use apache web server + 
tomcat and i need to compile the module mod_webapp.so but i can´t do it. Is someone 
help me ?



Mod_webapp.so problems

2002-07-25 Thread Tony Mak

Hi all,

I have encountered randomly halt in Apache server. The mob_webapp.so is
normally running when startup both Apache and Tomcat. However, the apache
was halted by segmentation fault.

The following is the text cut from log(httpd).

CUT from log

[notice] child pid 7371 exit signal Segmentation fault (11)
JFC: wam_match request 08144f48
[notice] child pid 7373 exit signal Segmentation fault (11)
JFC: wam_match request 08144f48


The environment is Redhat Linux 7.3, Apache 1.3.23-9(bundle with RH), Tomcat
4.0.3, mod_webapp.so(tomcat-connectors-1.0-1.4.0.2.src.rpm), JDK 1.4.0.

Also, I have tried to recompile the mod_webapp.so with -DEAPI. The problems
are still here. =(

Thanks.

Regards,
Tony


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




mod_webapp.so

2002-07-18 Thread Diego, Emil

I am running Redhat linux 7.3 with Apache 1.3.23 and tomcat 4.0.4.  I have
installed them both and have tested them individually and they work.  Now i
want to setup tomcat so it works within apache.  my 2 questions are this.
1) Where can I get the mod_app.so warp connecter?

2) Is there a really good tutorial on how to configure the servers to work
together?


thanx in advance for the assistance.

Emil
[EMAIL PROTECTED]

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




RE: mod_webapp.so

2002-07-18 Thread Turner, John


Man, this list needs a FAQ, bad.

HOWTO: http://www.galatea.com/flashguides/index

There are many other docs that explain how to connect the two, the URL above
is just one of them.

If you are using apache, there is no benefit to using mod_webapp (WARP).
The current mod_webapp connector sends ALL requests to tomcat...in that
scenario, apache does nothing but add a layer. You would be fine just using
tomcat standalone on port 80 in that scenario.  If you want apache to serve
static content, and tomcat to serve servlet and JSP content, then you should
use mod_jk (at this time):

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk.html

John Turner
[EMAIL PROTECTED]

-Original Message-
From: Diego, Emil [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 9:06 AM
To: '[EMAIL PROTECTED]'
Subject: mod_webapp.so


I am running Redhat linux 7.3 with Apache 1.3.23 and tomcat 4.0.4.  I have
installed them both and have tested them individually and they work.  Now i
want to setup tomcat so it works within apache.  my 2 questions are this.
1) Where can I get the mod_app.so warp connecter?

2) Is there a really good tutorial on how to configure the servers to work
together?


thanx in advance for the assistance.

Emil
[EMAIL PROTECTED]

--
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: mod_webapp.so

2002-07-18 Thread Joseph Savard


 
 Man, this list needs a FAQ, bad.
+1

Good point!  Is there one avaialable or in the WOrks I thought it was in the 
works..




 
 HOWTO: http://www.galatea.com/flashguides/index
 
 There are many other docs that explain how to connect the two, the URL above
 is just one of them.
 
 If you are using apache, there is no benefit to using mod_webapp (WARP).
 The current mod_webapp connector sends ALL requests to tomcat...in that
 scenario, apache does nothing but add a layer. You would be fine just using
 tomcat standalone on port 80 in that scenario.  If you want apache to serve
 static content, and tomcat to serve servlet and JSP content, then you should
 use mod_jk (at this time):
 
 http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk.html
 
 John Turner
 [EMAIL PROTECTED]
 
 -Original Message-
 From: Diego, Emil [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, July 18, 2002 9:06 AM
 To: '[EMAIL PROTECTED]'
 Subject: mod_webapp.so
 
 
 I am running Redhat linux 7.3 with Apache 1.3.23 and tomcat 4.0.4.  I have
 installed them both and have tested them individually and they work.  Now i
 want to setup tomcat so it works within apache.  my 2 questions are this.
 1) Where can I get the mod_app.so warp connecter?
 
 2) Is there a really good tutorial on how to configure the servers to work
 together?
 
 
 thanx in advance for the assistance.
 
 Emil
 [EMAIL PROTECTED]
 
 --
 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]
 
 


Joseph E. Savard
Principal 
Applied Information Technologies, Inc.
Words are, of course, the most powerful drug used by mankind. - Kipling

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




Re: mod_webapp.so

2002-07-18 Thread Eddie Bush

You know, and I realize the devs are kind of busy, I think if they would 
just incorporate the level of detail and completeness in the more recent 
docs that existed in the 3.x series of TC, a lot of questions wouldn't 
have to be asked.  I find myself wondering, quite honestly, why the TC 
3.x docs explained things so well, and yet the 4.x docs seem quite terse 
in comparison.

You know what would be cool?  ... if a link repository were set up 
that would allow us to submit our own I found this useful sites.  It 
could allow a person to submit a link - and allow other people to rate 
the link according to how useful they found it.  The original poster 
could add a small amount of commentary about his TC/Apache version, and 
his implementation.  Then, newcomers could discern rather quickly where 
to go find the information they need - or if it's even available. 
 Questions would change from, Where do I get ... and How do I ... to 
Has this really not been done yet, or is it just not in the repository 
yet?

Personally, I think that linking 4.x docs to 3.x docs would help a lot. 
 It's anything but obvious you should have to go through the 3.x docs to 
learn to set up 4.x :-)  If, however, they were at least mentioned in 
the 4.0 docs, and maybe linked to, it would be much more easily understood.

Just a thought ;-)

Eddie

Turner, John wrote:

Man, this list needs a FAQ, bad.

HOWTO: http://www.galatea.com/flashguides/index

There are many other docs that explain how to connect the two, the URL above
is just one of them.

If you are using apache, there is no benefit to using mod_webapp (WARP).
The current mod_webapp connector sends ALL requests to tomcat...in that
scenario, apache does nothing but add a layer. You would be fine just using
tomcat standalone on port 80 in that scenario.  If you want apache to serve
static content, and tomcat to serve servlet and JSP content, then you should
use mod_jk (at this time):

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk.html

John Turner
[EMAIL PROTECTED]




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




RE: FAQ and resources (was mod_webapp.so)

2002-07-18 Thread Turner, John


Great ideas, all!

John Turner
[EMAIL PROTECTED]


-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 10:02 AM
To: Tomcat Users List
Subject: Re: mod_webapp.so


You know, and I realize the devs are kind of busy, I think if they would 
just incorporate the level of detail and completeness in the more recent 
docs that existed in the 3.x series of TC, a lot of questions wouldn't 
have to be asked.  I find myself wondering, quite honestly, why the TC 
3.x docs explained things so well, and yet the 4.x docs seem quite terse 
in comparison.

You know what would be cool?  ... if a link repository were set up 
that would allow us to submit our own I found this useful sites.  It 
could allow a person to submit a link - and allow other people to rate 
the link according to how useful they found it.  The original poster 
could add a small amount of commentary about his TC/Apache version, and 
his implementation.  Then, newcomers could discern rather quickly where 
to go find the information they need - or if it's even available. 
 Questions would change from, Where do I get ... and How do I ... to 
Has this really not been done yet, or is it just not in the repository 
yet?

Personally, I think that linking 4.x docs to 3.x docs would help a lot. 
 It's anything but obvious you should have to go through the 3.x docs to 
learn to set up 4.x :-)  If, however, they were at least mentioned in 
the 4.0 docs, and maybe linked to, it would be much more easily understood.

Just a thought ;-)

Eddie

Turner, John wrote:

Man, this list needs a FAQ, bad.

HOWTO: http://www.galatea.com/flashguides/index

There are many other docs that explain how to connect the two, the URL
above
is just one of them.

If you are using apache, there is no benefit to using mod_webapp (WARP).
The current mod_webapp connector sends ALL requests to tomcat...in that
scenario, apache does nothing but add a layer. You would be fine just using
tomcat standalone on port 80 in that scenario.  If you want apache to serve
static content, and tomcat to serve servlet and JSP content, then you
should
use mod_jk (at this time):

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk.html

John Turner
[EMAIL PROTECTED]




--
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: FAQ and resources (was mod_webapp.so)

2002-07-18 Thread PELOQUIN,JEFFREY (Non-HP-Boise,ex1)

I would be willing to put together info that is specific to HP-UX usage.

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 8:04 AM
To: 'Tomcat Users List'
Subject: RE: FAQ and resources (was mod_webapp.so)



Great ideas, all!

John Turner
[EMAIL PROTECTED]


-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 10:02 AM
To: Tomcat Users List
Subject: Re: mod_webapp.so


You know, and I realize the devs are kind of busy, I think if they would 
just incorporate the level of detail and completeness in the more recent 
docs that existed in the 3.x series of TC, a lot of questions wouldn't 
have to be asked.  I find myself wondering, quite honestly, why the TC 
3.x docs explained things so well, and yet the 4.x docs seem quite terse 
in comparison.

You know what would be cool?  ... if a link repository were set up 
that would allow us to submit our own I found this useful sites.  It 
could allow a person to submit a link - and allow other people to rate 
the link according to how useful they found it.  The original poster 
could add a small amount of commentary about his TC/Apache version, and 
his implementation.  Then, newcomers could discern rather quickly where 
to go find the information they need - or if it's even available. 
 Questions would change from, Where do I get ... and How do I ... to 
Has this really not been done yet, or is it just not in the repository 
yet?

Personally, I think that linking 4.x docs to 3.x docs would help a lot. 
 It's anything but obvious you should have to go through the 3.x docs to 
learn to set up 4.x :-)  If, however, they were at least mentioned in 
the 4.0 docs, and maybe linked to, it would be much more easily understood.

Just a thought ;-)

Eddie

Turner, John wrote:

Man, this list needs a FAQ, bad.

HOWTO: http://www.galatea.com/flashguides/index

There are many other docs that explain how to connect the two, the URL
above
is just one of them.

If you are using apache, there is no benefit to using mod_webapp (WARP).
The current mod_webapp connector sends ALL requests to tomcat...in that
scenario, apache does nothing but add a layer. You would be fine just using
tomcat standalone on port 80 in that scenario.  If you want apache to serve
static content, and tomcat to serve servlet and JSP content, then you
should
use mod_jk (at this time):

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk.html

John Turner
[EMAIL PROTECTED]




--
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]

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




Re: mod_webapp.so

2002-07-18 Thread Joseph Molnar

Hi Diego, if you are looking to use WARP, try out this tutorial I put
together

http://www.codesta.com/knowledge/technical/tomcat_warp_apache/

Joe

- Original Message -
From: Diego, Emil [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 18, 2002 6:06 AM
Subject: mod_webapp.so


 I am running Redhat linux 7.3 with Apache 1.3.23 and tomcat 4.0.4.  I have
 installed them both and have tested them individually and they work.  Now
i
 want to setup tomcat so it works within apache.  my 2 questions are this.
 1) Where can I get the mod_app.so warp connecter?

 2) Is there a really good tutorial on how to configure the servers to work
 together?


 thanx in advance for the assistance.

 Emil
 [EMAIL PROTECTED]

 --
 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]




mod_webapp.so build problem (BIS)

2002-07-10 Thread Julien OIX

hi everyone,

I'm running an apache server on a RedHat top box ...

I've downloaded the latest sources from the apache CVS server (checkout
webapp / checkout apr)
here's what I do to get the webapp module:

cd /usr/local/jakarta-tomcat-connectors/webapp/
./support/buildconf.sh

and what I get as error:


-- --- Checking autoconf version
autoconf version 2.52 detected.

--- Running APR buildconf script
buildconf: checking installation...
buildconf: autoconf version 2.52 (ok)
buildconf: libtool version 1.3.5 (ok)
Copying libtool helper files ...
Creating include/arch/unix/apr_private.h.in ...
NONE:0: /usr/bin/m4: `syncoutput' from frozen file not found in builtin
table!
NONE:0: /usr/bin/m4: `changesyntax' from frozen file not found in
builtin table!
autoheader: include/arch/unix/apr_private.h.in is unchanged
Creating configure ...
NONE:0: /usr/bin/m4: `syncoutput' from frozen file not found in builtin
table!
NONE:0: /usr/bin/m4: `changesyntax' from frozen file not found in
builtin table!

--- Creating WebApp configure script
Creating configure ...
NONE:0: /usr/bin/m4: `syncoutput' from frozen file not found in builtin
table!
NONE:0: /usr/bin/m4: `changesyntax' from frozen file not found in
builtin table!

any ideas ?

thanks in advance
-- 
Julien OIX
Service Informatique de Gestion
Tél: 02 40 99 83 65
mailto: [EMAIL PROTECTED]

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




Where can I find compiled mod_webapp.so for Windows?

2002-07-09 Thread @Basebeans.com

Subject: Where can I find compiled mod_webapp.so for Windows?
From: Christopher Cheng [EMAIL PROTECTED]
 ===
I was only able to get the source. Where can I find the latest version of
mod_webapp.so for Windows? (I do not have a Windows C compiler installed)



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




RE: mod_webapp.so

2002-07-08 Thread Mario Henley Becerril Geldis

On Fri, 5 Jul 2002, Ten-Hung Chu wrote:

 As I mentoned below, you need to add this line
 
 AddModule mod_webapp.c
 
 after the LoadModule line in httpd.conf, check INSTALL.txt for more detail.


  Document say:


   !-- The MOD_WEBAPP connector is used to connect Apache 1.3 with Tomcat
4.0
   as its servlet container. Please read the README.txt file coming
with
   the WebApp Module distribution on how to build it.
   (Or check out the jakarta-tomcat-connectors/webapp CVS
repository)

   To configure the Apache side, you must ensure that you have the
   ServerName and Port directives defined in httpd.conf.  Then,
   lines like these to the bottom of your httpd.conf file:

 LoadModule webapp_module libexec/mod_webapp.so
 WebAppConnection warpConnection warp www.mydomain:8008
 WebAppDeploy examples warpConnection /examples/

   The next time you restart Apache (after restarting Tomcat, if
needed)
   the connection will be established, and all applications you make
   visible via WebAppDeploy directives can be accessed through
Apache.
  --


   But when i try ckeck config apache say:

  #apachectl configtest

  Invalid command 'LoadModule', perhaps mis-spelled or defined by a module
not included in the server configuration

   Any ideas..???


  I compile apache with  --enable--rule=SHARED_CORE  for enable DSO...



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




RE: mod_webapp.so

2002-07-08 Thread Ten-Hung Chu

Not sure about enable-rule=SHARE_CORE, when I build Apache 1.3 I did

./configure --enable-so

to enalbe DSO.

Also, to clarify (both connect to Tomcat 4.0.4)

For Apache 1.3.26 I add four lines to httpd.conf
 LoadModule webapp_module libexec/mod_webapp.so
   AddModule mod_webapp.c
 WebAppConnection warpConnection warp www.mydomain:8008
 WebAppDeploy examples warpConnection /examples/

For Apache 2.0.39 I add only three line to httpd.conf
 LoadModule webapp_module libexec/mod_webapp.so
 WebAppConnection warpConnection warp www.mydomain:8008
 WebAppDeploy examples warpConnection /examples/
Ten
-Original Message-
From: Mario Henley Becerril Geldis [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 08, 2002 10:10 AM
To: Ten-Hung Chu
Cc: [EMAIL PROTECTED]
Subject: RE: mod_webapp.so


On Fri, 5 Jul 2002, Ten-Hung Chu wrote:

 As I mentoned below, you need to add this line

 AddModule mod_webapp.c

 after the LoadModule line in httpd.conf, check INSTALL.txt for more
detail.


  Document say:


   !-- The MOD_WEBAPP connector is used to connect Apache 1.3 with Tomcat
4.0
   as its servlet container. Please read the README.txt file coming
with
   the WebApp Module distribution on how to build it.
   (Or check out the jakarta-tomcat-connectors/webapp CVS
repository)

   To configure the Apache side, you must ensure that you have the
   ServerName and Port directives defined in httpd.conf.  Then,
   lines like these to the bottom of your httpd.conf file:

 LoadModule webapp_module libexec/mod_webapp.so
 WebAppConnection warpConnection warp www.mydomain:8008
 WebAppDeploy examples warpConnection /examples/

   The next time you restart Apache (after restarting Tomcat, if
needed)
   the connection will be established, and all applications you make
   visible via WebAppDeploy directives can be accessed through
Apache.
  --


   But when i try ckeck config apache say:

  #apachectl configtest

  Invalid command 'LoadModule', perhaps mis-spelled or defined by a module
not included in the server configuration

   Any ideas..???


  I compile apache with  --enable--rule=SHARED_CORE  for enable DSO...



--
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]




mod_webapp.so

2002-07-05 Thread Mario Henley Becerril Geldis




   I compile and make my mod_webapp.so, but when i try run apachectl this
say:

 Syntax error on line 211 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/mod_webapp.so into
server: /usr/local/apache/libexec/mod_webapp.so: undefined
symbol: apr_atomic_init


   My httpd.conf:


   LoadModule webapp_module libexec/mod_webapp.so
   WebAppConnection warpConnection warp www.mydomain:8008
   WebAppDeploy examples warpConnection /examples/

   

   why..???


   :-(


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




RE: mod_webapp.so

2002-07-05 Thread Ten-Hung Chu

What versions of Apache and Tomcat? If it is Apache 1.3, you need to add
AddModule mod_webapp.c after LoadModule.

Ten

-Original Message-
From: Mario Henley Becerril Geldis [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 05, 2002 5:35 PM
To: [EMAIL PROTECTED]
Subject: mod_webapp.so





   I compile and make my mod_webapp.so, but when i try run apachectl this
say:

 Syntax error on line 211 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/mod_webapp.so into
server: /usr/local/apache/libexec/mod_webapp.so: undefined
symbol: apr_atomic_init


   My httpd.conf:


   LoadModule webapp_module libexec/mod_webapp.so
   WebAppConnection warpConnection warp www.mydomain:8008
   WebAppDeploy examples warpConnection /examples/



   why..???


   :-(


--
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: mod_webapp.so

2002-07-05 Thread Mario Henley Becerril Geldis


 What versions of Apache and Tomcat? If it is Apache 1.3, you need to add
 AddModule mod_webapp.c after LoadModule.


   yes, i have apache 1.3.26 and binary tomcat 4.0.4


   I configure apache which prefix --enable--rule=SHARED_CORE, it's
sufficient..???


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




How was the precompiled mod_webapp.so binary built for Solaris 8

2002-06-16 Thread Albert Chin

How was the precompiled binary of mod_webapp available from
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/bin/solaris8/sparc/
built?

I'm trying to build it with the Sun C compiler (Forte 6.2) as follows:
  ./configure CFLAGS=-mr -Qn -xstrconst -xO2 -xtarget=generic -xarch=v8 \
  CC=cc JAVA_HOME=/opt/java1.4 --with-apxs=[blah] --with-perl=[blah] \
  --disable-docs --disable-apidoc-java --disable-apidoc-c \
  --with-java=[tomcat dir] --with-ant=[path to ant]

I followed the instructions at:
  http://archive.covalent.net/jakarta/tomcat-user/2002/03/0209.xml
to fetch webapp and apr but get an error when trying to connect:

  $ telnet localhost 80
  Trying 127.0.0.1...
  Connected to localhost.
  Escape character is '^]'.
  GET /examples/ HTTP/1.0

  Connection closed by foreign host.

Using the precompiled binary above works fine!

-- 
albert chin ([EMAIL PROTECTED])

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




Re: Loaded DSO /usr/lib/apache/mod_webapp.so uses plain Apache 1.3API, this module might crash under EAPI!

2002-06-03 Thread jean-frederic clere

Mauricio Tia Ni Gong Lin wrote:
 I am using mod_webapp to connect apache web server version 1.3.20 with
 Tomcat 4, but the following warning message is showed when I start the
 apache web server:
 
 --
 [Fri May 31 17:47:00 2002] [warn] Loaded DSO /usr/lib/apache/mod_webapp.so
 uses plain Apache 1.3 API, this module might crash under EAPI! (please
 recompile it with -DEAPI).
 ---
 
 The apache web server is running, but i cannot access jsp files via
 mod_webapp.
 When i set the http://www.ppgi.fua.br:8080/inscricao/inscricao.jsp, the
 Tomcat show me the page.
 
 But when i try http://www.ppgi.fua.br/inscricao/inscricao.jsp, the Apache
 Server can't find the page.
 
 Is there anything wrong?

To get ride of the message. Try with a newer mod_webapp. (aka from cvs).

 
 Regards,
 
 Mauricio Lin
 
 
 
 --
 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]




Loaded DSO /usr/lib/apache/mod_webapp.so uses plain Apache 1.3 API, this module might crash under EAPI!

2002-05-31 Thread Mauricio Tia Ni Gong Lin

I am using mod_webapp to connect apache web server version 1.3.20 with
Tomcat 4, but the following warning message is showed when I start the
apache web server:

--
[Fri May 31 17:47:00 2002] [warn] Loaded DSO /usr/lib/apache/mod_webapp.so
uses plain Apache 1.3 API, this module might crash under EAPI! (please
recompile it with -DEAPI).
---

The apache web server is running, but i cannot access jsp files via
mod_webapp.
When i set the http://www.ppgi.fua.br:8080/inscricao/inscricao.jsp, the
Tomcat show me the page.

But when i try http://www.ppgi.fua.br/inscricao/inscricao.jsp, the Apache
Server can't find the page.

Is there anything wrong?

Regards,

Mauricio Lin



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




Re: Loaded DSO /usr/lib/apache/mod_webapp.so uses plain Apache 1.3 API, this module might crash under EAPI!

2002-05-31 Thread Pascal Forget

Mauricio Tia Ni Gong Lin wrote:

I am using mod_webapp to connect apache web server version 1.3.20 with
Tomcat 4, but the following warning message is showed when I start the
apache web server:

--
[Fri May 31 17:47:00 2002] [warn] Loaded DSO /usr/lib/apache/mod_webapp.so
uses plain Apache 1.3 API, this module might crash under EAPI! (please
recompile it with -DEAPI).
---

The apache web server is running, but i cannot access jsp files via
mod_webapp.
When i set the http://www.ppgi.fua.br:8080/inscricao/inscricao.jsp, the
Tomcat show me the page.

But when i try http://www.ppgi.fua.br/inscricao/inscricao.jsp, the Apache
Server can't find the page.

Is there anything wrong?


Generally it is safe to ignore the message.

Regards,

Pascal




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




RE: Loaded DSO /usr/lib/apache/mod_webapp.so uses plain Apache 1.3 API, this module might crash under EAPI!

2002-05-31 Thread Trenton D. Adams

I ignore the message myself.  Can we see some httpd.conf configuration
stuff relevant to the apache mod_webapp.so?

I do something like the following.

...
LoadModule webapp_module modules/mod_webapp.so
...
ClearModuleList
...
AddModule mod_webapp.c
...
WebAppConnection conn warp 192.168.0.10:8008
WebAppConnection morpheus warp 192.168.0.11:8008
WebAppDeploy examples conn /examples
WebAppDeploy javahello morpheus /javahello
WebAppInfo /webapp-inf


The first WebAppConnection connects to the local tomcat with a warp
connection, and the second one connects to tomcat on another machine.
The first WebAppDeploy is for the local conn and the second is for the
remote morpheus.  The WebAppInfo is not needed, and doesn't really
seem to work for me! :)

You'll find all this information with the mod_webapp.so source code on
the Tomcat website.

-Original Message-
From: Mauricio Tia Ni Gong Lin [mailto:[EMAIL PROTECTED]] 
Sent: May 31, 2002 3:58 PM
To: [EMAIL PROTECTED]
Subject: Loaded DSO /usr/lib/apache/mod_webapp.so uses plain Apache 1.3
API, this module might crash under EAPI! 


I am using mod_webapp to connect apache web server version 1.3.20 with
Tomcat 4, but the following warning message is showed when I start the
apache web server:

---
---
[Fri May 31 17:47:00 2002] [warn] Loaded DSO
/usr/lib/apache/mod_webapp.so uses plain Apache 1.3 API, this module
might crash under EAPI! (please recompile it with -DEAPI).

---

The apache web server is running, but i cannot access jsp files via
mod_webapp. When i set the
http://www.ppgi.fua.br:8080/inscricao/inscricao.jsp, the Tomcat show me
the page.

But when i try http://www.ppgi.fua.br/inscricao/inscricao.jsp, the
Apache Server can't find the page.

Is there anything wrong?

Regards,

Mauricio Lin



--
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]




Correct versions of mod_webapp.so and libapr.dll

2002-05-30 Thread Rupert Young

Can someone give me the URL for the above for the below ?

Windows 2000
Apache/1.3.24 (Win32)
Tomcat 4.0

Regards,
Rupert Young



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




mappings not working with mod_webapp.so, Apache 1.3.23, Tomcat 4.0.3

2002-05-24 Thread Ian Zapczynski

Hello all,

I am unable to access my Tomcat web application via Apache.  When I try, I get a 404 
error and the Apache error log shows that it is
looking for the application under my document root.

I have:

Apache version 1.3.23
Tomcat 4.03
mod_webapp.so from jakarta-tomcat-connectors-4.0.2-01-src
Red Hat Linux 6.2

Using mod_webapp.so, I am able to get Apache to connect to Tomcat as I can see from 
the following in the apache_log.date.txt log upon
Apache startup:

2002-05-23 14:57:30 [org.apache.catalina.connector.warp.WarpConnector] Connection from 
/127.0.0.1:3767 to /127.0.0.1:8008
2002-05-23 14:57:30 [org.apache.catalina.connector.warp.WarpConnector] Connection from 
/127.0.0.1:3768 to /127.0.0.1:8008
2002-05-23 14:57:30 [org.apache.catalina.connector.warp.WarpConnector] Connection from 
/127.0.0.1:3769 to /127.0.0.1:8008
2002-05-23 14:57:30 [org.apache.catalina.connector.warp.WarpConnector] Connection from 
/127.0.0.1:3770 to /127.0.0.1:8008
2002-05-23 14:57:30 [org.apache.catalina.connector.warp.WarpConnector] Connection from 
/127.0.0.1:3771 to /127.0.0.1:8008


After these messages, I also see several messages of the type:

2002-05-23 14:57:30 [org.apache.catalina.connector.warp.WarpConfigurationHandler] 
Filter mappings (0)

I'm not sure if this is typical or part of my problem.

From my httpd.conf:

LoadModule webapp_module libexec/mod_webapp.so

WebAppConnection conn  warp  localhost:8008
WebAppDeploy myapp  conn  /myapp
WebAppInfo /webapp-info

myapp is named exactly as it exists in my /home/tomcat/webapps directory.  When I 
access either http://host/myapp or
http://host/webapp-info, I receive a 404 error in the Apache access log and the error 
log is looking for /usr/local/apache/htdocs/myapp.

Can anyone point out what I may be doing wrong?

Thanks in advance!

-Ian


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




RE: mappings not working with mod_webapp.so, Apache 1.3.23, Tomcat 4.0.3

2002-05-24 Thread Andy Eastham

Ian,

Have you got addModule after loadModule in your httpd.conf file?  I've got:
# Tomcat / Catalina connector
LoadModule webapp_module modules/mod_webapp.so
AddModule   mod_webapp.c

then:
# Tomcat connections ANE 20010813
WebAppConnection conn  warp  127.0.0.1:8008
WebAppDeploy control   conn  /control
WebAppDeploy rtiadmin   conn  /rtiadmin

This works fine.
Hope this helps,

Andy

 -Original Message-
 From: Ian Zapczynski [mailto:[EMAIL PROTECTED]]
 Sent: 24 May 2002 13:34
 To: [EMAIL PROTECTED]
 Subject: mappings not working with mod_webapp.so, Apache 1.3.23, Tomcat
 4.0.3
 
 
 Hello all,
 
 I am unable to access my Tomcat web application via Apache.  When 
 I try, I get a 404 error and the Apache error log shows that it is
 looking for the application under my document root.
 
 I have:
 
 Apache version 1.3.23
 Tomcat 4.03
 mod_webapp.so from jakarta-tomcat-connectors-4.0.2-01-src
 Red Hat Linux 6.2
 
 Using mod_webapp.so, I am able to get Apache to connect to Tomcat 
 as I can see from the following in the apache_log.date.txt log upon
 Apache startup:
 
 2002-05-23 14:57:30 
 [org.apache.catalina.connector.warp.WarpConnector] Connection 
 from /127.0.0.1:3767 to /127.0.0.1:8008
 2002-05-23 14:57:30 
 [org.apache.catalina.connector.warp.WarpConnector] Connection 
 from /127.0.0.1:3768 to /127.0.0.1:8008
 2002-05-23 14:57:30 
 [org.apache.catalina.connector.warp.WarpConnector] Connection 
 from /127.0.0.1:3769 to /127.0.0.1:8008
 2002-05-23 14:57:30 
 [org.apache.catalina.connector.warp.WarpConnector] Connection 
 from /127.0.0.1:3770 to /127.0.0.1:8008
 2002-05-23 14:57:30 
 [org.apache.catalina.connector.warp.WarpConnector] Connection 
 from /127.0.0.1:3771 to /127.0.0.1:8008
 
 
 After these messages, I also see several messages of the type:
 
 2002-05-23 14:57:30 
 [org.apache.catalina.connector.warp.WarpConfigurationHandler] 
 Filter mappings (0)
 
 I'm not sure if this is typical or part of my problem.
 
 From my httpd.conf:
 
 LoadModule webapp_module libexec/mod_webapp.so
 
 WebAppConnection conn  warp  localhost:8008
 WebAppDeploy myapp  conn  /myapp
 WebAppInfo /webapp-info
 
 myapp is named exactly as it exists in my /home/tomcat/webapps 
 directory.  When I access either http://host/myapp or
 http://host/webapp-info, I receive a 404 error in the Apache 
 access log and the error log is looking for 
 /usr/local/apache/htdocs/myapp.
 
 Can anyone point out what I may be doing wrong?
 
 Thanks in advance!
 
 -Ian
 
 
 --
 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: mappings not working with mod_webapp.so, Apache 1.3.23, Tomcat 4.0.3

2002-05-24 Thread Ian Zapczynski

Hello Andy and all,

I received the same results with or without the AddModule line.  When I have the
AddModule line in there, I get the following on Apache startup:

[warn] module mod_webapp.c is already added, skipping

I removed it to avoid the error, but placing it back, my mappings to the web
application are still not recognized.  I'm not even quite sure how to
troubleshoot this further?

-Ian


Andy Eastham wrote:

 Ian,

 Have you got addModule after loadModule in your httpd.conf file?  I've got:
 # Tomcat / Catalina connector
 LoadModule webapp_module modules/mod_webapp.so
 AddModule   mod_webapp.c

 then:
 # Tomcat connections ANE 20010813
 WebAppConnection conn  warp  127.0.0.1:8008
 WebAppDeploy control   conn  /control
 WebAppDeploy rtiadmin   conn  /rtiadmin

 This works fine.
 Hope this helps,

 Andy

  -Original Message-
  From: Ian Zapczynski [mailto:[EMAIL PROTECTED]]
  Sent: 24 May 2002 13:34
  To: [EMAIL PROTECTED]
  Subject: mappings not working with mod_webapp.so, Apache 1.3.23, Tomcat
  4.0.3
 
 
  Hello all,
 
  I am unable to access my Tomcat web application via Apache.  When
  I try, I get a 404 error and the Apache error log shows that it is
  looking for the application under my document root.
 
  I have:
 
  Apache version 1.3.23
  Tomcat 4.03
  mod_webapp.so from jakarta-tomcat-connectors-4.0.2-01-src
  Red Hat Linux 6.2
 
  Using mod_webapp.so, I am able to get Apache to connect to Tomcat
  as I can see from the following in the apache_log.date.txt log upon
  Apache startup:
 
  2002-05-23 14:57:30
  [org.apache.catalina.connector.warp.WarpConnector] Connection
  from /127.0.0.1:3767 to /127.0.0.1:8008
  2002-05-23 14:57:30
  [org.apache.catalina.connector.warp.WarpConnector] Connection
  from /127.0.0.1:3768 to /127.0.0.1:8008
  2002-05-23 14:57:30
  [org.apache.catalina.connector.warp.WarpConnector] Connection
  from /127.0.0.1:3769 to /127.0.0.1:8008
  2002-05-23 14:57:30
  [org.apache.catalina.connector.warp.WarpConnector] Connection
  from /127.0.0.1:3770 to /127.0.0.1:8008
  2002-05-23 14:57:30
  [org.apache.catalina.connector.warp.WarpConnector] Connection
  from /127.0.0.1:3771 to /127.0.0.1:8008
 
 
  After these messages, I also see several messages of the type:
 
  2002-05-23 14:57:30
  [org.apache.catalina.connector.warp.WarpConfigurationHandler]
  Filter mappings (0)
 
  I'm not sure if this is typical or part of my problem.
 
  From my httpd.conf:
 
  LoadModule webapp_module libexec/mod_webapp.so
 
  WebAppConnection conn  warp  localhost:8008
  WebAppDeploy myapp  conn  /myapp
  WebAppInfo /webapp-info
 
  myapp is named exactly as it exists in my /home/tomcat/webapps
  directory.  When I access either http://host/myapp or
  http://host/webapp-info, I receive a 404 error in the Apache
  access log and the error log is looking for
  /usr/local/apache/htdocs/myapp.
 
  Can anyone point out what I may be doing wrong?
 
  Thanks in advance!
 
  -Ian
 
 
  --
  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]

--
Ian Zapczynski
Systems Integrator
The Sycamore Group
(215) 283-4877 x120



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




RE: mappings not working with mod_webapp.so, Apache 1.3.23, Tomcat 4.0.3

2002-05-24 Thread Iñaki Agirrezabala

Hi

When I was testing tomcat with apache for the first time I had a similar problem.
I found a hint in a now forgotten web forum:

http://apache.server/examples would not work
http://apache.server/examples/ did it's work

That was a great day for me ;-D
Maybe it will help you too.

Iñaki

-Mensaje original-
De: Ian Zapczynski [mailto:[EMAIL PROTECTED]]
Enviado el: viernes, 24 de mayo de 2002 14:57
Para: Tomcat Users List
Asunto: Re: mappings not working with mod_webapp.so, Apache 1.3.23,
Tomcat 4.0.3


Hello Andy and all,

I received the same results with or without the AddModule line.  When I have the
AddModule line in there, I get the following on Apache startup:

[warn] module mod_webapp.c is already added, skipping

I removed it to avoid the error, but placing it back, my mappings to the web
application are still not recognized.  I'm not even quite sure how to
troubleshoot this further?

-Ian


Andy Eastham wrote:

 Ian,

 Have you got addModule after loadModule in your httpd.conf file?  I've got:
 # Tomcat / Catalina connector
 LoadModule webapp_module modules/mod_webapp.so
 AddModule   mod_webapp.c

 then:
 # Tomcat connections ANE 20010813
 WebAppConnection conn  warp  127.0.0.1:8008
 WebAppDeploy control   conn  /control
 WebAppDeploy rtiadmin   conn  /rtiadmin

 This works fine.
 Hope this helps,

 Andy

  -Original Message-
  From: Ian Zapczynski [mailto:[EMAIL PROTECTED]]
  Sent: 24 May 2002 13:34
  To: [EMAIL PROTECTED]
  Subject: mappings not working with mod_webapp.so, Apache 1.3.23, Tomcat
  4.0.3
 
 
  Hello all,
 
  I am unable to access my Tomcat web application via Apache.  When
  I try, I get a 404 error and the Apache error log shows that it is
  looking for the application under my document root.
 
  I have:
 
  Apache version 1.3.23
  Tomcat 4.03
  mod_webapp.so from jakarta-tomcat-connectors-4.0.2-01-src
  Red Hat Linux 6.2
 
  Using mod_webapp.so, I am able to get Apache to connect to Tomcat
  as I can see from the following in the apache_log.date.txt log upon
  Apache startup:
 
  2002-05-23 14:57:30
  [org.apache.catalina.connector.warp.WarpConnector] Connection
  from /127.0.0.1:3767 to /127.0.0.1:8008
  2002-05-23 14:57:30
  [org.apache.catalina.connector.warp.WarpConnector] Connection
  from /127.0.0.1:3768 to /127.0.0.1:8008
  2002-05-23 14:57:30
  [org.apache.catalina.connector.warp.WarpConnector] Connection
  from /127.0.0.1:3769 to /127.0.0.1:8008
  2002-05-23 14:57:30
  [org.apache.catalina.connector.warp.WarpConnector] Connection
  from /127.0.0.1:3770 to /127.0.0.1:8008
  2002-05-23 14:57:30
  [org.apache.catalina.connector.warp.WarpConnector] Connection
  from /127.0.0.1:3771 to /127.0.0.1:8008
 
 
  After these messages, I also see several messages of the type:
 
  2002-05-23 14:57:30
  [org.apache.catalina.connector.warp.WarpConfigurationHandler]
  Filter mappings (0)
 
  I'm not sure if this is typical or part of my problem.
 
  From my httpd.conf:
 
  LoadModule webapp_module libexec/mod_webapp.so
 
  WebAppConnection conn  warp  localhost:8008
  WebAppDeploy myapp  conn  /myapp
  WebAppInfo /webapp-info
 
  myapp is named exactly as it exists in my /home/tomcat/webapps
  directory.  When I access either http://host/myapp or
  http://host/webapp-info, I receive a 404 error in the Apache
  access log and the error log is looking for
  /usr/local/apache/htdocs/myapp.
 
  Can anyone point out what I may be doing wrong?
 
  Thanks in advance!
 
  -Ian
 
 
  --
  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]

--
Ian Zapczynski
Systems Integrator
The Sycamore Group
(215) 283-4877 x120



--
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: mappings not working with mod_webapp.so, Apache 1.3.23, Tomcat 4.0.3

2002-05-24 Thread Ian Zapczynski

*smack*

Yes, this was my problem.  I can't believe I never even tried that.  :)

Thanks,

-Ian

Iñaki Agirrezabala wrote:

 Hi

 When I was testing tomcat with apache for the first time I had a similar problem.
 I found a hint in a now forgotten web forum:

 http://apache.server/examples would not work
 http://apache.server/examples/ did it's work

 That was a great day for me ;-D
 Maybe it will help you too.

 Iñaki



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




Compiled mod_webapp.so request

2002-05-23 Thread Simon Li

Dear,

Does anyone have compiled mod_webapp.so which runs on glibc 2.1.x on RH6.2
system?

My deployment envirnment would be apache1.3.x+tomcat4.0.1, please help.

PS.
1)  I can't use the pre-compiled binary come from the dist of tomcat:
Cannot load /etc/httpd/modules/mod_webapp.so into server: /lib/libc.so.6:
version `GLIBC_2.2' not found (required by /etc/httpd/modules/mod_webapp.so)
   [FAILED]
2) If i self-compiled my mod_webapp.so:
Cannot load /etc/httpd/modules/mod_webapp.so into server:
/etc/httpd/modules/mod_webapp.so: undefined symbol: pthread_sigmask

Best regards,
Simon.
==
»{¬°¦Û¤v©ú¤é¤F¡A¹ï¦Û¤v©Ò¤F¸ÑªºªF¦è¡A«K·|¦s¦b¶ÆºC¤§¤ß¡A¦Û§Ú´N·|¶}©l¿±µÈ


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




Re: Can't build mod_webapp.so

2002-05-07 Thread @Basebeans.com

Subject: Re: Can't build mod_webapp.so
From: Bruno V [EMAIL PROTECTED]
 ===
You should check : http://www.pubbitch.org/jboss.html

Other guides and tutorial about Apache + tomcat + connectors :
http://bruno.vernay.free.fr/HowTo/bWebServerHowTo/ch05.html


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




Can't build mod_webapp.so

2002-05-04 Thread Erik Blazynski

Hi,

I have installed tomcat 4.0.3 and it works like a champ. I am trying
integrate with apache however I'm using glibc2.1 and there does not seem
to be a binary that I can use. So I downloaded the src and when I try to
run the configure script I get the output below. I have also tried
support/buildconf.sh and I still have the exact same error. Anyone have
an idea of what could be wrong?

Thanks,
Erik

loading cache ./config.cache
checking for test... /usr/custombin/test
Copying /
mnt
mnt2
mnt3
proc
Now copying /usr
cp: /mnt/usr/*: No such file or directory
chmod: /mnt2/usr/tmp: No such file or directory
checking for true... /bin/true
Copying /
mnt
mnt2
mnt3
proc
Now copying /usr
cp: /mnt/usr/*: No such file or directory
chmod: /mnt2/usr/tmp: No such file or directory
configure: error: cannot find required binary true

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




mod_webapp.so download

2002-05-03 Thread Donald Tang

anybody have mod_webapp.so compiled with the -DEAPI flags successfully?

i've been trying to do so for the last few hours and have run into a
host of problems...where is it available for download..?

thanks.


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: mod_webapp.so download

2002-05-03 Thread Raja Sekhar

Hi,

You can download mod_webapp.so from the sepcific tomcat version/bin directory. For ex: 
for Tomcat 4.0.3, the url is

http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/bin/.

Under bin, u will find a list of operating systems in which you can find the binary of 
mod_webapp.so.

Hope this helps u out.

..Raj
--

On Fri, 3 May 2002 04:54:14Donald Tang wrote:
anybody have mod_webapp.so compiled with the -DEAPI flags successfully?

i've been trying to do so for the last few hours and have run into a
host of problems...where is it available for download..?

thanks.


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at 
http://www.eudoramail.com

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: mod_webapp.so download

2002-05-03 Thread Donald Tang

Thanks, but those aren't compiled with the Extended API and have been
causing problems (I suspect...).

I need a binary that has been compiled with the -DEAPI flag.

Anyone?

don

 -Original Message-
 From: Raja Sekhar [mailto:[EMAIL PROTECTED]] 
 Sent: Friday, May 03, 2002 7:39 AM
 To: [EMAIL PROTECTED]
 Subject: Re: mod_webapp.so download
 
 
 Hi,
 
 You can download mod_webapp.so from the sepcific tomcat 
 version/bin directory. For ex: for Tomcat 4.0.3, the url is
 
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/bin/.

Under bin, u will find a list of operating systems in which you can find
the binary of mod_webapp.so.

Hope this helps u out.

..Raj
--

On Fri, 3 May 2002 04:54:14Donald Tang wrote:
anybody have mod_webapp.so compiled with the -DEAPI flags successfully?

i've been trying to do so for the last few hours and have run into a 
host of problems...where is it available for download..?

thanks.


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Join 18 million Eudora users by signing up for a free Eudora Web-Mail
account at http://www.eudoramail.com

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




LoadModule webapp_module modules/mod_webapp.so

2002-04-24 Thread yilmaz

Hi everyone,
i know everyone is already sick of reading problems about apache and tomcat. I read 
almost all related mails and articles (how-to's) on the internet , which didn't help.
i am working with tomcat 4.0-b7 on win 2000.
And using apcahe 2.
according to the instructions on the articles downloaded mod_webapp.so and put it 
under modules/ directory.
The tomact and apache both work fine without problem.
When i add 
LoadModule webapp_module modules/mod_webapp.so
in my httpd.conf file, i can't get apache started. It says the requested operation 
has failed.
Is there any syntax error, or something else?
(note: i added the above line just under the default loadmodule lines defined in the 
httpd.conf file)
Any help please : (
Thanks :)



Re: LoadModule webapp_module modules/mod_webapp.so

2002-04-24 Thread Simon Stewart

On Wed, Apr 24, 2002 at 04:34:42PM +0800, yilmaz wrote:
 Hi everyone,
 i know everyone is already sick of reading problems about apache and tomcat. I read 
almost all related mails and articles (how-to's) on the internet , which didn't help.
 i am working with tomcat 4.0-b7 on win 2000.
 And using apcahe 2.
 according to the instructions on the articles downloaded mod_webapp.so and put it 
under modules/ directory.
 The tomact and apache both work fine without problem.
 When i add 
 LoadModule webapp_module modules/mod_webapp.so
 in my httpd.conf file, i can't get apache started. It says the requested operation 
has failed.
 Is there any syntax error, or something else?
 (note: i added the above line just under the default loadmodule lines defined in the 
httpd.conf file)
 Any help please : (

When you saw the error, had you done an apachectl configtest to make
sure that your httpd.conf was okay? Is there anything in apache's
error logs?

Cheers,

Simon

-- 
`The situation is completely under control. All of them were killed.'
 --- Alim Razim, for the Northern Alliance, demonstrating fine
 command of traditional Afghan prisoner control techniques.

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: LoadModule webapp_module modules/mod_webapp.so

2002-04-24 Thread yilmaz

Hi Simon,
unfortunately i don't know how to do apachectl configtest.
from command window i tried that , but didn't work.
From apache monitor, when i try to start the server, it throws
the requested operation has failed error, nothing else.
My httpd.config is okey,  except when i add
LoadModule webapp_module modules/mod_webapp.so
into the httpd.config file (as it is instructed) , and restart the apache,
it can't start. Obviously the problem is with the above line of code.
Any suggestions ?
Thanks :)
- Original Message -
From: Simon Stewart [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, April 24, 2002 5:54 PM
Subject: Re: LoadModule webapp_module modules/mod_webapp.so


 On Wed, Apr 24, 2002 at 04:34:42PM +0800, yilmaz wrote:
  Hi everyone,
  i know everyone is already sick of reading problems about apache and
tomcat. I read almost all related mails and articles (how-to's) on the
internet , which didn't help.
  i am working with tomcat 4.0-b7 on win 2000.
  And using apcahe 2.
  according to the instructions on the articles downloaded mod_webapp.so
and put it under modules/ directory.
  The tomact and apache both work fine without problem.
  When i add
  LoadModule webapp_module modules/mod_webapp.so
  in my httpd.conf file, i can't get apache started. It says the
requested operation has failed.
  Is there any syntax error, or something else?
  (note: i added the above line just under the default loadmodule lines
defined in the httpd.conf file)
  Any help please : (

 When you saw the error, had you done an apachectl configtest to make
 sure that your httpd.conf was okay? Is there anything in apache's
 error logs?

 Cheers,

 Simon

 --
 `The situation is completely under control. All of them were killed.'
  --- Alim Razim, for the Northern Alliance, demonstrating fine
  command of traditional Afghan prisoner control techniques.

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]





--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: LoadModule webapp_module modules/mod_webapp.so

2002-04-24 Thread Simon Stewart

apachectl configtest ultimately runs httpd -t, so you could try
httpd.exe -t on win32. You might also try reversing the direction of
the file seperator in Windows:

LoadModule webapp_module modules\mod_webapp.so

I'm never tried Apache on Win32, but this should help.

On Wed, Apr 24, 2002 at 09:51:57PM +0800, yilmaz wrote:
 Hi Simon,
 unfortunately i don't know how to do apachectl configtest.
 from command window i tried that , but didn't work.
 From apache monitor, when i try to start the server, it throws
 the requested operation has failed error, nothing else.
 My httpd.config is okey,  except when i add
 LoadModule webapp_module modules/mod_webapp.so
 into the httpd.config file (as it is instructed) , and restart the apache,
 it can't start. Obviously the problem is with the above line of code.
 Any suggestions ?
 Thanks :)
 - Original Message -
 From: Simon Stewart [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Wednesday, April 24, 2002 5:54 PM
 Subject: Re: LoadModule webapp_module modules/mod_webapp.so
 
 
  On Wed, Apr 24, 2002 at 04:34:42PM +0800, yilmaz wrote:
   Hi everyone,
   i know everyone is already sick of reading problems about apache and
 tomcat. I read almost all related mails and articles (how-to's) on the
 internet , which didn't help.
   i am working with tomcat 4.0-b7 on win 2000.
   And using apcahe 2.
   according to the instructions on the articles downloaded mod_webapp.so
 and put it under modules/ directory.
   The tomact and apache both work fine without problem.
   When i add
   LoadModule webapp_module modules/mod_webapp.so
   in my httpd.conf file, i can't get apache started. It says the
 requested operation has failed.
   Is there any syntax error, or something else?
   (note: i added the above line just under the default loadmodule lines
 defined in the httpd.conf file)
   Any help please : (
 
  When you saw the error, had you done an apachectl configtest to make
  sure that your httpd.conf was okay? Is there anything in apache's
  error logs?
 
  Cheers,
 
  Simon
 
  --
  `The situation is completely under control. All of them were killed.'
   --- Alim Razim, for the Northern Alliance, demonstrating fine
   command of traditional Afghan prisoner control techniques.
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
Cheers,

Simon

-- 
Ambivalent? Well, yes and no

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: LoadModule webapp_module modules/mod_webapp.so

2002-04-24 Thread Wu Lu

If you installed Apache on WinXP, there is a menu option of Test
Configuration. You can click it to test the configuration. The actuall
command is:

C:\Program Files\Apache Group\Apache2\bin\Apache.exe -t -f C:\Program
Files\Apache Group\Apache2\conf\httpd.conf -d C:\Program Files\Apache
Group\Apache2\.

-Original Message-
From: yilmaz [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, April 24, 2002 11:11 AM
To: Tomcat Users List
Subject: Re: LoadModule webapp_module modules/mod_webapp.so

Hi Simon,
I tried apache -t istead (i saw it from someone else's posting) and got:
apache: could not open document config file D:/Program
Files/E~1/Apache2/conf/httpd.conf
error.
As you said i changed modules/mod_webapps.so to
modules\mod_webapps.so, but still the same frustrating message :(
what do you think the problem can be?
thanks :)
- Original Message -
From: Simon Stewart [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, April 24, 2002 10:28 PM
Subject: Re: LoadModule webapp_module modules/mod_webapp.so


 apachectl configtest ultimately runs httpd -t, so you could try
 httpd.exe -t on win32. You might also try reversing the direction of
 the file seperator in Windows:

 LoadModule webapp_module modules\mod_webapp.so

 I'm never tried Apache on Win32, but this should help.

 On Wed, Apr 24, 2002 at 09:51:57PM +0800, yilmaz wrote:
  Hi Simon,
  unfortunately i don't know how to do apachectl configtest.
  from command window i tried that , but didn't work.
  From apache monitor, when i try to start the server, it throws
  the requested operation has failed error, nothing else.
  My httpd.config is okey,  except when i add
  LoadModule webapp_module modules/mod_webapp.so
  into the httpd.config file (as it is instructed) , and restart the
apache,
  it can't start. Obviously the problem is with the above line of code.
  Any suggestions ?
  Thanks :)
  - Original Message -
  From: Simon Stewart [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Sent: Wednesday, April 24, 2002 5:54 PM
  Subject: Re: LoadModule webapp_module modules/mod_webapp.so
 
 
   On Wed, Apr 24, 2002 at 04:34:42PM +0800, yilmaz wrote:
Hi everyone,
i know everyone is already sick of reading problems about apache and
  tomcat. I read almost all related mails and articles (how-to's) on the
  internet , which didn't help.
i am working with tomcat 4.0-b7 on win 2000.
And using apcahe 2.
according to the instructions on the articles downloaded
mod_webapp.so
  and put it under modules/ directory.
The tomact and apache both work fine without problem.
When i add
LoadModule webapp_module modules/mod_webapp.so
in my httpd.conf file, i can't get apache started. It says the
  requested operation has failed.
Is there any syntax error, or something else?
(note: i added the above line just under the default loadmodule
lines
  defined in the httpd.conf file)
Any help please : (
  
   When you saw the error, had you done an apachectl configtest to make
   sure that your httpd.conf was okay? Is there anything in apache's
   error logs?
  
   Cheers,
  
   Simon
  
   --
   `The situation is completely under control. All of them were killed.'
--- Alim Razim, for the Northern Alliance, demonstrating fine
command of traditional Afghan prisoner control techniques.
  
   --
   To unsubscribe:   mailto:[EMAIL PROTECTED]
   For additional commands: mailto:[EMAIL PROTECTED]
   Troubles with the list: mailto:[EMAIL PROTECTED]
  
  
 
 
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 Cheers,

 Simon

 --
 Ambivalent? Well, yes and no

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]





--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: LoadModule webapp_module modules/mod_webapp.so

2002-04-24 Thread Simon Stewart

The only other thing that springs to mind is to use a path without
spaces in, and perhaps to double up your back slashes. Try one, then
the other, then both. This is something of a last resort, though.

On Wed, Apr 24, 2002 at 11:10:50PM +0800, yilmaz wrote:
 Hi Simon,
 I tried apache -t istead (i saw it from someone else's posting) and got:
 apache: could not open document config file D:/Program
 Files/E~1/Apache2/conf/httpd.conf
 error.
 As you said i changed modules/mod_webapps.so to
 modules\mod_webapps.so, but still the same frustrating message :(
 what do you think the problem can be?
 thanks :)
 - Original Message -
 From: Simon Stewart [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Wednesday, April 24, 2002 10:28 PM
 Subject: Re: LoadModule webapp_module modules/mod_webapp.so
 
 
  apachectl configtest ultimately runs httpd -t, so you could try
  httpd.exe -t on win32. You might also try reversing the direction of
  the file seperator in Windows:
 
  LoadModule webapp_module modules\mod_webapp.so
 
  I'm never tried Apache on Win32, but this should help.
 
  On Wed, Apr 24, 2002 at 09:51:57PM +0800, yilmaz wrote:
   Hi Simon,
   unfortunately i don't know how to do apachectl configtest.
   from command window i tried that , but didn't work.
   From apache monitor, when i try to start the server, it throws
   the requested operation has failed error, nothing else.
   My httpd.config is okey,  except when i add
   LoadModule webapp_module modules/mod_webapp.so
   into the httpd.config file (as it is instructed) , and restart the
 apache,
   it can't start. Obviously the problem is with the above line of code.
   Any suggestions ?
   Thanks :)

Cheers,

Simon

-- 
What happens if a big asteroid hits the Earth?  Judging from realistic
simulations involving a sledge hammer and a common laboratory frog, we
can assume it will be pretty bad. - Dave Barry

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: LoadModule webapp_module modules/mod_webapp.so

2002-04-24 Thread Dan K.


Also, make sure you have a ServerName directive in your httpd.conf if
you don't have it.

Regards,
Dan

On Wed, 24 Apr 2002, Simon Stewart wrote:

 The only other thing that springs to mind is to use a path without
 spaces in, and perhaps to double up your back slashes. Try one, then
 the other, then both. This is something of a last resort, though.

 On Wed, Apr 24, 2002 at 11:10:50PM +0800, yilmaz wrote:
  Hi Simon,
  I tried apache -t istead (i saw it from someone else's posting) and got:
  apache: could not open document config file D:/Program
  Files/E~1/Apache2/conf/httpd.conf
  error.
  As you said i changed modules/mod_webapps.so to
  modules\mod_webapps.so, but still the same frustrating message :(
  what do you think the problem can be?
  thanks :)
  - Original Message -
  From: Simon Stewart [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Sent: Wednesday, April 24, 2002 10:28 PM
  Subject: Re: LoadModule webapp_module modules/mod_webapp.so
 
 
   apachectl configtest ultimately runs httpd -t, so you could try
   httpd.exe -t on win32. You might also try reversing the direction of
   the file seperator in Windows:
  
   LoadModule webapp_module modules\mod_webapp.so
  
   I'm never tried Apache on Win32, but this should help.
  
   On Wed, Apr 24, 2002 at 09:51:57PM +0800, yilmaz wrote:
Hi Simon,
unfortunately i don't know how to do apachectl configtest.
from command window i tried that , but didn't work.
From apache monitor, when i try to start the server, it throws
the requested operation has failed error, nothing else.
My httpd.config is okey,  except when i add
LoadModule webapp_module modules/mod_webapp.so
into the httpd.config file (as it is instructed) , and restart the
  apache,
it can't start. Obviously the problem is with the above line of code.
Any suggestions ?
Thanks :)

 Cheers,

 Simon

 --
 What happens if a big asteroid hits the Earth?  Judging from realistic
 simulations involving a sledge hammer and a common laboratory frog, we
 can assume it will be pretty bad. - Dave Barry

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: LoadModule webapp_module modules/mod_webapp.so

2002-04-24 Thread Simon Stewart

Above any WebApp* directives. In apache 2, also include the port
number. I've got:

ServerName localhost:80

in my httpd.conf

On Wed, Apr 24, 2002 at 11:52:45AM -0400, Dan K. wrote:
 
 Also, make sure you have a ServerName directive in your httpd.conf if
 you don't have it.
 
 Regards,
 Dan

Cheers,

Simon

-- 
Even had to open up the case and gaze upon the hallowed peace that
graced the helpdesk that day. -- Megahal (trained on asr), 1998-11-06

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: LoadModule webapp_module modules/mod_webapp.so

2002-04-24 Thread yilmaz

i downloaded the windows 2000 versions of both apache2 and mod_webapps.
Apache 2 has a directory  called  modules which has only .so files, and
mod_webapps.zip file has a mod_webapp.so file , as well as a libapr.dll
file. And the readme instructs to put the mod_webapps.so in the modules
directory under windows.
So i don't think that i am wrong with this  so files.
Moreover, mod_jk and mod_webapps are totally different things , and i have
reasons to want to use mod_webppas.
Anyway thanks for taking time to try to help me.
cheers :)
- Original Message -
From: Pascal Forget [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, April 24, 2002 11:26 PM
Subject: Re: LoadModule webapp_module modules/mod_webapp.so


 Aren;t you supposed to have a mod_jk.dll for Windows? I believe mod_jk.so
is
 only for Unix systems.

 You should definitely read this:

 http://www.acg-gmbh.de/mod_jk/

 Best Regards,

 Pascal


 yilmaz wrote:

 Hi everyone,
 i know everyone is already sick of reading problems about apache and
tomcat. I read almost all related mails and articles (how-to's) on the
internet , which didn't help.
 i am working with tomcat 4.0-b7 on win 2000.
 And using apcahe 2.
 according to the instructions on the articles downloaded mod_webapp.so
and put it under modules/ directory.
 The tomact and apache both work fine without problem.
 When i add
 LoadModule webapp_module modules/mod_webapp.so
 in my httpd.conf file, i can't get apache started. It says the requested
operation has failed.
 Is there any syntax error, or something else?
 (note: i added the above line just under the default loadmodule lines
defined in the httpd.conf file)
 Any help please : (
 Thanks :)
 




 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]





--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: LoadModule webapp_module modules/mod_webapp.so

2002-04-24 Thread yilmaz

I am working on windows 2000 ...
i tried apache -t and it only says can't open httpd.conf file

- Original Message -
From: Wu Lu [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Wednesday, April 24, 2002 11:24 PM
Subject: RE: LoadModule webapp_module modules/mod_webapp.so


 If you installed Apache on WinXP, there is a menu option of Test
 Configuration. You can click it to test the configuration. The actuall
 command is:

 C:\Program Files\Apache Group\Apache2\bin\Apache.exe -t -f C:\Program
 Files\Apache Group\Apache2\conf\httpd.conf -d C:\Program Files\Apache
 Group\Apache2\.

 -Original Message-
 From: yilmaz [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 24, 2002 11:11 AM
 To: Tomcat Users List
 Subject: Re: LoadModule webapp_module modules/mod_webapp.so

 Hi Simon,
 I tried apache -t istead (i saw it from someone else's posting) and got:
 apache: could not open document config file D:/Program
 Files/E~1/Apache2/conf/httpd.conf
 error.
 As you said i changed modules/mod_webapps.so to
 modules\mod_webapps.so, but still the same frustrating message :(
 what do you think the problem can be?
 thanks :)
 - Original Message -
 From: Simon Stewart [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Wednesday, April 24, 2002 10:28 PM
 Subject: Re: LoadModule webapp_module modules/mod_webapp.so


  apachectl configtest ultimately runs httpd -t, so you could try
  httpd.exe -t on win32. You might also try reversing the direction of
  the file seperator in Windows:
 
  LoadModule webapp_module modules\mod_webapp.so
 
  I'm never tried Apache on Win32, but this should help.
 
  On Wed, Apr 24, 2002 at 09:51:57PM +0800, yilmaz wrote:
   Hi Simon,
   unfortunately i don't know how to do apachectl configtest.
   from command window i tried that , but didn't work.
   From apache monitor, when i try to start the server, it throws
   the requested operation has failed error, nothing else.
   My httpd.config is okey,  except when i add
   LoadModule webapp_module modules/mod_webapp.so
   into the httpd.config file (as it is instructed) , and restart the
 apache,
   it can't start. Obviously the problem is with the above line of code.
   Any suggestions ?
   Thanks :)
   - Original Message -
   From: Simon Stewart [EMAIL PROTECTED]
   To: Tomcat Users List [EMAIL PROTECTED]
   Sent: Wednesday, April 24, 2002 5:54 PM
   Subject: Re: LoadModule webapp_module modules/mod_webapp.so
  
  
On Wed, Apr 24, 2002 at 04:34:42PM +0800, yilmaz wrote:
 Hi everyone,
 i know everyone is already sick of reading problems about apache
and
   tomcat. I read almost all related mails and articles (how-to's) on the
   internet , which didn't help.
 i am working with tomcat 4.0-b7 on win 2000.
 And using apcahe 2.
 according to the instructions on the articles downloaded
 mod_webapp.so
   and put it under modules/ directory.
 The tomact and apache both work fine without problem.
 When i add
 LoadModule webapp_module modules/mod_webapp.so
 in my httpd.conf file, i can't get apache started. It says the
   requested operation has failed.
 Is there any syntax error, or something else?
 (note: i added the above line just under the default loadmodule
 lines
   defined in the httpd.conf file)
 Any help please : (
   
When you saw the error, had you done an apachectl configtest to
make
sure that your httpd.conf was okay? Is there anything in apache's
error logs?
   
Cheers,
   
Simon
   
--
`The situation is completely under control. All of them were
killed.'
 --- Alim Razim, for the Northern Alliance, demonstrating fine
 command of traditional Afghan prisoner control techniques.
   
--
To unsubscribe:
mailto:[EMAIL PROTECTED]
For additional commands:
mailto:[EMAIL PROTECTED]
Troubles with the list:
mailto:[EMAIL PROTECTED]
   
   
  
  
  
   --
   To unsubscribe:   mailto:[EMAIL PROTECTED]
   For additional commands: mailto:[EMAIL PROTECTED]
   Troubles with the list: mailto:[EMAIL PROTECTED]
  Cheers,
 
  Simon
 
  --
  Ambivalent? Well, yes and no
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 
 



 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]





--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: LoadModule webapp_module modules/mod_webapp.so

2002-04-24 Thread yilmaz

i do have it.
Another thing without LoadModule webapp_module modules/mod_webapp.so
everything works fine, i mean if i comment it out, it works. But how do i
have to integrate apache2 with tomcat4 

- Original Message -
From: Dan K. [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, April 24, 2002 11:52 PM
Subject: Re: LoadModule webapp_module modules/mod_webapp.so



 Also, make sure you have a ServerName directive in your httpd.conf if
 you don't have it.

 Regards,
 Dan

 On Wed, 24 Apr 2002, Simon Stewart wrote:

  The only other thing that springs to mind is to use a path without
  spaces in, and perhaps to double up your back slashes. Try one, then
  the other, then both. This is something of a last resort, though.
 
  On Wed, Apr 24, 2002 at 11:10:50PM +0800, yilmaz wrote:
   Hi Simon,
   I tried apache -t istead (i saw it from someone else's posting) and
got:
   apache: could not open document config file D:/Program
   Files/E~1/Apache2/conf/httpd.conf
   error.
   As you said i changed modules/mod_webapps.so to
   modules\mod_webapps.so, but still the same frustrating message :(
   what do you think the problem can be?
   thanks :)
   - Original Message -
   From: Simon Stewart [EMAIL PROTECTED]
   To: Tomcat Users List [EMAIL PROTECTED]
   Sent: Wednesday, April 24, 2002 10:28 PM
   Subject: Re: LoadModule webapp_module modules/mod_webapp.so
  
  
apachectl configtest ultimately runs httpd -t, so you could try
httpd.exe -t on win32. You might also try reversing the direction
of
the file seperator in Windows:
   
LoadModule webapp_module modules\mod_webapp.so
   
I'm never tried Apache on Win32, but this should help.
   
On Wed, Apr 24, 2002 at 09:51:57PM +0800, yilmaz wrote:
 Hi Simon,
 unfortunately i don't know how to do apachectl configtest.
 from command window i tried that , but didn't work.
 From apache monitor, when i try to start the server, it throws
 the requested operation has failed error, nothing else.
 My httpd.config is okey,  except when i add
 LoadModule webapp_module modules/mod_webapp.so
 into the httpd.config file (as it is instructed) , and restart the
   apache,
 it can't start. Obviously the problem is with the above line of
code.
 Any suggestions ?
 Thanks :)
 
  Cheers,
 
  Simon
 
  --
  What happens if a big asteroid hits the Earth?  Judging from realistic
  simulations involving a sledge hammer and a common laboratory frog, we
  can assume it will be pretty bad. - Dave Barry
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]





--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: LoadModule webapp_module modules/mod_webapp.so

2002-04-24 Thread yilmaz

okey, Here is my httpd.conf file,
can someone please help me find out , where the problem is?
Thanks :)
(though a little bit dangerous, it seems that  there is no other way to be
able to solve the problem)

- Original Message -
From: Simon Stewart [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, April 25, 2002 12:07 AM
Subject: Re: LoadModule webapp_module modules/mod_webapp.so


 Above any WebApp* directives. In apache 2, also include the port
 number. I've got:

 ServerName localhost:80

 in my httpd.conf

 On Wed, Apr 24, 2002 at 11:52:45AM -0400, Dan K. wrote:
 
  Also, make sure you have a ServerName directive in your httpd.conf if
  you don't have it.
 
  Regards,
  Dan

 Cheers,

 Simon

 --
 Even had to open up the case and gaze upon the hallowed peace that
 graced the helpdesk that day. -- Megahal (trained on asr), 1998-11-06

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]




#
# Based upon the NCSA server configuration files originally by Rob McCool.
#
# This is the main Apache server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See URL:http://httpd.apache.org/docs-2.0/ for detailed information about
# the directives.
#
# Do NOT simply read the instructions in here without understanding
# what they do.  They're here only as hints or reminders.  If you are unsure
# consult the online docs. You have been warned.  
#
# The configuration directives are grouped into three basic sections:
#  1. Directives that control the operation of the Apache server process as a
# whole (the 'global environment').
#  2. Directives that define the parameters of the 'main' or 'default' server,
# which responds to requests that aren't handled by a virtual host.
# These directives also provide default values for the settings
# of all virtual hosts.
#  3. Settings for virtual hosts, which allow Web requests to be sent to
# different IP addresses or hostnames and have them handled by the
# same Apache server process.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with / (or drive:/ for Win32), the
# server will use that explicit path.  If the filenames do *not* begin
# with /, the value of ServerRoot is prepended -- so logs/foo.log
# with ServerRoot set to /usr/local/apache will be interpreted by the
# server as /usr/local/apache/logs/foo.log.
#
# NOTE: Where filenames are specified, you must use forward slashes
# instead of backslashes (e.g., c:/apache instead of c:\apache).
# If a drive letter is omitted, the drive on which Apache.exe is located
# will be used by default.  It is recommended that you always supply
# an explicit drive letter in absolute paths, however, to avoid
# confusion.
#

### Section 1: Global Environment
#
# The directives in this section affect the overall operation of Apache,
# such as the number of concurrent requests it can handle or where it
# can find its configuration files.
#

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# NOTE!  If you intend to place this on an NFS (or otherwise network)
# mounted filesystem then please read the LockFile documentation
# (available at URL:http://httpd.apache.org/docs-2.0/mod/core.html#lockfile);
# you will save yourself a lot of trouble.
#
# Do NOT add a slash at the end of the directory path.
#
ServerRoot D:/Program Files/Apache Group/Apache2

#
# ScoreBoardFile: File used to store internal server process information.
# If unspecified (the default), the scoreboard will be stored in an
# anonymous shared memory segment, and will be unavailable to third-party
# applications.
# If specified, ensure that no two invocations of Apache share the same
# scoreboard file. The scoreboard file MUST BE STORED ON A LOCAL DISK.
#
#ScoreBoardFile logs/apache_runtime_status

#
# PidFile: The file in which the server should record its process
# identification number when it starts.
#
PidFile logs/httpd.pid

#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 300

#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to Off to deactivate.
#
KeepAlive On

#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100

#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 15

##
## Server-Pool Size Regulation (MPM specific)
## 

# WinNT MPM
# ThreadsPerChild: constant number of worker threads in the server process
# MaxRequestsPerChild: maximum  number of requests a server process serves

RE: LoadModule webapp_module modules/mod_webapp.so

2002-04-24 Thread John Burgess

One thing I've noticed is that you have two WebAppConnection lines, both
defining the same name of connection -- either remove one or give its
connection a name other than warpConnection.  (See at end, and just before
the virtualhost section (40 lnes up maybe?) )

Also you don't do AddModule

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


-Original Message-
From: yilmaz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24, 2002 5:25 PM
To: Tomcat Users List
Subject: Re: LoadModule webapp_module modules/mod_webapp.so


okey, Here is my httpd.conf file,
can someone please help me find out , where the problem is?
Thanks :)
(though a little bit dangerous, it seems that  there is no other way to be
able to solve the problem)

- Original Message -
From: Simon Stewart [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, April 25, 2002 12:07 AM
Subject: Re: LoadModule webapp_module modules/mod_webapp.so


 Above any WebApp* directives. In apache 2, also include the port
 number. I've got:

 ServerName localhost:80

 in my httpd.conf

 On Wed, Apr 24, 2002 at 11:52:45AM -0400, Dan K. wrote:
 
  Also, make sure you have a ServerName directive in your httpd.conf if
  you don't have it.
 
  Regards,
  Dan

 Cheers,

 Simon

 --
 Even had to open up the case and gaze upon the hallowed peace that
 graced the helpdesk that day. -- Megahal (trained on asr), 1998-11-06

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]



---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.350 / Virus Database: 196 - Release Date: 17/04/02
 


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.350 / Virus Database: 196 - Release Date: 17/04/02
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: LoadModule webapp_module modules/mod_webapp.so

2002-04-24 Thread Simon Stewart

You attempt to define the warpConnection twice, once to localhost,
once to a remote machine. This is mistake, and you can get round it by
simply renaming one of the warpConnections (warpConnection2 if
you're feeling unadventurous :)

Does that help? Have you also tried the LoadModule line and not used
any of the WebApp* directives at all? When I began playing with this,
that caught me out a few times. Once the file passes httpd.exe -t
with a Syntax OK, uncomment the WebApp* directives one at a time to
try and catch problems ASAP.

Cheers,

Simon

-- 
Whatever you do, congratulate yourself far too much and berate others.

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: LoadModule webapp_module modules/mod_webapp.so

2002-04-24 Thread Simon Stewart

John, this is apache 2: you don't need the AddModule. That got left
behind from Apache 1.3.x

On Wed, Apr 24, 2002 at 05:44:14PM +0100, John Burgess wrote:
 One thing I've noticed is that you have two WebAppConnection lines, both
 defining the same name of connection -- either remove one or give its
 connection a name other than warpConnection.  (See at end, and just before
 the virtualhost section (40 lnes up maybe?) )
 
 Also you don't do AddModule

Cheers,

Simon

-- 
UNIX is the answer, but only if you phrase the question very carefully.
-- Jonathan H N Chin

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: LoadModule webapp_module modules/mod_webapp.so

2002-04-24 Thread Wu Lu

I also got trouble on 

LoadModule webapp_module modules/mod_webapp.so

When use Apache -t to text configuration, it reported :
Cannot load C:/Program Files/Apache Group/Apache2/modules/mod_webapp.so into
Server: The specified module could not be found.

But the file mod_webapp.so is under the modules folder.

Best Regards.

Woods

-Original Message-
From: yilmaz [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, April 24, 2002 12:25 PM
To: Tomcat Users List
Subject: Re: LoadModule webapp_module modules/mod_webapp.so

okey, Here is my httpd.conf file,
can someone please help me find out , where the problem is?
Thanks :)
(though a little bit dangerous, it seems that  there is no other way to be
able to solve the problem)

- Original Message -
From: Simon Stewart [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, April 25, 2002 12:07 AM
Subject: Re: LoadModule webapp_module modules/mod_webapp.so


 Above any WebApp* directives. In apache 2, also include the port
 number. I've got:

 ServerName localhost:80

 in my httpd.conf

 On Wed, Apr 24, 2002 at 11:52:45AM -0400, Dan K. wrote:
 
  Also, make sure you have a ServerName directive in your httpd.conf if
  you don't have it.
 
  Regards,
  Dan

 Cheers,

 Simon

 --
 Even had to open up the case and gaze upon the hallowed peace that
 graced the helpdesk that day. -- Megahal (trained on asr), 1998-11-06

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: LoadModule webapp_module modules/mod_webapp.so

2002-04-24 Thread yilmaz

Thanks John,
but what i don't understand is , Those lines are all commented out (with a #
sign in front of them) except the LoadModule...  directive. I want to
uncomment them one by one till everything works fine once the first one
(LoadModule ) works. So for now There are no  WebAppConnections defined
(they are canceled , uncommented), but still apache can't be get started.
- Original Message -
From: John Burgess [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, April 25, 2002 12:44 AM
Subject: RE: LoadModule webapp_module modules/mod_webapp.so


 One thing I've noticed is that you have two WebAppConnection lines, both
 defining the same name of connection -- either remove one or give its
 connection a name other than warpConnection.  (See at end, and just before
 the virtualhost section (40 lnes up maybe?) )

 Also you don't do AddModule

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


 -Original Message-
 From: yilmaz [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 24, 2002 5:25 PM
 To: Tomcat Users List
 Subject: Re: LoadModule webapp_module modules/mod_webapp.so


 okey, Here is my httpd.conf file,
 can someone please help me find out , where the problem is?
 Thanks :)
 (though a little bit dangerous, it seems that  there is no other way to be
 able to solve the problem)

 - Original Message -
 From: Simon Stewart [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Thursday, April 25, 2002 12:07 AM
 Subject: Re: LoadModule webapp_module modules/mod_webapp.so


  Above any WebApp* directives. In apache 2, also include the port
  number. I've got:
 
  ServerName localhost:80
 
  in my httpd.conf
 
  On Wed, Apr 24, 2002 at 11:52:45AM -0400, Dan K. wrote:
  
   Also, make sure you have a ServerName directive in your httpd.conf
if
   you don't have it.
  
   Regards,
   Dan
 
  Cheers,
 
  Simon
 
  --
  Even had to open up the case and gaze upon the hallowed peace that
  graced the helpdesk that day. -- Megahal (trained on asr), 1998-11-06
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 
 

 ---
 Incoming mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.350 / Virus Database: 196 - Release Date: 17/04/02



 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.350 / Virus Database: 196 - Release Date: 17/04/02


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]





--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




undefined symbol: wa_pool when loading mod_webapp.so

2002-04-18 Thread Emil Olovsson

When I try to load mod_webapp.so into apache 2.0.35 I get:
Cannot load /opt/apache2.0.35/conf/libexec/mod_webapp.so into server:
/opt/apache2.0.35/conf/libexec/mod_webapp.so: undefined symbol: wa_pool

what is wa_pool?


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




I'm sure it's a rehashed issue, but I'll try anyway. (Apache 2.0.35 tomcat 4.0.3) mod_webapp.so

2002-04-18 Thread Joshua Chen

Hi all,

I've been trying to get my Apache 2.0.35  Tomcat 4.0.3 up and running (on
solaris 2.7).  Apache works great, and tomcat works great as well.  But now
I try to use the mod_webapp.so file that came with apache 2.0.35, and I get
the

undefined symbol: ap_pstrdup

So I read in a couple of archives to just try and compile the mod_webapp
from the source, since ap_pstrdup is now apr_pstrdup.  no problem, I go get
the jakarta-tomcat-connectors-4.0.4-b2-src.tar.gz and go ahead and start
compiling.

I get to the end, and everything is successful.  No errors, no compilations
issues.  What I don't get is a mod_webapp.so.   (file listing at the end)

I look at my Makefile in the apache-2.0, and the only target it has is the
mod_webapp.la.  Now I'm lost.  I don't think I can do a LoadModule
webapp_module libexec/mod_webapp.la, so I'm trying to figure out what I have
done wrong.  (I tried this about a week ago, and get errors in apachectl
configtest)  I have this funny feeling I'm just missing a stupid little
detail, but I can't for the life of me figure it out.

The libtool is version 1.4.2
gcc is 2.95.2

Any ideas on how to get a mod_webapp.so?  Any help is appreciated.  (file
listing and Makefile below)

Thanks in advance
Joshua Chen


i.e.
-
{/src/jakarta-tomcat-connectors-4.0.4-b2-src/webapp/apache-2.0} ls -al
total 374
drwxr-xr-x   3 root root 512 Apr 17 19:11 .
drwxr-xr-x  11 root root1024 Apr 17 19:11 ..
drwxr-xr-x   2 root other512 Apr 17 19:11 .libs
-rw-r--r--   1 root other   5154 Apr 17 19:11 Makefile
-rw-r--r--   1 root root5092 Mar 24 00:09 Makefile.in
-rw-r--r--   1 root root   20534 Mar 24 00:09 mod_webapp.c
-rw-r--r--   1 root other784 Apr 17 19:11 mod_webapp.la
-rw-r--r--   1 root other  77348 Apr 17 19:11 mod_webapp.lo
-rw-r--r--   1 root other  76116 Apr 17 19:11 mod_webapp.o
-rw-r--r--   1 root other  0 Apr 17 19:11 mod_webapp.slo
-


---
include /src/jakarta-tomcat-connectors-4.0.4-b2-src/webapp/Makedefs

APXS =   /usr/local/apache/bin/apxs

MODULE = mod_webapp.la

all: $(MODULE)
build: $(MODULE)

mod_webapp.la: mod_webapp.c
@$(ECHO) Compiling and Linking Apache 2.0 WebApp Module
$(APXS) -I../include -c -L ../lib -lwebapp mod_webapp.c

install: mod_webapp.la
$(APXS) -i mod_webapp.la

clean:
@for ENTRY in *.o *.lo $(MODULE) .libs ; \
do \
if $(TEST) -f $${ENTRY} ; \
then \
$(ECHO) Removing file $${ENTRY} ; \
$(RM) -f $${ENTRY} ; \
fi ; \
if $(TEST) -d $${ENTRY} ; \
then \
$(ECHO) Removing directory $${ENTRY} ; \
$(RM) -rf $${ENTRY} ; \
fi ; \
done
---


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: I'm sure it's a rehashed issue, but I'll try anyway. (Apache 2.0.35 tomcat 4.0.3) mod_webapp.so

2002-04-18 Thread Jeffrey Bonevich

Joshua-

Refer to the messages under threads:
Creating mod_webapp
and
Error compiling mod_webapp for debian Linux
and
Tomcat 4.0 and Apache 2.0.35 (yet again)

and join the club!

jeff

Joshua Chen wrote:

 Hi all,
 
 I've been trying to get my Apache 2.0.35  Tomcat 4.0.3 up and running (on
 solaris 2.7).  Apache works great, and tomcat works great as well.  But now
 I try to use the mod_webapp.so file that came with apache 2.0.35, and I get
 the
 
 undefined symbol: ap_pstrdup
 
 So I read in a couple of archives to just try and compile the mod_webapp
 from the source, since ap_pstrdup is now apr_pstrdup.  no problem, I go get
 the jakarta-tomcat-connectors-4.0.4-b2-src.tar.gz and go ahead and start
 compiling.
 
 I get to the end, and everything is successful.  No errors, no compilations
 issues.  What I don't get is a mod_webapp.so.   (file listing at the end)
 
 I look at my Makefile in the apache-2.0, and the only target it has is the
 mod_webapp.la.  Now I'm lost.  I don't think I can do a LoadModule
 webapp_module libexec/mod_webapp.la, so I'm trying to figure out what I have
 done wrong.  (I tried this about a week ago, and get errors in apachectl
 configtest)  I have this funny feeling I'm just missing a stupid little
 detail, but I can't for the life of me figure it out.
 
 The libtool is version 1.4.2
 gcc is 2.95.2
 
 Any ideas on how to get a mod_webapp.so?  Any help is appreciated.  (file
 listing and Makefile below)
 
 Thanks in advance
 Joshua Chen
 
 
 i.e.
 -
 {/src/jakarta-tomcat-connectors-4.0.4-b2-src/webapp/apache-2.0} ls -al
 total 374
 drwxr-xr-x   3 root root 512 Apr 17 19:11 .
 drwxr-xr-x  11 root root1024 Apr 17 19:11 ..
 drwxr-xr-x   2 root other512 Apr 17 19:11 .libs
 -rw-r--r--   1 root other   5154 Apr 17 19:11 Makefile
 -rw-r--r--   1 root root5092 Mar 24 00:09 Makefile.in
 -rw-r--r--   1 root root   20534 Mar 24 00:09 mod_webapp.c
 -rw-r--r--   1 root other784 Apr 17 19:11 mod_webapp.la
 -rw-r--r--   1 root other  77348 Apr 17 19:11 mod_webapp.lo
 -rw-r--r--   1 root other  76116 Apr 17 19:11 mod_webapp.o
 -rw-r--r--   1 root other  0 Apr 17 19:11 mod_webapp.slo
 -
 
 
 ---
 include /src/jakarta-tomcat-connectors-4.0.4-b2-src/webapp/Makedefs
 
 APXS =   /usr/local/apache/bin/apxs
 
 MODULE = mod_webapp.la
 
 all: $(MODULE)
 build: $(MODULE)
 
 mod_webapp.la: mod_webapp.c
 @$(ECHO) Compiling and Linking Apache 2.0 WebApp Module
 $(APXS) -I../include -c -L ../lib -lwebapp mod_webapp.c
 
 install: mod_webapp.la
 $(APXS) -i mod_webapp.la
 
 clean:
 @for ENTRY in *.o *.lo $(MODULE) .libs ; \
 do \
 if $(TEST) -f $${ENTRY} ; \
 then \
 $(ECHO) Removing file $${ENTRY} ; \
 $(RM) -f $${ENTRY} ; \
 fi ; \
 if $(TEST) -d $${ENTRY} ; \
 then \
 $(ECHO) Removing directory $${ENTRY} ; \
 $(RM) -rf $${ENTRY} ; \
 fi ; \
 done
 ---
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 


-- 
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:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Problem building mod_webapp.so for Solaris 8

2002-04-08 Thread Carol Oakes

Hi --

I have successfully installed Tomcat 4.0.3 and run in standalone mode
with j2sdk1.4.0. I am now trying to connect the Apache1.3.12  that comes
with Solaris 8 to my Tomcat 4.0.3 installation. I was able to build
mod_jk successfully.

I could not find a binary for mod_webapp.so for Solaris 8, so I
downloaded the source from
/builds/jakarta-tomcat-4.0/release/v4.0.1/src/webapp-module-1.0.1-tc401.src.tar.gz
and attempted to follow the directions givein in the README.txt file.
The problem was that there was no configure script in the tar file.

So I downloaded the webapp-module-1.0-tc40-src.tar.gz file which does
have a configure script. After downloading, building, and installing
autoconf-2.53, m4-1.4, and libtool-1.4.2, when I follow the instructions
in the webapp README.txt, I get syntax errors when the build attempts to
compile pr_warp.c. Please see the attached file for output from the
buildconf, configure, and make instructions.

My build/platform environment is as follows:
uname shows:
  SunOS xxx 5.8 Generic_108528-10 sun4u sparc SUNW,Ultra-Enterprise
and the Sun compiler version is:
  cc: Sun WorkShop 6 update 1 C 5.2 2000/09/11
Installing the GNU compiler on this machine is not an option.

Is there a binary already built that I just haven't found yet? Am I
using the correct source? Has anyone else successfully built the webapp
module for Solaris 8 using this compiler or know what is wrong?

Thanks in advance for your help!

-- Carol




Script started on Mon Apr 08 07:04:48 2002

[:/devel/yyy/webapp-module-1.0-tc40]
yyy--./support/buildconf.sh
configure.in:142: /usr/local/bin/m4: Non-numeric argument to built-in `divert'
configure.in:372: /usr/local/bin/m4: Non-numeric argument to built-in `divert'

[:/devel/yyy/webapp-module-1.0-tc40]
yyy--./configure --with-apxs=/usr/apache/bin/apxs --with-tomcat=$CATALINA_HOME
checking for test... /usr/bin/test
checking for true... /usr/bin/true
checking for echo... /usr/bin/echo
checking for grep... /usr/bin/grep
checking for cat... /usr/bin/cat
checking for sed... /usr/bin/sed
checking for ln... /usr/bin/ln
checking for rm... /usr/bin/rm
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking for sources directory... /devel/yyy/webapp-module-1.0-tc40
checking for targets directory... /devel/yyy/webapp-module-1.0-tc40

C-Language compilation tools
checking for ar... /usr/ccs/bin/ar
checking for ranlib... /usr/ccs/bin/ranlib
checking for gcc... no
checking for cc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for cc... /opt/SUNWspro/bin/cc
checking whether /opt/SUNWspro/bin/cc and cc understand -c and -o together... yes
checking how to run the C preprocessor... /opt/SUNWspro/bin/cc -E
checking for debug build... no

JAVA-Language compilation tools
checking for java support... no

API documentation generation
checking for C API documentation... no
checking for Java API documentation... no

Target web-server
checking for Apache apxs... yes
checking target module... apache-1.3
checking for full APR directory path... /devel/yyy/webapp-module-1.0-tc40/apr

Building APR configure script
  Invoking: ./buildconf in /devel/yyy/webapp-module-1.0-tc40/apr
APR buildconf: buildconf: checking installation...
APR buildconf: buildconf: autoconf version 2.53 (ok)
APR buildconf: buildconf: libtool version 1.4.2 (ok)
APR buildconf: Copying libtool helper files ...
APR buildconf: Creating include/arch/unix/apr_private.h.in ...
WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
WARNING: and `config.h.top', to define templates for `config.h.in'
WARNING: is deprecated and discouraged.

WARNING: Using the third argument of `AC_DEFINE' and
WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
WARNING: `acconfig.h':

WARNING:   AC_DEFINE([NEED_MAIN], 1,
WARNING: [Define if a function `main' is needed.])

WARNING: More sophisticated templates can also be produced, see the
WARNING: documentation.
autoheader: `include/arch/unix/apr_private.h.in' is created
APR buildconf: Creating configure ...
  Execution of ./buildconf returned 0

Configuring APR
  Invoking: ./configure --enable-static --disable-shared --disable-threads in 
/devel/yyy/webapp-module-1.0-tc40/apr
APR configure: checking build system type... sparc-sun-solaris2.8
APR configure: checking host system type... sparc-sun-solaris2.8
APR configure: checking target system type... sparc-sun-solaris2.8
APR configure: Configuring APR library
APR configure: Platform: sparc-sun-solaris2.8
APR configure: Applying APR hints file rules for sparc-sun-solaris2.8
APR configure: setting CPPFLAGS to -DSOLARIS2=8

Re: Problem building mod_webapp.so for Solaris 8

2002-04-08 Thread Unce Gunawan


have u gcc installed?


--
best regards,

~Yunce Gunawan ~  [EMAIL PROTECTED]
  [EMAIL PROTECTED]
  http://user.cs.tu-berlin.de/~kenji

On Mon, 8 Apr 2002, Carol Oakes wrote:

 Hi --

 I have successfully installed Tomcat 4.0.3 and run in standalone mode
 with j2sdk1.4.0. I am now trying to connect the Apache1.3.12  that comes
 with Solaris 8 to my Tomcat 4.0.3 installation. I was able to build
 mod_jk successfully.

 I could not find a binary for mod_webapp.so for Solaris 8, so I
 downloaded the source from
 /builds/jakarta-tomcat-4.0/release/v4.0.1/src/webapp-module-1.0.1-tc401.src.tar.gz
 and attempted to follow the directions givein in the README.txt file.
 The problem was that there was no configure script in the tar file.

 So I downloaded the webapp-module-1.0-tc40-src.tar.gz file which does
 have a configure script. After downloading, building, and installing
 autoconf-2.53, m4-1.4, and libtool-1.4.2, when I follow the instructions
 in the webapp README.txt, I get syntax errors when the build attempts to
 compile pr_warp.c. Please see the attached file for output from the
 buildconf, configure, and make instructions.

 My build/platform environment is as follows:
 uname shows:
   SunOS xxx 5.8 Generic_108528-10 sun4u sparc SUNW,Ultra-Enterprise
 and the Sun compiler version is:
   cc: Sun WorkShop 6 update 1 C 5.2 2000/09/11
 Installing the GNU compiler on this machine is not an option.

 Is there a binary already built that I just haven't found yet? Am I
 using the correct source? Has anyone else successfully built the webapp
 module for Solaris 8 using this compiler or know what is wrong?

 Thanks in advance for your help!

 -- Carol





--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Problem building mod_webapp.so for Solaris 8

2002-04-08 Thread Jay Gardner

You can find the bin at

http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0/bin/

I believe that the connector is the same for all 4.X versions. Also, make
sure you use the right .so. If you are using -EAPI, then use the
mod_webapp.so that is found in the eapi dir.

This is my installation using DSO:

1. Copy mod_webapp.so to the $APACHE_HOME/libexec/ dir.

2. Add the following to $APACHE_HOME/conf/httpd.conf

Put this at the end of the load module section,

LoadModule webapp_module  libexec/mod_webapp.so



Put this at the end of the add module section,

AddModule mod_webapp.c


Finally, put this either at the end of the file(to apply to entire server)
or within specific virtual host entries (for that host only),

If Module mod_webapp.c
 WebAppConnection conn  warp  localhost:8008
 WebAppDeploy smartjobsconn  /smartjobs
 WebAppInfo /webapp-info
/IfModule

Note - In this case, /smartjobs is a tomcat webapp. Just add more contexts
here as you create them in tomcat.

3.

Finally, it is import to stop and start each server. The order of doing
this is important.

First stop both tomcat and apache.

Start tomcat

Start apache  - Some people say that they have to wait up to 10 second
before they start apache so that things work correctly.


I hope that this will help you!

--Jay Gardner



Start apache
-Original Message-
From: Carol Oakes [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 7:15 AM
To: [EMAIL PROTECTED]
Subject: Problem building mod_webapp.so for Solaris 8

Hi --
mod_webapp.so
I have successfully installed Tomcat 4.0.3 and run in standalone mode
with j2sdk1.4.0. I am now trying to connect the Apache1.3.12  that comes
with Solaris 8 to my Tomcat 4.0.3 installation. I was able to build
mod_jk successfully.

I could not find a binary for mod_webapp.so for Solaris 8, so I
downloaded the source from
/builds/jakarta-tomcat-4.0/release/v4.0.1/src/webapp-module-1.0.1-tc401.src.
tar.gz
and attempted to follow the directions givein in the README.txt file.
The problem was that there was no configure script in the tar file.

So I downloaded the webapp-module-1.0-tc40-src.tar.gz file which does
have a configure script. After downloading, building, and installing
autoconf-2.53, m4-1.4, and libtool-1.4.2, when I follow the instructions
in the webapp README.txt, I get syntax errors when the build attempts to
compile pr_warp.c. Please see the attached file for output from the
buildconf, configure, and make instructions.

My build/platform environment is as follows:
uname shows:
  SunOS xxx 5.8 Generic_108528-10 sun4u sparc SUNW,Ultra-Enterprise
and the Sun compiler version is:
  cc: Sun WorkShop 6 update 1 C 5.2 2000/09/11
Installing the GNU compiler on this machine is not an option.

Is there a binary already built that I just haven't found yet? Am I
using the correct source? Has anyone else successfully built the webapp
module for Solaris 8 using this compiler or know what is wrong?

Thanks in advance for your help!

-- Carol



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and virtualhosts

2002-04-08 Thread Gregory Whalin

I am having a small issue with setup.  I am connecting fine to the
examples webapp, but, I can't seem to view any .html files that are a part
of the app.  Apache is looging them as a 404, but they are still not found
even if I put them in the apache doc root.  So it seems that Tomcat does
not know how to send them on to Apache.  Now, this has me perplexed
because I have setup Apache/Tomcat integration via mod_webapp before and
not had any issues, although I was not using virtual hosts before.  Any
ideas what I am doing wrong.  The configs are below and I can send any
additional helpful info you might need (logs, etc.).  Also, please feel
free to take a look at my test site http://java.whalin.com/examples/


httpd.conf
--

LoadModule webapp_module libexec/mod_webapp.so
...
VirtualHost *
ServerName java.whalin.com
DocumentRoot /usr/local/htdocs/javawww

WebAppConnection conn warp localhost:8008
WebAppDeploy examples conn /examples
WebAppDeploy tomcat-docs conn /tomcat-docs
WebAppInfo /webapp-info

ErrorLog logs/java_error_log
CustomLog logs/java_access_log combined
/VirtualHost

--
server.xml
--

Server port=8005 shutdown=SHUTDOWN debug=1
  Service name=Tomcat-Apache

Connector 
 className=org.apache.catalina.connector.warp.WarpConnector
 port=8008 minProcessors=5 maxProcessors=75
 enableLookups=false appBase=webapps
 acceptCount=10 debug=1/

Engine className=org.apache.catalina.connector.warp.WarpEngine
 name=Apache defaultHost=java.whalin.com debug=1

  Host name=java.whalin.com debug=1
appBase=webapps unpackWARs=true

Logger className=org.apache.catalina.logger.FileLogger
prefix=apache_log. suffix=.txt
timestamp=true/

Realm className=org.apache.catalina.realm.MemoryRealm /
 
Context path=/examples docBase=examples debug=1
 reloadable=true crossContext=true

  Logger className=org.apache.catalina.logger.FileLogger
  prefix=java.whalin.com_examples_log.
  suffix=.txt timestamps=true/

/Context
  /Host
/Engine
  /Service
/Server

Thanks for any help or ideas!
Greg
-- 
Gregory Whalin
[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Problem building mod_webapp.so for Solaris 8

2002-04-08 Thread Carol Oakes

Thanks for the help finding the binaries, but I now have runtime problems, Using the
eapi binary in this tar file, I get the following when I run 'apachectl configtest':

Syntax error on line 238 of /etc/apache/httpd.conf:
Cannot load /usr/apache/libexec/mod_webapp.so into server: ld.so.1:
/usr/apache/bin/httpd: fatal: relocation error: file
/usr/apache/libexec/mod_webapp.so: symbol __lshrdi3: referenced symbol not found

I do not have the gcc compiler loaded and loading it is not an option on this box. So
I guess I am back to my original problem of having to build from source and solving
the issue of why pr_warp.c won't compile without errors.
--Carol

Jay Gardner wrote:

 You can find the bin at

 http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0/bin/

 I believe that the connector is the same for all 4.X versions. Also, make
 sure you use the right .so. If you are using -EAPI, then use the
 mod_webapp.so that is found in the eapi dir.


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Problem building mod_webapp.so for Solaris 8

2002-04-08 Thread James Williamson

Carol,

I've never actually done it, but why not install GCC on a dev box and cross
compile mod_webapp for
your Solaris box?

Regards,

James Williamson
www.nameonthe.net

- Original Message -
From: Carol Oakes [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, April 08, 2002 5:46 PM
Subject: Re: Problem building mod_webapp.so for Solaris 8


 Thanks for the help finding the binaries, but I now have runtime problems,
Using the
 eapi binary in this tar file, I get the following when I run 'apachectl
configtest':

 Syntax error on line 238 of /etc/apache/httpd.conf:
 Cannot load /usr/apache/libexec/mod_webapp.so into server: ld.so.1:
 /usr/apache/bin/httpd: fatal: relocation error: file
 /usr/apache/libexec/mod_webapp.so: symbol __lshrdi3: referenced symbol not
found

 I do not have the gcc compiler loaded and loading it is not an option on
this box. So
 I guess I am back to my original problem of having to build from source
and solving
 the issue of why pr_warp.c won't compile without errors.
 --Carol

 Jay Gardner wrote:

  You can find the bin at
 
  http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0/bin/
 
  I believe that the connector is the same for all 4.X versions. Also,
make
  sure you use the right .so. If you are using -EAPI, then use the
  mod_webapp.so that is found in the eapi dir.


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and virtual hosts

2002-04-08 Thread rsequeira


did you try accessing your examples directory using Tomcat standalone? Does
Tomcat serve the servlets and jsps? You might need to enable the
HttpConnector for this. Once you know for sure that Tomcat serves the
servlets and jsps on port 8080, then go ahead and put a webserver in front
of Tomcat.
Just my 2 cents.

RS





Gregory Whalin [EMAIL PROTECTED] on 04/08/2002 11:15:11 AM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:

Subject:  Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and virtual
  hosts

I am having a small issue with setup.  I am connecting fine to the
examples webapp, but, I can't seem to view any .html files that are a part
of the app.  Apache is looging them as a 404, but they are still not found
even if I put them in the apache doc root.  So it seems that Tomcat does
not know how to send them on to Apache.  Now, this has me perplexed
because I have setup Apache/Tomcat integration via mod_webapp before and
not had any issues, although I was not using virtual hosts before.  Any
ideas what I am doing wrong.  The configs are below and I can send any
additional helpful info you might need (logs, etc.).  Also, please feel
free to take a look at my test site http://java.whalin.com/examples/


httpd.conf
--

LoadModule webapp_module libexec/mod_webapp.so
...
VirtualHost *
ServerName java.whalin.com
DocumentRoot /usr/local/htdocs/javawww

WebAppConnection conn warp localhost:8008
WebAppDeploy examples conn /examples
WebAppDeploy tomcat-docs conn /tomcat-docs
WebAppInfo /webapp-info

ErrorLog logs/java_error_log
CustomLog logs/java_access_log combined
/VirtualHost

--
server.xml
--

Server port=8005 shutdown=SHUTDOWN debug=1
  Service name=Tomcat-Apache

Connector
 className=org.apache.catalina.connector.warp.WarpConnector
 port=8008 minProcessors=5 maxProcessors=75
 enableLookups=false appBase=webapps
 acceptCount=10 debug=1/

Engine className=org.apache.catalina.connector.warp.WarpEngine
 name=Apache defaultHost=java.whalin.com debug=1

  Host name=java.whalin.com debug=1
appBase=webapps unpackWARs=true

Logger className=org.apache.catalina.logger.FileLogger
prefix=apache_log. suffix=.txt
timestamp=true/

Realm className=org.apache.catalina.realm.MemoryRealm /

Context path=/examples docBase=examples debug=1
 reloadable=true crossContext=true

  Logger className=org.apache.catalina.logger.FileLogger
  prefix=java.whalin.com_examples_log.
  suffix=.txt timestamps=true/

/Context
  /Host
/Engine
  /Service
/Server

Thanks for any help or ideas!
Greg
--
Gregory Whalin
[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]









--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and virtualhosts

2002-04-08 Thread Gregory Whalin

It worked fine when using standalone.  It is not working through Apache
via WARP though.  However, I can still run the servlets and jsps.  I
simply can't access and .html files that exist under the webapp directory
($CATALINA_HOME/webapps/examples/*.html for example).  So, I can run this
with no problem ...

http://java.whalin.com/examples/servlet/HelloWorldExample

But, I can't access 

http://java.whalin.com/examples/servlets/

See my problem?  For some reason, I get a 404 (generated by Apache) when I
try to load that page.  And, I get 404 errors in my apache error log.  Not
sure how WARP is supposed to deal with static content in the webapps dir
that I have deployed.  

Greg

-- 
Gregory Whalin
[EMAIL PROTECTED]

On Mon, 8 Apr 2002 [EMAIL PROTECTED] wrote:

 
 did you try accessing your examples directory using Tomcat standalone? Does
 Tomcat serve the servlets and jsps? You might need to enable the
 HttpConnector for this. Once you know for sure that Tomcat serves the
 servlets and jsps on port 8080, then go ahead and put a webserver in front
 of Tomcat.
 Just my 2 cents.
 
 RS
 
 
 
 
 
 Gregory Whalin [EMAIL PROTECTED] on 04/08/2002 11:15:11 AM
 
 Please respond to Tomcat Users List [EMAIL PROTECTED]
 
 To:   [EMAIL PROTECTED]
 cc:
 
 Subject:  Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and virtual
   hosts
 
 I am having a small issue with setup.  I am connecting fine to the
 examples webapp, but, I can't seem to view any .html files that are a part
 of the app.  Apache is looging them as a 404, but they are still not found
 even if I put them in the apache doc root.  So it seems that Tomcat does
 not know how to send them on to Apache.  Now, this has me perplexed
 because I have setup Apache/Tomcat integration via mod_webapp before and
 not had any issues, although I was not using virtual hosts before.  Any
 ideas what I am doing wrong.  The configs are below and I can send any
 additional helpful info you might need (logs, etc.).  Also, please feel
 free to take a look at my test site http://java.whalin.com/examples/
 
 
 httpd.conf
 --
 
 LoadModule webapp_module libexec/mod_webapp.so
 ...
 VirtualHost *
 ServerName java.whalin.com
 DocumentRoot /usr/local/htdocs/javawww
 
 WebAppConnection conn warp localhost:8008
 WebAppDeploy examples conn /examples
 WebAppDeploy tomcat-docs conn /tomcat-docs
 WebAppInfo /webapp-info
 
 ErrorLog logs/java_error_log
 CustomLog logs/java_access_log combined
 /VirtualHost
 
 --
 server.xml
 --
 
 Server port=8005 shutdown=SHUTDOWN debug=1
   Service name=Tomcat-Apache
 
 Connector
  className=org.apache.catalina.connector.warp.WarpConnector
  port=8008 minProcessors=5 maxProcessors=75
  enableLookups=false appBase=webapps
  acceptCount=10 debug=1/
 
 Engine className=org.apache.catalina.connector.warp.WarpEngine
  name=Apache defaultHost=java.whalin.com debug=1
 
   Host name=java.whalin.com debug=1
 appBase=webapps unpackWARs=true
 
 Logger className=org.apache.catalina.logger.FileLogger
 prefix=apache_log. suffix=.txt
 timestamp=true/
 
 Realm className=org.apache.catalina.realm.MemoryRealm /
 
 Context path=/examples docBase=examples debug=1
  reloadable=true crossContext=true
 
   Logger className=org.apache.catalina.logger.FileLogger
   prefix=java.whalin.com_examples_log.
   suffix=.txt timestamps=true/
 
 /Context
   /Host
 /Engine
   /Service
 /Server
 
 Thanks for any help or ideas!
 Greg
 --
 Gregory Whalin
 [EMAIL PROTECTED]
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 
 
 
 
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and virtual hosts

2002-04-08 Thread rsequeira


Well your setup looks fine to me (except that the Apache DocumentRoot
doesn't point to the examples directory - but that's ok). Also your jsps
and servlets are working fine when accessed directly. numguess.jsp and
HelloWorldExample work fine when accessed directly. Do you have an
index.html file the jsp directory? Try putting an index.jsp in there and
see if that works. Rename the index.html to maybe index1.html. I just
happened to browse to you website and it seems that it's only the html
files that aren't being served. Try making the DocumentRoot in the virtual
host point to the examples folder.
Also mod_webapp isn't very stable. Sometimes you need to refresh the page a
couple of times (the data doesn't show up). Maybe you should download the
latest mod_webapp version.

RS





Gregory Whalin [EMAIL PROTECTED] on 04/08/2002 04:11:56 PM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:   Tomcat Users List [EMAIL PROTECTED]
cc:

Subject:  Re: Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and
  virtual hosts

It worked fine when using standalone.  It is not working through Apache
via WARP though.  However, I can still run the servlets and jsps.  I
simply can't access and .html files that exist under the webapp directory
($CATALINA_HOME/webapps/examples/*.html for example).  So, I can run this
with no problem ...

http://java.whalin.com/examples/servlet/HelloWorldExample

But, I can't access

http://java.whalin.com/examples/servlets/

See my problem?  For some reason, I get a 404 (generated by Apache) when I
try to load that page.  And, I get 404 errors in my apache error log.  Not
sure how WARP is supposed to deal with static content in the webapps dir
that I have deployed.

Greg

--
Gregory Whalin
[EMAIL PROTECTED]

On Mon, 8 Apr 2002 [EMAIL PROTECTED] wrote:


 did you try accessing your examples directory using Tomcat standalone?
Does
 Tomcat serve the servlets and jsps? You might need to enable the
 HttpConnector for this. Once you know for sure that Tomcat serves the
 servlets and jsps on port 8080, then go ahead and put a webserver in
front
 of Tomcat.
 Just my 2 cents.

 RS





 Gregory Whalin [EMAIL PROTECTED] on 04/08/2002 11:15:11 AM

 Please respond to Tomcat Users List [EMAIL PROTECTED]

 To:   [EMAIL PROTECTED]
 cc:

 Subject:  Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and virtual
   hosts

 I am having a small issue with setup.  I am connecting fine to the
 examples webapp, but, I can't seem to view any .html files that are a
part
 of the app.  Apache is looging them as a 404, but they are still not
found
 even if I put them in the apache doc root.  So it seems that Tomcat does
 not know how to send them on to Apache.  Now, this has me perplexed
 because I have setup Apache/Tomcat integration via mod_webapp before and
 not had any issues, although I was not using virtual hosts before.  Any
 ideas what I am doing wrong.  The configs are below and I can send any
 additional helpful info you might need (logs, etc.).  Also, please feel
 free to take a look at my test site http://java.whalin.com/examples/


 httpd.conf
 --

 LoadModule webapp_module libexec/mod_webapp.so
 ...
 VirtualHost *
 ServerName java.whalin.com
 DocumentRoot /usr/local/htdocs/javawww

 WebAppConnection conn warp localhost:8008
 WebAppDeploy examples conn /examples
 WebAppDeploy tomcat-docs conn /tomcat-docs
 WebAppInfo /webapp-info

 ErrorLog logs/java_error_log
 CustomLog logs/java_access_log combined
 /VirtualHost

 --
 server.xml
 --

 Server port=8005 shutdown=SHUTDOWN debug=1
   Service name=Tomcat-Apache

 Connector
  className=org.apache.catalina.connector.warp.WarpConnector
  port=8008 minProcessors=5 maxProcessors=75
  enableLookups=false appBase=webapps
  acceptCount=10 debug=1/

 Engine className=org.apache.catalina.connector.warp.WarpEngine
  name=Apache defaultHost=java.whalin.com debug=1

   Host name=java.whalin.com debug=1
 appBase=webapps unpackWARs=true

 Logger className=org.apache.catalina.logger.FileLogger
 prefix=apache_log. suffix=.txt
 timestamp=true/

 Realm className=org.apache.catalina.realm.MemoryRealm /

 Context path=/examples docBase=examples debug=1
  reloadable=true crossContext=true

   Logger className=org.apache.catalina.logger.FileLogger
   prefix=java.whalin.com_examples_log.
   suffix=.txt timestamps=true/

 /Context
   /Host
 /Engine
   /Service
 /Server

 Thanks for any help or ideas!
 Greg
 --
 Gregory Whalin
 [EMAIL PROTECTED]


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]









 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto

Re: Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and virtual hosts

2002-04-08 Thread Bernd Prager

Well, I did just figure out, that
http://localhost/examples/servlets/index.html does work in my case.
I'm confused! How do we get the use of index.html files working?

- Original Message -
From: Gregory Whalin [EMAIL PROTECTED]
...


 It worked fine when using standalone.  It is not working through Apache
 via WARP though.  However, I can still run the servlets and jsps.  I
 simply can't access and .html files that exist under the webapp directory
 ($CATALINA_HOME/webapps/examples/*.html for example).  So, I can run this
 with no problem ...

 http://java.whalin.com/examples/servlet/HelloWorldExample

 But, I can't access

 http://java.whalin.com/examples/servlets/

 See my problem?  For some reason, I get a 404 (generated by Apache) when I
 try to load that page.  And, I get 404 errors in my apache error log.  Not
 sure how WARP is supposed to deal with static content in the webapps dir
 that I have deployed.




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and virtualhosts

2002-04-08 Thread Gregory Whalin

I have tried pointing Apache's doc root to the examples folder and still a
no go.  Any idea how Tomcat deals with static content passed to
it?  Apache should be deploying anything under /examples/* through Warp
correct?  So, then I am guessing it would not bother to look in its own
doc root anyhow.  Also, I turned on ...

Valve className=org.apache.catalina.valves.AccessLogValve
   directory=logs  prefix=apache_access_log.
   suffix=.txt pattern=common/

And when I try to load a .html file, I see a redirect code being sent.

209.11.104.129 - - [08/Apr/2002:17:40:44 -0500] GET /examples/servlets/
HTTP/1.1 302 653

I am gonna write a quick perl script to rip apart the headers to see where
I am being redirected.

Also, on a side note.  Eventually this will be for a production
environment.  Should I scrap mod_webapp?  Is mod_jk a better idea for a
production environment?

Thanks!

Greg

-- 
Gregory Whalin
[EMAIL PROTECTED]

On Mon, 8 Apr 2002 [EMAIL PROTECTED] wrote:

 
 Well your setup looks fine to me (except that the Apache DocumentRoot
 doesn't point to the examples directory - but that's ok). Also your jsps
 and servlets are working fine when accessed directly. numguess.jsp and
 HelloWorldExample work fine when accessed directly. Do you have an
 index.html file the jsp directory? Try putting an index.jsp in there and
 see if that works. Rename the index.html to maybe index1.html. I just
 happened to browse to you website and it seems that it's only the html
 files that aren't being served. Try making the DocumentRoot in the virtual
 host point to the examples folder.
 Also mod_webapp isn't very stable. Sometimes you need to refresh the page a
 couple of times (the data doesn't show up). Maybe you should download the
 latest mod_webapp version.
 
 RS
 
 
 
 
 
 Gregory Whalin [EMAIL PROTECTED] on 04/08/2002 04:11:56 PM
 
 Please respond to Tomcat Users List [EMAIL PROTECTED]
 
 To:   Tomcat Users List [EMAIL PROTECTED]
 cc:
 
 Subject:  Re: Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and
   virtual hosts
 
 It worked fine when using standalone.  It is not working through Apache
 via WARP though.  However, I can still run the servlets and jsps.  I
 simply can't access and .html files that exist under the webapp directory
 ($CATALINA_HOME/webapps/examples/*.html for example).  So, I can run this
 with no problem ...
 
 http://java.whalin.com/examples/servlet/HelloWorldExample
 
 But, I can't access
 
 http://java.whalin.com/examples/servlets/
 
 See my problem?  For some reason, I get a 404 (generated by Apache) when I
 try to load that page.  And, I get 404 errors in my apache error log.  Not
 sure how WARP is supposed to deal with static content in the webapps dir
 that I have deployed.
 
 Greg
 
 --
 Gregory Whalin
 [EMAIL PROTECTED]
 
 On Mon, 8 Apr 2002 [EMAIL PROTECTED] wrote:
 
 
  did you try accessing your examples directory using Tomcat standalone?
 Does
  Tomcat serve the servlets and jsps? You might need to enable the
  HttpConnector for this. Once you know for sure that Tomcat serves the
  servlets and jsps on port 8080, then go ahead and put a webserver in
 front
  of Tomcat.
  Just my 2 cents.
 
  RS
 
 
 
 
 
  Gregory Whalin [EMAIL PROTECTED] on 04/08/2002 11:15:11 AM
 
  Please respond to Tomcat Users List [EMAIL PROTECTED]
 
  To:   [EMAIL PROTECTED]
  cc:
 
  Subject:  Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and virtual
hosts
 
  I am having a small issue with setup.  I am connecting fine to the
  examples webapp, but, I can't seem to view any .html files that are a
 part
  of the app.  Apache is looging them as a 404, but they are still not
 found
  even if I put them in the apache doc root.  So it seems that Tomcat does
  not know how to send them on to Apache.  Now, this has me perplexed
  because I have setup Apache/Tomcat integration via mod_webapp before and
  not had any issues, although I was not using virtual hosts before.  Any
  ideas what I am doing wrong.  The configs are below and I can send any
  additional helpful info you might need (logs, etc.).  Also, please feel
  free to take a look at my test site http://java.whalin.com/examples/
 
 
  httpd.conf
  --
 
  LoadModule webapp_module libexec/mod_webapp.so
  ...
  VirtualHost *
  ServerName java.whalin.com
  DocumentRoot /usr/local/htdocs/javawww
 
  WebAppConnection conn warp localhost:8008
  WebAppDeploy examples conn /examples
  WebAppDeploy tomcat-docs conn /tomcat-docs
  WebAppInfo /webapp-info
 
  ErrorLog logs/java_error_log
  CustomLog logs/java_access_log combined
  /VirtualHost
 
  --
  server.xml
  --
 
  Server port=8005 shutdown=SHUTDOWN debug=1
Service name=Tomcat-Apache
 
  Connector
   className=org.apache.catalina.connector.warp.WarpConnector
   port=8008 minProcessors=5 maxProcessors=75
   enableLookups=false appBase=webapps
   acceptCount=10 debug=1/
 
  Engine className

Re: Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and virtualhosts

2002-04-08 Thread Gregory Whalin

OK, I checked.  The redirect that is being sent is simply redirecting to
the index.html file.  If I try to go to  

http://java.whalin.com/examples/servlets/index.html

directly, I do not even see a hit to Tomcat.  At the same time, Apache
does not bother to look in its docroot to see if the file exists there,
and instead sends a 404.  I actually created /examples/servlets/index.html
under the Apache doc root and still the 404.

Greg
-- 
Gregory Whalin
[EMAIL PROTECTED]

On Mon, 8 Apr 2002 [EMAIL PROTECTED] wrote:

 
 Well your setup looks fine to me (except that the Apache DocumentRoot
 doesn't point to the examples directory - but that's ok). Also your jsps
 and servlets are working fine when accessed directly. numguess.jsp and
 HelloWorldExample work fine when accessed directly. Do you have an
 index.html file the jsp directory? Try putting an index.jsp in there and
 see if that works. Rename the index.html to maybe index1.html. I just
 happened to browse to you website and it seems that it's only the html
 files that aren't being served. Try making the DocumentRoot in the virtual
 host point to the examples folder.
 Also mod_webapp isn't very stable. Sometimes you need to refresh the page a
 couple of times (the data doesn't show up). Maybe you should download the
 latest mod_webapp version.
 
 RS
 
 
 
 
 
 Gregory Whalin [EMAIL PROTECTED] on 04/08/2002 04:11:56 PM
 
 Please respond to Tomcat Users List [EMAIL PROTECTED]
 
 To:   Tomcat Users List [EMAIL PROTECTED]
 cc:
 
 Subject:  Re: Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and
   virtual hosts
 
 It worked fine when using standalone.  It is not working through Apache
 via WARP though.  However, I can still run the servlets and jsps.  I
 simply can't access and .html files that exist under the webapp directory
 ($CATALINA_HOME/webapps/examples/*.html for example).  So, I can run this
 with no problem ...
 
 http://java.whalin.com/examples/servlet/HelloWorldExample
 
 But, I can't access
 
 http://java.whalin.com/examples/servlets/
 
 See my problem?  For some reason, I get a 404 (generated by Apache) when I
 try to load that page.  And, I get 404 errors in my apache error log.  Not
 sure how WARP is supposed to deal with static content in the webapps dir
 that I have deployed.
 
 Greg
 
 --
 Gregory Whalin
 [EMAIL PROTECTED]
 
 On Mon, 8 Apr 2002 [EMAIL PROTECTED] wrote:
 
 
  did you try accessing your examples directory using Tomcat standalone?
 Does
  Tomcat serve the servlets and jsps? You might need to enable the
  HttpConnector for this. Once you know for sure that Tomcat serves the
  servlets and jsps on port 8080, then go ahead and put a webserver in
 front
  of Tomcat.
  Just my 2 cents.
 
  RS
 
 
 
 
 
  Gregory Whalin [EMAIL PROTECTED] on 04/08/2002 11:15:11 AM
 
  Please respond to Tomcat Users List [EMAIL PROTECTED]
 
  To:   [EMAIL PROTECTED]
  cc:
 
  Subject:  Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and virtual
hosts
 
  I am having a small issue with setup.  I am connecting fine to the
  examples webapp, but, I can't seem to view any .html files that are a
 part
  of the app.  Apache is looging them as a 404, but they are still not
 found
  even if I put them in the apache doc root.  So it seems that Tomcat does
  not know how to send them on to Apache.  Now, this has me perplexed
  because I have setup Apache/Tomcat integration via mod_webapp before and
  not had any issues, although I was not using virtual hosts before.  Any
  ideas what I am doing wrong.  The configs are below and I can send any
  additional helpful info you might need (logs, etc.).  Also, please feel
  free to take a look at my test site http://java.whalin.com/examples/
 
 
  httpd.conf
  --
 
  LoadModule webapp_module libexec/mod_webapp.so
  ...
  VirtualHost *
  ServerName java.whalin.com
  DocumentRoot /usr/local/htdocs/javawww
 
  WebAppConnection conn warp localhost:8008
  WebAppDeploy examples conn /examples
  WebAppDeploy tomcat-docs conn /tomcat-docs
  WebAppInfo /webapp-info
 
  ErrorLog logs/java_error_log
  CustomLog logs/java_access_log combined
  /VirtualHost
 
  --
  server.xml
  --
 
  Server port=8005 shutdown=SHUTDOWN debug=1
Service name=Tomcat-Apache
 
  Connector
   className=org.apache.catalina.connector.warp.WarpConnector
   port=8008 minProcessors=5 maxProcessors=75
   enableLookups=false appBase=webapps
   acceptCount=10 debug=1/
 
  Engine className=org.apache.catalina.connector.warp.WarpEngine
   name=Apache defaultHost=java.whalin.com debug=1
 
Host name=java.whalin.com debug=1
  appBase=webapps unpackWARs=true
 
  Logger className=org.apache.catalina.logger.FileLogger
  prefix=apache_log. suffix=.txt
  timestamp=true/
 
  Realm className=org.apache.catalina.realm.MemoryRealm /
 
  Context path=/examples docBase=examples

Re: Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and virtual hosts

2002-04-08 Thread rsequeira


The strange part is that only html files aren't being served. Does Apache
serve html files allright? Say http://localhost
and the document root being something different for localhost than the
documentroot for java.whalin.com

RS





Gregory Whalin [EMAIL PROTECTED] on 04/08/2002 05:11:27 PM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:   Tomcat Users List [EMAIL PROTECTED]
cc:

Subject:  Re: Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and
  virtual hosts

OK, I checked.  The redirect that is being sent is simply redirecting to
the index.html file.  If I try to go to  

http://java.whalin.com/examples/servlets/index.html

directly, I do not even see a hit to Tomcat.  At the same time, Apache
does not bother to look in its docroot to see if the file exists there,
and instead sends a 404.  I actually created /examples/servlets/index.html
under the Apache doc root and still the 404.

Greg
--
Gregory Whalin
[EMAIL PROTECTED]

On Mon, 8 Apr 2002 [EMAIL PROTECTED] wrote:


 Well your setup looks fine to me (except that the Apache DocumentRoot
 doesn't point to the examples directory - but that's ok). Also your jsps
 and servlets are working fine when accessed directly. numguess.jsp and
 HelloWorldExample work fine when accessed directly. Do you have an
 index.html file the jsp directory? Try putting an index.jsp in there and
 see if that works. Rename the index.html to maybe index1.html. I just
 happened to browse to you website and it seems that it's only the html
 files that aren't being served. Try making the DocumentRoot in the
virtual
 host point to the examples folder.
 Also mod_webapp isn't very stable. Sometimes you need to refresh the page
a
 couple of times (the data doesn't show up). Maybe you should download the
 latest mod_webapp version.

 RS





 Gregory Whalin [EMAIL PROTECTED] on 04/08/2002 04:11:56 PM

 Please respond to Tomcat Users List [EMAIL PROTECTED]

 To:   Tomcat Users List [EMAIL PROTECTED]
 cc:

 Subject:  Re: Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and
   virtual hosts

 It worked fine when using standalone.  It is not working through Apache
 via WARP though.  However, I can still run the servlets and jsps.  I
 simply can't access and .html files that exist under the webapp directory
 ($CATALINA_HOME/webapps/examples/*.html for example).  So, I can run this
 with no problem ...

 http://java.whalin.com/examples/servlet/HelloWorldExample

 But, I can't access

 http://java.whalin.com/examples/servlets/

 See my problem?  For some reason, I get a 404 (generated by Apache) when
I
 try to load that page.  And, I get 404 errors in my apache error log.
Not
 sure how WARP is supposed to deal with static content in the webapps dir
 that I have deployed.

 Greg

 --
 Gregory Whalin
 [EMAIL PROTECTED]

 On Mon, 8 Apr 2002 [EMAIL PROTECTED] wrote:

 
  did you try accessing your examples directory using Tomcat standalone?
 Does
  Tomcat serve the servlets and jsps? You might need to enable the
  HttpConnector for this. Once you know for sure that Tomcat serves the
  servlets and jsps on port 8080, then go ahead and put a webserver in
 front
  of Tomcat.
  Just my 2 cents.
 
  RS
 
 
 
 
 
  Gregory Whalin [EMAIL PROTECTED] on 04/08/2002 11:15:11 AM
 
  Please respond to Tomcat Users List [EMAIL PROTECTED]
 
  To:   [EMAIL PROTECTED]
  cc:
 
  Subject:  Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and
virtual
hosts
 
  I am having a small issue with setup.  I am connecting fine to the
  examples webapp, but, I can't seem to view any .html files that are a
 part
  of the app.  Apache is looging them as a 404, but they are still not
 found
  even if I put them in the apache doc root.  So it seems that Tomcat
does
  not know how to send them on to Apache.  Now, this has me perplexed
  because I have setup Apache/Tomcat integration via mod_webapp before
and
  not had any issues, although I was not using virtual hosts before.  Any
  ideas what I am doing wrong.  The configs are below and I can send any
  additional helpful info you might need (logs, etc.).  Also, please feel
  free to take a look at my test site http://java.whalin.com/examples/
 
 
  httpd.conf
  --
 
  LoadModule webapp_module libexec/mod_webapp.so
  ...
  VirtualHost *
  ServerName java.whalin.com
  DocumentRoot /usr/local/htdocs/javawww
 
  WebAppConnection conn warp localhost:8008
  WebAppDeploy examples conn /examples
  WebAppDeploy tomcat-docs conn /tomcat-docs
  WebAppInfo /webapp-info
 
  ErrorLog logs/java_error_log
  CustomLog logs/java_access_log combined
  /VirtualHost
 
  --
  server.xml
  --
 
  Server port=8005 shutdown=SHUTDOWN debug=1
Service name=Tomcat-Apache
 
  Connector
   className=org.apache.catalina.connector.warp.WarpConnector
   port=8008 minProcessors=5 maxProcessors=75
   enableLookups=false appBase=webapps
   acceptCount=10 debug=1/
 
  Engine

Re: Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and virtualhosts

2002-04-08 Thread Gregory Whalin

Yep, Apache has several other virtual hosts which server html content with
no problem.  I guess what I do not understand is what happens with
Apache+Tomcat+mod_webapp when an html file is served from under a webapp
context.  Does Tomcat serve it?  Does Tomcat forward it through WARP to
Apache?  

-- 
Gregory Whalin
[EMAIL PROTECTED]

On Mon, 8 Apr 2002 [EMAIL PROTECTED] wrote:

 
 The strange part is that only html files aren't being served. Does Apache
 serve html files allright? Say http://localhost
 and the document root being something different for localhost than the
 documentroot for java.whalin.com
 
 RS
 
 
 
 
 
 Gregory Whalin [EMAIL PROTECTED] on 04/08/2002 05:11:27 PM
 
 Please respond to Tomcat Users List [EMAIL PROTECTED]
 
 To:   Tomcat Users List [EMAIL PROTECTED]
 cc:
 
 Subject:  Re: Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and
   virtual hosts
 
 OK, I checked.  The redirect that is being sent is simply redirecting to
 the index.html file.  If I try to go to  
 
 http://java.whalin.com/examples/servlets/index.html
 
 directly, I do not even see a hit to Tomcat.  At the same time, Apache
 does not bother to look in its docroot to see if the file exists there,
 and instead sends a 404.  I actually created /examples/servlets/index.html
 under the Apache doc root and still the 404.
 
 Greg
 --
 Gregory Whalin
 [EMAIL PROTECTED]
 
 On Mon, 8 Apr 2002 [EMAIL PROTECTED] wrote:
 
 
  Well your setup looks fine to me (except that the Apache DocumentRoot
  doesn't point to the examples directory - but that's ok). Also your jsps
  and servlets are working fine when accessed directly. numguess.jsp and
  HelloWorldExample work fine when accessed directly. Do you have an
  index.html file the jsp directory? Try putting an index.jsp in there and
  see if that works. Rename the index.html to maybe index1.html. I just
  happened to browse to you website and it seems that it's only the html
  files that aren't being served. Try making the DocumentRoot in the
 virtual
  host point to the examples folder.
  Also mod_webapp isn't very stable. Sometimes you need to refresh the page
 a
  couple of times (the data doesn't show up). Maybe you should download the
  latest mod_webapp version.
 
  RS
 
 
 
 
 
  Gregory Whalin [EMAIL PROTECTED] on 04/08/2002 04:11:56 PM
 
  Please respond to Tomcat Users List [EMAIL PROTECTED]
 
  To:   Tomcat Users List [EMAIL PROTECTED]
  cc:
 
  Subject:  Re: Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and
virtual hosts
 
  It worked fine when using standalone.  It is not working through Apache
  via WARP though.  However, I can still run the servlets and jsps.  I
  simply can't access and .html files that exist under the webapp directory
  ($CATALINA_HOME/webapps/examples/*.html for example).  So, I can run this
  with no problem ...
 
  http://java.whalin.com/examples/servlet/HelloWorldExample
 
  But, I can't access
 
  http://java.whalin.com/examples/servlets/
 
  See my problem?  For some reason, I get a 404 (generated by Apache) when
 I
  try to load that page.  And, I get 404 errors in my apache error log.
 Not
  sure how WARP is supposed to deal with static content in the webapps dir
  that I have deployed.
 
  Greg
 
  --
  Gregory Whalin
  [EMAIL PROTECTED]
 
  On Mon, 8 Apr 2002 [EMAIL PROTECTED] wrote:
 
  
   did you try accessing your examples directory using Tomcat standalone?
  Does
   Tomcat serve the servlets and jsps? You might need to enable the
   HttpConnector for this. Once you know for sure that Tomcat serves the
   servlets and jsps on port 8080, then go ahead and put a webserver in
  front
   of Tomcat.
   Just my 2 cents.
  
   RS
  
  
  
  
  
   Gregory Whalin [EMAIL PROTECTED] on 04/08/2002 11:15:11 AM
  
   Please respond to Tomcat Users List [EMAIL PROTECTED]
  
   To:   [EMAIL PROTECTED]
   cc:
  
   Subject:  Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and
 virtual
 hosts
  
   I am having a small issue with setup.  I am connecting fine to the
   examples webapp, but, I can't seem to view any .html files that are a
  part
   of the app.  Apache is looging them as a 404, but they are still not
  found
   even if I put them in the apache doc root.  So it seems that Tomcat
 does
   not know how to send them on to Apache.  Now, this has me perplexed
   because I have setup Apache/Tomcat integration via mod_webapp before
 and
   not had any issues, although I was not using virtual hosts before.  Any
   ideas what I am doing wrong.  The configs are below and I can send any
   additional helpful info you might need (logs, etc.).  Also, please feel
   free to take a look at my test site http://java.whalin.com/examples/
  
  
   httpd.conf
   --
  
   LoadModule webapp_module libexec/mod_webapp.so
   ...
   VirtualHost *
   ServerName java.whalin.com
   DocumentRoot /usr/local/htdocs/javawww
  
   WebAppConnection conn warp localhost:8008
   WebAppDeploy examples conn

Re: Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and virtual hosts

2002-04-08 Thread rsequeira


I mean only html files are being served. Sorry typo.
RS




[EMAIL PROTECTED] on 04/08/2002 05:29:05 PM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:   Tomcat Users List [EMAIL PROTECTED]
cc:

Subject:  Re: Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and
  virtual hosts


The strange part is that only html files aren't being served. Does Apache
serve html files allright? Say http://localhost
and the document root being something different for localhost than the
documentroot for java.whalin.com

RS





Gregory Whalin [EMAIL PROTECTED] on 04/08/2002 05:11:27 PM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:   Tomcat Users List [EMAIL PROTECTED]
cc:

Subject:  Re: Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and
  virtual hosts

OK, I checked.  The redirect that is being sent is simply redirecting to
the index.html file.  If I try to go to  

http://java.whalin.com/examples/servlets/index.html

directly, I do not even see a hit to Tomcat.  At the same time, Apache
does not bother to look in its docroot to see if the file exists there,
and instead sends a 404.  I actually created /examples/servlets/index.html
under the Apache doc root and still the 404.

Greg
--
Gregory Whalin
[EMAIL PROTECTED]

On Mon, 8 Apr 2002 [EMAIL PROTECTED] wrote:


 Well your setup looks fine to me (except that the Apache DocumentRoot
 doesn't point to the examples directory - but that's ok). Also your jsps
 and servlets are working fine when accessed directly. numguess.jsp and
 HelloWorldExample work fine when accessed directly. Do you have an
 index.html file the jsp directory? Try putting an index.jsp in there and
 see if that works. Rename the index.html to maybe index1.html. I just
 happened to browse to you website and it seems that it's only the html
 files that aren't being served. Try making the DocumentRoot in the
virtual
 host point to the examples folder.
 Also mod_webapp isn't very stable. Sometimes you need to refresh the page
a
 couple of times (the data doesn't show up). Maybe you should download the
 latest mod_webapp version.

 RS





 Gregory Whalin [EMAIL PROTECTED] on 04/08/2002 04:11:56 PM

 Please respond to Tomcat Users List [EMAIL PROTECTED]

 To:   Tomcat Users List [EMAIL PROTECTED]
 cc:

 Subject:  Re: Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and
   virtual hosts

 It worked fine when using standalone.  It is not working through Apache
 via WARP though.  However, I can still run the servlets and jsps.  I
 simply can't access and .html files that exist under the webapp directory
 ($CATALINA_HOME/webapps/examples/*.html for example).  So, I can run this
 with no problem ...

 http://java.whalin.com/examples/servlet/HelloWorldExample

 But, I can't access

 http://java.whalin.com/examples/servlets/

 See my problem?  For some reason, I get a 404 (generated by Apache) when
I
 try to load that page.  And, I get 404 errors in my apache error log.
Not
 sure how WARP is supposed to deal with static content in the webapps dir
 that I have deployed.

 Greg

 --
 Gregory Whalin
 [EMAIL PROTECTED]

 On Mon, 8 Apr 2002 [EMAIL PROTECTED] wrote:

 
  did you try accessing your examples directory using Tomcat standalone?
 Does
  Tomcat serve the servlets and jsps? You might need to enable the
  HttpConnector for this. Once you know for sure that Tomcat serves the
  servlets and jsps on port 8080, then go ahead and put a webserver in
 front
  of Tomcat.
  Just my 2 cents.
 
  RS
 
 
 
 
 
  Gregory Whalin [EMAIL PROTECTED] on 04/08/2002 11:15:11 AM
 
  Please respond to Tomcat Users List [EMAIL PROTECTED]
 
  To:   [EMAIL PROTECTED]
  cc:
 
  Subject:  Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and
virtual
hosts
 
  I am having a small issue with setup.  I am connecting fine to the
  examples webapp, but, I can't seem to view any .html files that are a
 part
  of the app.  Apache is looging them as a 404, but they are still not
 found
  even if I put them in the apache doc root.  So it seems that Tomcat
does
  not know how to send them on to Apache.  Now, this has me perplexed
  because I have setup Apache/Tomcat integration via mod_webapp before
and
  not had any issues, although I was not using virtual hosts before.  Any
  ideas what I am doing wrong.  The configs are below and I can send any
  additional helpful info you might need (logs, etc.).  Also, please feel
  free to take a look at my test site http://java.whalin.com/examples/
 
 
  httpd.conf
  --
 
  LoadModule webapp_module libexec/mod_webapp.so
  ...
  VirtualHost *
  ServerName java.whalin.com
  DocumentRoot /usr/local/htdocs/javawww
 
  WebAppConnection conn warp localhost:8008
  WebAppDeploy examples conn /examples
  WebAppDeploy tomcat-docs conn /tomcat-docs
  WebAppInfo /webapp-info
 
  ErrorLog logs/java_error_log
  CustomLog logs/java_access_log combined
  /VirtualHost
 
  --
  server.xml

Re: Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and virtual hosts

2002-04-08 Thread rsequeira


The WebAppDeploy
snip
WebAppDeploy examples conn /examples
/snip
statement instructs mod_webapp to forward all requests for the examples
directory to Tomcat

If you plan to use this setup in production, I think mod_jk would be a
better bet although mod_webapp is touted to be the successor of mod_jk.

RS





Gregory Whalin [EMAIL PROTECTED] on 04/08/2002 05:37:06 PM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:   Tomcat Users List [EMAIL PROTECTED]
cc:

Subject:  Re: Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and
  virtual hosts

Yep, Apache has several other virtual hosts which server html content with
no problem.  I guess what I do not understand is what happens with
Apache+Tomcat+mod_webapp when an html file is served from under a webapp
context.  Does Tomcat serve it?  Does Tomcat forward it through WARP to
Apache?

--
Gregory Whalin
[EMAIL PROTECTED]

On Mon, 8 Apr 2002 [EMAIL PROTECTED] wrote:


 The strange part is that only html files aren't being served. Does Apache
 serve html files allright? Say http://localhost
 and the document root being something different for localhost than the
 documentroot for java.whalin.com

 RS





 Gregory Whalin [EMAIL PROTECTED] on 04/08/2002 05:11:27 PM

 Please respond to Tomcat Users List [EMAIL PROTECTED]

 To:   Tomcat Users List [EMAIL PROTECTED]
 cc:

 Subject:  Re: Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and
   virtual hosts

 OK, I checked.  The redirect that is being sent is simply redirecting to
 the index.html file.  If I try to go to  

 http://java.whalin.com/examples/servlets/index.html

 directly, I do not even see a hit to Tomcat.  At the same time, Apache
 does not bother to look in its docroot to see if the file exists there,
 and instead sends a 404.  I actually created
/examples/servlets/index.html
 under the Apache doc root and still the 404.

 Greg
 --
 Gregory Whalin
 [EMAIL PROTECTED]

 On Mon, 8 Apr 2002 [EMAIL PROTECTED] wrote:

 
  Well your setup looks fine to me (except that the Apache DocumentRoot
  doesn't point to the examples directory - but that's ok). Also your
jsps
  and servlets are working fine when accessed directly. numguess.jsp and
  HelloWorldExample work fine when accessed directly. Do you have an
  index.html file the jsp directory? Try putting an index.jsp in there
and
  see if that works. Rename the index.html to maybe index1.html. I just
  happened to browse to you website and it seems that it's only the html
  files that aren't being served. Try making the DocumentRoot in the
 virtual
  host point to the examples folder.
  Also mod_webapp isn't very stable. Sometimes you need to refresh the
page
 a
  couple of times (the data doesn't show up). Maybe you should download
the
  latest mod_webapp version.
 
  RS
 
 
 
 
 
  Gregory Whalin [EMAIL PROTECTED] on 04/08/2002 04:11:56 PM
 
  Please respond to Tomcat Users List [EMAIL PROTECTED]
 
  To:   Tomcat Users List [EMAIL PROTECTED]
  cc:
 
  Subject:  Re: Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and
virtual hosts
 
  It worked fine when using standalone.  It is not working through Apache
  via WARP though.  However, I can still run the servlets and jsps.  I
  simply can't access and .html files that exist under the webapp
directory
  ($CATALINA_HOME/webapps/examples/*.html for example).  So, I can run
this
  with no problem ...
 
  http://java.whalin.com/examples/servlet/HelloWorldExample
 
  But, I can't access
 
  http://java.whalin.com/examples/servlets/
 
  See my problem?  For some reason, I get a 404 (generated by Apache)
when
 I
  try to load that page.  And, I get 404 errors in my apache error log.
 Not
  sure how WARP is supposed to deal with static content in the webapps
dir
  that I have deployed.
 
  Greg
 
  --
  Gregory Whalin
  [EMAIL PROTECTED]
 
  On Mon, 8 Apr 2002 [EMAIL PROTECTED] wrote:
 
  
   did you try accessing your examples directory using Tomcat
standalone?
  Does
   Tomcat serve the servlets and jsps? You might need to enable the
   HttpConnector for this. Once you know for sure that Tomcat serves the
   servlets and jsps on port 8080, then go ahead and put a webserver in
  front
   of Tomcat.
   Just my 2 cents.
  
   RS
  
  
  
  
  
   Gregory Whalin [EMAIL PROTECTED] on 04/08/2002 11:15:11 AM
  
   Please respond to Tomcat Users List
[EMAIL PROTECTED]
  
   To:   [EMAIL PROTECTED]
   cc:
  
   Subject:  Problem with Tomcat 4.0.*/mod_webapp.so/Apache-1.24 and
 virtual
 hosts
  
   I am having a small issue with setup.  I am connecting fine to the
   examples webapp, but, I can't seem to view any .html files that are a
  part
   of the app.  Apache is looging them as a 404, but they are still not
  found
   even if I put them in the apache doc root.  So it seems that Tomcat
 does
   not know how to send them on to Apache.  Now, this has me perplexed
   because I have setup Apache/Tomcat integration via mod_webapp before
 and
   not had any issues, although I

status mod_webapp.so

2002-04-07 Thread Greg Munger


The server works for a moment and eventually stops working.
The restart fails with:
(98)Address already in use: make_sock: could not bind to port 80
First question: Where do I find the sources in order to recompile them?

http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/src

to build  the module:
support/buildconfs.sh
configure --with-apxs
make

Second question (probably a stupid one): How do I free port 80?

By default Apache will be using port 80 and Tomcat will be using 8080, and 
the Apache-Tomcat connector will be on 8008. Do you have another webserver 
running? Did you change one of these defaults?

Third question: Is the way I'm doing this the recommended way to
integrate Tomcat with the Apache web server?

That is what I am doing and it works for me. I do not know if it is the 
best solution.

Greg

Greg Munger   -   219-926-7604- Lake Point Interactive   -   www.lpiweb.com


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Make, won't create mod_webapp.so

2002-04-03 Thread David Parham

I'm trying to link apache-2.0.32 to tomcat-4.0.3 using
webapp-module-1.0.1-tc401.  On a RS/6000 with AIX4.3.3

I run the ./configure --with-apxs=/app/apache-2/bin/apxs.
This appears to run correctly, no errors are returned.
I then run the make command.  It returns the following data, again no
errors.

# make

make[]: Entering directory lib
make[]: Invoking make  build
make[]: Generating pr_warp_defs.h from
/download/webapp-module-1.0.1-tc401/java/Constants.java

make[]: Creating library libwebapp.la
/app/apache-2/build/libtool /usr/bin/gcc -rpath
/download/webapp-module-1.0.1-tc401/lib -
static -o libwebapp.la wa_main.lo  wa_config.lo  wa_request.lo pr_info.lo
pr_warp.lo  pr_warp_pa
cket.lo  pr_warp_network.lo  pr_warp_config.lo
rm -fr .libs/libwebapp.la .libs/libwebapp.* .libs/libwebapp.*
ar cru .libs/libwebapp.a  wa_main.o wa_config.o wa_request.o pr_info.o
pr_warp.o pr_warp_packet.o
 pr_warp_network.o pr_warp_config.o
ranlib .libs/libwebapp.a
creating libwebapp.la
(cd .libs  rm -f libwebapp.la  ln -s ../libwebapp.la libwebapp.la)
/app/apache-2/build/libtool --silent --mode=install
/download/webapp-module-1.0.1-tc401/
support/install.sh -c  libwebapp.la  /download/webapp-module-1.0.1-tc401/lib
--
Libraries have been installed in:
   /download/webapp-module-1.0.1-tc401/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LIBPATH' environment variable
 during execution
   - use the `-Wl,-blibpath:LIBDIR:/usr/lib:/lib' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
--
/app/apache-2/build/libtool --silent --mode=finish
/download/webapp-module-1.0.1-tc401/l
ib
Target build is up to date.
make[]: Exiting directory lib

make[]: Entering directory apache-2.0
make[]: Invoking make  build
Target build is up to date.
make[]: Exiting directory apache-2.0
Target all is up to date.

I've tried running the ./configure commands with various different flags.
But always the same result.  There is never a mod_webapp.so file in the
apache-2.0 dir.

If anyone has any insight they'd like to share I would be very hapy to hear
it.

thanks
David
[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




status mod_webapp.so?

2002-04-03 Thread Bernd Prager

Hi everybody,
I just installed Tomcat 4.0.3 and everything seems to work fine.

Next step was the Apache HTTP server integration.
First I had a hard time to find the mod_webapp.so module,
before I realised it exists only in /release/v4.0.3/bin/linux/
on the build site. I can't find any sources.
When I configure and restart the Apache httpd it complains
[warn] Loaded DSO libexec/mod_webapp.so uses plain Apache 1.3 API, this
module might crash under EAPI! (please recompile it with -DEAPI)

The server works for a moment and eventually stops working.
The restart fails with:
(98)Address already in use: make_sock: could not bind to port 80
First question: Where do I find the sources in order to recompile them?
Second question (probably a stupid one): How do I free port 80?
Third question: Is the way I'm doing this the recommended way to
integrate Tomcat with the Apache web server?

Thanks for any help?
-- Bernd


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




mod_webapp.so Solaris 2.6

2002-03-25 Thread tomcat

Does anyone have mod_webapp compiled for Solaris 2.6?  If so, where can I
download it from?  I can't find it at jakarta.apache.org.  

If no one has one,does anybody know how to fix this error that happens with
the WebAppDeploy directive:

 Invalid port number (p1) No Port statement found 


Any help would be apreciated.

David Godsey

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: mod_webapp.so Solaris 2.6

2002-03-25 Thread Jean-Luc BEAUDET

[EMAIL PROTECTED] a écrit :

 Does anyone have mod_webapp compiled for Solaris 2.6?  If so, where can I
 download it from?  I can't find it at jakarta.apache.org.

 If no one has one,does anybody know how to fix this error that happens with
 the WebAppDeploy directive:

  Invalid port number (p1) No Port statement found

 Any help would be apreciated.

 David Godsey

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

I have one i compiled with no pbs.

This is a mod_webapp.so compiled for Tomcat 4.0.2 Final Release and Apache
1.3.22

Which way do yu try to compile it ?

Jean-Luc B



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




mod_webapp.so GLIBC_2.2 error on RH 6.1

2002-03-25 Thread Takaoglu, Uzay

Hi All,

I need to run tomcat 4.0.3 with apache 1.3.23 on linux RH 6.1. Obviously
mod_webapp.so requires GLIBC 2.2 and RH 6.1 comes with GLIBC 2.1.3. When I
try to run apache, it returns an error Cannot load
httpd_module_path/mod_webapp.so into server: /lib/libc.so.6 version
'GLIBC_2.2' not found (required by
path_to_mod_webapp.so_home/mod_webapp.so)

Is there ayway I can use mod_webapp.so with GCC 2.1.3 ? 

Regards,

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: mod_webapp.so GLIBC_2.2 error on RH 6.1

2002-03-25 Thread Alan Pogrebinschi

I had exactly the same problem. You just have to get the mod_webapp.so
source and compile it yourself.

The only thing that worked for me was getting the source directly from the
CVS, as well as the APR. I'll paste here the info from the README.txt file:

Check out the module sources from CVS using the following commands:

cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic login
(Logging in to [EMAIL PROTECTED])
CVS password: anoncvs
cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic \
checkout jakarta-tomcat-connectors/webapp

Once CVS downloads the WebApp module sources, we need to download the
APR (Apache Portable Runtime) sources. To do this simply:

cd ./jakarta-tomcat-connectors/webapp
cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic \
checkout apr


At this point you already have your own README.txt to follow.

Hope this helps :)

Alan

- Original Message -
From: Takaoglu, Uzay [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Monday, March 25, 2002 2:17 PM
Subject: mod_webapp.so GLIBC_2.2 error on RH 6.1


 Hi All,

 I need to run tomcat 4.0.3 with apache 1.3.23 on linux RH 6.1. Obviously
 mod_webapp.so requires GLIBC 2.2 and RH 6.1 comes with GLIBC 2.1.3. When I
 try to run apache, it returns an error Cannot load
 httpd_module_path/mod_webapp.so into server: /lib/libc.so.6 version
 'GLIBC_2.2' not found (required by
 path_to_mod_webapp.so_home/mod_webapp.so)

 Is there ayway I can use mod_webapp.so with GCC 2.1.3 ?

 Regards,

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




mod_webapp.so functionality with apache ACLs (.htaccess)

2002-03-20 Thread Griffith, Patrick, CTR, AFPCA/OAA

I'm new to Tomcat (and most Java for that matter).  I have Solaris 8 with
Apache 1.3.22 and Tomcat 4.0.3. I've created the mod_webapp.so module and it
appears to work for me - in the sense that I can get the example jsp code to
run through my apache.  However, I need to also use the exhisting ACLs we
have in place (.htaccess files) and assumed that apache would handle these
but it doesn't.

Is this a glitch in my configuration or is it true that the webapp connector
will not allow the .htaccess file to be read by apache?  I started to
explore ajp13 connector to see if it could offer me something that webapp
connector didn't, but haven't been able to get ajp13 to work. 

Does anyone know how I can get webapp connector to use apache's basic
authentication?  I'd really like to do the authentication on the webserver
and leave tomcat to do the applications.  

Is there some syntax that I could place in the server.xml file to tell
tomcat to use apache's basic auth?  If webapp connector won't allow this, is
there another connector/method out there that can allow this?

thanks!

(P.S. sorry if this was sent out twice - not sure if my registration entry
was sent out)


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: mod_webapp.so problem

2002-03-17 Thread Valera Molyakov

Hi !

recompile mod_webapp.so widthout EAPI, see error message :)
- Original Message - 
From: Xue-Feng Yang [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, March 16, 2002 2:54 PM
Subject: mod_webapp.so problem


 OS: RedHat 7.1
 Apache: RedHat default installation, apache-1.3.20-16
 Tomcat: 4.01
 
 [warn] Loaded DSO modules/mod_webapp.so uses plain
 Apache 1.3 API, this module might crash under EAPI!
 (please recompile it with -DEAPI)
 
 Any suggestion?
 
 
 __ 
 Find, Connect, Date! http://personals.yahoo.ca
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




mod_webapp.so problem

2002-03-16 Thread Xue-Feng Yang

OS: RedHat 7.1
Apache: RedHat default installation, apache-1.3.20-16
Tomcat: 4.01

[warn] Loaded DSO modules/mod_webapp.so uses plain
Apache 1.3 API, this module might crash under EAPI!
(please recompile it with -DEAPI)

Any suggestion?


__ 
Find, Connect, Date! http://personals.yahoo.ca

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




REQUEST: Need latest mod_webapp.so binary for Win32

2002-03-13 Thread Dave Makower

I do not have the necessary tools to compile mod_webapp.so for Win32, but I
have done a diff on the sources for webapp.c which indicate that a change
that was committed since the most recent downloadable binary (from the
Tomcat 4.0.1 binary directory) may address an issue we've been having.

Would it be possible for someone who IS able to build it to do so from the
latest sources (perhaps based on the tomcat_404_b1 CVS label) to do so and
email it to me and/or upload the binary to the public distribution?  I would
be very grateful.

-- 
+---+
| Dave Makower[EMAIL PROTECTED] |
| http://www.davemak.com/   |
+---+



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




mod_webapp.so error duplicate connection name

2002-03-10 Thread Greg Munger

I just started following this list, but I have tried to look in the 
archives and in deja news for an explanation for the duplicate connection 
name error. This error occurs when I restart Apache.

I am using a hosted server where I do not have root. Currently tomcat 4.0.1 
and apache 1.3 are installed. The Tomcat standalone http server works fine 
at port 8080, and apache is running on port 80. This system is using the 
2.1.3 glibc libraries, so I cannot use the precompiled versions mod_webapp 
(which seem to use 2.2).

1. I obtained the source from this url:
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/src/webapp-module-1.0.1-tc401-src.tar.gz
 


2. built the module:
support/buildconfs.sh
configure --with-apxs
make

3. copied apache-1.3/mod_webapp.so to the apache libexec directory

4. added the following to httpd.conf
LoadModule webapp_module   libexec/mod_webapp.so
...
AddModule mod_webapp.c
...
WebAppConnection conn warp localhost:8008
WebAppDeploy xx  conn /xx

5. the server.xml file contains the information that came with it:

  !-- Define an Apache-Connector Service --
   Service name=Tomcat-Apache
 Connector className=org.apache.catalina.connector.warp.WarpConnector
  port=8008 minProcessors=5 maxProcessors=75
  enableLookups=true
  acceptCount=10 debug=0/
 !-- Replace localhost with what your Apache ServerName is set to --
 Engine className=org.apache.catalina.connector.warp.WarpEngine
  name=Apache debug=0 appBase=webapps
   Logger className=org.apache.catalina.logger.FileLogger
   prefix=apache_log. suffix=.txt
   timestamp=true/
   Realm className=org.apache.catalina.realm.MemoryRealm /
 /Engine
   /Service


6. When I restart apache I get the duplicate connection name error 
reported for the WebAppConnection statement.

7. I have the same setup running locally on a machine where I do have root 
access, and it is working fine. The only difference between the systems 
that I am aware of is that it is glibc 2.2. And I am not sure what the 
apache version of the hosted system is, but I am pretty sure it is 
1.3.something.


-- what causes the duplicate connection name errors?
-- are there any other choices for accessing Tomcat through port 80? I am 
aware of using a ProxyPass directive in Apache, but using that approach 
static content will always be served by Tomcat.
- what does the replace localhost... comment in the server.xml file mean? 
There is no localhost parameter in either 4.0.1 or 4.0.3.

thanks,
Greg


Greg Munger   -   219-926-7604- Lake Point Interactive   -   www.lpiweb.com


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Compiling mod_webapp.so ...

2002-03-05 Thread Julien OIX

Charles Swarts a écrit :
 
 Yes, I had to do this too, to compile the mod_webapp module with EAPI
 support.  You are just missing one step.  After you get the fresh cvs
 snapshot (like you did ), go forth like this:
 
 # cd jakarta-tomcat-connectors/webapp
 # ./support/buildconf.sh
 # CFLAGS=-DEAPI
 # ./configure --with-apxs=/usr/bin/apxs
 #make

thanks, charles;

even with this flag, I always get the apache warning ...

what's wrong ? (considering answer from brian ally, but being very
curious)


 
 Then copy your compiled mod_webapp.so to where apache is going to look
 for it:
 
 # cp apache-1.3/mod_webapp.so  /usr/local/apache/libexec
 
 After doing so when you startup apache you will not see the EAPI warning.
 Hope this helps,
 
 - Charles
 
 [EMAIL PROTECTED] wrote:
 
 Hi everyone,
 
 Because of an upload file's bug with mod_webapp-1.0-2.i386.rpm, I've
 done a snapshot from cvs to compile my own .so .
 It seems that the bug has diseappered, but when I restart Apache, it
 tells me :
 
 Starting httpd: [Mon Mar  4 09:18:05 2002] [warn] Loaded DSO
 modules/mod_webapp.so uses plain Apache 1.3 API, this module might crash
 under EAPI! (please recompile it with -DEAPI)
 
 
 Here are the steps to compile :
 
 cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic login
 cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic checkout
 jakarta-tomcat-connectors/webapp
 cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic checkout
 apr
 
 cd $SNAPSHOT/webapp
 
 ./support/buildconf.sh
 ./configure --with-apxs=/usr/bin/apxs --with-apr=./apr/
 make
 
 and I get my mod_webapp.so in $SNAPSHOT/webapp/apache-1.3/
 
 does anyone know where to include the -DEAPI compiling flag ?
 
 I'm using these RPM's on a Linux RedHat 7.1
 
 apache-1.3.22-1.7.1 (with mod_throttle-3.1.2-3 mod_put-1.3-2
 mod_bandwidth-2.0.3-2)
 
 tomcat4-4.0.2-3
 
 thanks in advance.
 
 --
 Julien OIX
 Service Informatique de Gestion
 Tél: 02 40 99 83 65
 mail: [EMAIL PROTECTED]
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

-- 
Julien OIX
Service Informatique de Gestion
Tél: 02 40 99 83 65
mail: [EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Compiling mod_webapp.so ...

2002-03-05 Thread Charles Swarts

Did you configure apache to enable dynamic shared object support when 
you made apache?
(including the  --enable-module=so , etc).  Is the mod_webapp.so  and .c 
listed properly in your httpd.conf file?


If you didn't see any errors or warnings when you compiled your 
mod_webapp.so I would guess the problem lay elsewhere...
I actually saw errors when I first went to compile my mod_webapp.so. 
 Not only did I need to cvs checkout the  the 
jakarta-tomcat-connectors/webapp source, but also a fresh cvs  checkout 
of jakarta-connectors/webapp/apr source, before I could compile 
correctly without error.  If this is your situation then get the 
connector source and APR source before going through your mod_webapp.so 
compiling routine:

Downloading the jakarta-tomcat-connectors And APR via cvs:
(executed from where you want the jakarta-tomcat-connectors src)

#cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic login
(logging in...)
#CVS password: anoncvs
#cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic \
checkout jakrata-tomcat-connectors/webapp

#cd ./jakarta-tomcat-connectors/webapp
#cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic \
checkout apr

(this worked well for me : Red Hat 7.1+Apache 1.3.23+SSL+Tomcat4.02)

hope this helps
- charles

[EMAIL PROTECTED] wrote:

Charles Swarts a écrit :

Yes, I had to do this too, to compile the mod_webapp module with EAPI
support.  You are just missing one step.  After you get the fresh cvs
snapshot (like you did ), go forth like this:

# cd jakarta-tomcat-connectors/webapp
# ./support/buildconf.sh
# CFLAGS=-DEAPI
# ./configure --with-apxs=/usr/bin/apxs
#make


thanks, charles;

even with this flag, I always get the apache warning ...

what's wrong ? (considering answer from brian ally, but being very
curious)


Then copy your compiled mod_webapp.so to where apache is going to look
for it:

# cp apache-1.3/mod_webapp.so  /usr/local/apache/libexec

After doing so when you startup apache you will not see the EAPI warning.
Hope this helps,

- Charles

[EMAIL PROTECTED] wrote:

Hi everyone,

Because of an upload file's bug with mod_webapp-1.0-2.i386.rpm, I've
done a snapshot from cvs to compile my own .so .
It seems that the bug has diseappered, but when I restart Apache, it
tells me :

Starting httpd: [Mon Mar  4 09:18:05 2002] [warn] Loaded DSO
modules/mod_webapp.so uses plain Apache 1.3 API, this module might crash
under EAPI! (please recompile it with -DEAPI)


Here are the steps to compile :

cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic login
cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic checkout
jakarta-tomcat-connectors/webapp
cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic checkout
apr

cd $SNAPSHOT/webapp

./support/buildconf.sh
./configure --with-apxs=/usr/bin/apxs --with-apr=./apr/
make

and I get my mod_webapp.so in $SNAPSHOT/webapp/apache-1.3/

does anyone know where to include the -DEAPI compiling flag ?

I'm using these RPM's on a Linux RedHat 7.1

apache-1.3.22-1.7.1 (with mod_throttle-3.1.2-3 mod_put-1.3-2
mod_bandwidth-2.0.3-2)

tomcat4-4.0.2-3

thanks in advance.

--
Julien OIX
Service Informatique de Gestion
Tél: 02 40 99 83 65
mail: [EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]






Compiling mod_webapp.so ...

2002-03-04 Thread Julien OIX

Hi everyone,

Because of an upload file's bug with mod_webapp-1.0-2.i386.rpm, I've
done a snapshot from cvs to compile my own .so .
It seems that the bug has diseappered, but when I restart Apache, it
tells me :

Starting httpd: [Mon Mar  4 09:18:05 2002] [warn] Loaded DSO
modules/mod_webapp.so uses plain Apache 1.3 API, this module might crash
under EAPI! (please recompile it with -DEAPI)


Here are the steps to compile :

cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic login
cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic checkout
jakarta-tomcat-connectors/webapp
cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic checkout
apr

cd $SNAPSHOT/webapp

./support/buildconf.sh
./configure --with-apxs=/usr/bin/apxs --with-apr=./apr/
make

and I get my mod_webapp.so in $SNAPSHOT/webapp/apache-1.3/

does anyone know where to include the -DEAPI compiling flag ?

I'm using these RPM's on a Linux RedHat 7.1

apache-1.3.22-1.7.1 (with mod_throttle-3.1.2-3 mod_put-1.3-2
mod_bandwidth-2.0.3-2)

tomcat4-4.0.2-3

thanks in advance.

--
Julien OIX
Service Informatique de Gestion
Tél: 02 40 99 83 65
mail: [EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




  1   2   3   >