javax.naming.NamingException: Cannot create resource instance

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via jboss.org by Unknown author, 1 year ago
via Atlassian JIRA by Gili, 1 year ago
Cannot create resource instance
via Atlassian JIRA by Gili, 1 year ago
Cannot create resource instance
javax.naming.NamingException: Cannot create resource instance
at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
at org.apache.naming.SelectorContext.lookup(SelectorContext.java:152)
at javax.naming.InitialContext.lookup(InitialContext.java:411)
at org.hibernate.transaction.JTATransactionFactory.getUserTransaction(JTATransactionFactory.java:163)
at org.hibernate.transaction.JTATransactionFactory.createTransaction(JTATransactionFactory.java:149)
at org.hibernate.jdbc.JDBCContext.registerSynchronizationIfPossible(JDBCContext.java:195)
at org.hibernate.jdbc.JDBCContext.(JDBCContext.java:99)
at org.hibernate.impl.SessionImpl.(SessionImpl.java:241)
at org.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:605)
at org.hibernate.context.JTASessionContext.buildOrObtainSession(JTASessionContext.java:152)
at org.apache.ode.store.hib.DbConfStoreConnectionFactory.getConnection(DbConfStoreConnectionFactory.java:100)
at org.apache.ode.store.hib.DbConfStoreConnectionFactory.getConnection(DbConfStoreConnectionFactory.java:45)
at org.apache.ode.store.ProcessStoreImpl.getConnection(ProcessStoreImpl.java:662)
at org.apache.ode.store.ProcessStoreImpl.access$500(ProcessStoreImpl.java:67)
at org.apache.ode.store.ProcessStoreImpl$Callable.call(ProcessStoreImpl.java:829)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.