Could not create pool connection. The DBMS driver exception was: The Network Adapter could not estab

BIEE登录时报错  

2012-10-31 11:05:24|  分类: BIEE|举报|字号 订阅

下载LOFTER客户端

weblogic.common.ResourceException: Could not create pool connection

查看启动BI服务的日志发现有如下报错

Could not create pool connection. The DBMS driver exception was: The Network Adapter could not establish the connection

查Oracle Support查得如下方法:

Symptoms


Trying to launch Discoverer Plus or Viewer 11g fails with error:



A connection error has occurred.
- error while creating the session, check for other errors.
- oracle.discoiv.connections.ConnectionStoreException: weblogic.common.resourcepool.ResourceDeadException: 0:weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: The Network Adapter could not establish the connection
- weblogic.common.resourcepool.ResourceDeadException: 0:weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: The Network Adapter could not establish the connection
- weblogic.common.resourcepool.ResourceDeadException: 0:weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: The Network Adapter could not establish the connection
unable to retrieve connection list
- Cannot retrieve connection list. Check the Discoverer application log for more details.

Starting WLS_DISCO gives errors:


<02-Nov-2010 12:54:31 o'clock GMT> <Warning> <JDBC> <BEA-001129> <Received exception while creating connection for pool "<database>_DISCOVERER_PS": The Network Adapter could not establish the connection>
<02-Nov-2010 12:54:31 o'clock GMT> <Warning> <JMX> <BEA-149515> <An error was encountered getting the attribute DatabaseProductVersion on the MBean com.bea:ServerRuntime=WLS_DISCO,Name=<database>_DISCOVERER_PS,Type=JDBCDataSourceRuntime during a call to getAttributes>
<02-Nov-2010 12:54:31 o'clock GMT> <Warning> <JMX> <BEA-149515> <An error was encountered getting the attribute DriverVersion on the MBean com.bea:ServerRuntime=WLS_DISCO,Name=<database>,Type=JDBCDataSourceRuntime during a call to getAttributes>
<02-Nov-2010 12:54:31 o'clock GMT> <Warning> <JDBC> <BEA-001129> <Received exception while creating connection for pool "<database>_DISCOVERER": The Network Adapter could not establish the connection>


Changes

After installation and configuration of Discoverer 11g the port number was changed for the database holding the DISCOVERER schema created by Repository Creation Utility (RCU).

Cause

WebLogic JDBC Data Sources are pointing to an incorrect port for the database.

Solution


1. Open Weblogic Admin Console (http://host:7001/console)


2. Click 'Lock & Edit'.

3. On the left navigation pane, select: Services -> JDBC -> Data Sources
There are 2 Data Sources:

JNDI name: /jdbc/disco_pstore
JNDI name: /jdbc/disco_portlet

4. For each of the Data Sources:
Click the Data Source name, then select the 'Connection Pool' tab.

Correct the port number in the following 2 fields:

URL
Properties


Click 'Save'.

5. For each of the Data Sources: go to Monitoring tab, then Testing tab.
Click Test Data Source, and verify that the test is successful.

6. Click 'Activate Changes'.

7. Restart WLS_DISCO and opmn.

 

最终发现原来是DB登录不上,重启DB解决问题,解决问题的过程做为以后碰到类似问题的一个参考。

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值