Advertisement
Guest User

JPA Exception

a guest
Nov 5th, 2013
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 11.39 KB | None | 0 0
  1. 13:08:32,263 INFO  [org.jboss.modules] (main) JBoss Modules version 1.2.0.Final-redhat-1
  2. 13:08:32,383 INFO  [org.jboss.msc] (main) JBoss MSC version 1.0.4.GA-redhat-1
  3. 13:08:32,426 INFO  [org.jboss.as] (MSC service thread 1-6) JBAS015899: JBoss EAP 6.1.0.GA (AS 7.2.0.Final-redhat-8) starting
  4. 13:08:33,006 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found TestEJB.jar in deployment directory. To trigger deployment create a file called TestEJB.jar.dodeploy
  5. 13:08:33,007 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found TestEAR.ear in deployment directory. To trigger deployment create a file called TestEAR.ear.dodeploy
  6. 13:08:33,007 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found JPATestEAR.ear in deployment directory. To trigger deployment create a file called JPATestEAR.ear.dodeploy
  7. 13:08:33,033 INFO  [org.xnio] (MSC service thread 1-16) XNIO Version 3.0.7.GA-redhat-1
  8. 13:08:33,034 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)
  9. 13:08:33,037 INFO  [org.xnio.nio] (MSC service thread 1-16) XNIO NIO Implementation Version 3.0.7.GA-redhat-1
  10. 13:08:33,043 INFO  [org.jboss.remoting] (MSC service thread 1-16) JBoss Remoting version 3.2.16.GA-redhat-1
  11. 13:08:33,065 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 29) JBAS010280: Activating Infinispan subsystem.
  12. 13:08:33,069 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 37) JBAS011800: Activating Naming Subsystem
  13. 13:08:33,073 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 42) JBAS013171: Activating Security Subsystem
  14. 13:08:33,074 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 46) JBAS015537: Activating WebServices Extension
  15. 13:08:33,080 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 35) JBAS012605: Activated the following JSF Implementations: [main, 1.2]
  16. 13:08:33,091 INFO  [org.jboss.as.security] (MSC service thread 1-4) JBAS013170: Current PicketBox version=4.0.17.Final-redhat-1
  17. 13:08:33,100 INFO  [org.jboss.as.connector.logging] (MSC service thread 1-9) JBAS010408: Starting JCA Subsystem (IronJacamar 1.0.17.Final-redhat-1)
  18. 13:08:33,124 INFO  [org.jboss.as.naming] (MSC service thread 1-4) JBAS011802: Starting Naming Service
  19. 13:08:33,127 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-7) JBAS015400: Bound mail session [java:jboss/mail/Default]
  20. 13:08:33,169 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 25) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
  21. 13:08:33,183 INFO  [org.jboss.ws.common.management] (MSC service thread 1-12) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.1.3.Final-redhat-3
  22. 13:08:33,399 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-8) JBAS015012: Started FileSystemDeploymentService for directory D:\src\91DevCur\idea\jboss-eap-6.1\standalone\deployments
  23. 13:08:33,404 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "TestEAR.ear" (runtime-name: "TestEAR.ear")
  24. 13:08:33,404 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-15) JBAS015876: Starting deployment of "TestEJB.jar" (runtime-name: "TestEJB.jar")
  25. 13:08:33,404 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-10) JBAS015876: Starting deployment of "JPATestEAR.ear" (runtime-name: "JPATestEAR.ear")
  26. 13:08:33,435 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-13) JBAS015876: Starting deployment of "null" (runtime-name: "JPATest.jar")
  27. 13:08:33,443 INFO  [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on 127.0.0.1:4447
  28. 13:08:33,443 INFO  [org.jboss.as.remoting] (MSC service thread 1-14) JBAS017100: Listening on 127.0.0.1:9999
  29. 13:08:33,453 INFO  [org.apache.coyote.http11] (MSC service thread 1-1) JBWEB003001: Coyote HTTP/1.1 initializing on : http-localhost/127.0.0.1:8080
  30. 13:08:33,457 INFO  [org.apache.coyote.http11] (MSC service thread 1-1) JBWEB003000: Coyote HTTP/1.1 starting on: http-localhost/127.0.0.1:8080
  31. 13:08:33,459 INFO  [org.jboss.as.jpa] (MSC service thread 1-6) JBAS011401: Read persistence.xml for testHibernateMaven
  32. 13:08:33,503 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 48) JBAS011402: Starting Persistence Unit Service 'JPATestEAR.ear/JPATest.jar#testHibernateMaven'
  33. 13:08:33,551 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-12) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
  34. 13:08:33,551 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-16) JBAS010400: Bound data source [java:jboss/datasource/local]
  35. 13:08:33,587 INFO  [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 48) HCANN000001: Hibernate Commons Annotations {4.0.1.Final-redhat-2}
  36. 13:08:33,591 INFO  [org.hibernate.Version] (ServerService Thread Pool -- 48) HHH000412: Hibernate Core {4.2.6-SNAPSHOT}
  37. 13:08:33,593 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 48) HHH000206: hibernate.properties not found
  38. 13:08:33,594 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 48) HHH000021: Bytecode provider name : javassist
  39. 13:08:33,607 INFO  [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 48) HHH000204: Processing PersistenceUnitInfo [
  40.     name: testHibernateMaven
  41.     ...]
  42. 13:08:33,651 INFO  [org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl] (ServerService Thread Pool -- 48) HHH000402: Using Hibernate built-in connection pool (not for production use!)
  43. 13:08:33,651 WARN  [org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl] (ServerService Thread Pool -- 48) HHH000148: No JDBC Driver class was specified by property hibernate.connection.driver_class
  44. 13:08:33,651 INFO  [org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl] (ServerService Thread Pool -- 48) HHH000115: Hibernate connection pool size: 20
  45. 13:08:33,652 INFO  [org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl] (ServerService Thread Pool -- 48) HHH000006: Autocommit mode: true
  46. 13:08:33,652 INFO  [org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl] (ServerService Thread Pool -- 48) HHH000401: using driver [null] at URL [jdbc:h2:tcp://localhost/~/test]
  47. 13:08:33,652 INFO  [org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl] (ServerService Thread Pool -- 48) HHH000046: Connection properties: {user=sa, password=****, autocommit=true, release_mode=auto}
  48. 13:08:33,669 WARN  [org.hibernate.engine.jdbc.internal.JdbcServicesImpl] (ServerService Thread Pool -- 48) HHH000342: Could not obtain connection to query metadata : No suitable driver found for jdbc:h2:tcp://localhost/~/test
  49. 13:08:33,674 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 48) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
  50. 13:08:33,679 WARN  [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 48) HHH000431: Unable to determine H2 database version, certain features may not work
  51. 13:08:33,682 INFO  [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 48) HHH000422: Disabling contextual LOB creation as connection was null
  52. 13:08:33,744 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 48) MSC000001: Failed to start service jboss.persistenceunit."JPATestEAR.ear/JPATest.jar#testHibernateMaven": org.jboss.msc.service.StartException in service jboss.persistenceunit."JPATestEAR.ear/JPATest.jar#testHibernateMaven": java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  53.     at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:103) [jboss-as-jpa-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
  54.     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_17]
  55.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_17]
  56.     at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_17]
  57.     at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.0.Final-redhat-1.jar:2.1.0.Final-redhat-1]
  58. Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  59.     at java.util.ArrayList.RangeCheck(ArrayList.java:547) [rt.jar:1.6.0_17]
  60.     at java.util.ArrayList.get(ArrayList.java:322) [rt.jar:1.6.0_17]
  61.     at org.hibernate.cfg.AnnotationBinder.getUniqueIdPropertyFromBaseClass(AnnotationBinder.java:2576)
  62.     at org.hibernate.cfg.AnnotationBinder.isIdClassPkOfTheAssociatedEntity(AnnotationBinder.java:925)
  63.     at org.hibernate.cfg.AnnotationBinder.mapAsIdClass(AnnotationBinder.java:824)
  64.     at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:671)
  65.     at org.hibernate.cfg.Configuration$MetadataSourceQueue.processAnnotatedClassesQueue(Configuration.java:3533)
  66.     at org.hibernate.cfg.Configuration$MetadataSourceQueue.processMetadata(Configuration.java:3487)
  67.     at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1376)
  68.     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1777)
  69.     at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:94)
  70.     at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:920)
  71.     at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904)
  72.     at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:92)
  73.     at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:200) [jboss-as-jpa-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
  74.     at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$600(PersistenceUnitServiceImpl.java:57) [jboss-as-jpa-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
  75.     at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:99) [jboss-as-jpa-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
  76.     ... 4 more
  77.  
  78. 13:08:33,996 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 26) JBAS018559: Deployed "TestEJB.jar" (runtime-name : "TestEJB.jar")
  79. 13:08:33,996 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 26) JBAS018559: Deployed "TestEAR.ear" (runtime-name : "TestEAR.ear")
  80. 13:08:33,997 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 26) JBAS018559: Deployed "JPATestEAR.ear" (runtime-name : "JPATestEAR.ear")
  81. 13:08:33,997 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
  82. JBAS014777:   Services which failed to start:      service jboss.persistenceunit."JPATestEAR.ear/JPATest.jar#testHibernateMaven": org.jboss.msc.service.StartException in service jboss.persistenceunit."JPATestEAR.ear/JPATest.jar#testHibernateMaven": java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  83.  
  84. 13:08:34,064 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management
  85. 13:08:34,065 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
  86. 13:08:34,065 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: JBoss EAP 6.1.0.GA (AS 7.2.0.Final-redhat-8) started (with errors) in 2049ms - Started 209 of 277 services (3 services failed or missing dependencies, 63 services are passive or on-demand)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement