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
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
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
: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
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
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
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:
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
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
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
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
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
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
>>
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
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
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
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
17 matches
Mail list logo