Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error in deploy

 
evaldo pinto junior
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am with the next mistake in the jboss 6
Failed to create Resource login.war - cause: java.lang.Exception:Failed to start deployment [vfs:///home/usuario/Documentos/jboss-6.0.0.Final/server/default/deploy/login.war] during deployment of 'login.war' - cause: java.lang.RuntimeExceptionrg.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): DEPLOYMENTS IN ERROR: Deployment "persistence.unit:unitName=login.war#login" is in error due to the following reason(s): java.lang.RuntimeException: Specification violation [EJB3 JPA 6.2.1.2] - You have not defined a jta-data-source for a JTA enabled persistence context named: login -> org.jboss.deployers.client.spi.IncompleteDeploymentException:Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): DEPLOYMENTS IN ERROR: Deployment "persistence.unit:unitName=login.war#login" is in error due to the following reason(s): java.lang.RuntimeException: Specification violation [EJB3 JPA 6.2.1.2] - You have not defined a jta-data-source for a JTA enabled persistence context named: login
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18094
48
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is not a JSF problem.

You didn't define a datasource to connect the webapp the its database. In JBoss, that's done with a separate datasource configuration file.

A better place to ask this question would be the JBoss forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic