Subject: Re: Axis / JNI once more
Yes, all dependent libs are in the path.
The System.loadlibrary function works well, but the native function call doesn't work.
So more I try, I more and more believe that it will never work.
harry
dependent libraries? Try using
ldd to see what the dependencies are and whether they
are on your java.lib.path too.
Sanjiva.
- Original Message -
From: Harald Pollak [EMAIL PROTECTED]
To: Axis-Dev [EMAIL PROTECTED]
Sent: Tuesday, July 01, 2003 3:58 PM
Subject: RE: Axis / JNI once more
I
t: Tuesday, July 01, 2003 3:58 PM
Subject: RE: Axis / JNI once more
I tried to do this, and i got :
init Class
* Native library 'JNIDate' loaded
Constructor
call method: [EMAIL PROTECTED] : 10.146.3.42:1800
now
/usr/lib/j2sdk1.4.2/jre/lib/i386/client:/usr/lib/j2sdk1.4.2/jre/lib/i386:/us
r/
Try changing the catch around jd.getDate() to catch (Throwable) ..
maybe its throwing something you're not catching.
Sanjiva.
- Original Message -
From: Harald Pollak [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 30, 2003 5:06 PM
Subject: Axis / JNI once more
Hy everybody
PROTECTED]
To: Axis-Dev [EMAIL PROTECTED]
Sent: Tuesday, July 01, 2003 12:55 PM
Subject: Re: Axis / JNI once more
Thanks this was a very good hint, now i know that the library isn't
found.
(java.lang.UnsatisfiedLinkError: getJNIDate)
But now is stand befor an other problem:
I tried to print
(Throwable e) {
e.printStackTrace();
}
}
in your code.
-Lilantha
-Original Message-
From: Sanjiva Weerawarana [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 01, 2003 2:47 PM
To: [EMAIL PROTECTED]
Subject: Re: Axis / JNI once more
Do you mean that libJNIDate.so is on your
.
-Lilantha
-Original Message-
From: Sanjiva Weerawarana [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 01, 2003 2:47 PM
To: [EMAIL PROTECTED]
Subject: Re: Axis / JNI once more
Do you mean that libJNIDate.so is on your java.lib.path directly?
Its been a while since I did JNI, but given that you say
]
Sent: Tuesday, July 01, 2003 3:59 PM
To: Axis-Dev
Subject: RE: Axis / JNI once more
I tried to do this, and i got :
init Class
* Native library 'JNIDate' loaded
Constructor
call method: [EMAIL PROTECTED] : 10.146.3.42:1800
now
/usr/lib/j2sdk1.4.2/jre/lib/i386/client:/usr/lib/j2sdk1.4.2/jre/lib/i386
Harald Pollak wrote:
Thanks this was a very good hint, now i know that the library isn't found.
(java.lang.UnsatisfiedLinkError: getJNIDate)
But now is stand befor an other problem:
I tried to print out the java.library.path ( got by
Hy everybody!
I try to use JNI within a Axis-Service. I try since weeks to bring it to work, but my result is every time the same:
soapenv:Envelope
soapenv:Body
soapenv:Fault
faultcodesoapenv:Server.userException/faultcode
10 matches
Mail list logo