java - EJB + JBoss doesn't start -
i'm working on project ejb, hibernate , jboss, got problem on jboss startup. jboss found datasource stops here:
15:42:14,035 info [entitybinder] bind entity br.com.sankhya.teste.model.entities.contatocliente on table contato_cliente 15:42:14,201 info [connectionproviderfactory] initializing connection provider: org.hibernate.ejb.connection.injecteddatasourceconnectionprovider 15:42:14,209 info [injecteddatasourceconnectionprovider] using provided datasource
i put timeout 1000 seconds , jboss doesn't start. full log , code:
15:42:13,277 info [a] bound jndi name: queue/a 15:42:13,278 info [b] bound jndi name: queue/b 15:42:13,279 info [c] bound jndi name: queue/c 15:42:13,279 info [d] bound jndi name: queue/d 15:42:13,280 info [ex] bound jndi name: queue/ex 15:42:13,293 info [testtopic] bound jndi name: topic/testtopic 15:42:13,294 info [securedtopic] bound jndi name: topic/securedtopic 15:42:13,295 info [testdurabletopic] bound jndi name: topic/testdurabletopic 15:42:13,297 info [testqueue] bound jndi name: queue/testqueue 15:42:13,328 info [uilserverilservice] jbossmq uil service available @ : /127.0.0.1:8093 15:42:13,354 info [dlq] bound jndi name: queue/dlq 15:42:13,432 info [connectionfactorybindingservice] bound connectionmanager 'jboss.jca:service=connectionfactorybinding,name=jmsxa' jndi name 'java:jmsxa' 15:42:13,467 info [connectionfactorybindingservice] bound connectionmanager 'jboss.jca:service=datasourcebinding,name=testeds' jndi name 'java:testeds' 15:42:13,667 info [jmxkernelabstraction] creating wrapper delegate for: org.jboss.ejb3.entity.persistenceunitdeployment 15:42:13,671 info [jmxkernelabstraction] installing mbean: persistence.units:jar=clientesmodel.jar,unitname=clientes dependencies: 15:42:13,671 info [jmxkernelabstraction] jboss.jca:name=testeds,service=datasourcebinding 15:42:13,672 info [persistenceunitdeployment] starting persistence unit persistence.units:jar=clientesmodel.jar,unitname=clientes 15:42:13,695 info [version] hibernate entitymanager 3.2.1.ga 15:42:13,712 info [version] hibernate annotations 3.2.1.ga 15:42:13,720 info [environment] hibernate 3.2.4.sp1 15:42:13,725 info [environment] hibernate.properties not found 15:42:13,726 info [environment] bytecode provider name : javassist 15:42:13,731 info [environment] using jdk 1.4 java.sql.timestamp handling 15:42:13,855 info [ejb3configuration] found ejb3 entity bean: br.com.sankhya.teste.model.entities.cliente 15:42:13,855 info [ejb3configuration] found ejb3 entity bean: br.com.sankhya.teste.model.entities.contatocliente 15:42:13,855 info [ejb3configuration] found ejb3 @embeddable: br.com.sankhya.teste.model.entities.contatoclientepk 15:42:13,877 info [configuration] reading mappings resource : meta-inf/orm.xml 15:42:13,879 info [ejb3configuration] [persistenceunit: clientes] no meta-inf/orm.xml found 15:42:13,934 info [annotationbinder] binding entity annotated class: br.com.sankhya.teste.model.entities.cliente 15:42:13,988 info [entitybinder] bind entity br.com.sankhya.teste.model.entities.cliente on table cliente 15:42:14,035 info [annotationbinder] binding entity annotated class: br.com.sankhya.teste.model.entities.contatocliente 15:42:14,035 info [entitybinder] bind entity br.com.sankhya.teste.model.entities.contatocliente on table contato_cliente 15:42:14,201 info [connectionproviderfactory] initializing connection provider: org.hibernate.ejb.connection.injecteddatasourceconnectionprovider 15:42:14,209 info [injecteddatasourceconnectionprovider] using provided datasource
persistence unit
<?xml version="1.0" encoding="utf-8"?> <persistence version="1.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_1_0.xsd"> <persistence-unit name="clientes" transaction-type="jta"> <jta-data-source>java:testeds</jta-data-source> <properties> <property name="hibernate.dialect" value="org.hibernate.dialect.mysqldialect" /> </properties> </persistence-unit> </persistence>
datasource
<?xml version="1.0" encoding="utf-8"?> <datasources> <local-tx-datasource> <jndi-name>testeds</jndi-name> <connection-url>jdbc:mysql://localhost:8080/prog_test_db</connection-url> <driver-class>com.mysql.jdbc.driver</driver-class> <user-name>root</user-name> <password>sissis</password> <min-pool-size>5</min-pool-size> <max-pool-size>20</max-pool-size> <idle-timeout-minutes>5</idle-timeout-minutes> <exception-sorter-class-name>com.mysql.jdbc.integration.jboss.extendedmysqlexceptionsorter</exception-sorter-class-name> <valid-connection-checker-class-name>com.mysql.jdbc.integration.jboss.mysqlvalidconnectionchecker</valid-connection-checker-class-name> <transaction-isolation>transaction_read_committed</transaction-isolation> </local-tx-datasource> </datasources>
could me ?
Comments
Post a Comment