users@glassfish.java.net

Re: Upgrade Error (and Which JDK to use?)

From: ITVGuy2000 <hhartley_at_pobox.com>
Date: Wed, 15 Aug 2007 03:47:59 -0700 (PDT)

glassfish wrote:
>
>>
>> Thanks for replying, I appreciate it, but HUH?
>
> I like that :). Appreciation with huh.
>
>>
>> Could you be more specific about which libraries
>> might be setup incorrectly,
>> and why you believe they are wrong?
>
> That's because of the message.
> java.lang.UnsatisfiedLinkError: /opt/glassfish/lib/libcliutil.so: ld.so.1:
> /opt/SUNWappserver/jdk/jre/../bin/java: fatal: libCrun.so.1: version
> `SUNW_1.5' not found (required by file /opt/glassfish/lib/libcliutil.so)
>
> Can you just do "ldd" on <install-dir>/lib/libcliutil.so?
>

[bubba]/opt/glassfish>ldd /lib/libcliutil.so
ldd: /lib/libcliutil.so: cannot open file: No such file or directory
[bubba]/opt/glassfish>ldd ./lib/libcliutil.so
        libpthread.so.1 => /usr/lib/libpthread.so.1
        libsocket.so.1 => /usr/lib/libsocket.so.1
        libnsl.so.1 => /usr/lib/libnsl.so.1
        libdl.so.1 => /usr/lib/libdl.so.1
        librt.so.1 => /usr/lib/librt.so.1
        libkstat.so.1 => /usr/lib/libkstat.so.1
        libCrun.so.1 => /usr/lib/libCrun.so.1
        libCrun.so.1 (SUNW_1.5) => (version not found)
        libCstd.so.1 => /usr/lib/libCstd.so.1
        libCstd.so.1 (SUNW_1.2) => (version not found)
        libc.so.1 => /usr/lib/libc.so.1
        libmp.so.2 => /usr/lib/libmp.so.2
        libaio.so.1 => /usr/lib/libaio.so.1
        libmd5.so.1 => /usr/lib/libmd5.so.1
        libw.so.1 => /usr/lib/libw.so.1
        libthread.so.1 => /usr/lib/libthread.so.1
        /usr/lib/cpu/sparcv8plus/libCstd_isa.so.1
        /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1
        /usr/platform/SUNW,Ultra-60/lib/libmd5_psr.so.1
[bubba]/opt/glassfish>

I am really sorry, but I am clueless here. Can you give me an idea what this
is telling me, and why its not finding (SUNW_1.5)? Does this mean glassfish
is setup incorrectly? The JDK was setup incorrectly? Just FYI, glassfish was
just installed per the instructions on the website. Is it possible that the
new distribution has these flaws already embedded?

On my UNIX host, the admin does installation of all new software, so it is
possible there are some peculiarities that I am not aware of associated with
the JDK or Glassish.

Can you suggest what might be the cause of the native libraries to be
incorrect, or how I might go about determining exactly what is wrong?



> BTW, this doesn't mean your upgrade is going to be successful, it's just
> you won't
> have any unsatisfied linkage problems :)
>

Should I expect an upgrade to go badly? I have over 30 applications of all
kinds deployed on my current glassfish instance. Would I be better off just
deploying all 30 applications to the new glassfish server instance by hand
(through the admin console)? (UUuugggghhhh).

Thanks,

ITVGuy2000
-- 
View this message in context: http://www.nabble.com/Upgrade-Error-%28and-Which-JDK-to-use-%29-tf4252729.html#a12159808
Sent from the java.net - glassfish users mailing list archive at Nabble.com.