- This topic has 4 replies, 2 voices, and was last updated 13 years, 6 months ago by
support-swapna.
-
AuthorPosts
-
bittersweetryanMemberWhen trying to do a deploy to a local WAS 6.1 (service pack 39) instance. I get an “Undeployment Failure” error message. “xxx could not be redeployed becuase it could not be completely removed in the undeployment phase…” This error happens weather the websphere server is started or stopped.
My machine is a Windows 7 64 bit box and I’ve tried to run MEB under Windows 7, Vista, and XP compatibility modes all with Administrator privileges. I am able to deploy to other servers such as Tomcat without any problem. I’ve also tried both classic and enhanced deployment modes without any success.
If I do a “remove deployment’ and then an “add deployment” the status of the deployment immediately goes to “redeploy” and the application will not open if I do “open deployment location” and when I browse to the deployment location the directory is empty.
I’ve seen this issue raised in a number of places, however I haven’t seen a satisfactory resolution to any of them.
Attachments:
You must be logged in to view attached files.
bittersweetryanMemberHere is an excerpt from my deployment log that is showing an error:
--------------------------------------------------------------------------------------------------------------------------- MyEclipse: deployment START exploded project: CARS server: websphere61Server#AppServer01 time: Fri Aug 05 08:53:47 CDT 2011 --------------------------------------------------------------------------------------------------------------------------- WASX7357I: By request, this scripting client is not connected to any server process. Certain configuration and application operations will be available in local mode. WASX7303I: The following options are passed to the scripting environment and are available as arguments that are stored in the argv variable: "[C:\\Program Files (x86)\\IBM\\WebSphere\\AppServer1\\profiles\\AppSrv01\\installableApps\\CARS.war, ranklam-7Node01Cell, ranklam-7Node01, server1, /CARS, CARS, {{"CARS.war" "CARS.war,WEB-INF/web.xml" default_host}}, {{"null" "CARS.war,WEB-INF/ibm-web-ext.xmi"AppDeploymentOption.Yes 1}}, CARS.war, false]" -contextroot "/CARS" -nopreCompileJSPs -distributeApp -useMetaDataFromBinary -nodeployejb -appname "CARS" -createMBeansForResources -reloadEnabled -reloadInterval 1 -deployws -validateinstall off -noprocessEmbeddedConfig -filepermission .*.dll=755#.*.so=755#.*.a=755#.*.sl=755 -buildVersion Unknown -noallowDispatchRemoteInclude -noallowServiceRemoteInclude -MapWebModToVH {{"CARS.war" "CARS.war,WEB-INF/web.xml" default_host}} -JSPReloadForWebMod {{"null" "CARS.war,WEB-INF/ibm-web-ext.xmi"AppDeploymentOption.Yes 1}} C:\Program Files (x86)\IBM\WebSphere\AppServer1\profiles\AppSrv01\installableApps\CARS.war ranklam-7Node01Cell ranklam-7Node01 server1 /CARS CARS {"CARS.war" "CARS.war,WEB-INF/web.xml" default_host} {"null" "CARS.war,WEB-INF/ibm-web-ext.xmi"AppDeploymentOption.Yes 1} CARS.war false WASX7017E: Exception received while running file "C:\Users\ranklam.IDL\AppData\Local\Genuitec\Common\plugins\com.genuitec.eclipse.blue.websphere61_8.6.1.me200912131330\installWebModule.jacl"; exception information: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: IWAE0022E Exception occurred loading deployment descriptor for module "CARS.war" in EAR file "C:\Users\ranklam.IDL\AppData\Local\Temp\CARS1319a38be39.ear" ---------------------------------------------------------------------------------------------------------------- MyEclipse: deployment END project: CARS server: websphere61Server#AppServer01 time: Fri Aug 05 08:53:59 CDT 2011 ---------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------------------- MyEclipse: deployment START exploded project: CARS server: websphere61Server#AppServer01 time: Fri Aug 05 08:57:48 CDT 2011 --------------------------------------------------------------------------------------------------------------------------- WASX7209I: Connected to process "server1" on node ranklam-7Node01 using SOAP connector; The type of process is: UnManagedProcess WASX7303I: The following options are passed to the scripting environment and are available as arguments that are stored in the argv variable: "[server1, CARS]" server1 CARS WASX7017E: Exception received while running file "C:\Users\ranklam.IDL\AppData\Local\Genuitec\Common\plugins\com.genuitec.eclipse.blue.websphere61_8.6.1.me200912131330\restartApplication.jacl"; exception information: javax.management.MBeanException com.ibm.ws.exception.RuntimeWarning: Application CARS not started ---------------------------------------------------------------------------------------------------------------- MyEclipse: deployment END project: CARS server: websphere61Server#AppServer01 time: Fri Aug 05 08:57:54 CDT 2011 ---------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------------------- MyEclipse: deployment START exploded project: CARS server: websphere61Server#AppServer01 time: Fri Aug 05 08:59:29 CDT 2011 --------------------------------------------------------------------------------------------------------------------------- WASX7357I: By request, this scripting client is not connected to any server process. Certain configuration and application operations will be available in local mode. WASX7303I: The following options are passed to the scripting environment and are available as arguments that are stored in the argv variable: "[CARS]" CARS WASX7017E: Exception received while running file "C:\Users\ranklam.IDL\AppData\Local\Genuitec\Common\plugins\com.genuitec.eclipse.blue.websphere61_8.6.1.me200912131330\uninstallApplication.jacl"; exception information: com.ibm.ws.scripting.ScriptingException: WASX7280E: An application with name "CARS" does not exist. ---------------------------------------------------------------------------------------------------------------- MyEclipse: deployment END project: CARS server: websphere61Server#AppServer01 time: Fri Aug 05 08:59:36 CDT 2011 ---------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------------------- MyEclipse: deployment START exploded project: CARS server: websphere61Server#AppServer01 time: Fri Aug 05 09:00:11 CDT 2011 --------------------------------------------------------------------------------------------------------------------------- WASX7357I: By request, this scripting client is not connected to any server process. Certain configuration and application operations will be available in local mode. WASX7303I: The following options are passed to the scripting environment and are available as arguments that are stored in the argv variable: "[C:\\Program Files (x86)\\IBM\\WebSphere\\AppServer1\\profiles\\AppSrv01\\installableApps\\CARS.war, ranklam-7Node01Cell, ranklam-7Node01, server1, /CARS, CARS, {{"CARS.war" "CARS.war,WEB-INF/web.xml" default_host}}, {{"null" "CARS.war,WEB-INF/ibm-web-ext.xmi"AppDeploymentOption.Yes 1}}, CARS.war, false]" -contextroot "/CARS" -nopreCompileJSPs -distributeApp -useMetaDataFromBinary -nodeployejb -appname "CARS" -createMBeansForResources -reloadEnabled -reloadInterval 1 -deployws -validateinstall off -noprocessEmbeddedConfig -filepermission .*.dll=755#.*.so=755#.*.a=755#.*.sl=755 -buildVersion Unknown -noallowDispatchRemoteInclude -noallowServiceRemoteInclude -MapWebModToVH {{"CARS.war" "CARS.war,WEB-INF/web.xml" default_host}} -JSPReloadForWebMod {{"null" "CARS.war,WEB-INF/ibm-web-ext.xmi"AppDeploymentOption.Yes 1}} C:\Program Files (x86)\IBM\WebSphere\AppServer1\profiles\AppSrv01\installableApps\CARS.war ranklam-7Node01Cell ranklam-7Node01 server1 /CARS CARS {"CARS.war" "CARS.war,WEB-INF/web.xml" default_host} {"null" "CARS.war,WEB-INF/ibm-web-ext.xmi"AppDeploymentOption.Yes 1} CARS.war false WASX7017E: Exception received while running file "C:\Users\ranklam.IDL\AppData\Local\Genuitec\Common\plugins\com.genuitec.eclipse.blue.websphere61_8.6.1.me200912131330\installWebModule.jacl"; exception information: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: IWAE0022E Exception occurred loading deployment descriptor for module "CARS.war" in EAR file "C:\Users\ranklam.IDL\AppData\Local\Temp\CARS1319a3e9bd6.ear" ---------------------------------------------------------------------------------------------------------------- MyEclipse: deployment END project: CARS server: websphere61Server#AppServer01 time: Fri Aug 05 09:00:23 CDT 2011 ----------------------------------------------------------------------------------------------------------------
support-swapnaModeratorbittersweetryan ,
I could not replicate the issue at my end.
1) The application is not deployed due to issues with deployment descriptor. So an attempt to undeploy it throws error as it is not deployed successfully.
2) Can you recheck your web.xml for the <display-name> tag’s order ? The <display-name> tag should come before the <servlet-name> tag.
Ex : <servlet>
<display-name>test_displayname</display-name>
<servlet-name>test_name</servlet-name>
</servlet>3) In case you have a filter, or filter-mapping in your WAR’s deployment descriptor (web.xml), that would cause this problem. Also check for duplicate <welcome-file-list> element.
4) Take a look at this thread :
http://dev-answers.blogspot.com/2006/07/cant-deploy-war-on-websphere-6.htmlI also suggest you cross post this to the WAS App Server forums too for better support.
Let me know how it works for you.
bittersweetryanMemberSwapna,
Yes! This did help, I looked at my web.xml and noticed that there were two welcome-file entries. Turns out that a SVN sync added a few items to my web.xml that shouldn’t have been there.
support-swapnaModeratorbittersweetryan ,
Glad that it is working.
Do let us know if you have any other issues. -
AuthorPosts