as Andersson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 09, 2005 3:49 AM
To: Tomcat Users List
Subject: Re: using shared objects from tomcat
Benson Margulies wrote:
> -- Tomcat can't 'ignore' LD_ environment variables. They control how
> ld.so loads the JVM into the pr
Benson Margulies wrote:
-- Tomcat can't 'ignore' LD_ environment variables. They control how
ld.so loads the JVM into the process address space and links it. You put
env settings in bin/setenv.sh. You will need such a setting for
LD_LIBRARY_PATH, at least.
Thanks! The LD_DEBUG environment variable
On Tue, Feb 08, 2005 at 10:53:37PM +0100, Andreas Andersson wrote:
> This is a debian suggesting strace to be the one for me. Can I attach
> strace to my .so-file or do I have to start tomcat via strace?
I'm not certain about debian, but under NetBSD you can turn on tracing
for an already
This is a debian suggesting strace to be the one for me. Can I attach
strace to my .so-file or do I have to start tomcat via strace?
-- .so.s don't have independent existence. You run strace on a process.
I recommend using the -p option to attach it to the JVM after the JVM is
up but before you
Benson Margulies wrote:
First of all, thanks for the answer, I've been fighting this one for
quite som time now.
1) Your monitoring options depend on what unix(-like) system you are
running on. On Linux, there's strace. On Solaris, truss. On HPUX and
AIX? I forget. To do this PROGRAMMATICALLY to
itten in C/C++
instead of using JNI in the first place. If the performance is
acceptable, your life could be a lot simpler.
-Original Message-
From: Andreas Andersson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 08, 2005 3:32 PM
To: Tomcat Users List
Subject: using shared objects fr
Hi (again)!
I still have problems useing a shared library from within a tomcat
webapp. The same code works from a standalone appication but not from
tomcat.
If anyone can answer one or more of the following questions I would be
happy.
1) Is there any way to log what a .so-file attempts to do w