- This topic has 3 replies, 3 voices, and was last updated 15 years, 10 months ago by Riyad Kalla.
-
AuthorPosts
-
mst98subMemberSince MyEclipse Blue 6.5, 7M1, 7M2 und 7.0 still sometimes fails to deploy an ear to WebSphere 6.1 Fixpack 17 with the above error message “EAR expansion failued”, I decided to open this new thread to go into more details here. Perhaps we can find a solution this time. (Originial posting was “Unreliable EAR deployment to WebSphere AS” 11/11/08)
To be more precise: The problem occures when deploying in exploded deployment mode with a running WebSphere.
[…] 00000056 AddBinaryTask E EAR expansion failued for C:\Programme\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\HostNode01Cell\XYZ.ear
(The typo in the error message is copied from the console view as it is.)
As a consequence of the failed ear expansion, some ear artifacts are missing, which leads to further error messages (e.g. Module not found). MyEclipse now shows no error message box, instead the partially deployed application is marked with a yellow exclamation mark in the server view.
Undeploying and deploying the same ear again works some times. In case the ear expansion fails again, it fails at a different location within the ear archive.
For example while in the first attempt module A could not be expanded and thus produced a “Module not found” message, the secound attempt might miss a different module. For me this sound like an out of memory problem or some race condition.
This error never occurs, when I export the EAR from the IDE and install it using the web based WebSphere Admin Console (launched from the server view in MyEclipse).
Furthermore the error also never occurs, when I built, package and deploy the same ear project via maven2 from the command line.
Loyal WaterMembermst98sub,
Could you right-click on the server in the Servers view and choose “view deployment log” and clear the contents of the file. Now restart his server and re-try the deployment and when it fails, copy the new deployment log here for me.
mst98subMemberHi Nipun,
while exporting my application as EAR archive from MyEclipse and deploying it manually via WebSphere Admin Console is working reliably, the normal MyEclipse deployment fails most of the time. I have attached the deployment log.
thx for your help,
Mathias-------------------------------------------------------------------------------------------------------------------------------- MyEclipse: deployment START explodedproject: ExpFailEAR server: websphere61Server#AppServer time: Tue Feb 17 13:24:29 CET 2009 -------------------------------------------------------------------------------------------------------------------------------- WASX7209I: Mit Prozess "server1" auf Knoten myhostNode01 ?ber SOAP-Connector verbunden. Typ des Prozesses: UnManagedProcess WASX7303I: Die folgenden Optionen werden an die Scripting-Umgebung ?bergeben und sind als Argumente in der Variablen argv verf?gbar: "[C:\Programme\IBM\WebSphere\AppServer\profiles\AppSrv01\installableApps\ExpFailEAR.ear, myhostNode01Cell, myhostNode01, server1, ExpFailEAR, {{"ExpFailPCCWeb.war" "ExpFailPCCWeb.war,WEB-INF/web.xml" default_host} {"ExpFailTestWeb.war" "ExpFailTestWeb.war,WEB-INF/web.xml" default_host}}, {{"null" "ExpFailPCCWeb.war,WEB-INF/ibm-web-ext.xmi"AppDeploymentOption.Yes 1} {"null" "ExpFailTestWeb.war,WEB-INF/ibm-web-ext.xmi"AppDeploymentOption.Yes 1}}, true, true, true, C:/Programme/Genuitec/MyEclipse7.0Blue/configuration/org.eclipse.osgi/bundles/15/1/.cp/scriptutil/scriptutil.jar, C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module2Impl.jar;C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module4Impl.jar;C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module8Impl.jar;C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module9Impl.jar;C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module7Impl.jar;C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module5Impl.jar;C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module6Impl.jar;C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/ModuleAImpl.jar;C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module3Impl.jar;C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module1.jar]" C:\Programme\IBM\WebSphere\AppServer\profiles\AppSrv01\installableApps\ExpFailEAR.ear myhostNode01Cell myhostNode01 server1 ExpFailEAR {"ExpFailPCCWeb.war" "ExpFailPCCWeb.war,WEB-INF/web.xml" default_host} {"ExpFailTestWeb.war" "ExpFailTestWeb.war,WEB-INF/web.xml" default_host} {"null" "ExpFailPCCWeb.war,WEB-INF/ibm-web-ext.xmi"AppDeploymentOption.Yes 1} {"null" "ExpFailTestWeb.war,WEB-INF/ibm-web-ext.xmi"AppDeploymentOption.Yes 1} -nopreCompileJSPs -distributeApp -useMetaDataFromBinary -deployejb -appname "ExpFailEAR" -createMBeansForResources -reloadEnabled -reloadInterval 1 -deployws -validateinstall off -noprocessEmbeddedConfig -filepermission .*.dll=755#.*.so=755#.*.a=755#.*.sl=755 -buildVersion Unknown -noallowDispatchRemoteInclude -noallowServiceRemoteInclude -MapWebModToVH {{"ExpFailPCCWeb.war" "ExpFailPCCWeb.war,WEB-INF/web.xml" default_host} {"ExpFailTestWeb.war" "ExpFailTestWeb.war,WEB-INF/web.xml" default_host}} -JSPReloadForWebMod {{"null" "ExpFailPCCWeb.war,WEB-INF/ibm-web-ext.xmi"AppDeploymentOption.Yes 1} {"null" "ExpFailTestWeb.war,WEB-INF/ibm-web-ext.xmi"AppDeploymentOption.Yes 1}} true true true C:/Programme/Genuitec/MyEclipse7.0Blue/configuration/org.eclipse.osgi/bundles/15/1/.cp/scriptutil/scriptutil.jar C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module2Impl.jar;C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module4Impl.jar;C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module8Impl.jar;C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module9Impl.jar;C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module7Impl.jar;C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module5Impl.jar;C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module6Impl.jar;C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/ModuleAImpl.jar;C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module3Impl.jar;C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module1.jar -deployejb ADMA5016I: Die Installation von ExpFailEAR wurde gestartet. ADMA5058I: Die Versionen von Anwendung und Modul werden mit den Versionen der Implementierungsziele verglichen. ADMA5018I: Der Befehl EJBDeploy wird f?r die EAR-Datei (Enterprise Archive) C:\Temp\app3942.ear ausgef?hrt. Starting workbench. framework search path: c:\Programme\IBM\WebSphere\AppServer\deploytool\itp\plugins Creating the project. Deploying jar Module3Impl Implementierungscode wird generiert Deploying jar Module2Impl Implementierungscode wird generiert Deploying jar Module4Impl Implementierungscode wird generiert Deploying jar Module6Impl Implementierungscode wird generiert Deploying jar Module5Impl Implementierungscode wird generiert Deploying jar Module1 Implementierungscode wird generiert Deploying jar ModuleAImpl Implementierungscode wird generiert Deploying jar Module7Impl Implementierungscode wird generiert Deploying jar Module8Impl Implementierungscode wird generiert Deploying jar Module9Impl Implementierungscode wird generiert 17.02.2009 13:26:21 com.ibm.etools.ejbdeploy.logging.Logger logInfo INFO: 0 class files 17.02.2009 13:26:21 com.ibm.etools.ejbdeploy.logging.Logger logInfo INFO: 0 class files RMIC wird aufgerufen. 17.02.2009 13:26:21 com.ibm.etools.ejbdeploy.logging.Logger logInfo RMIC wird aufgerufen. RMIC wird aufgerufen. INFO: 0 class files 17.02.2009 13:26:21 com.ibm.etools.ejbdeploy.logging.Logger logInfo RMIC wird aufgerufen. RMIC wird aufgerufen. RMIC wird aufgerufen. RMIC wird aufgerufen. RMIC wird aufgerufen. INFO: 0 class files 17.02.2009 13:26:21 com.ibm.etools.ejbdeploy.logging.Logger logInfo INFO: 0 class files RMIC wird aufgerufen. RMIC wird aufgerufen. 17.02.2009 13:26:21 com.ibm.etools.ejbdeploy.logging.Logger logInfo INFO: 0 class files Writing output file 17.02.2009 13:26:21 com.ibm.etools.ejbdeploy.logging.Logger logInfo INFO: 0 class files 17.02.2009 13:26:21 com.ibm.etools.ejbdeploy.logging.Logger logInfo INFO: 0 class files 17.02.2009 13:26:21 com.ibm.etools.ejbdeploy.logging.Logger logInfo INFO: 0 class files 17.02.2009 13:26:21 com.ibm.etools.ejbdeploy.logging.Logger logInfo INFO: 0 class files Shutting down workbench. EJBDeploy complete. 0 Errors, 0 Warnings, 0 Informational Messages ADMA5007I: Der Befehl EJBDeploy auf C:\Programme\IBM\WebSphere\AppServer\profiles\AppSrv01\wstemp\wstemp\app_11f843236fc\dpl\dpl_ExpFailEAR.ear ist abgeschlossen. WSWS0041I: Die Implementierungs-Task von Web Services wurde durchgef?hrt. ADMA5005I: Die Anwendung ExpFailEAR ist im Repository von WebSphere Application Server konfiguriert. ADMA5053I: Die Bibliotheksreferenzen f?r das installierte optionale Paket werden erstellt. ADMA5005I: Die Anwendung ExpFailEAR ist im Repository von WebSphere Application Server konfiguriert. ADMA5001I: Die Bin?rdateien der Anwendung werden in C:\Programme\IBM\WebSphere\AppServer\profiles\AppSrv01\wstemp\Script11f8431e17a\workspace\cells\myhostNode01Cell\applications\ExpFailEAR.ear\ExpFailEAR.ear gespeichert. ADMA5005I: Die Anwendung ExpFailEAR ist im Repository von WebSphere Application Server konfiguriert. SECJ0400I: Die Anwendung ExpFailEAR wurde ordnungsgem?? mit den appContextIDForSecurity-Informationen aktualisiert. ADMA5011I: Die Bereinigung des tempor?ren Verzeichnisses f?r die Anwendung ExpFailEAR ist abgeschlossen. ADMA5013I: Die Anwendung ExpFailEAR wurde installiert. TCL_CLASSPATH = TCL_CLASSPATH C:/Programme/Genuitec/MyEclipse7.0Blue/configuration/org.eclipse.osgi/bundles/15/1/.cp/scriptutil/scriptutil.jar Exploding jars: C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module2Impl.jar;C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module4Impl.jar;C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module8Impl.jar;C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module9Impl.jar;C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module7Impl.jar;C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module5Impl.jar;C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module6Impl.jar;C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/ModuleAImpl.jar;C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module3Impl.jar;C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module1.jar Exploding jar file: C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module2Impl.jar Unable to delete jar file: C:\Programme\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\myhostNode01Cell\ExpFailEAR.ear\Module2Impl.jar Trying again in 1 second... Unable to delete jar file: C:\Programme\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\myhostNode01Cell\ExpFailEAR.ear\Module2Impl.jar Trying again in 1 second... Unable to delete jar file: C:\Programme\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\myhostNode01Cell\ExpFailEAR.ear\Module2Impl.jar Trying again in 1 second... Unable to delete and rename jar: C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module2Impl.jar Exploding jar file: C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module4Impl.jar Exploding jar file: C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module8Impl.jar Exploding jar file: C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module9Impl.jar Exploding jar file: C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module7Impl.jar Exploding jar file: C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module5Impl.jar Unable to delete jar file: C:\Programme\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\myhostNode01Cell\ExpFailEAR.ear\Module5Impl.jar Trying again in 1 second... Unable to delete jar file: C:\Programme\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\myhostNode01Cell\ExpFailEAR.ear\Module5Impl.jar Trying again in 1 second... Unable to delete jar file: C:\Programme\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\myhostNode01Cell\ExpFailEAR.ear\Module5Impl.jar Trying again in 1 second... Unable to delete and rename jar: C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module5Impl.jar Exploding jar file: C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module6Impl.jar Exploding jar file: C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/ModuleAImpl.jar Unable to delete jar file: C:\Programme\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\myhostNode01Cell\ExpFailEAR.ear\ModuleAImpl.jar Trying again in 1 second... Unable to delete jar file: C:\Programme\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\myhostNode01Cell\ExpFailEAR.ear\ModuleAImpl.jar Trying again in 1 second... Unable to delete jar file: C:\Programme\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\myhostNode01Cell\ExpFailEAR.ear\ModuleAImpl.jar Trying again in 1 second... Unable to delete and rename jar: C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/ModuleAImpl.jar Exploding jar file: C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module3Impl.jar Exploding jar file: C:/Programme/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/myhostNode01Cell/ExpFailEAR.ear/Module1.jar Starting ExpFailEAR application. WASX7017E: Beim Ausf?hren der Datei "C:\Programme\Genuitec\Common\plugins\com.genuitec.eclipse.blue.websphere61_7.0.0.zmyeclipse70020081206\installEAR.jacl" ist eine Ausnahme eingetreten. Informationen zur Ausnahme: javax.management.MBeanException com.ibm.ws.exception.ConfigurationWarning: Module not found
Riyad KallaMemberMathias,
The log helped quite a bit — it looks like the server is keeping a read-lock on the JAR and in our 3 attempts at deleting it are not working so the deployment is failing… I’ll file this with the dev team and see if there is some way to make this a more robust process.
-
AuthorPosts