Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-4348

JNDI Datasource fails to bind in WAS 6.1

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 5.2.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Linux, IBM JDK 5, WAS 6.1.0.17, Liferay 5.2.3

      Description

      This only applies to the plugins environment

      The JNDI DataSource fails to bind:

      [7/28/09 16:53:40:835 CDT] 00000025 Helpers W NMSV0610I: A NamingException is being thrown from a javax.naming.Context implementation. Details follow:
      Context implementation: com.ibm.ws.naming.jndicos.CNContextImpl
      Context method: bind
      Context name: iwe/clusters/portal
      Target name: java_liferay:jdbc/LiferayPool
      Other data: Object to bind: com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource@43f8626d
      Exception stack trace: javax.naming.NamingException: com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getReference() returned null in violation of the JNDI API
      at com.ibm.ws.naming.util.Helpers.processJavaObjectForBinding(Helpers.java:583)
      at com.ibm.ws.naming.jndicos.CNContextImpl.doBind(CNContextImpl.java:2254)
      at com.ibm.ws.naming.jndicos.CNContextImpl.bind(CNContextImpl.java:538)
      at com.ibm.ws.naming.util.WsnInitCtx.bind(WsnInitCtx.java:210)
      at javax.naming.InitialContext.bind(InitialContext.java:371)
      at com.liferay.portal.kernel.servlet.PortletContextListener.portalInit(PortletContextListener.java:159)
      at com.liferay.portal.kernel.util.PortalInitableUtil.init(PortalInitableUtil.java:48)
      at com.liferay.portal.kernel.servlet.PortletContextListener.contextInitialized(PortletContextListener.java:109)
      at com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:652)
      at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:355)
      at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:292)
      at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:92)
      at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
      at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:671)
      at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:624)
      at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:335)
      at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:551)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1274)
      at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1165)
      at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:569)
      at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:832)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:921)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2124)
      at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:342)
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)

      [7/28/09 16:53:40:848 CDT] 00000025 SystemOut O 16:53:40,841 WARN [PortletContextListener:166] Unable to dynamically bind the Liferay data source: com.ibm.ws.
      rsadapter.jdbc.WSJdbcDataSource.getReference() returned null in violation of the JNDI API

        Attachments

          Activity

            People

            Assignee:
            michael.han Michael Han (Inactive)
            Reporter:
            sten.martinez Sten Martinez
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              10 years, 3 weeks ago

                Packages

                Version Package