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

Reply via email to