com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI was processing a object. Root exception is : Attempted to use a 4.0 DataSource from a 2.3 (or higher) servlet. Invalid configuration.

coderanch.com | 3 months ago
  1. 0

    WebSphere Datasource JNDI (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 4.0 DataSource from a 2.3 (or higher) servlet. Invalid configuration.
  2. 0

    WebSphere Datasource JNDI (Websphere forum at JavaRanch)

    coderanch.com | 1 year ago
    com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. Root exception is javax.naming.NamingException: Attempted to use a 4.0 DataSource from a 2.3 (or higher) servlet. Invalid configuration.
  3. 0

    WebSphere Datasource JNDI

    Coderanch | 1 decade ago | Viking Kethineedi
    com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. Root exception is javax.naming.NamingException: Attempted to use a 4.0 DataSource from a 2.3 (or higher) servlet. Invalid configuration.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    WSAD DB2 Error

    Coderanch | 1 decade ago | Anju Kundwani
    com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. Root exception is javax.naming.NamingException: Attempted to use a 4.0 DataSource from a 2.3 (or higher) servlet. Invalid configuration.
  6. 0

    Error accessing DB2 in WSAD 5.1.2(Portal Server 5.0) with version 4.0 DataSource!!

    Coderanch | 1 decade ago | Sooraj Godavarma
    com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. Root exception is javax.naming.NamingException: Attempted to use a 4.0 DataSource from a 2.3 (or higher) servlet. Invalid configuration.

    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 4.0 DataSource from a 2.3 (or higher) servlet. Invalid configuration.

      at com.ibm.ejs.cm.DSFactoryImpl.verifyConfiguration()
    2. com.ibm.ejs
      DSFactoryImpl.verifyConfiguration
      1. com.ibm.ejs.cm.DSFactoryImpl.verifyConfiguration(DSFactoryImpl.java:286)
      1 frame
    3. com.ibm.websphere
      DataSourceFactory$ResourceReferenceObjectFactory.getObjectInstance
      1. com.ibm.websphere.advanced.cm.factory.DataSourceFactory$ResourceReferenceObjectFactory.getObjectInstance(DataSourceFactory.java:946)
      1 frame
    4. Java RT
      NamingManager.getObjectInstance
      1. javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:314)
      1 frame
    5. 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
    6. 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
    7. com.ibm.ws
      WsnInitCtx.lookup
      1. com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:144)
      1 frame
    8. Java RT
      InitialContext.lookup
      1. javax.naming.InitialContext.lookup(InitialContext.java:361)
      1 frame
    9. com.vw.vis
      StartupServlet.init
      1. com.vw.vis.db.JndiProvider.<init>(JndiProvider.java:56)
      2. com.vw.vis.db.JndiConnectionManager.getChromeConnection(JndiConnectionManager.java:83)
      3. com.vw.vis.db.DataBuilder.getDealerList(DataBuilder.java:1132)
      4. com.vw.vis.util.EnvProps.getDealerList(EnvProps.java:542)
      5. com.vw.vis.util.PropertiesLoader.loadProperties(PropertiesLoader.java:54)
      6. com.vw.vis.servlet.StartupServlet.init(StartupServlet.java:60)
      6 frames
    10. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:256)
      1 frame
    11. WebSphere
      ServletWrapper.initialize
      1. com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:262)
      2. com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1319)
      2 frames
    12. com.ibm.wsspi
      WebExtensionProcessor.createServletWrapper
      1. com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:84)
      1 frame
    13. WebSphere
      ComponentImpl$_AsynchInitializer.run
      1. com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:745)
      2. com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:493)
      3. com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:379)
      4. com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:114)
      5. com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:127)
      6. com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:776)
      7. com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:729)
      8. com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:140)
      9. com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:360)
      10. com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1019)
      11. com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1028)
      12. com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:538)
      13. com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:724)
      14. com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:683)
      15. com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:1678)
      16. com.ibm.ws.runtime.component.ComponentImpl$_AsynchInitializer.run(ComponentImpl.java:304)
      16 frames
    14. com.ibm.ws
      ThreadPool$Worker.run
      1. com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
      1 frame