[GLASSFISH-20765] asupgrade script included in documentation but missing in GF 4.0 distribution Created: 16/Aug/13  Updated: 18/Oct/13

Status: Open
Project: glassfish
Component/s: docs
Affects Version/s: 4.0_b89_RC5
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: novaks Assignee: Mike Fitch
Resolution: Unresolved Votes: 5
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags: asupgrade, upgrade_tool

 Description   

The asupgrade and asupgrade.bat scripts are missing in GlassFish 4.0 ZIP distribution (downloaded from http://download.java.net/glassfish/4.0/release/glassfish-4.0.zip, build 89). These scripts should be located under glassfish4/glassfish/bin and also the GF 4 Upgrade Guide PDF refers to them but they are missing in the downloaded ZIP archive.



 Comments   
Comment by juliohm [ 28/Aug/13 ]

This can be easily confirmed by looking at the contents of the official download package.

http://download.java.net/glassfish/4.0/release/glassfish-4.0.zip

Scritps asupgrade and asupgrade.bat are simply not there. Does any one know of a workaround? We need to start tesing upgrades from 3.1.2.2 to 4.0.

Comment by karinchen [ 25/Sep/13 ]

Upgrade tool also missing in self-extracting archive http://download.java.net/glassfish/4.0/release/glassfish-4.0-windows.exe

Please, can anyone provide a location from where we can download it?
We need to migrate a GF 2.1.1 server, so upgrade tool seems the only available option...

Comment by Joe Di Pol [ 17/Oct/13 ]

It looks like asupgrade was intentionally removed in GlassFish 4.0:

https://blogs.oracle.com/bobby/entry/the_glassfish_upgrade_tool

Based on this I'm lowering the priority and warning that this may be closed as not-a-bug.

The work around is to copy the source domain to the target and run "asadmin start-domain --upgrade"

It is my understanding that upgrade to 4.0 was not well (if at all) tested, so no promises as to how well this will work.

Comment by Joe Di Pol [ 18/Oct/13 ]

Assigning to documentation since the 4.0 upgrade guide (https://glassfish.java.net/docs/4.0/upgrade-guide.pdf) mentions using asupgrade.

Generated at Thu Feb 11 07:09:03 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.