javax.naming.NamingException: Cannot create resource instance

ode-dev | Sathwik Bantwal Premakumar (JIRA) | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    javax.naming.NamingException: Cannot create resource instance - Spring Forum

    spring.io | 1 year ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'datasource': Invocation of init method failed; nested exception is javax.naming.NamingException: Cannot create resource instance

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.naming.NamingException

      Cannot create resource instance

      at org.apache.naming.factory.TransactionFactory.getObjectInstance()
    2. Web Container Naming Utilities
      TransactionFactory.getObjectInstance
      1. org.apache.naming.factory.TransactionFactory.getObjectInstance(TransactionFactory.java:113)
      1 frame
    3. Java RT
      NamingManager.getObjectInstance
      1. javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:321)
      1 frame
    4. Web Container Naming Utilities
      SelectorContext.lookup
      1. org.apache.naming.NamingContext.lookup(NamingContext.java:793)
      2. org.apache.naming.NamingContext.lookup(NamingContext.java:140)
      3. org.apache.naming.NamingContext.lookup(NamingContext.java:781)
      4. org.apache.naming.NamingContext.lookup(NamingContext.java:153)
      5. org.apache.naming.SelectorContext.lookup(SelectorContext.java:152)
      5 frames
    5. Java RT
      InitialContext.lookup
      1. javax.naming.InitialContext.lookup(InitialContext.java:411)
      1 frame
    6. Hibernate
      JDBCContext.<init>
      1. org.hibernate.transaction.JTATransactionFactory.getUserTransaction(JTATransactionFactory.java:163)
      2. org.hibernate.transaction.JTATransactionFactory.createTransaction(JTATransactionFactory.java:149)
      3. org.hibernate.jdbc.JDBCContext.registerSynchronizationIfPossible(JDBCContext.java:195)
      4. org.hibernate.jdbc.JDBCContext.<init>(JDBCContext.java:99)
      4 frames
    7. Hibernate
      SessionFactoryImpl.openSession
      1. org.hibernate.impl.SessionImpl.<init>(SessionImpl.java:241)
      2. org.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:605)
      2 frames
    8. Hibernate
      JTASessionContext.currentSession
      1. org.hibernate.context.JTASessionContext.buildOrObtainSession(JTASessionContext.java:152)
      2. org.hibernate.context.JTASessionContext.currentSession(JTASessionContext.java:111)
      2 frames
    9. Hibernate
      SessionFactoryImpl.getCurrentSession
      1. org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:622)
      1 frame
    10. org.apache.ode
      ProcessStoreImpl$Callable.call
      1. org.apache.ode.store.hib.DbConfStoreConnectionFactory.getConnection(DbConfStoreConnectionFactory.java:100)
      2. org.apache.ode.store.hib.DbConfStoreConnectionFactory.getConnection(DbConfStoreConnectionFactory.java:45)
      3. org.apache.ode.store.ProcessStoreImpl.getConnection(ProcessStoreImpl.java:662)
      4. org.apache.ode.store.ProcessStoreImpl.access$500(ProcessStoreImpl.java:67)
      5. org.apache.ode.store.ProcessStoreImpl$Callable.call(ProcessStoreImpl.java:829)
      5 frames
    11. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames