users@glassfish.java.net

Proper migration procedure between "b" versions

From: Miguel A Paraz <mparaz_at_gmail.com>
Date: Sat, 3 Dec 2005 15:19:36 +0800

Hi,
I moved from b24 to b29. I have one war, and a connection pool/resource combo.

What I did:
1. unpacked b29
2. ran setup.xml
3. copied domain.xml
4. asadmin start-domain domain1

And then when I:
5. deploy cute.war -- yes, the app is called "cute" :)

I got:
CLI171 Command deploy failed : While redeploying, trying to stop the
application in target server failed;
com.sun.enterprise.deployment.backend.IASDeploymentException:
com.sun.enterprise.config.ConfigException: I/O error while loading
deployment descriptor for: cute
cause: /home/map/java/glassfish/domains/domain1/applications/j2ee-modules/cute
java.lang.Throwable: com.sun.enterprise.config.ConfigException: I/O
error while loading deployment descriptor for: cute
cause: /home/map/java/glassfish/domains/domain1/applications/j2ee-modules/cute

[#|2005-12-03T15:04:48.005+0800|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=11;_ThreadName=Thread-3;|loader.error_while_loading_app_desc
java.io.FileNotFoundException:
/home/map/java/glassfish/domains/domain1/applications/j2ee-apps/__JWSappclients
        at com.sun.enterprise.deployment.deploy.shared.FileArchive.open(FileArchive.java:64)
        at com.sun.enterprise.instance.AppsManager.getAppDescriptor(AppsManager.java:313)
        at com.sun.enterprise.server.ApplicationLoader.<init>(ApplicationLoader.java:101)
        at com.sun.enterprise.server.TomcatApplicationLoader.<init>(TomcatApplicationLoader.java:73)
        at com.sun.enterprise.server.pluggable.TomcatApplicationLoaderFactory.createApplicationLoader(TomcatApplicationLoaderFactory.java:48)
        at com.sun.enterprise.server.ApplicationManager.getLoader(ApplicationManager.java:150)
        at com.sun.enterprise.server.AbstractManager.loadOneSystemApp(AbstractManager.java:301)
        at com.sun.enterprise.server.ondemand.SystemAppLoader.loadSystemApps(SystemAppLoader.java:107)
        at com.sun.enterprise.server.ondemand.WebServiceGroup.loadSystemApps(WebServiceGroup.java:75)
        at com.sun.enterprise.server.ondemand.WebServiceGroup.start(WebServiceGroup.java:59)
        at com.sun.enterprise.server.ondemand.ServiceGroup$1.run(ServiceGroup.java:174)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:171)
        at com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java:43)
        at com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:70)
        at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntryHelper.java:60)
        at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generatePortEntryContext(ServerEntryHelper.java:41)
        at com.sun.enterprise.server.ss.ASSocketService.generateEntryContext(ASSocketService.java:270)
        at com.sun.enterprise.server.ss.ASSocketService$EntryPointThread.run(ASSocketService.java:516)


So I looked in the filesystem and
/home/map/java/glassfish/domains/domain1/applications/j2ee-apps/__JWSappclients
is missing. The b24 directory had it.

Did I miss a step?