Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SEVERE: javax.persistence.PersistenceException: [PersistenceUnit: XBRLAPPPU] Unable to build EntityManagerFactory
- at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:892)
- at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:56)
- at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:78)
- at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:54)
- at pl.brag.persistence.PersistenceManager.getFactory(PersistenceManager.java:14)
- at pl.brag.xbrl.ReportsManager.<clinit>(ReportsManager.java:65)
- at java.lang.Class.forName0(Native Method)
- at java.lang.Class.forName(Class.java:169)
- at pl.brag.beans.TimerService.<clinit>(TimerService.java:48)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
- at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
- at java.lang.Class.newInstance0(Class.java:355)
- at java.lang.Class.newInstance(Class.java:308)
- at com.sun.ejb.containers.BaseContainer.instantiateOptionalEJBLocalBusinessObjectImpl(BaseContainer.java:3752)
- at com.sun.ejb.containers.AbstractSingletonContainer.initializeHome(AbstractSingletonContainer.java:269)
- at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:161)
- at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:207)
- at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:197)
- at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:63)
- at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:175)
- at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:216)
- at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:338)
- at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
- at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
- at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
- at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
- at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
- at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
- at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
- at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
- at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
- at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
- at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
- at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
- at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
- at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
- at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
- at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
- at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
- at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
- at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
- at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
- at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
- at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
- at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
- at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
- at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
- at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
- at java.lang.Thread.run(Thread.java:619)
- Caused by: org.hibernate.HibernateException: Could not locate TransactionManager
- at org.hibernate.transaction.JNDITransactionManagerLookup.getTransactionManager(JNDITransactionManagerLookup.java:60)
- at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:395)
- at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1385)
- at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:954)
- at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:883)
- ... 50 more
- Caused by: javax.naming.NamingException: Lookup failed for 'java:/TransactionManager' in SerialContext [Root exception is javax.naming.NamingException: Invocation exception: Got null ComponentInvocation ]
- at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:442)
- at javax.naming.InitialContext.lookup(InitialContext.java:392)
- at javax.naming.InitialContext.lookup(InitialContext.java:392)
- at org.hibernate.transaction.JNDITransactionManagerLookup.getTransactionManager(JNDITransactionManagerLookup.java:57)
- ... 54 more
- Caused by: javax.naming.NamingException: Invocation exception: Got null ComponentInvocation
- at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.getComponentId(GlassfishNamingManagerImpl.java:773)
- at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:655)
- at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:156)
- at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:428)
- ... 57 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement