Re: Problems with mod_webapp. Please read!

2002-02-26 Thread jean-frederic clere

Erik Lotspeich wrote:
 
 Brian,
 
 I used --enable-shared=max and --enable-shared=most configure flags for
 Apache.  Nothing too special.
 
 For webapp, I gave the following options:
 
 --with-tomcat
 --with-apr
 --with-apxs
 --enable-debug

And if you remove the --enable-debug option?
The nice would to have a core try: ulimit -c unlimited make sure that the User
in httpd.conf is able to write where you start the httpd. Then use gdb to find
where the process cores.

 
 I compiled webapp as a DSO.
 
 My Apache configuration is as follows:
 
 # Insert code for mod_webapp
 LoadModule webapp_module libexec/mod_webapp.so
 AddModule mod_webapp.c
 
 IfModule mod_webapp.c
 WebAppConnection conn  warp  localhost:8008
 WebAppDeploy examples  conn  /examples
 /IfModule
 
 I don't think that a WebAppInfo directive will make any difference since
 Apache won't even start, but I can give it a try.
 
 Thaks,
 
 Erik.
 
 On 25 Feb 2002, Brian P. Millett wrote:
 
  On Mon, 2002-02-25 at 12:54, Erik Lotspeich wrote:
   On Sat, 23 Feb 2002, Brian Millett wrote:
  
 Linux 2.4, glibc 2.1, JDK 1.3.1, Jakarta-tomcat 4.0.2, Apache 1.3.20, APR
 20011211172103, mod_webapp 4.0.2.

  
   I compiled both webapp and Apache from source.  The error logs say
   nothing!  The whole application (including Apache) crashes before Apache
   can print anything.
  
  Ok, what commands (configure args, etc) did you use to compile apache 
  webapp?  Did you compile it as a DSO?
 
  You can put into the mod_webapp configurations a line:
 
  WebAppInfo  /webapp-info
 
  that will be like the apache server-info url.
 
 
 k
 
 --
 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: Problems with mod_webapp. Please read!

2002-02-26 Thread Brian P. Millett

On Mon, 2002-02-25 at 15:37, Erik Lotspeich wrote:
 Brian,
 
 I used --enable-shared=max and --enable-shared=most configure flags for
 Apache.  Nothing too special.
 
 For webapp, I gave the following options:
 
 --with-tomcat
 --with-apr
 --with-apxs
 --enable-debug
 
 I compiled webapp as a DSO.

Ok, so if you take out the LoadModule webapp_module... from the
httpd.conf, does apache come up?

Sorry for all of the questions, just want to eliminate the obvious.
-- 
Brian Millett
Enterprise Consulting Group   Shifts in paradigms
(314) 205-9030   often cause nose bleeds.
[EMAIL PROTECTED]   Greg Glenn


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




Re: Problems with mod_webapp. Please read!

2002-02-26 Thread Erik Lotspeich

On Tue, 26 Feb 2002, jean-frederic clere wrote:

 Erik Lotspeich wrote:
 
  Brian,
 
  I used --enable-shared=max and --enable-shared=most configure flags for
  Apache.  Nothing too special.
 
  For webapp, I gave the following options:
 
  --with-tomcat
  --with-apr
  --with-apxs
  --enable-debug

 And if you remove the --enable-debug option?
 The nice would to have a core try: ulimit -c unlimited make sure that the User
 in httpd.conf is able to write where you start the httpd. Then use gdb to find
 where the process cores.

Same thing.  I added the debug option at the request of someone on this
list so I could help to track it down.  The debug messages that come up
show me that its doing some of the module init stuff before it dies.  I'll
have to refetch that output and I'll post it.

There is no core file -- that's how severe the crash is.

Thanks,

Erik.


 
  I compiled webapp as a DSO.
 
  My Apache configuration is as follows:
 
  # Insert code for mod_webapp
  LoadModule webapp_module libexec/mod_webapp.so
  AddModule mod_webapp.c
 
  IfModule mod_webapp.c
  WebAppConnection conn  warp  localhost:8008
  WebAppDeploy examples  conn  /examples
  /IfModule
 
  I don't think that a WebAppInfo directive will make any difference since
  Apache won't even start, but I can give it a try.
 
  Thaks,
 
  Erik.
 
  On 25 Feb 2002, Brian P. Millett wrote:
 
   On Mon, 2002-02-25 at 12:54, Erik Lotspeich wrote:
On Sat, 23 Feb 2002, Brian Millett wrote:
   
  Linux 2.4, glibc 2.1, JDK 1.3.1, Jakarta-tomcat 4.0.2, Apache 1.3.20, APR
  20011211172103, mod_webapp 4.0.2.
 
   
I compiled both webapp and Apache from source.  The error logs say
nothing!  The whole application (including Apache) crashes before Apache
can print anything.
   
   Ok, what commands (configure args, etc) did you use to compile apache 
   webapp?  Did you compile it as a DSO?
  
   You can put into the mod_webapp configurations a line:
  
   WebAppInfo  /webapp-info
  
   that will be like the apache server-info url.
  
 
  k
 
  --
  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]



-- 
Erik Lotspeich | Lead Engineer
ELC Technologies
1532 State Street Suite C
Santa Barbara, CA 93101
[EMAIL PROTECTED]

(805) 884.8300 phn
(805) 884.8339 fax

http://www.elctech.com/

-
Privacy and Confidentiality Notice:
The information contained in this electronic mail message is intended
for the named recipient(s) only. It may contain privileged and
confidential information. If you are not an intended recipient, you
must not copy, forward, distribute or take any action in reliance on
it. If you have received this electronic mail message in error, please
notify the sender immediately.


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




Re: Problems with mod_webapp. Please read!

2002-02-26 Thread Erik Lotspeich

On 26 Feb 2002, Brian P. Millett wrote:

 On Mon, 2002-02-25 at 15:37, Erik Lotspeich wrote:
  Brian,
 
  I used --enable-shared=max and --enable-shared=most configure flags for
  Apache.  Nothing too special.
 
  For webapp, I gave the following options:
 
  --with-tomcat
  --with-apr
  --with-apxs
  --enable-debug
 
  I compiled webapp as a DSO.

 Ok, so if you take out the LoadModule webapp_module... from the
 httpd.conf, does apache come up?

Without loading the webapp module (taking out the LoadModule line for it),
Apache comes up perfectly.

Thanks,

Erik.


 Sorry for all of the questions, just want to eliminate the obvious.



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




Re: Problems with mod_webapp. Please read!

2002-02-26 Thread jean-frederic clere

Erik Lotspeich wrote:
 
 On Tue, 26 Feb 2002, jean-frederic clere wrote:
 
  Erik Lotspeich wrote:
  
   Brian,
  
   I used --enable-shared=max and --enable-shared=most configure flags for
   Apache.  Nothing too special.
  
   For webapp, I gave the following options:
  
   --with-tomcat
   --with-apr
   --with-apxs
   --enable-debug
 
  And if you remove the --enable-debug option?
  The nice would to have a core try: ulimit -c unlimited make sure that the User
  in httpd.conf is able to write where you start the httpd. Then use gdb to find
  where the process cores.
 
 Same thing.  I added the debug option at the request of someone on this
 list so I could help to track it down.  The debug messages that come up
 show me that its doing some of the module init stuff before it dies.  I'll
 have to refetch that output and I'll post it.
 
 There is no core file -- that's how severe the crash is.

Are you really sure httpd has the permissions to dump a core? (Try with a small
program).

Without a core that is hard to find what is wrong...
What is the last output in the log file?
Could you try gdb bin/httpd -X?

 
 Thanks,
 
 Erik.
 
 
  
   I compiled webapp as a DSO.
  
   My Apache configuration is as follows:
  
   # Insert code for mod_webapp
   LoadModule webapp_module libexec/mod_webapp.so
   AddModule mod_webapp.c
  
   IfModule mod_webapp.c
   WebAppConnection conn  warp  localhost:8008
   WebAppDeploy examples  conn  /examples
   /IfModule
  
   I don't think that a WebAppInfo directive will make any difference since
   Apache won't even start, but I can give it a try.
  
   Thaks,
  
   Erik.
  
   On 25 Feb 2002, Brian P. Millett wrote:
  
On Mon, 2002-02-25 at 12:54, Erik Lotspeich wrote:
 On Sat, 23 Feb 2002, Brian Millett wrote:

   Linux 2.4, glibc 2.1, JDK 1.3.1, Jakarta-tomcat 4.0.2, Apache 1.3.20, APR
   20011211172103, mod_webapp 4.0.2.
  

 I compiled both webapp and Apache from source.  The error logs say
 nothing!  The whole application (including Apache) crashes before Apache
 can print anything.

Ok, what commands (configure args, etc) did you use to compile apache 
webapp?  Did you compile it as a DSO?
   
You can put into the mod_webapp configurations a line:
   
WebAppInfo  /webapp-info
   
that will be like the apache server-info url.
   
  
   k
  
   --
   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]
 
 
 
 --
 Erik Lotspeich | Lead Engineer
 ELC Technologies
 1532 State Street Suite C
 Santa Barbara, CA 93101
 [EMAIL PROTECTED]
 
 (805) 884.8300 phn
 (805) 884.8339 fax
 
 http://www.elctech.com/
 
 -
 Privacy and Confidentiality Notice:
 The information contained in this electronic mail message is intended
 for the named recipient(s) only. It may contain privileged and
 confidential information. If you are not an intended recipient, you
 must not copy, forward, distribute or take any action in reliance on
 it. If you have received this electronic mail message in error, please
 notify the sender immediately.
 
 --
 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: Problems with mod_webapp. Please read!

2002-02-26 Thread erikvcl

On Tue, 26 Feb 2002, jean-frederic clere wrote:

 Erik Lotspeich wrote:
 
  On Tue, 26 Feb 2002, jean-frederic clere wrote:
 
   Erik Lotspeich wrote:
   
Brian,
   
I used --enable-shared=max and --enable-shared=most configure flags for
Apache.  Nothing too special.
   
For webapp, I gave the following options:
   
--with-tomcat
--with-apr
--with-apxs
--enable-debug
  
   And if you remove the --enable-debug option?
   The nice would to have a core try: ulimit -c unlimited make sure that the User
   in httpd.conf is able to write where you start the httpd. Then use gdb to find
   where the process cores.
 
  Same thing.  I added the debug option at the request of someone on this
  list so I could help to track it down.  The debug messages that come up
  show me that its doing some of the module init stuff before it dies.  I'll
  have to refetch that output and I'll post it.
 
  There is no core file -- that's how severe the crash is.

 Are you really sure httpd has the permissions to dump a core? (Try with a small
 program).

 Without a core that is hard to find what is wrong...
 What is the last output in the log file?
 Could you try gdb bin/httpd -X?

Yes, I've already tried this.  When it crashes, it obliterates the entire
application.  No backtrace -- nothing.  The debugger tells me Can't find
requested address.

I noticed that the binary of mod_webapp.so is dynamically linked against
glibc 2.2.  Is glibc 2.2 required for mod_webapp to work properly?

Thanks,

Erik.



 
  Thanks,
 
  Erik.
 
  
   
I compiled webapp as a DSO.
   
My Apache configuration is as follows:
   
# Insert code for mod_webapp
LoadModule webapp_module libexec/mod_webapp.so
AddModule mod_webapp.c
   
IfModule mod_webapp.c
WebAppConnection conn  warp  localhost:8008
WebAppDeploy examples  conn  /examples
/IfModule
   
I don't think that a WebAppInfo directive will make any difference since
Apache won't even start, but I can give it a try.
   
Thaks,
   
Erik.
   
On 25 Feb 2002, Brian P. Millett wrote:
   
 On Mon, 2002-02-25 at 12:54, Erik Lotspeich wrote:
  On Sat, 23 Feb 2002, Brian Millett wrote:
 
Linux 2.4, glibc 2.1, JDK 1.3.1, Jakarta-tomcat 4.0.2, Apache 1.3.20, 
APR
20011211172103, mod_webapp 4.0.2.
   
 
  I compiled both webapp and Apache from source.  The error logs say
  nothing!  The whole application (including Apache) crashes before Apache
  can print anything.
 
 Ok, what commands (configure args, etc) did you use to compile apache 
 webapp?  Did you compile it as a DSO?

 You can put into the mod_webapp configurations a line:

 WebAppInfo  /webapp-info

 that will be like the apache server-info url.

   
k
   
--
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: Problems with mod_webapp. Please read!

2002-02-26 Thread jean-frederic clere

[EMAIL PROTECTED] wrote:
 
 On Tue, 26 Feb 2002, jean-frederic clere wrote:
 
  Erik Lotspeich wrote:
  
   On Tue, 26 Feb 2002, jean-frederic clere wrote:
  
Erik Lotspeich wrote:

 Brian,

 I used --enable-shared=max and --enable-shared=most configure flags for
 Apache.  Nothing too special.

 For webapp, I gave the following options:

 --with-tomcat
 --with-apr
 --with-apxs
 --enable-debug
   
And if you remove the --enable-debug option?
The nice would to have a core try: ulimit -c unlimited make sure that the 
User
in httpd.conf is able to write where you start the httpd. Then use gdb to find
where the process cores.
  
   Same thing.  I added the debug option at the request of someone on this
   list so I could help to track it down.  The debug messages that come up
   show me that its doing some of the module init stuff before it dies.  I'll
   have to refetch that output and I'll post it.
  
   There is no core file -- that's how severe the crash is.
 
  Are you really sure httpd has the permissions to dump a core? (Try with a small
  program).
 
  Without a core that is hard to find what is wrong...
  What is the last output in the log file?
  Could you try gdb bin/httpd -X?
 
 Yes, I've already tried this.  When it crashes, it obliterates the entire
 application.  No backtrace -- nothing.  The debugger tells me Can't find
 requested address.
 
 I noticed that the binary of mod_webapp.so is dynamically linked against
 glibc 2.2.  Is glibc 2.2 required for mod_webapp to work properly?

I do not know - I have never tested with older glibc -

 
 Thanks,
 
 Erik.
 
 
  
   Thanks,
  
   Erik.
  
   

 I compiled webapp as a DSO.

 My Apache configuration is as follows:

 # Insert code for mod_webapp
 LoadModule webapp_module libexec/mod_webapp.so
 AddModule mod_webapp.c

 IfModule mod_webapp.c
 WebAppConnection conn  warp  localhost:8008
 WebAppDeploy examples  conn  /examples
 /IfModule

 I don't think that a WebAppInfo directive will make any difference since
 Apache won't even start, but I can give it a try.

 Thaks,

 Erik.

 On 25 Feb 2002, Brian P. Millett wrote:

  On Mon, 2002-02-25 at 12:54, Erik Lotspeich wrote:
   On Sat, 23 Feb 2002, Brian Millett wrote:
  
 Linux 2.4, glibc 2.1, JDK 1.3.1, Jakarta-tomcat 4.0.2, Apache 
1.3.20, APR
 20011211172103, mod_webapp 4.0.2.

  
   I compiled both webapp and Apache from source.  The error logs say
   nothing!  The whole application (including Apache) crashes before Apache
   can print anything.
  
  Ok, what commands (configure args, etc) did you use to compile apache 
  webapp?  Did you compile it as a DSO?
 
  You can put into the mod_webapp configurations a line:
 
  WebAppInfo  /webapp-info
 
  that will be like the apache server-info url.
 

 k

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

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




Re: Problems with mod_webapp. Please read!

2002-02-26 Thread Punky Tse

Erik,

Final call:  Can send the followings in this list?
1. OS and Apache version
2. complete step and arguments to run configure scripts in httpd and
mod_webapp
3. complete httpd.conf
4. httpd -l
5. httpd -V

I will try to repeat your steps.

Regards,
Punky


- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Developers List [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Wednesday, February 27, 2002 1:43 AM
Subject: Re: Problems with mod_webapp. Please read!


 On Tue, 26 Feb 2002, jean-frederic clere wrote:

  Erik Lotspeich wrote:
  
   On Tue, 26 Feb 2002, jean-frederic clere wrote:
  
Erik Lotspeich wrote:

 Brian,

 I used --enable-shared=max and --enable-shared=most configure
flags for
 Apache.  Nothing too special.

 For webapp, I gave the following options:

 --with-tomcat
 --with-apr
 --with-apxs
 --enable-debug
   
And if you remove the --enable-debug option?
The nice would to have a core try: ulimit -c unlimited make sure
that the User
in httpd.conf is able to write where you start the httpd. Then use
gdb to find
where the process cores.
  
   Same thing.  I added the debug option at the request of someone on
this
   list so I could help to track it down.  The debug messages that come
up
   show me that its doing some of the module init stuff before it dies.
I'll
   have to refetch that output and I'll post it.
  
   There is no core file -- that's how severe the crash is.
 
  Are you really sure httpd has the permissions to dump a core? (Try with
a small
  program).
 
  Without a core that is hard to find what is wrong...
  What is the last output in the log file?
  Could you try gdb bin/httpd -X?

 Yes, I've already tried this.  When it crashes, it obliterates the entire
 application.  No backtrace -- nothing.  The debugger tells me Can't find
 requested address.

 I noticed that the binary of mod_webapp.so is dynamically linked against
 glibc 2.2.  Is glibc 2.2 required for mod_webapp to work properly?

 Thanks,

 Erik.


 
  
   Thanks,
  
   Erik.
  
   

 I compiled webapp as a DSO.

 My Apache configuration is as follows:

 # Insert code for mod_webapp
 LoadModule webapp_module libexec/mod_webapp.so
 AddModule mod_webapp.c

 IfModule mod_webapp.c
 WebAppConnection conn  warp  localhost:8008
 WebAppDeploy examples  conn  /examples
 /IfModule

 I don't think that a WebAppInfo directive will make any difference
since
 Apache won't even start, but I can give it a try.

 Thaks,

 Erik.

 On 25 Feb 2002, Brian P. Millett wrote:

  On Mon, 2002-02-25 at 12:54, Erik Lotspeich wrote:
   On Sat, 23 Feb 2002, Brian Millett wrote:
  
 Linux 2.4, glibc 2.1, JDK 1.3.1, Jakarta-tomcat 4.0.2,
Apache 1.3.20, APR
 20011211172103, mod_webapp 4.0.2.

  
   I compiled both webapp and Apache from source.  The error logs
say
   nothing!  The whole application (including Apache) crashes
before Apache
   can print anything.
  
  Ok, what commands (configure args, etc) did you use to compile
apache 
  webapp?  Did you compile it as a DSO?
 
  You can put into the mod_webapp configurations a line:
 
  WebAppInfo  /webapp-info
 
  that will be like the apache server-info url.
 

 k

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


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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




Re: Problems with mod_webapp. Please read!

2002-02-25 Thread Erik Lotspeich

On Sat, 23 Feb 2002, Brian Millett wrote:

 On Fri, 2002-02-22 at 16:18, Erik Lotspeich wrote:
  Brian,
 
  In my previous e-mails I gave more details.  My setup is this:
 
  Linux 2.4, glibc 2.1, JDK 1.3.1, Jakarta-tomcat 4.0.2, Apache 1.3.20, APR
  20011211172103, mod_webapp 4.0.2.
 
  Does mod_webapp require a more recent version of Apache?  Does it require
  JDK 1.4?  I was under the impression that it would work with the setup
  that I had.

 Eric, did you compile webapp?  Did you compile apache?  What is in the
 apache error_log?  What is in the tomcat/logs/apache log?  Did you
 configure /webapp-info?

I compiled both webapp and Apache from source.  The error logs say
nothing!  The whole application (including Apache) crashes before Apache
can print anything.

I have made configuration file settings indicated by the minimal
documentation.  What do you mean by /webapp-info?  Is there additional
configuration that is necessary to keep the app from crashing?


 Santa Barbara?  Must be nice.  I grew up in Santa Ynez.  Miss that
 ocean.


It's definitely beautiful weather here.  We're lucky. ;)

Thanks,

Erik.


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




Re: Problems with mod_webapp. Please read!

2002-02-25 Thread Erik Lotspeich

Punky,

I did run apachectl configtest.  It claims that my configuration is
correct.

Thanks,

Erik.

On Mon, 25 Feb 2002, Punky Tse wrote:

 Erik,

 I have similar config.  But I have no problem for it.  Did you run
 apachectl configtest to prove your config is correct?

 Punky

 - Original Message -
 From: Erik Lotspeich [EMAIL PROTECTED]
 To: Tomcat Developers List [EMAIL PROTECTED]
 Sent: Saturday, February 23, 2002 6:18 AM
 Subject: Re: Problems with mod_webapp. Please read!


  Brian,
 
  In my previous e-mails I gave more details.  My setup is this:
 
  Linux 2.4, glibc 2.1, JDK 1.3.1, Jakarta-tomcat 4.0.2, Apache 1.3.20, APR
  20011211172103, mod_webapp 4.0.2.
 
  Does mod_webapp require a more recent version of Apache?  Does it require
  JDK 1.4?  I was under the impression that it would work with the setup
  that I had.
 
  Thanks,
 
  Erik.
 
 
  On 22 Feb 2002, Brian P. Millett wrote:
 
   On Fri, 2002-02-22 at 15:58, Erik Lotspeich wrote:
  
Is there anybody who has successfully built mod_webapp and gotten it
 to
work properly?
  
   Yes, since you didn't say which platform, JVM, etc., I'll give you mine:
  
   RedHat 7.2, JDK 1.4, Jakarta-tomcat 4.0.2, Apache 2.0 b32 (works only
   with MPM=prefork)
  
   It works with velocity 1.2  cocoon 2.1
  
 
  --
  Erik Lotspeich | Lead Engineer
  ELC Technologies
  1532 State Street Suite C
  Santa Barbara, CA 93101
  [EMAIL PROTECTED]
 
  (805) 884.8300 phn
  (805) 884.8339 fax
 
  http://www.elctech.com/
 
  -
  Privacy and Confidentiality Notice:
  The information contained in this electronic mail message is intended
  for the named recipient(s) only. It may contain privileged and
  confidential information. If you are not an intended recipient, you
  must not copy, forward, distribute or take any action in reliance on
  it. If you have received this electronic mail message in error, please
  notify the sender immediately.
 
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]


 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com


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



-- 
Erik Lotspeich | Lead Engineer
ELC Technologies
1532 State Street Suite C
Santa Barbara, CA 93101
[EMAIL PROTECTED]

(805) 884.8300 phn
(805) 884.8339 fax

http://www.elctech.com/

-
Privacy and Confidentiality Notice:
The information contained in this electronic mail message is intended
for the named recipient(s) only. It may contain privileged and
confidential information. If you are not an intended recipient, you
must not copy, forward, distribute or take any action in reliance on
it. If you have received this electronic mail message in error, please
notify the sender immediately.


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




Re: Problems with mod_webapp. Please read!

2002-02-25 Thread Brian P. Millett

On Mon, 2002-02-25 at 12:54, Erik Lotspeich wrote:
 On Sat, 23 Feb 2002, Brian Millett wrote:
 
   Linux 2.4, glibc 2.1, JDK 1.3.1, Jakarta-tomcat 4.0.2, Apache 1.3.20, APR
   20011211172103, mod_webapp 4.0.2.
  
 
 I compiled both webapp and Apache from source.  The error logs say
 nothing!  The whole application (including Apache) crashes before Apache
 can print anything.
 
Ok, what commands (configure args, etc) did you use to compile apache 
webapp?  Did you compile it as a DSO?

You can put into the mod_webapp configurations a line:

WebAppInfo  /webapp-info

that will be like the apache server-info url.
-- 
Brian Millett
Enterprise Consulting Group   Shifts in paradigms
(314) 205-9030   often cause nose bleeds.
[EMAIL PROTECTED]   Greg Glenn


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




Re: Problems with mod_webapp. Please read!

2002-02-25 Thread Erik Lotspeich

Brian,

I used --enable-shared=max and --enable-shared=most configure flags for
Apache.  Nothing too special.

For webapp, I gave the following options:

--with-tomcat
--with-apr
--with-apxs
--enable-debug

I compiled webapp as a DSO.

My Apache configuration is as follows:

# Insert code for mod_webapp
LoadModule webapp_module libexec/mod_webapp.so
AddModule mod_webapp.c

IfModule mod_webapp.c
WebAppConnection conn  warp  localhost:8008
WebAppDeploy examples  conn  /examples
/IfModule

I don't think that a WebAppInfo directive will make any difference since
Apache won't even start, but I can give it a try.

Thaks,

Erik.


On 25 Feb 2002, Brian P. Millett wrote:

 On Mon, 2002-02-25 at 12:54, Erik Lotspeich wrote:
  On Sat, 23 Feb 2002, Brian Millett wrote:
 
Linux 2.4, glibc 2.1, JDK 1.3.1, Jakarta-tomcat 4.0.2, Apache 1.3.20, APR
20011211172103, mod_webapp 4.0.2.
   
 
  I compiled both webapp and Apache from source.  The error logs say
  nothing!  The whole application (including Apache) crashes before Apache
  can print anything.
 
 Ok, what commands (configure args, etc) did you use to compile apache 
 webapp?  Did you compile it as a DSO?

 You can put into the mod_webapp configurations a line:

 WebAppInfo  /webapp-info

 that will be like the apache server-info url.


k


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




Re: Problems with mod_webapp. Please read!

2002-02-25 Thread Punky Tse

Erik,

Have you set ServerName directive?  Or any VirtualHost defined?

Regards,
Punky


- Original Message -
From: Erik Lotspeich [EMAIL PROTECTED]
To: Tomcat Developers List [EMAIL PROTECTED]
Sent: Tuesday, February 26, 2002 5:37 AM
Subject: Re: Problems with mod_webapp. Please read!


 Brian,

 I used --enable-shared=max and --enable-shared=most configure flags for
 Apache.  Nothing too special.

 For webapp, I gave the following options:

 --with-tomcat
 --with-apr
 --with-apxs
 --enable-debug

 I compiled webapp as a DSO.

 My Apache configuration is as follows:

 # Insert code for mod_webapp
 LoadModule webapp_module libexec/mod_webapp.so
 AddModule mod_webapp.c

 IfModule mod_webapp.c
 WebAppConnection conn  warp  localhost:8008
 WebAppDeploy examples  conn  /examples
 /IfModule

 I don't think that a WebAppInfo directive will make any difference since
 Apache won't even start, but I can give it a try.

 Thaks,

 Erik.


 On 25 Feb 2002, Brian P. Millett wrote:

  On Mon, 2002-02-25 at 12:54, Erik Lotspeich wrote:
   On Sat, 23 Feb 2002, Brian Millett wrote:
  
 Linux 2.4, glibc 2.1, JDK 1.3.1, Jakarta-tomcat 4.0.2, Apache
1.3.20, APR
 20011211172103, mod_webapp 4.0.2.

  
   I compiled both webapp and Apache from source.  The error logs say
   nothing!  The whole application (including Apache) crashes before
Apache
   can print anything.
  
  Ok, what commands (configure args, etc) did you use to compile apache 
  webapp?  Did you compile it as a DSO?
 
  You can put into the mod_webapp configurations a line:
 
  WebAppInfo  /webapp-info
 
  that will be like the apache server-info url.
 

 k


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


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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




Re: Problems with mod_webapp. Please read!

2002-02-25 Thread Erik Lotspeich

Punky,

Yes, I have set ServerName.

If I don't set ServerName, then I get an error from Apache.

Erik.

On Tue, 26 Feb 2002, Punky Tse wrote:

 Erik,

 Have you set ServerName directive?  Or any VirtualHost defined?

 Regards,
 Punky


 - Original Message -
 From: Erik Lotspeich [EMAIL PROTECTED]
 To: Tomcat Developers List [EMAIL PROTECTED]
 Sent: Tuesday, February 26, 2002 5:37 AM
 Subject: Re: Problems with mod_webapp. Please read!


  Brian,
 
  I used --enable-shared=max and --enable-shared=most configure flags for
  Apache.  Nothing too special.
 
  For webapp, I gave the following options:
 
  --with-tomcat
  --with-apr
  --with-apxs
  --enable-debug
 
  I compiled webapp as a DSO.
 
  My Apache configuration is as follows:
 
  # Insert code for mod_webapp
  LoadModule webapp_module libexec/mod_webapp.so
  AddModule mod_webapp.c
 
  IfModule mod_webapp.c
  WebAppConnection conn  warp  localhost:8008
  WebAppDeploy examples  conn  /examples
  /IfModule
 
  I don't think that a WebAppInfo directive will make any difference since
  Apache won't even start, but I can give it a try.
 
  Thaks,
 
  Erik.
 
 
  On 25 Feb 2002, Brian P. Millett wrote:
 
   On Mon, 2002-02-25 at 12:54, Erik Lotspeich wrote:
On Sat, 23 Feb 2002, Brian Millett wrote:
   
  Linux 2.4, glibc 2.1, JDK 1.3.1, Jakarta-tomcat 4.0.2, Apache
 1.3.20, APR
  20011211172103, mod_webapp 4.0.2.
 
   
I compiled both webapp and Apache from source.  The error logs say
nothing!  The whole application (including Apache) crashes before
 Apache
can print anything.
   
   Ok, what commands (configure args, etc) did you use to compile apache 
   webapp?  Did you compile it as a DSO?
  
   You can put into the mod_webapp configurations a line:
  
   WebAppInfo  /webapp-info
  
   that will be like the apache server-info url.
  
 
  k
 
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]


 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com


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



-- 
Erik Lotspeich | Lead Engineer
ELC Technologies
1532 State Street Suite C
Santa Barbara, CA 93101
[EMAIL PROTECTED]

(805) 884.8300 phn
(805) 884.8339 fax

http://www.elctech.com/

-
Privacy and Confidentiality Notice:
The information contained in this electronic mail message is intended
for the named recipient(s) only. It may contain privileged and
confidential information. If you are not an intended recipient, you
must not copy, forward, distribute or take any action in reliance on
it. If you have received this electronic mail message in error, please
notify the sender immediately.


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




Re: Problems with mod_webapp. Please read!

2002-02-24 Thread Punky Tse

Erik,

I have similar config.  But I have no problem for it.  Did you run
apachectl configtest to prove your config is correct?

Punky

- Original Message -
From: Erik Lotspeich [EMAIL PROTECTED]
To: Tomcat Developers List [EMAIL PROTECTED]
Sent: Saturday, February 23, 2002 6:18 AM
Subject: Re: Problems with mod_webapp. Please read!


 Brian,

 In my previous e-mails I gave more details.  My setup is this:

 Linux 2.4, glibc 2.1, JDK 1.3.1, Jakarta-tomcat 4.0.2, Apache 1.3.20, APR
 20011211172103, mod_webapp 4.0.2.

 Does mod_webapp require a more recent version of Apache?  Does it require
 JDK 1.4?  I was under the impression that it would work with the setup
 that I had.

 Thanks,

 Erik.


 On 22 Feb 2002, Brian P. Millett wrote:

  On Fri, 2002-02-22 at 15:58, Erik Lotspeich wrote:
 
   Is there anybody who has successfully built mod_webapp and gotten it
to
   work properly?
 
  Yes, since you didn't say which platform, JVM, etc., I'll give you mine:
 
  RedHat 7.2, JDK 1.4, Jakarta-tomcat 4.0.2, Apache 2.0 b32 (works only
  with MPM=prefork)
 
  It works with velocity 1.2  cocoon 2.1
 

 --
 Erik Lotspeich | Lead Engineer
 ELC Technologies
 1532 State Street Suite C
 Santa Barbara, CA 93101
 [EMAIL PROTECTED]

 (805) 884.8300 phn
 (805) 884.8339 fax

 http://www.elctech.com/

 -
 Privacy and Confidentiality Notice:
 The information contained in this electronic mail message is intended
 for the named recipient(s) only. It may contain privileged and
 confidential information. If you are not an intended recipient, you
 must not copy, forward, distribute or take any action in reliance on
 it. If you have received this electronic mail message in error, please
 notify the sender immediately.


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


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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




Re: Problems with mod_webapp. Please read!

2002-02-23 Thread Brian Millett

On Fri, 2002-02-22 at 16:18, Erik Lotspeich wrote:
 Brian,
 
 In my previous e-mails I gave more details.  My setup is this:
 
 Linux 2.4, glibc 2.1, JDK 1.3.1, Jakarta-tomcat 4.0.2, Apache 1.3.20, APR
 20011211172103, mod_webapp 4.0.2.
 
 Does mod_webapp require a more recent version of Apache?  Does it require
 JDK 1.4?  I was under the impression that it would work with the setup
 that I had.

Eric, did you compile webapp?  Did you compile apache?  What is in the
apache error_log?  What is in the tomcat/logs/apache log?  Did you
configure /webapp-info?

Santa Barbara?  Must be nice.  I grew up in Santa Ynez.  Miss that
ocean.
-- 
Brian Millett
Enterprise Consulting Group Shifts in paradigms
(314) 205-9030 often cause nose bleeds.
[EMAIL PROTECTED]   Greg Glenn


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




Problems with mod_webapp. Please read!

2002-02-22 Thread Erik Lotspeich

Hi,

I have successfully built Tomcat 3.x and mod_jk from source and gotten it
to work perfectly.

I've successfully built Tomcat 4.x.

The problem is that I have not been able to get mod_webapp running
successfully.  I've tried every release from 4.0 to 4.01 to 4.02 with no
success.  The problem is that Apache disappears from memory as soon as it
tries to initialize the webapp module.  I have made all of the required
configuration changes to httpd.conf including setting ServerName properly.

I have run mod_webapp through the debugger and found that the entire
memory space is obliterated as soon as mod_webapp initializes.

I have posted multiple messages both to the tomcat-dev list and to the
tomcat-user list and have received no helpful responses.  I have noticed
that others with similar troubles have also received no response.

Is there anybody who has successfully built mod_webapp and gotten it to
work properly?  Are there any developers who read this list?  There must
be somebody out there who can help.  It seems like a developer would be
interested in my problem because it seems serious and it could help to
make mod_webapp a better product.

A helpful response would be greatly appreciated,

Thanks,

Erik.


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




Re: Problems with mod_webapp. Please read!

2002-02-22 Thread Brian P. Millett

On Fri, 2002-02-22 at 15:58, Erik Lotspeich wrote:
 
 Is there anybody who has successfully built mod_webapp and gotten it to
 work properly? 

Yes, since you didn't say which platform, JVM, etc., I'll give you mine:

RedHat 7.2, JDK 1.4, Jakarta-tomcat 4.0.2, Apache 2.0 b32 (works only
with MPM=prefork)

It works with velocity 1.2  cocoon 2.1
-- 
Brian Millett
Enterprise Consulting Group   Shifts in paradigms
(314) 205-9030   often cause nose bleeds.
[EMAIL PROTECTED]   Greg Glenn


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




RE: Problems with mod_webapp. Please read!

2002-02-22 Thread Ed Yu

I've recently tried out the binary version of mod_webapp on Win2K and it
does not appear to function properly. It will work for a couple of page
and then it causes Apache to grap 100% CPU time.

-Original Message-
From: Erik Lotspeich [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 22, 2002 4:59 PM
To: [EMAIL PROTECTED]
Subject: Problems with mod_webapp. Please read!


Hi,

I have successfully built Tomcat 3.x and mod_jk from source and gotten
it
to work perfectly.

I've successfully built Tomcat 4.x.

The problem is that I have not been able to get mod_webapp running
successfully.  I've tried every release from 4.0 to 4.01 to 4.02 with no
success.  The problem is that Apache disappears from memory as soon as
it
tries to initialize the webapp module.  I have made all of the required
configuration changes to httpd.conf including setting ServerName
properly.

I have run mod_webapp through the debugger and found that the entire
memory space is obliterated as soon as mod_webapp initializes.

I have posted multiple messages both to the tomcat-dev list and to the
tomcat-user list and have received no helpful responses.  I have noticed
that others with similar troubles have also received no response.

Is there anybody who has successfully built mod_webapp and gotten it to
work properly?  Are there any developers who read this list?  There must
be somebody out there who can help.  It seems like a developer would be
interested in my problem because it seems serious and it could help to
make mod_webapp a better product.

A helpful response would be greatly appreciated,

Thanks,

Erik.


--
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: Problems with mod_webapp. Please read!

2002-02-22 Thread Erik Lotspeich

Brian,

In my previous e-mails I gave more details.  My setup is this:

Linux 2.4, glibc 2.1, JDK 1.3.1, Jakarta-tomcat 4.0.2, Apache 1.3.20, APR
20011211172103, mod_webapp 4.0.2.

Does mod_webapp require a more recent version of Apache?  Does it require
JDK 1.4?  I was under the impression that it would work with the setup
that I had.

Thanks,

Erik.


On 22 Feb 2002, Brian P. Millett wrote:

 On Fri, 2002-02-22 at 15:58, Erik Lotspeich wrote:

  Is there anybody who has successfully built mod_webapp and gotten it to
  work properly?

 Yes, since you didn't say which platform, JVM, etc., I'll give you mine:

 RedHat 7.2, JDK 1.4, Jakarta-tomcat 4.0.2, Apache 2.0 b32 (works only
 with MPM=prefork)

 It works with velocity 1.2  cocoon 2.1


-- 
Erik Lotspeich | Lead Engineer
ELC Technologies
1532 State Street Suite C
Santa Barbara, CA 93101
[EMAIL PROTECTED]

(805) 884.8300 phn
(805) 884.8339 fax

http://www.elctech.com/

-
Privacy and Confidentiality Notice:
The information contained in this electronic mail message is intended
for the named recipient(s) only. It may contain privileged and
confidential information. If you are not an intended recipient, you
must not copy, forward, distribute or take any action in reliance on
it. If you have received this electronic mail message in error, please
notify the sender immediately.


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