我正在尝试向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.
更多推荐
发布评论