- This topic has 4 replies, 2 voices, and was last updated 13 years, 7 months ago by
support-swapna.
-
AuthorPosts
-
tom.decsiMemberI recently was tasked to investigate a migration towards MyEclipse at work. Up to now we are using RAD 7, but we would like to have better maven and spring integration in our IDE.
After a few adjustments, I was able to get everything working in MyEclipse except for the hot deployment, one of the key features for which we’d prefer MyEclipse. My project consists of a couple of ‘normal’ java projects, some EJB’s, a web project and all is bundled in the EAR.
All projects are generated by Maven 2, this cannot be changed. All developers will checkout the sources from subversion, each project has nothing but a POM file (no .project, .classpath, etc…) and will setup their workspace by importing the projects after doing a ‘mvn eclipse:myeclipse’ in the project’s root folder. This works like a charm, and all is setup correct in the workspace. When I deploy the maven generated EAR, through the WAS admin console, there’s no problem at all…
However, when we try to deploy it to with the WAS6.1 connector we always receive following error :
——————————————————————————————————————————————–
MyEclipse: deployment START packaged project: test-ear-1.0.0-SNAPSHOT server: websphere61Server#AppSrv01 time: Wed Jun 15 15:19:53 CEST 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: “[test-ear-1.0.0-SNAPSHOT]”
test-ear-1.0.0-SNAPSHOT
WASX7017E: Exception received while running file “C:\Program Files\MyEclipse Blue Edition\Common\plugins\com.genuitec.eclipse.blue.websphere61_9.0.0.me201103012021\uninstallApplication.jacl”; exception information: com.ibm.ws.scripting.ScriptingException: WASX7280E: An application with name “test-ear-1.0.0-SNAPSHOT” does not exist.———————————————————————————————————————————
MyEclipse: deployment END project: test-ear-1.0.0-SNAPSHOT server: websphere61Server#AppSrv01 time: Wed Jun 15 15:20:05 CEST 2011
———————————————————————————————————————————For simplicity, I’ve created a small test project, containing 1 java project, 1 EJB, 1 Web project bundled in the ear. The EJB depends on the Java project, and the Web project depends on the EJB project. Still the same error though. To reproduce the error, do not hesitate to contact me, I can sent the project right through. I could attach it to this post unfortunately.
I don’t understand, I’ve been trying to fix this all day now, and I’m still stuck. It’s a pitty, because it seemed very promising until the deployment, and I thought I could finally kick out the RAD ide which is a pain in the *** because it uses it’s meta-inf and meta info to calculate dependencies while Maven normally generates the META-INF. The’re are workarounds, but these have drawbacks as well..We are a team of 20 developers, and I’m afraid I cannot convince them (nor the management) to switch if the hot deployment isn’t working properly.
So hopefully, somebody has already experienced a similar problem, if so please let me know… Google gives no matches for this problem…
Thank you in advance…
support-swapnaModeratortom.decsi,
Sorry that you ran into this issue.
1) Can you share the Build Id from Help > About MyEclipse Blue Edition > Build Id ? Paste the Build Id here.
2) The logs are all about unsuccessful undeployment. The application has not been successfully deployed to the server, so there is nothing to remove.
3) Can you paste log of deployment process? Right click on the WAS 6.1 under the Servers tab and select ‘View Deployment Log’. Clear the contents of the file and save it.
Now deploy your application and paste the contents of the deployment log here.4) Also attach the server log. Here is an FAQ on how to attach files to the forum:
https://www.genuitec.com/forums/topic/troubleshooting-how-to-upload-attachments-on-forum/
tom.decsiMemberOwkay,
Sorry about the delay.
1) Build id is 9.0-Blue-20110318
2) You’re right, I pasted the wrong logging.
3) Logging is as follows
——————————————————————————————————————————————-
MyEclipse: deployment START packaged project: crm-ear-1.0.0-SNAPSHOT server: websphere61Server#AppSrv01 time: Tue Jul 12 10:43:02 CEST 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\IBM\WebSphere\AppServer\profiles\AppSrv01\installableApps\crm-ear-1.0.0-SNAPSHOT.ear, GTSPROJ-54362Node04Cell, GTSPROJ-54362Node04, server1, crm-ear-1.0.0-SNAPSHOT, {{“crm-web-1.0.0-SNAPSHOT.war” “crm-web-1.0.0-SNAPSHOT.war,WEB-INF/web.xml” default_host} {“labsync-web-1.0.0-SNAPSHOT.war” “labsync-web-1.0.0-SNAPSHOT.war,WEB-INF/web.xml” default_host}}, {{“null” “crm-web-1.0.0-SNAPSHOT.war,WEB-INF/ibm-web-ext.xmi”AppDeploymentOption.Yes 1} {“null” “labsync-web-1.0.0-SNAPSHOT.war,WEB-INF/ibm-web-ext.xmi”AppDeploymentOption.Yes 1}}, false, true, false, C:/Program Files/MyEclipse Blue Edition/MyEclipse Blue Edition 9/configuration/org.eclipse.osgi/bundles/15/1/.cp/scriptutil/scriptutil.jar, C:/Program Files/IBM/WebSphere/AppServer/profiles/AppSrv01/installableApps/crm-ear-1.0.0-SNAPSHOT.ear/crm-business-1.0.0-SNAPSHOT;C:/Program Files/IBM/WebSphere/AppServer/profiles/AppSrv01/installableApps/crm-ear-1.0.0-SNAPSHOT.ear/crm-business-reporting-1.0.0-SNAPSHOT;C:/Program Files/IBM/WebSphere/AppServer/profiles/AppSrv01/installableApps/crm-ear-1.0.0-SNAPSHOT.ear/labsync-business-1.0.0-SNAPSHOT;C:/Program Files/IBM/WebSphere/AppServer/profiles/AppSrv01/installableApps/crm-ear-1.0.0-SNAPSHOT.ear/framework-security-1.0.0-SNAPSHOT, true]”
C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\installableApps\crm-ear-1.0.0-SNAPSHOT.ear
GTSPROJ-54362Node04Cell
GTSPROJ-54362Node04
server1
crm-ear-1.0.0-SNAPSHOT
{“crm-web-1.0.0-SNAPSHOT.war” “crm-web-1.0.0-SNAPSHOT.war,WEB-INF/web.xml” default_host} {“labsync-web-1.0.0-SNAPSHOT.war” “labsync-web-1.0.0-SNAPSHOT.war,WEB-INF/web.xml” default_host}
{“null” “crm-web-1.0.0-SNAPSHOT.war,WEB-INF/ibm-web-ext.xmi”AppDeploymentOption.Yes 1} {“null” “labsync-web-1.0.0-SNAPSHOT.war,WEB-INF/ibm-web-ext.xmi”AppDeploymentOption.Yes 1}
-nopreCompileJSPs -distributeApp -useMetaDataFromBinary -deployejb -appname “crm-ear-1.0.0-SNAPSHOT” -createMBeansForResources -reloadEnabled -reloadInterval 1 -deployws -validateinstall off -processEmbeddedConfig -filepermission .*.dll=755#.*.so=755#.*.a=755#.*.sl=755 -buildVersion Unknown -noallowDispatchRemoteInclude -noallowServiceRemoteInclude -MapWebModToVH {{“crm-web-1.0.0-SNAPSHOT.war” “crm-web-1.0.0-SNAPSHOT.war,WEB-INF/web.xml” default_host} {“labsync-web-1.0.0-SNAPSHOT.war” “labsync-web-1.0.0-SNAPSHOT.war,WEB-INF/web.xml” default_host}} -JSPReloadForWebMod {{“null” “crm-web-1.0.0-SNAPSHOT.war,WEB-INF/ibm-web-ext.xmi”AppDeploymentOption.Yes 1} {“null” “labsync-web-1.0.0-SNAPSHOT.war,WEB-INF/ibm-web-ext.xmi”AppDeploymentOption.Yes 1}}
false
true
false
C:/Program Files/MyEclipse Blue Edition/MyEclipse Blue Edition 9/configuration/org.eclipse.osgi/bundles/15/1/.cp/scriptutil/scriptutil.jar
C:/Program Files/IBM/WebSphere/AppServer/profiles/AppSrv01/installableApps/crm-ear-1.0.0-SNAPSHOT.ear/crm-business-1.0.0-SNAPSHOT;C:/Program Files/IBM/WebSphere/AppServer/profiles/AppSrv01/installableApps/crm-ear-1.0.0-SNAPSHOT.ear/crm-business-reporting-1.0.0-SNAPSHOT;C:/Program Files/IBM/WebSphere/AppServer/profiles/AppSrv01/installableApps/crm-ear-1.0.0-SNAPSHOT.ear/labsync-business-1.0.0-SNAPSHOT;C:/Program Files/IBM/WebSphere/AppServer/profiles/AppSrv01/installableApps/crm-ear-1.0.0-SNAPSHOT.ear/framework-security-1.0.0-SNAPSHOT
-deployejb
-processEmbeddedConfig
WASX7017E: Exception received while running file “C:\Program Files\MyEclipse Blue Edition\Common\plugins\com.genuitec.eclipse.blue.websphere61_9.0.0.me201103012021\installEAR.jacl”; exception information: com.ibm.ws.scripting.ScriptingException: WASX7111E: Cannot find a match for supplied option: “[crm-web-1.0.0-SNAPSHOT.war, crm-web-1.0.0-SNAPSHOT.war,WEB-INF/web.xml, default_host]” for task “MapWebModToVH”——————————————————————————————————————————–
MyEclipse: deployment END project: crm-ear-1.0.0-SNAPSHOT server: websphere61Server#AppSrv01 time: Tue Jul 12 10:43:23 CEST 2011
——————————————————————————————————————————–4) I’m not able to upload attachments. I don’t see any upload form; maybe a permission problem??
Regrads,
Tom
tom.decsiMemberOwkay,
Sorry about the delay.
1) Build id is 9.0-Blue-20110318
2) You’re right, I pasted the wrong logging.
3) Logging is as follows
——————————————————————————————————————————————-
MyEclipse: deployment START packaged project: crm-ear-1.0.0-SNAPSHOT server: websphere61Server#AppSrv01 time: Tue Jul 12 10:43:02 CEST 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\IBM\WebSphere\AppServer\profiles\AppSrv01\installableApps\crm-ear-1.0.0-SNAPSHOT.ear, GTSPROJ-54362Node04Cell, GTSPROJ-54362Node04, server1, crm-ear-1.0.0-SNAPSHOT, {{“crm-web-1.0.0-SNAPSHOT.war” “crm-web-1.0.0-SNAPSHOT.war,WEB-INF/web.xml” default_host} {“labsync-web-1.0.0-SNAPSHOT.war” “labsync-web-1.0.0-SNAPSHOT.war,WEB-INF/web.xml” default_host}}, {{“null” “crm-web-1.0.0-SNAPSHOT.war,WEB-INF/ibm-web-ext.xmi”AppDeploymentOption.Yes 1} {“null” “labsync-web-1.0.0-SNAPSHOT.war,WEB-INF/ibm-web-ext.xmi”AppDeploymentOption.Yes 1}}, false, true, false, C:/Program Files/MyEclipse Blue Edition/MyEclipse Blue Edition 9/configuration/org.eclipse.osgi/bundles/15/1/.cp/scriptutil/scriptutil.jar, C:/Program Files/IBM/WebSphere/AppServer/profiles/AppSrv01/installableApps/crm-ear-1.0.0-SNAPSHOT.ear/crm-business-1.0.0-SNAPSHOT;C:/Program Files/IBM/WebSphere/AppServer/profiles/AppSrv01/installableApps/crm-ear-1.0.0-SNAPSHOT.ear/crm-business-reporting-1.0.0-SNAPSHOT;C:/Program Files/IBM/WebSphere/AppServer/profiles/AppSrv01/installableApps/crm-ear-1.0.0-SNAPSHOT.ear/labsync-business-1.0.0-SNAPSHOT;C:/Program Files/IBM/WebSphere/AppServer/profiles/AppSrv01/installableApps/crm-ear-1.0.0-SNAPSHOT.ear/framework-security-1.0.0-SNAPSHOT, true]”
C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\installableApps\crm-ear-1.0.0-SNAPSHOT.ear
GTSPROJ-54362Node04Cell
GTSPROJ-54362Node04
server1
crm-ear-1.0.0-SNAPSHOT
{“crm-web-1.0.0-SNAPSHOT.war” “crm-web-1.0.0-SNAPSHOT.war,WEB-INF/web.xml” default_host} {“labsync-web-1.0.0-SNAPSHOT.war” “labsync-web-1.0.0-SNAPSHOT.war,WEB-INF/web.xml” default_host}
{“null” “crm-web-1.0.0-SNAPSHOT.war,WEB-INF/ibm-web-ext.xmi”AppDeploymentOption.Yes 1} {“null” “labsync-web-1.0.0-SNAPSHOT.war,WEB-INF/ibm-web-ext.xmi”AppDeploymentOption.Yes 1}
-nopreCompileJSPs -distributeApp -useMetaDataFromBinary -deployejb -appname “crm-ear-1.0.0-SNAPSHOT” -createMBeansForResources -reloadEnabled -reloadInterval 1 -deployws -validateinstall off -processEmbeddedConfig -filepermission .*.dll=755#.*.so=755#.*.a=755#.*.sl=755 -buildVersion Unknown -noallowDispatchRemoteInclude -noallowServiceRemoteInclude -MapWebModToVH {{“crm-web-1.0.0-SNAPSHOT.war” “crm-web-1.0.0-SNAPSHOT.war,WEB-INF/web.xml” default_host} {“labsync-web-1.0.0-SNAPSHOT.war” “labsync-web-1.0.0-SNAPSHOT.war,WEB-INF/web.xml” default_host}} -JSPReloadForWebMod {{“null” “crm-web-1.0.0-SNAPSHOT.war,WEB-INF/ibm-web-ext.xmi”AppDeploymentOption.Yes 1} {“null” “labsync-web-1.0.0-SNAPSHOT.war,WEB-INF/ibm-web-ext.xmi”AppDeploymentOption.Yes 1}}
false
true
false
C:/Program Files/MyEclipse Blue Edition/MyEclipse Blue Edition 9/configuration/org.eclipse.osgi/bundles/15/1/.cp/scriptutil/scriptutil.jar
C:/Program Files/IBM/WebSphere/AppServer/profiles/AppSrv01/installableApps/crm-ear-1.0.0-SNAPSHOT.ear/crm-business-1.0.0-SNAPSHOT;C:/Program Files/IBM/WebSphere/AppServer/profiles/AppSrv01/installableApps/crm-ear-1.0.0-SNAPSHOT.ear/crm-business-reporting-1.0.0-SNAPSHOT;C:/Program Files/IBM/WebSphere/AppServer/profiles/AppSrv01/installableApps/crm-ear-1.0.0-SNAPSHOT.ear/labsync-business-1.0.0-SNAPSHOT;C:/Program Files/IBM/WebSphere/AppServer/profiles/AppSrv01/installableApps/crm-ear-1.0.0-SNAPSHOT.ear/framework-security-1.0.0-SNAPSHOT
-deployejb
-processEmbeddedConfig
WASX7017E: Exception received while running file “C:\Program Files\MyEclipse Blue Edition\Common\plugins\com.genuitec.eclipse.blue.websphere61_9.0.0.me201103012021\installEAR.jacl”; exception information: com.ibm.ws.scripting.ScriptingException: WASX7111E: Cannot find a match for supplied option: “[crm-web-1.0.0-SNAPSHOT.war, crm-web-1.0.0-SNAPSHOT.war,WEB-INF/web.xml, default_host]” for task “MapWebModToVH”——————————————————————————————————————————–
MyEclipse: deployment END project: crm-ear-1.0.0-SNAPSHOT server: websphere61Server#AppSrv01 time: Tue Jul 12 10:43:23 CEST 2011
——————————————————————————————————————————–4) I’m not able to upload attachments. I don’t see any upload form; maybe a permission problem??
Regards,
Tom
support-swapnaModeratortom.decsi,
Thank you for the log details.
1) Can you check for spaces in the web deployment descriptor “display-name” element ?
2) Can you please try to create a simple EAR with one web module and one EJB module in it (just create blank projects from wizards) without dependencies and try to deploy that ?I will also have this one escalated to the dev team to look into it.
Let us know how the deployment works for the simple EAR project.
-
AuthorPosts