users@glassfish.java.net

Re: Glassfish Upgrade Failing

From: Sathyan Catari <Sathyan.Catari_at_Sun.COM>
Date: Tue, 14 Jul 2009 10:18:07 -0700

You could also alternatively use --domaindir option of asadmin to point
to old domain location instead
of copying over files by yourself.

What is the output of "asadmin version -v" command, when run from 9.1_02
installroot/bin directory?

-Sathyan

glassfish_at_javadesktop.org wrote:
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>