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

Reply via email to