This discussion is archived
3 Replies Latest reply: Nov 18, 2012 2:56 PM by 452071 RSS

Bug: OEPE 12c  WLS 12c JDBC

dvohra21 Oracle ACE
Currently Being Moderated
OEPE 12c included with WLS 12c has a bug in the WLS 12c JDBC.

1. Install Oracle database XE. Start the OracleXE service. Install OEPE 12c including Oracle WebLogic Server 12c.
Create the base-domain. Start the Admin Server.
2. Login to AdminServer Console with http://localhost:7001/console
3. In the Admin Server Console. Select base-domain>Service>Data Sources
4. Select New>Generic Data Source
5. Specify Name, JNDI Name and select Database Type as Oracle.Click on Next.
6. Select the default Database Driver Oracle's Driver (Thin XA).Click on Next.
7. Click on Next in Transaction Options.
8. Specify Database Name as XE. Host Name as localhost. Port is 1521. Specify Database User Name and Password.
Click on Next.
9. Click on Test Configuration.
10. An error gets generated.
Connection test failed.
Could not establish a connection because of java.lang.NullPointerException<br/>weblogic.jdbc.common.internal.DataSourceUtil.testConnection(DataSourceUtil.java:350)<br/>com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:746)<br/>com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:474)<br/>sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br/>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br/>java.lang.reflect.Method.invoke(Method.java:597)<br/>org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)<br/>org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)<br/>org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)<br/>org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)<br/>org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)<br/>org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52)<br/>org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)<br/>org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97)<br/>org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044)<br/>org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:64)<br/>org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor.wrapAction(ActionInterceptor.java:184)<br/>org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.invoke(ActionInterceptors.java:50)<br/>org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:58)<br/>.

Edited by: dvohra16 on Oct 2, 2012 8:48 AM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points