Can an ear in JBoss EAP contain both ejb2 and ejb3 jars?
Issue
- Is it supported in jboss-eap 4.3.0_CP07 to have an
ejb2jar and anejb3jar in the same ear? - There is no xml in the new
ejb3jar and it runs find when added to the deploy directory outside of the ear. -
Getting this error when starting:
--- Incompletely deployed packages --- org.jboss.deployment.DeploymentInfo@3a862061 { url=file:/opt/app/jboss/server/all/deploy/application-1.0-SNAPSHOT.ear } deployer: org.jboss.deployment.EARDeployer@a1c582 status: Deployment FAILED reason: Could not create deployment: file:/opt/app/jboss/server/gam/tmp/deploy/tmp6620205186533087626application-1.0-SNA PSHOT.ear-contents/ejb3-1.0-SNAPSHOT.jar; - nested throwable: (org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser) state: FAILED watch: file:/var/lib/jboss/server/all/deploy/application-1.0-SNAPSHOT.ear altDD: null lastDeployed: 1267821281780 lastModified: 1267821266000 mbeans: jboss.j2ee:ear=application-1.0-SNAPSHOT.ear,jar=ejb3-1.0-SNAPSHOT.jar,name=JndiBootstrapBean,service=EJB3 state: Started -
Unable to deploy the application which consists of
EJB3andEJB2jar files.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 4.x
- 5.x
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.