|
From: Leif M. <le...@ta...> - 2005-07-04 08:08:01
|
Santo,
Can you try launching your application with the wrapper.debug=true
property set,
then try stopping your application with kill halt. I should be able to
see what is
happening there from the debug output.
Cheers,
Leif
First Last wrote:
> Leif,
>
> I checked whether our AIX machine is running in 64-bit mode and indeed
> it is.
> Apparently one of my colleagues needed 64-bit mode for testing
> purposes and therefore
> switched the machine to 64-bit mode.
>
> So, the problem that the libwrapper.so library cannot be loaded is
> probably caused by this.
>
> But, apart from that, I still have problems shutting down my
> application in a normal clean way.
> Only "kill -9" can bring the application down.
>
> I thought this had to do with the libwrapper.so issue, but because
> that seems to be caused by the 64-bit mode, it's probably something
> else that is causing this.
>
> thanks,
>
> Santo
>
> */Leif Mortenson <le...@ta...>/* wrote:
>
> Santo,
> I am not familiar with AIX personally. It is built by a user who
> donates their time.
> This problem has been seen on other platforms however when a 32-bit
> version of
> the Wrapper is run with a 64-bit JVM. The Wrapper binary works
> fine as
> it is a
> separate process. But the native library is not able to be loaded due
> to linking
> problems.
> The other possible causes, a bad so file and file permissions, have
> already been
> checked by you.
>
> You might want to try running with "-verbose:jni -Xcheck:jni" set
> when launching
> the JVM. That might (??) give you a little more information.
>
> Cheers,
> Leif
>
> First Last wrote:
>
> > Hi,
> >
> > I'm using the java service wrapper on several platforms (windows,
> > solaris and aix).
> > On the aix platform, I get the following error:
> >
> > STATUS | wrapper | 2005/06/14 11:37:29 | --> Wrapper Started as
> Daemon
> > STATUS | wrapper | 2005/06/14 11:37:29 | Launching a JVM...
> > INFO | jvm 1 | 2005/06/14 11:37:30 |
> > INFO | jvm 1 | 2005/06/14 11:37:30 | WARNING - Unable to load the
> > Wrapper's native library 'libwrapper.so'.
> > INFO | jvm 1 | 2005/06/14 11:37:30 | The file is
> > located on the path at the following location but
> > INFO | jvm 1 | 2005/06/14 11:37:30 | could not be loaded:
> > INFO | jvm 1 | 2005/06/14 11:37:30 |
> > /TivoliNotFwk/dman/bin/aix/./libwrapper.so
> > INFO | jvm 1 | 2005/06/14 11:37:30 | Please verify that
> > the file is readable by the current user
> > INFO | jvm 1 | 2005/06/14 11:37:30 | and that the file
> > has not been corrupted in any way.
> > INFO | jvm 1 | 2005/06/14 11:37:30 | System signals
> > will not be handled correctly.
> > INFO | jvm 1 | 2005/06/14 11:37:30 |
> > INFO | jvm 1 | 2005/06/14 11:37:3 0 | Wrapper (Version 3.1.2)
> > http://wrapper.tanukisoftware.org
> >
> > Despite the error, the application gets started, but we are not
> able
> > to shut it down in a normal way (only with kill -9)
> >
> > I already tried to redownload the wrapper files, changing the file
> > permissions, but nothing helps.
> > Seems like the native library is corrupt in some way ?
> >
> > I'm using v3.1.2 (as far as I know that's the most recent version)
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> >
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> Wrapper-user mailing list
> Wra...@li...
> https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
|