新oracle jdbc池的Glassfish错误:“指定的Oracle URL无效:OracleDataSource.makeURL”(Glassfish error for new oracle

编程入门 行业动态 更新时间:2024-10-28 00:17:40
新oracle jdbc池的Glassfish错误:“指定的Oracle URL无效:OracleDataSource.makeURL”(Glassfish error for new oracle jdbc pool: “Invalid Oracle URL specified: OracleDataSource.makeURL”)

我正在尝试向Glassfish 4.0添加新的连接池。 出现以下错误:“指定的Oracle URL无效:OracleDataSource.makeURL”。 我所做的就是进入管理控制台,输入资源类型为“javax.sql.ConnectionPoolDataSource”,数据源类名为“oracle.jdbc.pool.OracleDataSource”。 当我尝试从控制台ping测试时,会发生错误。

I am trying to add a new connection pool to Glassfish 4.0. Getting the following error: "Invalid Oracle URL specified: OracleDataSource.makeURL". All i have done is go into the admin console and enter the resource type as "javax.sql.ConnectionPoolDataSource" and the datasource classname as "oracle.jdbc.pool.OracleDataSource". When i try to ping test from the console, the error occurs.

最满意答案

我将Java从1.8降级到1.7,并通过netbeans而不是玻璃鱼管理控制台设置数据池,问题得到解决。

I downgraded Java from 1.8 to 1.7 and also setup the data pool via netbeans instead of the glass fish admin console and the problem is resolved.

更多推荐

本文发布于:2023-08-07 19:07:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1465677.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:错误   Oracle   Glassfish   oracle   jdbc

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!