[jboss-user] [JBoss Tools (users)] - Eclipse 3.3.2 + JBoss tools 2.0.0GA + JBOSS 4.2 - new SEAM

borner do-not-reply at jboss.com
Fri Mar 14 18:43:13 EDT 2008

I've built a simple shell SEAM project using Eclipse  3.3.2 + JBoss tools 2.0.0GA in accordance with the Seam Dev Tools Reference Guide at http://docs.jboss.org/tools/2.0.0.GA/seam/en/html/create_new_seam.html

I didn't create anything other than what is generated by the SEAM wizard for a new SEAM project. I just tried to deploy to do a quick sanity check.

Deployment fails because the EAR doesn't have the jboss-seam.jar file, even though it is in the EarContent directory generated by the Seam project wizard.

Is there some setting somewhere that I can look at to see where/how the EAR file is actually generated?



Eclipse  3.3.2 + JBoss tools 2.0.0GA + JBOSS 4.2.2 GA. I reinstalled eclipse and jboss tools from scratch and did an update to ensure a 'clean' eclipse environment.

Deploying to JBOSS 4.2 generates the following exception on the JBOSS server:

Could not initialise deployment: file:/E:/servers/jboss-4.2.2.GA/server/default/deploy/GreatRides-ear.ear
org.jboss.deployment.DeploymentException: Failed to find module file: jboss-seam.jar
at org.jboss.deployment.EARDeployer.init(EARDeployer.java:295)
	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)

I have verified that the (project)-ear\EarContent directory does in fact have jboss-seam.jar in it:


When I do a jar -tvf on the generated .ear file, jboss-seam.jar (and the others) are missing:

e:/servers/jboss-4.2.2.GA/server/default/deploy $ jar -tvf GreatRides-ear.ear 
     0 Fri Mar 14 18:15:46 EDT 2008 META-INF/
   106 Fri Mar 14 18:15:44 EDT 2008 META-INF/MANIFEST.MF
  4565 Fri Mar 14 18:15:46 EDT 2008 GreatRides-ejb.jar
4240037 Fri Mar 14 18:15:46 EDT 2008 GreatRides.war
  1238 Fri Mar 14 14:42:12 EDT 2008 META-INF/application.xml
   290 Fri Mar 14 14:42:12 EDT 2008 META-INF/jboss-app.xml
   139 Fri Mar 14 14:42:12 EDT 2008 security.drl

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

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

More information about the jboss-user mailing list