users@glassfish.java.net

Upgrade Error (and Which JDK to use?)

From: ITVGuy2000 <hhartley_at_pobox.com>
Date: Sat, 11 Aug 2007 00:44:20 -0700 (PDT)

I get the following (it never prompts for the pw) when I try to upgrade from
V1 to V2 using the Upgrade tool. Any ideas what might be causing this?

------>
# ./asupgrade -c

Valid values for source and Target are as follows :

If upgrading from Sun Java System Application Server 8.x or 9.0, specify
domain directory for Source. The target directory should be the domains
root.


Enter the Domain directory of the source: /opt/SDK/domains/domain1
Enter the Target Domains Root: /opt/glassfish/domains
Enter the Admin User:admin
Enter the Admin Password: Exception in thread "main"
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)
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
        at java.lang.Runtime.loadLibrary0(Runtime.java:822)
        at java.lang.System.loadLibrary(System.java:992)
        at
com.sun.enterprise.cli.framework.CliUtil.<clinit>(CliUtil.java:71)
        at
com.sun.enterprise.tools.upgrade.cli.CLIParser.collectMissingArguments(CLIParser.java:293)
        at
com.sun.enterprise.tools.upgrade.common.ArgsParser.parse(ArgsParser.java:192)
        at
com.sun.enterprise.tools.upgrade.cli.CLIParser.<init>(CLIParser.java:80)
        at
com.sun.enterprise.tools.upgrade.UpgradeToolMain.startCLI(UpgradeToolMain.java:155)
        at
com.sun.enterprise.tools.upgrade.UpgradeToolMain.main(UpgradeToolMain.java:205)
<---------

Also, can somebody suggest the best and most compatible version of the JDK
to use with Glassfish V2RC1 please?

Lastly, I am getting kind of confused. There seem to be mixed messages
regarding whether or not to use JDK6 with Glassfish. Some docs say JDK5,
some posts here, and weblogs suggest JDK6 is best.

Regards,

ITVGuy2000

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