Re: [JBoss-user] JBoss and JNI

2002-06-02 Thread Jules Gosnell
setting this property works, provided that your libraries don't have dependencies on other libraries (I got bitten by this on Solaris). If you load a lib that needs another lib, it will expect e.g. LD_LIBRARY_PATH to be set, other wise the linker cannot resolve the dependency... It's a real m

Re: [JBoss-user] JBoss and JNI

2002-05-30 Thread Holger Baxmann
able and Native - It Can't Be Done! at http://www.eclipse.org/articles/Article-SWT-Design-1/SWT-Design-1.html just working on that on the deeper end bax - Original Message - From: "Dave Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 30, 2002

RE: [JBoss-user] JBoss and JNI

2002-05-30 Thread Dave Smith
OK. You are on Linux. Make sure that the .so file starts with lib. So it needs to be lib.so. Put it in the /lib directory. Edit run.sh so it has -Djava.library.path=/lib. Should work fine. Dave On Thu, 2002-05-30 at 12:02, Paul Morris wrote: > David, thanks for the tip. I'm going to need a litt

RE: [JBoss-user] JBoss and JNI

2002-05-30 Thread JD Brennan
:43 AMTo: [EMAIL PROTECTED]Subject: RE: [JBoss-user] JBoss and JNI I'm running on RedHat 7.2 Linux.  I've tried the -Djava.library.path as well.  It clearly finds and loads the library.  The UnsatisfiedLinkError occurs when any of the native methods are called.  It works outside of J

RE: [JBoss-user] JBoss and JNI

2002-05-30 Thread Paul Morris
I'm running on RedHat 7.2 Linux.  I've tried the -Djava.library.path as well.  It clearly finds and loads the library.  The UnsatisfiedLinkError occurs when any of the native methods are called.  It works outside of JBoss when called from a stand-alone application.  The calls are being made

Re: [JBoss-user] JBoss and JNI

2002-05-30 Thread David Jencks
On 2002.05.30 12:02:01 -0400 Paul Morris wrote: > David, thanks for the tip. I'm going to need a little clarification, > though. I copied my .so file (I'm on linux) to $JAVA_HOME/jre/lib/i386, > but > this didn't work, so I'm sure this is not what you meant. Is this the > right > location for t

Re: [JBoss-user] JBoss and JNI

2002-05-30 Thread David Jencks
This means you haven't found a way to dynamically load native libraries? thanks david jencks On 2002.05.30 11:36:23 -0400 Dave Smith wrote: > After a little digging in my old sources the key is when you start jboss > add -Djava.library.path= > > On Thu, 2002-05-30 at 08:35, Paul Morris wrote:

RE: [JBoss-user] JBoss and JNI

2002-05-30 Thread Paul Morris
David, thanks for the tip.  I'm going to need a little clarification, though.  I copied my .so file (I'm on linux) to $JAVA_HOME/jre/lib/i386, but this didn't work, so I'm sure this is not what you meant.  Is this the right location for the .so file?  What about the java class with the nativ

Re: [JBoss-user] JBoss and JNI

2002-05-30 Thread Dave Smith
After a little digging in my old sources the key is when you start jboss add -Djava.library.path= On Thu, 2002-05-30 at 08:35, Paul Morris wrote: > I need some "how-to" information on how to get JNI calls to work with > JBoss. I've tried the following 4 methods all result in an > UnsatisfiedLin

Re: [JBoss-user] JBoss and JNI

2002-05-30 Thread Dave Smith
I have successfully got it to work. What platform are you running and what is the name of the library file? On Thu, 2002-05-30 at 08:35, Paul Morris wrote: > I need some "how-to" information on how to get JNI calls to work with > JBoss. I've tried the following 4 methods all result in an > Unsat

Re: [JBoss-user] JBoss and JNI

2002-05-30 Thread David Jencks
I have had no success with dynamically loading native libraries. The only way I have succeeded in accessing them was to put them in with the java native libraries before starting jboss. Hopefully the badness of this approach will stimulate someone who knows how to do it better to tell us all in

[JBoss-user] JBoss and JNI

2002-05-30 Thread Paul Morris
I need some "how-to" information on how to get JNI calls to work with  JBoss.  I've tried the following 4 methods all result in an UnsatisfiedLinkError when a native method is called.  The loading of the library seems to occur ok.  I've seen other posts similar to this, but no answers that w

RE: [JBoss-user] JBoss and JNI?

2001-10-17 Thread Almquist Justin-P29624
PROTECTED]] Sent: Wednesday, October 17, 2001 8:12 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [JBoss-user] JBoss and JNI? Luke, >>Are there any issues with using JNI with JBoss? >>I did a search on the documentation and nothing came back. Can JNI be used >>

RE: [JBoss-user] JBoss and JNI?

2001-10-17 Thread Sapozhnikov, Michael
Title: RE: [JBoss-user] JBoss and JNI? Luke, >>Are there any issues with using JNI with JBoss? >>I did a search on the documentation and nothing came back. Can JNI be used >>within JBoss? What actions are required to make it work? Just from my experience... I tr

RE: [JBoss-user] JBoss and JNI?

2001-10-17 Thread Marko Štrukelj
Title: RE: [JBoss-user] JBoss and JNI? Hi, You can take your normal working java class that uses jni, wrap it in a session bean, deploy it and it should work - provided it can find everything it needs. Which means all the dlls must be on the path. I've had some commedies getting th

Re: [JBoss-user] JBoss and JNI?

2001-10-17 Thread Dmitri Colebatch
JNI isn't allowed in EJB per the spec. I cant say anything about whether it would work or not though. hth dim On Wed, 17 Oct 2001, Luke Studley wrote: > Hello > > Are there any issues with using JNI with JBoss? > I did a search on the documentation and nothing came back. Can JNI be used > wi

[JBoss-user] JBoss and JNI?

2001-10-17 Thread Luke Studley
Hello   Are there any issues with using JNI with JBoss? I did a search on the documentation and nothing came back. Can JNI be used within JBoss? What actions are required to make it work?   Any answers appreciated.   Luke