Oracle Invalid character ' ' in value part of property error

 随着oracle数据库的版本不断升级,9i 10g 11g,数据库的驱动也是不断变化,直到最新的ojdbc6.jar,唯一不变的就bug。
最近使用Oracle 11.1.0.6.0-Production+ JDBC 4.0 complied with JDK6,出现
SEVERE: Error while registering Oracle JDBC Diagnosability MBean.
javax.management.MalformedObjectNameException: Invalid character '
' in value part of property
at javax.management.ObjectName.construct(ObjectName.java:602)
at javax.management.ObjectName.<init>(ObjectName.java:1394)
at oracle.jdbc.driver.OracleDriver.registerMBeans(OracleDriver.java:303)
at oracle.jdbc.driver.OracleDriver$1.run(OracleDriver.java:213)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.jdbc.driver.OracleDriver.<clinit>(OracleDriver.java:209)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)

 

这是oracle数据库驱动程序的bug,解决办法就是下载最新的驱动程序包。

你可能感兴趣的:(jdk,oracle,数据库,jdbc,character,数据库驱动程序)