aspose file tools*
The moose likes JSF and the fly likes Error in deploy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Error in deploy" Watch "Error in deploy" New topic
Author

Error in deploy

evaldo pinto junior
Greenhorn

Joined: Feb 09, 2011
Posts: 12
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

Joined: Jun 25, 2001
Posts: 16145
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Error in deploy