Advertisement
Guest User

Untitled

a guest
Jun 16th, 2010
380
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.19 KB | None | 0 0
  1. SEVERE: javax.persistence.PersistenceException: [PersistenceUnit: XBRLAPPPU] Unable to build EntityManagerFactory
  2. at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:892)
  3. at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:56)
  4. at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:78)
  5. at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:54)
  6. at pl.brag.persistence.PersistenceManager.getFactory(PersistenceManager.java:14)
  7. at pl.brag.xbrl.ReportsManager.<clinit>(ReportsManager.java:65)
  8. at java.lang.Class.forName0(Native Method)
  9. at java.lang.Class.forName(Class.java:169)
  10. at pl.brag.beans.TimerService.<clinit>(TimerService.java:48)
  11. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  12. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  13. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  14. at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  15. at java.lang.Class.newInstance0(Class.java:355)
  16. at java.lang.Class.newInstance(Class.java:308)
  17. at com.sun.ejb.containers.BaseContainer.instantiateOptionalEJBLocalBusinessObjectImpl(BaseContainer.java:3752)
  18. at com.sun.ejb.containers.AbstractSingletonContainer.initializeHome(AbstractSingletonContainer.java:269)
  19. at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:161)
  20. at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:207)
  21. at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:197)
  22. at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:63)
  23. at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:175)
  24. at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:216)
  25. at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:338)
  26. at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
  27. at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
  28. at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
  29. at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
  30. at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
  31. at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
  32. at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
  33. at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
  34. at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
  35. at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
  36. at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
  37. at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
  38. at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
  39. at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
  40. at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
  41. at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
  42. at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
  43. at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
  44. at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
  45. at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
  46. at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
  47. at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
  48. at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
  49. at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
  50. at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
  51. at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
  52. at java.lang.Thread.run(Thread.java:619)
  53. Caused by: org.hibernate.HibernateException: Could not locate TransactionManager
  54. at org.hibernate.transaction.JNDITransactionManagerLookup.getTransactionManager(JNDITransactionManagerLookup.java:60)
  55. at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:395)
  56. at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1385)
  57. at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:954)
  58. at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:883)
  59. ... 50 more
  60. Caused by: javax.naming.NamingException: Lookup failed for 'java:/TransactionManager' in SerialContext [Root exception is javax.naming.NamingException: Invocation exception: Got null ComponentInvocation ]
  61. at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:442)
  62. at javax.naming.InitialContext.lookup(InitialContext.java:392)
  63. at javax.naming.InitialContext.lookup(InitialContext.java:392)
  64. at org.hibernate.transaction.JNDITransactionManagerLookup.getTransactionManager(JNDITransactionManagerLookup.java:57)
  65. ... 54 more
  66. Caused by: javax.naming.NamingException: Invocation exception: Got null ComponentInvocation
  67. at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.getComponentId(GlassfishNamingManagerImpl.java:773)
  68. at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:655)
  69. at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:156)
  70. at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:428)
  71. ... 57 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement