"java.lang.UnsupportedOperationException: Remote JDBC disabled" Error when Running a Portlet from WebCenter Spaces
(Doc ID 1316413.1)
Last updated on JULY 15, 2024
Applies to:
Oracle WebCenter Portal - Version 11.1.1.4.0 and laterOracle WebCenter Portal for OCI - Version 12.2.1.4_24.2 and later
Information in this document applies to any platform.
Symptoms
When attempting to call a Portlet that connect to the Database using a Data Source from within WebCenter Spaces, the following error is returned in the Portlet area:
javax.portlet.faces.BridgeException: javax.el.ELException: java.lang.UnsupportedOperationException: Remote JDBC disabled
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 javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:245)
...
Caused by: javax.portlet.faces.BridgeException: javax.el.ELException: java.lang.UnsupportedOperationException: Remote JDBC disabled
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:923)
at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:672)
... 67 more
Caused by: javax.el.ELException: java.lang.UnsupportedOperationException: Remote JDBC disabled
at javax.el.BeanELResolver.getValue(BeanELResolver.java:266)
at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
...
Caused by: java.lang.UnsupportedOperationException: Remote JDBC disabled
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
...
Caused by: java.lang.UnsupportedOperationException: Remote JDBC disabled
at weblogic.jdbc.common.internal.JDBCServerHelperImpl.(JDBCServerHelperImpl.java:36)
at weblogic.jdbc.common.internal.JDBCService.initialize(JDBCService.java:91)
at weblogic.jdbc.common.internal.JDBCService.start(JDBCService.java:137)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
... 2 more
STEPS:
The issue can be reproduced at will with the following steps:
- Create a Producer with a Portlet that connects to the database using a Data Source.
For example:
- Create a data source with jdbc/ABS_DS name on a WebCenter domain and target the data source to the WC_Portlet managed server.
- Deploy the producer to the WC_Portlet managed server.
- Register the Producer in WebCenter Spaces.
- Add the portlet to a page in WebCenter Spaces.
The Portlet will display the above error.
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 |
References |