My Oracle Support Banner

JSF Bridge Portlet Fails when Consuming in Websphere and Liferay (Doc ID 1607550.1)

Last updated on AUGUST 01, 2019

Applies to:

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

Symptoms

Create a simple Bridge Portet in JDeveloper, which only has a button that shows a popup on mouse click.
Deploy this Portlet to WC_Portlet and then register the portlet to Liferay.
When adding this portlet to Liferay Portal then the 1st page appears fine.
When clicking on the button then you get the following error:

javax.servlet.ServletException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
at com.bea.portlet.container.PortletStub.render(PortletStub.java:526)
at com.bea.portlet.container.AppContainer.renderStub(AppContainer.java:1158)
at com.bea.portlet.container.AppContainer.invokeRender(AppContainer.java:1090)
at com.bea.wsrp.producer.adapter.javaportlet.JavaPortletAdapter.doGetMarkup(JavaPortletAdapter.java:294)
at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doGetMarkup(MarkupServiceHandler.java:451)
at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doService(MarkupServiceHandler.java:266)
at com.bea.wsrp.producer.handlers.AbstractServiceHandler.service(AbstractServiceHandler.java:71)
at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:349)
at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:250)
at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:208)
at oracle.portlet.server.adapter.web.WSRP_v2_Markup_PortTypeSoapToEndpoint.getMarkup(WSRP_v2_Markup_PortTypeSoapToEndpoint.java:74)
...
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused By: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:675)
at javax.portlet.faces.GenericFacesPortlet.doRenderDispatchInternal(GenericFacesPortlet.java:638)
at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:274)
...
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused By: javax.portlet.faces.BridgeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:932)
at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:672)
at javax.portlet.faces.GenericFacesPortlet.doRenderDispatchInternal(GenericFacesPortlet.java:638)
...
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused By: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at oracle.adfinternal.view.faces.config.rich.XmlRenderResponseInvocationHandler.(XmlRenderResponseInvocationHandler.java:50)
at oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator.getExternalContext(RegistrationConfigurator.java:181)
...
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused By: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
...
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused By: java.lang.IllegalArgumentException: Content type text/xml;charset=utf-8 is not supported for portlet portlet1 for this request.
at com.bea.portlet.container.MimeResponseImpl.setContentType(MimeResponseImpl.java:246)
at javax.portlet.filter.RenderResponseWrapper.setContentType(RenderResponseWrapper.java:139)
...
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

 

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.