Problems with JBoss 7 + SQL Server
cesarpizolato Feb 1, 2012 7:18 PMHey guys, this is my first post and i need some help... and... sorry for my bad english (:
I'm trying to deploy an EAR, but i got this "error":
22:10:34,071 INFO [org.jboss.jpa] (MSC service thread 1-5) starting Persistence Unit Service 'TAXI.ear/TAXIWeb.war#SITE_WEB' 22:10:34,144 INFO [org.hibernate.annotations.common.Version] (MSC service thread 1-5) HCANN000001: Hibernate Commons Annotations {4.0.0.CR2} 22:10:34,150 INFO [org.hibernate.Version] (MSC service thread 1-5) HHH00412:Hibernate Core {4.0.0.CR2} 22:10:34,152 INFO [org.hibernate.cfg.Environment] (MSC service thread 1-5) HHH00206:hibernate.properties not found 22:10:34,153 INFO [org.hibernate.cfg.Environment] (MSC service thread 1-5) HHH00021:Bytecode provider name : javassist 22:10:34,166 INFO [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-5) HHH00204:Processing PersistenceUnitInfo [ name: SITE_WEB ...] 22:10:34,376 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (MSC service thread 1-5) HHH00130:Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider 22:11:33,773 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) Did not receive a response to the deployment operation within the allowed timeout period [60 seconds]. Check the server configurationfile and the server logs to find more about the status of the deployment. 22:11:33,773 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployment of "TAXI.ear" was rolled back with failure message Operation cancelled
Someone can help me ? I'm using JBoss 7.0.2 Final.
Here is my WEB/Java Resources/src/META-INF/persistence.xml.
<persistence 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" version="2.0"> <persistence-unit name="SITE_WEB" transaction-type="JTA"> <provider>org.hibernate.ejb.HibernatePersistence</provider> <jta-data-source>java:/SITE_TAXI</jta-data-source> <properties> <property name="hibernate.show_sql" value="false" /> <property name="hibernate.format_sql" value="false" /> <property name="hibernate.dialect" value="org.hibernate.dialect.SQLServerDialect" /> <property name="hibernate.cache.use_second_level_cache" value="false" /> <property name="hibernate.cache.use_query_cache" value="false" /> </properties> </persistence-unit> </persistence>
Thanks