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.

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • WebSphere Datasource JNDI
    via by Viking Kethineedi,
  • WSAD DB2 Error
    via by Anju Kundwani,
  • Error while accessing DB2 with WSAD!!
    via by Ravi Kumar Ravuru,
    • 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(DSFactoryImpl.java:286) at com.ibm.websphere.advanced.cm.factory.DataSourceFactory$ResourceReferenceObjectFactory.getObjectInstance(DataSourceFactory.java:946) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:314) at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookupExt(Helpers.java:874) at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup(Helpers.java:681) at com.ibm.ws.naming.jndicos.CNContextImpl.processResolveResults(CNContextImpl.java:1969) at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1824) at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1737) at com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java:1444) at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1324) at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:144) at javax.naming.InitialContext.lookup(InitialContext.java:361) at com.vw.vis.db.JndiProvider.<init>(JndiProvider.java:56) at com.vw.vis.db.JndiConnectionManager.getChromeConnection(JndiConnectionManager.java:83) at com.vw.vis.db.DataBuilder.getDealerList(DataBuilder.java:1132) at com.vw.vis.util.EnvProps.getDealerList(EnvProps.java:542) at com.vw.vis.util.PropertiesLoader.loadProperties(PropertiesLoader.java:54) at com.vw.vis.servlet.StartupServlet.init(StartupServlet.java:60) at javax.servlet.GenericServlet.init(GenericServlet.java:256) at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:262) at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1319) at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:84) at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:745) at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:493) at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:379) at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:114) at com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:127) at com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:776) at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:729) at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:140) at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:360) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1019) at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1028) at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:538) at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:724) at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:683) at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:1678) at com.ibm.ws.runtime.component.ComponentImpl$_AsynchInitializer.run(ComponentImpl.java:304) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
    No Bugmate found.