com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI was processing a object. Root exception is : Attempted to use a 5.0 DataSource outside of a 2.3 servlet

coderanch.com | 3 months ago
  1. 0

    java.lang.Exception: Attempted to use a 5.0 DataSource outside of a 2.3 servlet (WebSphere forum at Coderanch)

    coderanch.com | 6 months ago
    com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI was processing a object. Root exception is : Attempted to use a 5.0 DataSource outside of a 2.3 servlet
  2. 0

    java.lang.Exception: Attempted to use a 5.0 DataSource outside of a 2.3 servlet (WebSphere forum at Coderanch)

    coderanch.com | 3 months ago
    com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI was processing a object. Root exception is : Attempted to use a 5.0 DataSource outside of a 2.3 servlet
  3. 0

    Data source error -- J2CA0106E

    Google Groups | 1 decade ago | sonu
    com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. Root exception is java.lang.Exception: Attempted to use a 5.0 DataSource outside of a 2.3 servlet
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    com.ibm.websphere.naming.CannotInstantiateObjectException:  ??????

    Oracle Community | 9 years ago | 843830
    com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. Root exception is java.lang.Exception: Invalid EJB component: Cannot use an EJB module with version 11 using The Relational Resource Adapter
  6. 0

    Failed security check for DataSource JNDI lookup outside of WAS5

    Google Groups | 1 decade ago | Philip Tom
    com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. Root exception is java.lang.Exception: Failed security check. Client is not permitted to create connection factory batch-ds

    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. com.ibm.websphere.naming.CannotInstantiateObjectException

      Exception occurred while the JNDI was processing a object. Root exception is : Attempted to use a 5.0 DataSource outside of a 2.3 servlet

      at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.validServlet()
    2. com.ibm.ejs
      ConnectionFactoryBuilderImpl.getObjectInstance
      1. com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.validServlet(ConnectionFactoryBuilderImpl.java:1109)
      2. com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getCMConfigData(ConnectionFactoryBuilderImpl.java:730)
      3. com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getObjectInstance(ConnectionFactoryBuilderImpl.java:330)
      3 frames
    3. Java RT
      NamingManager.getObjectInstance
      1. javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:314)
      1 frame
    4. com.ibm.ws
      Helpers.processSerializedObjectForLookup
      1. com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookupExt(Helpers.java:874)
      2. com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup(Helpers.java:681)
      2 frames
    5. WebSphere
      CNContextImpl.lookup
      1. com.ibm.ws.naming.jndicos.CNContextImpl.processResolveResults(CNContextImpl.java:1969)
      2. com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1824)
      3. com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1737)
      4. com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java:1444)
      5. com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1324)
      5 frames
    6. com.ibm.ws
      WsnInitCtx.lookup
      1. com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:144)
      1 frame
    7. Java RT
      InitialContext.lookup
      1. javax.naming.InitialContext.lookup(InitialContext.java:361)
      1 frame
    8. org.exolab.castor
      JDO.getDatabase
      1. org.exolab.castor.jdo.engine.DatabaseRegistry.loadDatabase(DatabaseRegistry.java:313)
      2. org.exolab.castor.jdo.JDO.getDatabase(JDO.java:571)
      2 frames
    9. com.infra.persist
      CastorTransactionFactory.getTransaction
      1. com.infra.persist.CastorTransactionFactory.createTransaction(CastorTransactionFactory.java:83)
      2. com.infra.persist.CastorTransactionFactory.getTransaction(CastorTransactionFactory.java:77)
      2 frames
    10. com.util
      TransactionHandler.openTransaction
      1. com.util.TransactionHandler.openTransaction(TransactionHandler.java:34)
      1 frame
    11. com.actionmanager
      NumberSearchAction.execute
      1. com.actionmanager.NumberSearchAction.execute(NumberSearchAction.java:58)
      1 frame
    12. struts
      ActionServlet.doPost
      1. org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
      2. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
      3. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
      4. org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
      4 frames