My Oracle Support Banner

WebCenter Application is not Going to Active State when Starting WC_Portal Managed Server (Doc ID 2566393.1)

Last updated on JUNE 25, 2024

Applies to:

Oracle WebCenter Portal - Version 12.2.1.3.0 and later
Oracle WebCenter Portal for OCI - Version 12.2.1.4_24.2 and later
Information in this document applies to any platform.

Symptoms

The setup contains custom ADF applications which are deployed as shared library to the WebCenter Portal Application. In these shared libraries, there are references to webservices on other systems and so there are few references to the external URL which are either in the form of WSDL or REST endpoints.

If these external systems are down, the managed servers where WebCenter Portal is running are started fine, but the WebCenter application is not getting started. This error is returned during startup:

<Jul 16, 2019 3:56:39,778 PM CDT> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application "webcenter".
weblogic.application.ModuleException: java.net.UnknownHostException: <HOSTNAME>
       at weblogic.application.internal.ExtensibleModuleWrapper.activate(ExtensibleModuleWrapper.java:123)
       at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:114)
       at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:212)
       at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:207)
       at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
       Truncated. see log file for complete stacktrace
Caused By: java.net.UnknownHostException: <HOSTNAME>
       at java.net.InetAddress.getAllByName0(InetAddress.java:1281)
       at java.net.InetAddress.getAllByName(InetAddress.java:1193)
       at java.net.InetAddress.getAllByName(InetAddress.java:1127)
       at weblogic.net.http.HttpClient.openServer(HttpClient.java:378)
       at weblogic.net.http.HttpClient.openServer(HttpClient.java:511)
       Truncated. see log file for complete stacktrace
>
<Jul 16, 2019 3:56:39,801 PM CDT> <Warning> <HTTP> <BEA-101162> <User defined listener org.jboss.weld.servlet.WeldInitialListener failed: java.lang.NullPointerException.
java.lang.NullPointerException
       at org.jboss.weld.servlet.WeldInitialListener.contextDestroyed(WeldInitialListener.java:119)
       at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:706)
       at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:328)
       at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197)
       at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
       Truncated. see log file for complete stacktrace
>
<Jul 16, 2019 3:56:40,113 PM CDT> <Notice> <Cluster> <BEA-000197> <Listening for announcements from cluster using unicast cluster messaging>
<Jul 16, 2019 3:56:40,186 PM CDT> <Notice> <Log Management> <BEA-170027> <The server has successfully established a connection with the Domain level Diagnostic Service.>
<Jul 16, 2019 3:56:40,913 PM CDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN.>
<Jul 16, 2019 3:56:40,975 PM CDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING.>
<Jul 16, 2019 3:56:41,974 PM CDT> <Notice> <Cluster> <BEA-000162> <Starting "async" replication service with remote cluster address "null">
<Jul 16, 2019 3:56:42,054 PM CDT> <Notice> <WebLogicServer> <BEA-000330> <Started the WebLogic Server Managed Server "WC_Portal" for domain "wcp_app_domain" running in production mode.>
<Jul 16, 2019 3:56:42,180 PM CDT> <Notice> <WebLogicServer> <BEA-000360> <The server started in RUNNING mode.>
<Jul 16, 2019 3:56:42,191 PM CDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING.>
<Jul 16, 2019 3:56:42 PM CDT> <INFO> <wcp_app_domain> <WC_Portal1> <The server 'WC_Portal' is running now.>

This can also happen if a custom application consumes multiple webservices from different applications. If one of the applications is down during WebCenter Portal restarts, the server may come up fine, but the WebCenter app fails to activate and shows a message like:

[<TIMESTAMP>] [WC_Portal1] [ERROR] [] [weblogic.wsee.jaxws.ServiceRefProcessorImpl] [host:<HOSTNAME>] [nwaddr: <NWADDR>] [tid: [ACTIVE].ExecuteThread: '17' for queue: 'weblogic.kernel.Default (self-tuning)'] [ecid: <ECID>] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] [TARGET: /Domain_wcp_domain/wcp_domain/WC_Portal1/webcenter] [TARGET_TYPE: j2ee_application] [LOG_FILE: /<DOMAIN_HOME>/servers/WC_Portal1/logs/WC_Portal1-diagnostic.log] Error processing web service reference: java.io.FileNotFoundException: Response: '404: Not Found' for url: '<WSDL_URL>'[[
Injection targets: <INJECTION_TARGET>

]]
[<TIMESTAMP>] [ERROR:7] [BEA-149231] [Deployer] [host: <HOSTNAME>] [nwaddr: <NWADDR>] [tid: [ACTIVE] ExecuteThread: '17' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <WLS Kernel>] [ecid: <ECID>] [partition-name: DOMAIN] [severity-value: 8] [rid: 0] [partition-id: 0] [TARGET: /Domain_wcp_domain/wcp_domain/WC_Portal1] [TARGET_TYPE: weblogic_j2eeserver] [LOG_FILE: /<DOMAIN_HOME>/servers/WC_Portal1/logs/WC_Portal1.log] Unable to set the activation state to true for the application "webcenter".[[
weblogic.application.ModuleException: java.io.FileNotFoundException: Response: '404: Not Found' for url: '<WSDL_URL>'
at weblogic.application.internal.ExtensibleModuleWrapper.activate(ExtensibleModuleWrapper.java:123)
at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:114)
at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:212)
...
at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)
Caused By: java.io.FileNotFoundException: Response: '404: Not Found' for url: '<WSDL_URL>'
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:898)
at weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:42)
at java.net.URL.openStream(URL.java:1092)
..
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)

This did not happen in the 11g version of WebCenter Portal.

 

Changes

Recently upgraded from WCP 11g to 12c.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.