users@glassfish.java.net

Glassfish Upgrade Failing

From: <glassfish_at_javadesktop.org>
Date: Tue, 14 Jul 2009 09:02:43 PDT

I've tried a lot things to get an upgrade working of Glassfish/SAS 9.1_02 to Glassfish V2.1 b60e, but I can't get it to work.

The error I am stuck on is below, but I give up on asupgrade. Is there a way to manually upgrade? As a test I installed 2.1 by itself and copied the domains/domain1 folder over to it. I am able to start up the domain and things appear to work normally. What are the drawbacks of doing the upgrade this way?

Thanks,
Jim



[code]
[#|2009-07-14T08:56:46.039-0600|INFO|sun-appserver2.1|com.sun.enterprise.tools.upgrade|_ThreadID=10;_ThreadName=main;|Unexpected error encountered while parsing
java.lang.NullPointerException
        at com.sun.enterprise.tools.upgrade.common.UpgradeUtils.versionString(UpgradeUtils.java:414)
        at com.sun.enterprise.tools.upgrade.common.CommonInfoModel.getSourceVersion(CommonInfoModel.java:656)
        at com.sun.enterprise.tools.upgrade.common.CommonInfoModel.isUpgradeSupported(CommonInfoModel.java:684)
        at com.sun.enterprise.tools.upgrade.cli.CLIParser.<init>(CLIParser.java:85)
        at com.sun.enterprise.tools.upgrade.UpgradeToolMain.startCLI(UpgradeToolMain.java:155)
        at com.sun.enterprise.tools.upgrade.UpgradeToolMain.main(UpgradeToolMain.java:205)
[/code]
[Message sent by forum member 'culli' (culli)]

http://forums.java.net/jive/thread.jspa?messageID=355616