REST API Via Multiticket (Doc ID 1640932.1)

Last updated on NOVEMBER 03, 2016

Applies to:

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

Symptoms

In the documentation, there are several REST examples like ReadAsset.java (flexible assets).
When testing , the multiticket is created but when the request is executed, CASFilter.java is not able to manage it properly and it does not allow to launch the request.

It generates the following error:

[2014-02-24 07:50:06.950][com.fatwire.wem.sso.cas.filter.CASFilter][ERROR] CAS is not avalilable. Request [http://{host:port}/web/REST/sites/Site1/types/Propuesta/assets/1392901605727] from {ipaddress}
java.lang.UnsupportedOperationException
       at java.util.AbstractMap.put(AbstractMap.java:228)
       at com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:297)
       at com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
       at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
       at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
       at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
       at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
       at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
       at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
       at java.lang.Thread.run(Thread.java:595)

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