1 Reply Latest reply: Jan 31, 2014 9:11 AM by Joe Weinstein RSS

unable to create datasource connection from weblogic admin console

1010393 Newbie
Currently Being Moderated

Hi All,

 

Yesterday I got jdbc test connection issue, In my machine, I have two domain one is soa domain and other is osb domain. In osb domain I am unable to create jdbc datasource from admin console. When I click test connection button it is throwing following error. But I am able to create same datasource with same DB credentials from soa domain. please suggest me.

 

<Error> <Console> <BEA-240003> <Console encountered the following error java.sql.SQLException: Could not establish a connection because of java.lang.NullPointerException

        at weblogic.jdbc.common.internal.DataSourceUtil.testConnection(DataSourceUtil.java:350)

        at com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:734)

        at com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:474)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)

        at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)

        at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)

        at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)

        at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)

        at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52)

        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)

        at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97)

        at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044)

        at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:64)

        at org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor.wrapAction(ActionInterceptor.java:184)

        at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.invoke(ActionInterceptors.java:50)

        at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:58)

        at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:87)

        at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPe

Legend

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