[jboss-user] [EJB 3.0] - Bad EAR generated by Eclipse?

dan jboss do-not-reply at jboss.com
Thu Sep 11 14:06:07 EDT 2008


I am using Eclipse 3.4.0 to generate an EAR for a jboss-4.2.3.GA installation. It is a very simple (my first) application and everything seems to be in place as expected from an ear except for the application.xml file. I am getting the following error on the server:

19:53:34,297 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
19:53:34,329 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
19:53:34,342 INFO  [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)] Started in 29s:708ms
17:32:08,053 INFO  [EARDeployer] Init J2EE application: file:/C:/jboss-4.2.3.GA/server/jms/deploy/myEnterpriseProject.ear
17:32:08,485 ERROR [MainDeployer] Could not initialise deployment: file:/C:/jboss-4.2.3.GA/server/jms/deploy/myEnterpriseProject.ear

org.jboss.deployment.DeploymentException: No META-INF/application.xml found
       at org.jboss.deployment.EARDeployer.init(EARDeployer.java:146)
       at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
       at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)

which seems to be justified since the directory structure I see in the ear file is the following:

META-INF/MANIFEST.MF
myEjbProject.jar
myEjbProjectClient.jar
myDynamicWebProject.war

What am I missing? Why isn't the application.xml file generated. I guess I can generate it manually but that's not the point. Can anybody help please? 
I know this question should belong to an Eclipse newsgroup but I couldn't get any response there.
 
Thanks.

Dan

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175940#4175940

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175940



More information about the jboss-user mailing list