简体   繁体   English

Weblogic 12.2.1.3.0 Developer - 无法使用管理控制台创建数据源

[英]Weblogic 12.2.1.3.0 Developer - Unable to create data source using admin console

I have been trying to create a DataSource on my development machine using Weblogic 12.2.1.3.0 developer install using the admin console and I am getting an exception that I have not encountered before.我一直在尝试使用管理控制台的 Weblogic 12.2.1.3.0 开发人员安装在我的开发机器上创建一个数据源,但我遇到了一个我以前没有遇到过的异常。 I have verified that all of the connection information is correct and I can connect to the Oracle Database (v12.1.2) using SQL Developer and an IDE connection but the Weblogic server is not cooperating.我已经验证所有的连接信息都是正确的,我可以使用 SQL 开发人员和一个 Z581D6381F3F35E4F9D77201ACF87B3 连接到 Oracle 数据库 (v12.1.2) 开发人员和一个 Z581D6381F3F35E4F9D77201ACF87B3 不合作的服务器连接 4。 This is the exception that I am getting:这是我得到的例外:

DS 创建异常

I have also tried creating a DataSource when the EAR file is deployed using descriptors and the DS is created and deployed but the connection pool for the DS cannot be created and the only exception that I am seeing is this:我还尝试在使用描述符部署 EAR 文件并创建和部署 DS 但无法创建 DS 的连接池时创建 DataSource,我看到的唯一异常是:

Connection test failed with the following exception: weblogic.common.resourcepool.ResourceDeadException: 0:weblogic.common.ResourceException: Could not create pool connection for datasource 'StipDS'.连接测试失败,出现以下异常:weblogic.common.resourcepool.ResourceDeadException:0:weblogic.common.ResourceException:无法为数据源“StipDS”创建池连接。 The DBMS driver exception was: null DBMS 驱动程序异常为:null

Anyone have any ideas?有人有想法么? Oracle has not been much help at all so far.到目前为止,Oracle 并没有太大帮助。

check your jdbc connection url, i guess something is missing there. 检查您的jdbc连接网址,我猜那里缺少某些内容。 make sure the jdbc driver is present inside lib folder. 确保lib文件夹中存在jdbc驱动程序。

I was facing the same issue and able to resolve by replacing the ojdbc6.jar with ojdbc6-2.0.jar from "C:\\Oracle\\Middleware\\wlserver_10.3\\server\\lib" 我遇到了同样的问题,并且能够通过使用来自“ C:\\ Oracle \\ Middleware \\ wlserver_10.3 \\ server \\ lib”的ojdbc6-2.0.jar替换ojdbc6.jar来解决

Downloaded the jar file from https://jar-download.com/?search_box=ojdbc6++jar https://jar-download.com/?search_box=ojdbc6++jar下载了jar文件

Error log: 错误日志:

Caused By: weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: null
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:283)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1310)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1227)
    at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:250)
    at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1329)

i suggest reverting any network changes that might have taken place.我建议恢复可能发生的任何网络更改。 example DNS change in the resolve.conf file resolve.conf 文件中的示例 DNS 更改

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM