I am trying to create and deploy a very simple EJB3 project to WebSphere 6.1 using MyEclipse Blue, and an getting a failure.
Here is what I am doing:
1. Create a brand new workspace
2. Create a WebSphere 6.1 connector
3. Create a new Enterprise Application Project “FooBar”
Select J2EE Specification Level: Java EE 5.0
Select new EJB moodule project
Uncheck Persistence Configuration: Add support for Entity beans
4. Create a new package under FooBarEJB/src “com.foobar”
5. Create new EJB3 session bean “FooBarBean” in package “com.foobar”
Check Create Interface: Local
6. Add method “public void foobar() {}” to FooBarBean.java
7. Add method “public void foobar();” to FooBarBeanLocal.java.
8. Save all
9. Add deployment to WebSphere 6.1 server.
Select project “FooBar”
Leave Exploded Archive Checked
Deployment fails. The following message is at the end of the deployment log:
WASX7017E: Exception received while running file “C:/Program Files/MyEclipse 6.1 Blue/myeclipse/eclipse/plugins/com.genuitec.eclipse.blue.websphere61_6.1.0.zmyeclipse610200803/installEAR_EJB3.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 META-INF/application.xml for module “FooBarEJB.jar” in EAR file “C:\Documents and Settings\Ralph Harnden\Local Settings\Temp\app23428.ear”
Any ideas how I can get beying this problem?
Ralph Harnden