My Oracle Support Banner

WCS12c - Unable To Set The Activation State To True For The Application "visitors-webapp" (Doc ID 2505772.1)

Last updated on APRIL 23, 2021

Applies to:

Oracle WebCenter Sites - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

Unable to Deploy visitors-webapp on Secondary Cluster Member: "
When starting the managed Server the visitors-webapp will not start, with errors like the following:

weblogic.application.ModuleException: java.lang.RuntimeException: Failed to get asset: HTTP 500 Internal Server Error
at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:233)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:228)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
Truncated. see log file for complete stacktrace
Caused By: java.lang.RuntimeException: Failed to get asset: HTTP 500 Internal Server Error
at com.oracle.sites.visitors.core.config.sites.AssetManager.searchAssets(AssetManager.java:88)
at com.oracle.sites.visitors.core.config.sites.SitesConfigServiceImpl.search(SitesConfigServiceImpl.java:168)
at com.oracle.sites.visitors.core.config.sites.SitesConfigServiceImpl.get(SitesConfigServiceImpl.java:94)
at com.oracle.sites.visitors.core.identityprovider.IdentityProviderServiceImpl.init(IdentityProviderServiceImpl.java:52)
at com.oracle.sites.visitors.webapp.listeners.FelixRuntimeListener.contextInitialized(FelixRuntimeListener.java:41)
Truncated. see log file for complete stacktrace
>

The following errors are seen in the visitors.log:

 [ERROR] [] [oracle.wcsites.visitorservices.synchronize.sites] [tid: [STANDBY].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: ][APP: visitors-webapp] [partition-name: DOMAIN] [tenant-name: GLOBAL] Failed to find assets: HTTP 500 Internal Server Error[[
javax.ws.rs.InternalServerErrorException: HTTP 500 Internal Server Error
at org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:1020)
at org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:816)
at org.glassfish.jersey.client.JerseyInvocation.access$700(JerseyInvocation.java:92)
at org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:700)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:228)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444)
at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:696)
at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:420)
at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:316)
at com.oracle.sites.visitors.core.config.sites.AssetManager.searchAssets(AssetManager.java:78)

In WebCenter Sites, the sites.log shows the following when oracle.wcsites.wem.sso.cas.provide trace logging shows an issue obtaining the multiticket for this request:

[2019-02-11T15:46:31.672+00:00] [wcsites_server1_sites_server2] [TRACE:16] [] [oracle.wcsites.wem.sso.cas.provider] [tid: 90] [userId: ] [ecid: 005WQ0pn6XIAxG4_NTO5ye000GmN00000h,0:1] [APP: sites] [partition-name: DOMAIN] [tenant-name: GLOBAL] [SRC_CLASS: oracle.wcsites.logging.odl.SitesODLLogger] [SRC_METHOD: trace] getTGT()
[2019-02-11T15:46:31.681+00:00] [wcsites_server1_sites_server2] [TRACE:16] [] [oracle.wcsites.wem.sso.cas.provider] [tid: 90] [userId: ] [ecid: 005WQ0pn6XIAxG4_NTO5ye000GmN00000h,0:1] [APP: sites] [partition-name: DOMAIN] [tenant-name: GLOBAL] [SRC_CLASS: oracle.wcsites.logging.odl.SitesODLLogger] [SRC_METHOD: trace] [CASProvider:getTGT()] Sending content:username=fwadmin&password= to url:https://tcqa-wbpohs01:4445/cas/v1/tickets
[2019-02-11T15:46:31.927+00:00] [wcsites_server1_sites_server2] [TRACE:16] [] [oracle.wcsites.wem.sso.cas.provider] [tid: 28] [userId: ] [ecid: 005WQ0pn6XIAxG4_NTO5ye000GmN00000h,0:1:21:1:1:1] [APP: sites] [partition-name: DOMAIN] [tenant-name: GLOBAL] [SRC_CLASS: oracle.wcsites.logging.odl.SitesODLLogger] [SRC_METHOD: trace] getAssertion()
[2019-02-11T15:46:31.927+00:00] [wcsites_server1_sites_server2] [TRACE:16] [] [oracle.wcsites.wem.sso.cas.provider] [tid: 28] [userId: ] [ecid: 005WQ0pn6XIAxG4_NTO5ye000GmN00000h,0:1:21:1:1:1] [APP: sites] [partition-name: DOMAIN] [tenant-name: GLOBAL] [SRC_CLASS: oracle.wcsites.logging.odl.SitesODLLogger] [SRC_METHOD: trace] getAssertion()
[2019-02-11T15:46:31.942+00:00] [wcsites_server1_sites_server2] [TRACE:16] [] [oracle.wcsites.wem.sso.cas.provider] [tid: 28] [userId: ] [ecid: 005WQ0pn6XIAxG4_NTO5ye000GmN00000h,0:1:21:1:1:1] [APP: sites] [partition-name: DOMAIN] [tenant-name: GLOBAL] [SRC_CLASS: oracle.wcsites.logging.odl.SitesODLLogger] [SRC_METHOD: trace] getAssertion()
[2019-02-11T15:46:32.484+00:00] [wcsites_server1_sites_server2] [TRACE:16] [] [oracle.wcsites.wem.sso.cas.provider] [tid: 90] [userId: ] [ecid: 005WQ0pn6XIAxG4_NTO5ye000GmN00000h,0:1] [APP: sites] [partition-name: DOMAIN] [tenant-name: GLOBAL] [SRC_CLASS: oracle.wcsites.logging.odl.SitesODLLogger] [SRC_METHOD: trace] Connection response is:500
[2019-02-11T15:46:32.484+00:00] [wcsites_server1_sites_server2] [TRACE] [] [oracle.wcsites.wem.sso.cas.provider] [tid: 90] [userId: ] [ecid: 005WQ0pn6XIAxG4_NTO5ye000GmN00000h,0:1] [APP: sites] [partition-name: DOMAIN] [tenant-name: GLOBAL] [SRC_CLASS: oracle.wcsites.logging.odl.SitesODLLogger] [SRC_METHOD: debug] Failed to acquire multi ticket[[
com.fatwire.wem.sso.SSOHTTPException: Failed to acquire TGT
at com.fatwire.wem.sso.cas.CASProvider.getTGT(CASProvider.java:348)
at com.fatwire.wem.sso.cas.CASProvider.getMultiTicket(CASProvider.java:212)
at jsp_servlet._jsp._cs_deployed._fatwire._wem._sso.__requestticket._jspService(__requestticket.java:123)

The Sites/CAS managed server shows the following error.
wcsites_server1.out:
<Watch "UncheckedException" in module "Module-FMWDFW" with severity "Notice" on server "wcsites_server1" has triggered at Feb 12, 2018 3:45:31 PM EST. Notification details:
WatchRuleType: Log
WatchRule: (log.severityString == 'Error') and ((log.messageId == 'WL-101020') or (log.messageId == 'WL-101017') or (log.messageId == 'WL-000802') or (log.messageId == 'BEA-101020') or (log.messageId == 'BEA-101017') or (log.messageId == 'BEA-000802'))
WatchData: MESSAGE = [ServletContext@1467049128[app:cas module:cas.war path:null spec-version:3.1]] Root cause of ServletException.
java.lang.IllegalArgumentException: The template variable 'host.name' has no value
at org.glassfish.jersey.uri.UriTemplate$1ValuesFromArrayStrategy.valueFor(UriTemplate.java:1020)
at org.glassfish.jersey.uri.UriTemplate.resolveTemplate(UriTemplate.java:706)
at org.glassfish.jersey.uri.UriTemplate.createUriComponent(UriTemplate.java:1030)
at org.glassfish.jersey.uri.UriTemplate.createURIWithStringValues(UriTemplate.java:964)
at org.glassfish.jersey.uri.UriTemplate.createURIWithStringValues(UriTemplate.java:906)
at org.glassfish.jersey.uri.UriTemplate.createURI(UriTemplate.java:871)
at org.glassfish.jersey.uri.internal.JerseyUriBuilder._build(JerseyUriBuilder.java:914)
at org.glassfish.jersey.uri.internal.JerseyUriBuilder.build(JerseyUriBuilder.java:831)
at com.fatwire.wem.sso.cas.integration.rest.TicketResource.tickets(TicketResource.java:72)
  ...
  ...
  ...

Changes

 

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


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