Re: Apache 1.3.20 hangs when warp-connecting to Tomcat4b6

2001-07-31 Thread Pier P. Fumagalli

Thom Park at [EMAIL PROTECTED] wrote:

> Hi Pier,
> 
> unfortunately my binary won't load unless you install Visibroker (that old
> black magic called iiop)
> 
> sorry.
> 
> You also would need to have build apache with SUN C instead of gcc to have a
> hope of using one of my binaries.
> 
> I'll try to clean up my machine and see if I can build a vanilla mod_Webapp
> (sans iiop) later today...

No biggies... I'm building it on Nagoya as of now, (GCC/SunOS-5.8).

Pier




RE: Apache 1.3.20 hangs when warp-connecting to Tomcat4b6

2001-07-31 Thread Thom Park

Hi Pier,

unfortunately my binary won't load unless you install Visibroker (that old
black magic called iiop)

sorry.

You also would need to have build apache with SUN C instead of gcc to have a
hope
of using one of my binaries.

I'll try to clean up my machine and see if I can build a vanilla mod_Webapp
(sans
iiop) later today...

-Thom


-Original Message-
From: Pier P. Fumagalli [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 30, 2001 6:15 PM
To: [EMAIL PROTECTED]
Subject: Re: Apache 1.3.20 hangs when warp-connecting to Tomcat4b6


Eryq at [EMAIL PROTECTED] wrote:

> "Pier P. Fumagalli" wrote:
>
>> The CVS repo is jakarta-tomcat-connectors/webapp
>> Build both the module and the java part... Follow the README.
>
> It didn't work.  Same behavior: Catalina runs
> fine standalone, and the Warp port is definitely
> being listened to, but when Apache tries to deploy a Webapp,
> it hangs and libhttpd dumps core.

What's libhttpd? It should be the httpd binary dumping core...

> Actually, the behavior is *worse* now than it was before;
> Apache dumps core just when attempting to use some of
> the mod_webapp directives, and never comes up.
> Before, the "info" app could be loaded/run; now it does not.

Weird... It runs fine for me and several others on Solaris 8 on sparc.

> A recap:
>
> - webapp connector hot from CVS today
> - apr hot from CVS today
> - catalina from last night's nightly build
> - SunOS clin5 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-60
> - Apache 1.3.20
> - gcc 2.95.2
>
> I have now spent almost 2 weeks on this; this is driving
> me crazy...

I bet...

> 1.  Why is Apache hanging and *dumping core*
>   when it tries to deploy a webapp?
>   It has no problem with other shared libs.
>   Why such a bad bad reaction?

Did you try compiling it with the --enable-debug flag? At what point does it
dump core? Any GDB stack trace from the core? Without information, there's
not much I can do...

> 2.  Dynamic loading is definitely working fine.
>   My test libfoo.so works perfectly.
>   No core dump, nothing.  The only problem is mod_webapp.

It's weird...

> 3.  Can anyone help me determine *where* the problem is?
>   I can put my catalina up and you can hit the examples
>   via warp, if that will tell you something useful.
>   I don't know if it's...
> apache 1.3.20
> mod_webapp
> mod_so
> catalina
> warp.jar
> dld
> ?


Can you do a GDB stack trace of the core?

> 4.  When I build apache, what do I have to do so that
>   apxs has "gcc" instead of "ld" as its linker?
>   I had to shoehorn that directly into the apxs script.
>   But again, mod_foo is fine.

Nope... It should build cleanly with GCC... LD is called by GCC
appropriately...

> n.  Can someone PLEASE make a mod_webapp.so binary for Solaris 5.8
>   available, built against apache 1.3.20 and dld?

Brian P., Thom? Can you send them one of your binaries, please?

> Sorry to whine.  I'm an open-source distributor myself
> (http://www.zeegee.com/code/perl), so I'm appreciative
> of the thankless tasks y'all have.  I'd like to help you ferret
> out these problems, for my sake and others...

Oh, don't worry... WebApp is new, and for sure there are bugs. But it's
kinda hard to know what's wrong since others with your same setup are
running it fine... :)

Pier





Re: Apache 1.3.20 hangs when warp-connecting to Tomcat4b6

2001-07-30 Thread Pier P. Fumagalli

Eryq at [EMAIL PROTECTED] wrote:

> "Pier P. Fumagalli" wrote:
> 
>> The CVS repo is jakarta-tomcat-connectors/webapp
>> Build both the module and the java part... Follow the README.
> 
> It didn't work.  Same behavior: Catalina runs
> fine standalone, and the Warp port is definitely
> being listened to, but when Apache tries to deploy a Webapp,
> it hangs and libhttpd dumps core.

What's libhttpd? It should be the httpd binary dumping core...

> Actually, the behavior is *worse* now than it was before;
> Apache dumps core just when attempting to use some of
> the mod_webapp directives, and never comes up.
> Before, the "info" app could be loaded/run; now it does not.

Weird... It runs fine for me and several others on Solaris 8 on sparc.

> A recap:
> 
> - webapp connector hot from CVS today
> - apr hot from CVS today
> - catalina from last night's nightly build
> - SunOS clin5 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-60
> - Apache 1.3.20
> - gcc 2.95.2
> 
> I have now spent almost 2 weeks on this; this is driving
> me crazy...

I bet...

> 1.  Why is Apache hanging and *dumping core*
>   when it tries to deploy a webapp?
>   It has no problem with other shared libs.
>   Why such a bad bad reaction?

Did you try compiling it with the --enable-debug flag? At what point does it
dump core? Any GDB stack trace from the core? Without information, there's
not much I can do...

> 2.  Dynamic loading is definitely working fine.
>   My test libfoo.so works perfectly.
>   No core dump, nothing.  The only problem is mod_webapp.

It's weird...

> 3.  Can anyone help me determine *where* the problem is?
>   I can put my catalina up and you can hit the examples
>   via warp, if that will tell you something useful.
>   I don't know if it's...
> apache 1.3.20
> mod_webapp
> mod_so
> catalina
> warp.jar
> dld
> ?


Can you do a GDB stack trace of the core?

> 4.  When I build apache, what do I have to do so that
>   apxs has "gcc" instead of "ld" as its linker?
>   I had to shoehorn that directly into the apxs script.
>   But again, mod_foo is fine.

Nope... It should build cleanly with GCC... LD is called by GCC
appropriately...

> n.  Can someone PLEASE make a mod_webapp.so binary for Solaris 5.8
>   available, built against apache 1.3.20 and dld?

Brian P., Thom? Can you send them one of your binaries, please?

> Sorry to whine.  I'm an open-source distributor myself
> (http://www.zeegee.com/code/perl), so I'm appreciative
> of the thankless tasks y'all have.  I'd like to help you ferret
> out these problems, for my sake and others...

Oh, don't worry... WebApp is new, and for sure there are bugs. But it's
kinda hard to know what's wrong since others with your same setup are
running it fine... :)

Pier




Re: Apache 1.3.20 hangs when warp-connecting to Tomcat4b6

2001-07-30 Thread Eryq

"Pier P. Fumagalli" wrote:

> The CVS repo is jakarta-tomcat-connectors/webapp
> Build both the module and the java part... Follow the README.

It didn't work.  Same behavior: Catalina runs
fine standalone, and the Warp port is definitely 
being listened to, but when Apache tries to deploy a Webapp,
it hangs and libhttpd dumps core.

Actually, the behavior is *worse* now than it was before;
Apache dumps core just when attempting to use some of
the mod_webapp directives, and never comes up.
Before, the "info" app could be loaded/run; now it does not.
A recap:

- webapp connector hot from CVS today
- apr hot from CVS today
- catalina from last night's nightly build
- SunOS clin5 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-60
- Apache 1.3.20
- gcc 2.95.2

I have now spent almost 2 weeks on this; this is driving
me crazy...

1.  Why is Apache hanging and *dumping core*
when it tries to deploy a webapp?
It has no problem with other shared libs.
Why such a bad bad reaction?

2.  Dynamic loading is definitely working fine.
My test libfoo.so works perfectly.
No core dump, nothing.  The only problem is mod_webapp.

3.  Can anyone help me determine *where* the problem is?
I can put my catalina up and you can hit the examples
via warp, if that will tell you something useful.
I don't know if it's...

apache 1.3.20
mod_webapp
mod_so
catalina
warp.jar
dld
?

4.  When I build apache, what do I have to do so that
apxs has "gcc" instead of "ld" as its linker?
I had to shoehorn that directly into the apxs script.
But again, mod_foo is fine.

n.  Can someone PLEASE make a mod_webapp.so binary for Solaris 5.8
available, built against apache 1.3.20 and dld? 

   
Sorry to whine.  I'm an open-source distributor myself
(http://www.zeegee.com/code/perl), so I'm appreciative
of the thankless tasks y'all have.  I'd like to help you ferret
out these problems, for my sake and others...

-- 
Eryq, http://www.zeegee.com/eryq 
WANTED:  Schrodinger's Cat.  Dead and/or Alive.



Re: Apache 1.3.20 hangs when warp-connecting to Tomcat4b6

2001-07-28 Thread Pier P. Fumagalli

Eryq at [EMAIL PROTECTED] wrote:

> webapp-module-1.0-tc40b6
> SunOS clin5 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-60
> Apache 1.3.20
> gcc 2.95.2
> --
> 
> My apache works great; I load mod_webapp,
> and I even get the "info" page.
> 
> My standalone Tomcat4 works great, serving
> WebAppInfo my webapp and its files.
> 
> But when I add in a directive to WebAppDeploy
> a webapp in my httpd.conf, apache starts but then
> hangs forever on a request. No log file entries
> are made.
> 
> Also, libhttpd.ep keeps leaving little core files
> around.  That seems bad.
> 
> I'm using "localhost" as the ServerName in both
> httpd.conf and server.xml.
> 
> Ideas?  TIA,

Can you upgrade to the last CVS version? Thanks to Brian P. Millet we fixed
a lot of bugs on SunOS 5.8 since B6.

Pier




Apache 1.3.20 hangs when warp-connecting to Tomcat4b6

2001-07-27 Thread Eryq

webapp-module-1.0-tc40b6
SunOS clin5 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-60
Apache 1.3.20
gcc 2.95.2
--

My apache works great; I load mod_webapp,
and I even get the "info" page.  

My standalone Tomcat4 works great, serving
WebAppInfo my webapp and its files.

But when I add in a directive to WebAppDeploy 
a webapp in my httpd.conf, apache starts but then
hangs forever on a request. No log file entries 
are made.

Also, libhttpd.ep keeps leaving little core files
around.  That seems bad.

I'm using "localhost" as the ServerName in both
httpd.conf and server.xml.

Ideas?  TIA,

-- 
Eryq, http://www.zeegee.com/eryq 
WANTED:  Schrodinger's Cat.  Dead and/or Alive.