Re: java.lang.UnsatisfiedLinkError

From: aT <atif@xxx.net>
Date: Sun May 29 2005 - 01:46:01 PDT

I have already solved it .

:)

It required 64 bit java , JNI was being compiled 64 bit along with resin ,
i insatlled 1.5 64 bit jdk from sun and it worked .

thanks for your help  really appreciate it .

Regards




-- 
Syed Atif Ali
Desk: 971 4 3911914
********************************

The one good thing about repeating your mistakes is that you know when to cringe.


amos@xxx.mailshell.com wrote:
On 5/29/05, aT <atif.at.bayt.net@xxx.at.amos.mailshell.com> wrote:
  
 resin is not running with root . 
    

OK, so LD_LIBRARY_ATH should be adhered, as far as I know.

  
 
 I have put export entries in  httpd.sh itself. 
    

Good.

  
 
 when i run ldd
 
 [resin@xxx libexec]$ ldd libresinssl.so
         libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x0000002a9578d000)
         libcrypt.so.1 => /lib64/libcrypt.so.1 (0x0000002a958a1000)
         libssl.so.4 => /lib64/libssl.so.4 (0x0000002a959d5000)
         libc.so.6 => /lib64/tls/libc.so.6 (0x0000002a95b10000)
         /lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2
(0x0000002a95556000)
         libgssapi_krb5.so.2 =>
/usr/kerberos/lib64/libgssapi_krb5.so.2
(0x0000002a95d55000)
         libkrb5.so.3 => /usr/kerberos/lib64/libkrb5.so.3
(0x0000002a95e6a000)
         libcom_err.so.3 =>
/usr/kerberos/lib64/libcom_err.so.3 (0x0000002a95fd3000)
         libk5crypto.so.3 =>
/usr/kerberos/lib64/libk5crypto.so.3 (0x0000002a960d6000)
         libresolv.so.2 => /lib64/libresolv.so.2 (0x0000002a961ea000)
         libcrypto.so.4 => /lib64/libcrypto.so.4 (0x0000002a962fe000)
         libdl.so.2 => /lib64/libdl.so.2 (0x0000002a96531000)
         libz.so.1 => /usr/lib64/libz.so.1 (0x0000002a96634000)
 
    

So the file is apparently uncorrupted.

  
 
 
 how can i run resin with strace ?
    

In the httpd.sh file, find the command which actually executes Java and
put "strace -o strace.out" in front of it. Also lookup the strace manual to
allow you to reduce the amount of irrelevant messages.

  
 really appriciate your reply . 
    

Hope we'll crack it somehow.

Cheers,

--Amos





  

-- 
Syed Atif Ali
Desk: 971 4 3911914
********************************

The world is coming to an end!  Repent and return those library books!
Received on Sun 29 May 2005 01:46:01 -0700

This archive was generated by hypermail 2.1.8 : Thu Sep 28 2006 - 20:18:43 PDT