"UNSUPPORTEDOPERATIONEXCEPTION: REMOTE JDBC DISABLED" When Trying To Access Weblogic Datasource From Java (Doc ID 1069142.1)

Last updated on JULY 13, 2017

Applies to:

Oracle WebLogic Server - Version 10.3.2 to 10.3.6
Information in this document applies to any platform.

Symptoms

When trying to get a connection from datasource on java client, the following exception is seen:

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)
at weblogic.jdbc.common.internal.RmiDataSource_1032_WLStub.getConnection(Unknown Source)
at ca.xxx.calculationengine.utilities.DatabaseConnectionPoolHelper.getConnection(DatabaseConnectionPoolHelper.java:46)
at ca.xxx.calculationengine.test.TerminationCalculationSingleThreadTest.setUp(TerminationCalculationSingleThreadTest.java:44)
at junit.framework.TestCase.runBare(TestCase.java:132)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at oracle.jdevimpl.junit.runner.junit3.JUnit3Testable.run(JUnit3Testable.java:30)
at oracle.jdevimpl.junit.runner.TestExecution.run(TestExecution.java:27)
at oracle.jdevimpl.junit.runner.JUnitTestRunner.main(JUnitTestRunner.java:88)
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:134)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
...

Changes

 

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