WCS-43060 - The connection named "null" cannot be found and NullPointerException During Webcenter Portal 11.1.1.8.3 Startup (Doc ID 1675459.1)

Last updated on NOVEMBER 22, 2016

Applies to:

Oracle WebCenter Portal - Version 11.1.1.8.3 and later
Information in this document applies to any platform.

Symptoms

After installing an 11.1.1.8.0 WebCenter Portal Instance, then applying the 11.1.1.8.3 Bundled Patchset, when starting the Spaces Managed Server, the following errors/warnings are seen in the logs:-

<Apr 30, 2014 10:38:57 AM CEST> <Warning> <oracle.webcenter.framework.service.WebCenterConfig> <WCS-43060> <The connection named "null" cannot be found.>
<Apr 30, 2014 10:38:57 AM CEST> <Error> <oracle.webcenter.doclib.internal.spaces.UCMSpacesUtils> <WCS-07924> <Error checking foldering service (Framework Folders/folders_g) of content server.
java.lang.NullPointerException
       at javax.naming.NameImpl.<init>(NameImpl.java:264)
       at javax.naming.CompoundName.<init>(CompoundName.java:187)
       at oracle.webcenter.framework.service.WebCenterConfig.getConnection(WebCenterConfig.java:207)
       at oracle.webcenter.content.ADFConnectionsManager.lookupRepository(ADFConnectionsManager.java:203)
       at oracle.webcenter.doclib.internal.spaces.AdminConnectionManager.<init>(AdminConnectionManager.java:101)
       at oracle.webcenter.doclib.internal.spaces.AdminConnectionManager.getCurrent(AdminConnectionManager.java:66)
       at oracle.webcenter.doclib.internal.spaces.UCMSetupHandler.setDocLibFolderingService(UCMSetupHandler.java:1534)
....
       at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
       at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
       at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>
<Apr 30, 2014 10:38:57 AM CEST> <Error> <oracle.webcenter.sharepoint.servlet.ContextListener> <BEA-000000> <UNSPECIFIED
oracle.webcenter.command.CommandException: Error checking foldering service (Framework Folders/folders_g) of content server.
       at oracle.webcenter.doclib.internal.spaces.UCMSpacesUtils$1.newException(UCMSpacesUtils.java:459)
       at oracle.webcenter.doclib.internal.spaces.UCMSpacesUtils$1.newException(UCMSpacesUtils.java:454)
       at oracle.webcenter.doclib.internal.spaces.UCMSpacesUtils.createError(UCMSpacesUtils.java:521)
       at oracle.webcenter.doclib.internal.spaces.UCMSpacesUtils.createError(UCMSpacesUtils.java:499)
       at oracle.webcenter.doclib.internal.spaces.UCMSetupHandler.setDocLibFolderingService(UCMSetupHandler.java:1555)
...
       at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
       at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
       at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
       at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
       at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
       at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused By: java.lang.NullPointerException
       at javax.naming.NameImpl.<init>(NameImpl.java:264)
       at javax.naming.CompoundName.<init>(CompoundName.java:187)
       at oracle.webcenter.framework.service.WebCenterConfig.getConnection(WebCenterConfig.java:207)
...
       at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
       at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
       at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
       at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
       at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>
<Apr 30, 2014 10:39:01 AM CEST> <Warning> <oracle.adf.share.ADFContext> <BEA-000000> <Automatically initializing a DefaultContext for getCurrent.
Caller should ensure that a DefaultContext is proper for this use.
Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
This message may be avoided by performing initADFContext before using getCurrent().
For more information please enable logging for oracle.adf.share.ADFContext at FINEST level.>

 

The errors were not seen when starting the 11.1.1.8.0 version of the product.

Changes

Installing the latest WebCenter Portal Bundle patch.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms