MyEclipse: Can't find application.xml in deployment on WAS 7 yaniv_illouz - Apr 19, 2012 - 02:44 PM Post subject: Can't find application.xml in deployment on WAS 7
Hello
We work myEclpse 8.6 (installation details attached bellow)
The test environment is Websphere application server 7.0.0.11
Then we make deployment on the stopped server we get deployment error (the log is bellow)
It says that application .xml is not found but it is in the project and SERVICE_TESTER_EAR.ear that created as result of deployment is correct.
Then I deploy it by Admin console of WAS there are no problems and application works correctly.
The Websphere deployment log is :
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:\IBM\SDP\runtimes\base_v7\profiles\AppSrv01\installableApps\SERVICE_TESTER_EAR.ear, michael-xpNode05Cell, michael-xpNode05, server1, SERVICE_TESTER_EAR, {{"SERVICE_TESTER_WEB.war" "SERVICE_TESTER_WEB.war,WEB-INF/web.xml" default_host}}, {{.* .* AppDeploymentOption.Yes 1}}, false, true, false, C:/MyEclipseBlueEdition8.6/configuration/org.eclipse.osgi/bundles/12/1/.cp/scriptutil/scriptutil.jar, C:/IBM/SDP/runtimes/base_v7/profiles/AppSrv01/installableApps/SERVICE_TESTER_EAR.ear/SERVICE_TESTER_EJB.jar, 6.0]"
C:\IBM\SDP\runtimes\base_v7\profiles\AppSrv01\installableApps\SERVICE_TESTER_EAR.ear
michael-xpNode05Cell
michael-xpNode05
server1
SERVICE_TESTER_EAR
{"SERVICE_TESTER_WEB.war" "SERVICE_TESTER_WEB.war,WEB-INF/web.xml" default_host}
{.* .* AppDeploymentOption.Yes 1}
-nopreCompileJSPs -distributeApp -useMetaDataFromBinary -deployejb -deployejb.complianceLevel {6.0} -appname "SERVICE_TESTER_EAR" -createMBeansForResources -reloadEnabled -reloadInterval 1 -deployws -validateinstall off -noprocessEmbeddedConfig -filepermission .*.dll=755#.*.so=755#.*.a=755#.*.sl=755 -buildVersion Unknown -noallowDispatchRemoteInclude -noallowServiceRemoteInclude -MapWebModToVH {{"SERVICE_TESTER_WEB.war" "SERVICE_TESTER_WEB.war,WEB-INF/web.xml" default_host}} -JSPReloadForWebMod {{.* .* AppDeploymentOption.Yes 1}}
false
true
false
C:/MyEclipseBlueEdition8.6/configuration/org.eclipse.osgi/bundles/12/1/.cp/scriptutil/scriptutil.jar
C:/IBM/SDP/runtimes/base_v7/profiles/AppSrv01/installableApps/SERVICE_TESTER_EAR.ear/SERVICE_TESTER_EJB.jar
-deployejb -deployejb.complianceLevel {6.0}
6.0
ADMA5016I: Installation of SERVICE_TESTER_EAR started.
ADMA5058I: Application and module versions are validated with versions of deployment targets.
ADMA5018I: The EJBDeploy program is running on file C:\Documents and Settings\d614344\Local Settings\Temp\app5109828276060128873.ear.
Starting workbench.
EJB Deploy configuration directory: c:\IBM\SDP\runtimes\base_v7\deploytool\itp\configuration/
framework search path: c:\IBM\SDP\runtimes\base_v7\deploytool\itp\plugins
build: RAD755-I20091202_2257
Creating the project.
Writing output file
Shutting down workbench.
EJBDeploy complete.
0 Errors, 0 Warnings, 0 Informational Messages
ADMA5007I: The EJBDeploy program completed on file C:\Documents and Settings\d614344\Local Settings\Temp\app5109828276060128873.ear
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.OpenFailureException: IWAE0006E Archive is not a valid EAR File because the deployment descriptor can not be found (case sensitive): META-INF/application.xml
IWAE0006E Archive is not a valid EAR File because the deployment descriptor can not be found (case sensitive): META-INF/application.xml
at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.CommonarchiveFactoryImpl.openSpecificArchive(CommonarchiveFactoryImpl.java:1525)
at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.CommonarchiveFactoryImpl.openEARFile(CommonarchiveFactoryImpl.java:1209)
at com.ibm.etools.commonarchive.impl.CommonarchiveFactoryImpl.openEARFile(CommonarchiveFactoryImpl.java:612)
at com.ibm.ws.management.application.client.AppInstallHelper.getArchive(AppInstallHelper.java:284)
at com.ibm.ws.management.application.client.AppInstallHelper.getArchive(AppInstallHelper.java:188)
at com.ibm.ws.management.application.ArchiveSchedulerImpl.getArchive(ArchiveSchedulerImpl.java:218)
at com.ibm.ws.management.application.InstallSchedulerImpl.getEarFile(InstallSchedulerImpl.java:126)
at com.ibm.ws.webservices.combined.deploy.WSDeployTask.performTask(WSDeployTask.java:101)
at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:285)
at java.lang.Thread.run(Thread.java:736)
ADMA5011I: The cleanup of the temp directory for application SERVICE_TESTER_EAR is complete.
ADMA5014E: The installation of application SERVICE_TESTER_EAR failed.
WASX7017E: Exception received while running file "C:\MyEclipseBlueEdition8.6\Common\plugins\com.genuitec.eclipse.blue.websphere7_8.6.0.me201007292038\installEAR.jacl"; exception information: com.ibm.ws.scripting.ScriptingException: WASX7132E: Application install for C:\IBM\SDP\runtimes\base_v7\profiles\AppSrv01\installableApps\SERVICE_TESTER_EAR.ear failed: see previous messages for details.
Installation details are:
*** Date:
16:10:20 IDT 19/04/2011
** System properties:
OS=WindowsXP
OS version=5.1.0
Java version=1.6.0_13
*** MyEclipse details:
MyEclipse Blue Edition
Version: 8.6 Blue
Build id: 8.6-Blue-20100723
1. Is the project you are trying to deploy created in MyEclipse or in any other IDE and imported to MyEclipse?
2. If its created in another IDE, did you enhance the project to work with MyEclipse after importing to MyEclipse ?
3. Can you clarify if you are seeing this issue only for this particular project ?
4. We have released latest version 10.1 which has significant improvements from 8.6. I suggest you install MyEclipse Blue 10.1 along side the 8.6 version. The license you hold for 8.6 is valid for 10.1 too as our licenses are time based and not version based.
Alternatively you can use Pulse to install ME Blue 10.1. Here is the FAQ to install using Pulse. The tutorial is based on earlier version of MyEclipse. Select Eclipse 3.7 -Indigo and MyEclipse Blue 10.1 and follow the FAQ.
http://www.myeclipseide.com/PNphpBB2-viewtopic-t-25976.html
5. Once you have installed ME Blue 10.1, import the project,enhance it if its created in another IDE, and try deploying to WAS 7.
Let us know how it works for you.yaniv_illouz - Apr 23, 2012 - 07:10 AM Post subject: The solution is found
Hello
Thank you for your help
I've found the problem
Our Ear project contains directory "lib" that was filled with jars file by Ant script
We have to make ear file with our constrains for deployment on server.
When I clear the "lib" directory the deployment from MyEclipse runs without the problemsupport-swapna - Apr 23, 2012 - 07:45 AM Post subject:
yaniv_illouz ,
Glad that you got it working.
Do let us know if you see any issues.