1. java
  2. android
  3. c#
  4. .net
  5. javascript
  6. php
  7. jquery
  8. html
  9. sql

Erro ao subir o servidor

Galera, estou tentando subir um projeto que utiliza o db2 no jboss 6.1 ao subir o projeto ele retorna esse erro:

10:05:09,572 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 63) HHH000400: Using dialect: org.hibernate.dialect.DB2Dialect 10:05:09,582 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 63) HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4 10:05:09,596 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 63) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory 10:05:09,601 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 63) HHH000397: Using ASTQueryTranslatorFactory 10:05:09,648 INFO [org.hibernate.validator.internal.util.Version] (ServerService Thread Pool -- 63) HV000001: Hibernate Validator 4.3.1.Final-redhat-1 10:05:10,133 INFO [org.hibernate.tool.hbm2ddl.SchemaValidator] (ServerService Thread Pool -- 63) HHH000229: Running schema validator 10:05:10,134 INFO [org.hibernate.tool.hbm2ddl.SchemaValidator] (ServerService Thread Pool -- 63) HHH000102: Fetching database metadata 10:05:10,188 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 63) MSC000001: Failed to start service jboss.persistenceunit."sicfa-ear.ear/sicfa-ejb.jar#primary": org.jboss.msc.service.StartException in service jboss.persistenceunit."sicfa-ear.ear/sicfa-ejb.jar#primary": java.lang.NullPointerException at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:103) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_23] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_23] at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_23] at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.0.Final-redhat-1.jar:2.1.0.Final-redhat-1] Caused by: java.lang.NullPointerException at org.hibernate.tool.hbm2ddl.DatabaseMetadata.initSequences(DatabaseMetadata.java:156) at org.hibernate.tool.hbm2ddl.DatabaseMetadata.(DatabaseMetadata.java:70) at org.hibernate.tool.hbm2ddl.SchemaValidator.validate(SchemaValidator.java:148) at org.hibernate.internal.SessionFactoryImpl.(SessionFactoryImpl.java:508) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1750) at org.hibernate.ejb.EntityManagerFactoryImpl.(EntityManagerFactoryImpl.java:94) at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:920) at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904) at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:92) at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:200) at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$600(PersistenceUnitServiceImpl.java:57) at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:99) ... 4 more

10:05:11,400 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 64) ISPN000094: Received new cluster view: [node2/ejb|0] [node2/ejb] 10:05:11,400 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 65) ISPN000094: Received new cluster view: [node2/web|0] [node2/web] 10:05:11,443 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 64) ISPN000079: Cache local address is node2/ejb, physical addresses are [127.0.0.1:56200] 10:05:11,446 INFO [org.infinispan.factories.GlobalComponentRegistry] (ServerService Thread Pool -- 64) ISPN000128: Infinispan version: Infinispan 'Delirium' 5.2.6.Final 10:05:11,468 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 65) ISPN000079: Cache local address is node2/web, physical addresses are [127.0.0.1:56200] 10:05:11,495 INFO [org.infinispan.factories.TransactionManagerFactory] (ServerService Thread Pool -- 65) ISPN000161: Using a batchMode transaction manager 10:05:11,495 INFO [org.infinispan.factories.TransactionManagerFactory] (ServerService Thread Pool -- 66) ISPN000161: Using a batchMode transaction manager 10:05:11,496 INFO [org.infinispan.factories.TransactionManagerFactory] (ServerService Thread Pool -- 62) ISPN000161: Using a batchMode transaction manager 10:05:11,495 INFO [org.infinispan.factories.TransactionManagerFactory] (ServerService Thread Pool -- 64) ISPN000161: Using a batchMode transaction manager 10:05:11,662 INFO [org.infinispan.jmx.CacheJmxRegistration] (ServerService Thread Pool -- 64) ISPN000031: MBeans were successfully registered to the platform MBean server. 10:05:11,670 INFO [org.infinispan.jmx.CacheJmxRegistration] (ServerService Thread Pool -- 66) ISPN000031: MBeans were successfully registered to the platform MBean server. 10:05:11,671 INFO [org.infinispan.jmx.CacheJmxRegistration] (ServerService Thread Pool -- 62) ISPN000031: MBeans were successfully registered to the platform MBean server. 10:05:11,672 INFO [org.infinispan.jmx.CacheJmxRegistration] (ServerService Thread Pool -- 65) ISPN000031: MBeans were successfully registered to the platform MBean server. 10:05:11,676 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 65) JBAS010281: Cache repl inicializado a partir do recipiente web 10:05:11,676 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 62) JBAS010281: Cache repl inicializado a partir do recipiente ejb 10:05:11,676 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 66) JBAS010281: Cache default-host/sicfa-web inicializado a partir do recipiente web 10:05:11,678 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 64) JBAS010281: Cache remote-connector-client-mappings inicializado a partir do recipiente ejb 10:05:11,690 INFO [org.jboss.as.clustering] (MSC service thread 1-7) JBAS010238: O número de membroos do clusyer: 1 10:05:11,690 INFO [org.jboss.as.clustering] (MSC service thread 1-4) JBAS010238: O número de membroos do clusyer: 1 10:05:11,988 INFO [org.jboss.as.server] (ServerService Thread Pool -- 34) JBAS018559: Implantado "sicfa-ear.ear" (runtime-name: "sicfa-ear.ear") 10:05:11,990 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Relatório de status de serviço JBAS014777: Serviços que falham na inicialização: service jboss.persistenceunit."sicfa-ear.ear/sicfa-ejb.jar#primary": org.jboss.msc.service.StartException in service jboss.persistenceunit."sicfa-ear.ear/sicfa-ejb.jar#primary": java.lang.NullPointerException

10:05:12,121 INFO [org.jboss.as] (Controller Boot Thread) JBAS015961: A interface do gerenciamento ouvindo no http://127.0.0.1:10990/management 10:05:12,122 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: O console de administração ouvindo no http://127.0.0.1:10990 10:05:12,122 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: JBoss EAP 6.1.0.GA (AS 7.2.0.Final-redhat-8) iniciado (com erros) em 9647ms - Iniciado 389 de serviços 570 (47 serviços falharam ou faltam dependência, os serviços 130 são passivos ou em demanda)

alguém sabe o que pode ser?

datasource:

jdbc:db2://host:porta/banco DB2JDBCDriver TRANSACTION_READ_COMMITTED user password SELECT CURRENT TIMESTAMP AS TEST FROM SYSIBM.SYSDUMMY1 false false false
  1. Você vai ver essas setas em qualquer página de pergunta. Com elas, você pode dizer se uma pergunta ou uma resposta foram relevantes ou não.
  2. Edite sua pergunta ou resposta caso queira alterar ou adicionar detalhes.
  3. Caso haja alguma dúvida sobre a pergunta, adicione um comentário. O espaço de respostas deve ser utilizado apenas para responder a pergunta.
  4. Se o autor da pergunta marcar uma resposta como solucionada, esta marca aparecerá.
  5. Clique aqui para mais detalhes sobre o funcionamento do GUJ!

1 resposta

Não é a resposta que estava procurando? Procure outras perguntas com as tags jboss bdd ou faça a sua própria pergunta.