Ocorre erro ao fazer deploy no jboss6. Segue persistence.xml.
<?xml version=“1.0” encoding=“UTF-8”?>
<persistence version=“2.0” xmlns=“http://java.sun.com/xml/ns/persistence” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=“http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd”>
<persistence-unit name=“jpateste” transaction-type=“RESOURCE_LOCAL”>
<non-jta-data-source>jpateste</non-jta-data-source>
<class>blog.Categoria</class>
<class>blog.Blog</class>
<properties>
<property name="javax.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/blog"/>
<property name="javax.persistence.jdbc.user" value="root"/>
<property name="javax.persistence.jdbc.password" value="teste"/>
<property name="javax.persistence.jdbc.driver" value="com.mysql.jdbc.Driver"/>
<property name="eclipselink.logging.level" value="ALL"/>
<property name="eclipselink.ddl-generation" value="none"/>
</properties>
</persistence-unit>
</persistence>
Segue exceção:
Failed to create Resource teste.war - cause: java.lang.Exception:Failed to start deployment [vfs:///home/usuario/Documentos/jboss-6.0.0.Final/server/default/deploy/teste.war] during deployment of ‘teste.war’ - cause: java.lang.RuntimeException:org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): DEPLOYMENTS MISSING DEPENDENCIES: Deployment “persistence.unit:unitName=teste.war#jpateste” is missing the following dependencies: Dependency “jboss.jca:name=jpateste,service=DataSourceBinding” (should be in state “Create”, but is actually in state “** NOT FOUND Depends on ‘jboss.jca:name=jpateste,service=DataSourceBinding’ ") DEPLOYMENTS IN ERROR: Deployment “jboss.jca:name=jpateste,service=DataSourceBinding” is in error due to the following reason(s): ** NOT FOUND Depends on ‘jboss.jca:name=jpateste,service=DataSourceBinding’ ** -> org.jboss.deployers.client.spi.IncompleteDeploymentException:Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): DEPLOYMENTS MISSING DEPENDENCIES: Deployment “persistence.unit:unitName=teste.war#jpateste” is missing the following dependencies: Dependency “jboss.jca:name=jpateste,service=DataSourceBinding” (should be in state “Create”, but is actually in state " NOT FOUND Depends on ‘jboss.jca:name=jpateste,service=DataSourceBinding’ **”) DEPLOYMENTS IN ERROR: Deployment “jboss.jca:name=jpateste,service=DataSourceBinding” is in error due to the following reason(s): ** NOT FOUND Depends on ‘jboss.jca:name=jpateste,service=DataSourceBinding’ **