在Weblogic9.2.3中建立連線池

ogam發表於2009-10-14

  一次我在Weblogic9.2.3中建立連線池,建立成功後想測試一下是否成功。於是,我將Test Connections On Reserve選項選中,可當我啟用時,去出現如下錯誤:

An unexpected exception has occurred processing your request
Message: JDBCSystemResourceMBean cannot be null. [/td]
Stack Trace: java.lang.IllegalArgumentException: JDBCSystemResourceMBean cannot be null. at com.bea.console.utils.jdbc.JDBCUtils.getJdbcDataSourceBean(JDBCUtils.java:844) at com.bea.console.actions.jdbc.datasources.JDBCDataSourceConfigConnectionPoolAction.execute(JDBCDataSourceConfigConnectionPoolAction.java:62) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:95) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2042) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:90) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2114) at

[@more@]解決方法:將原來的JDBC連線刪除,重建連線。建立時,我將JDBC預設的名字改為JDBCDataSource,JNDI改為JNDIDataSource,再選擇測試就沒問題了。

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/16712909/viewspace-1027833/,如需轉載,請註明出處,否則將追究法律責任。

相關文章