Error while registering Oracle JDBC Diagnosability MBean ."
Source: Internet
Author: User
Tomcat is a good development and learning container, but when you use the JDBC driver ojdbc6.jar and JDK6 that come with Oracle 11g to run together, especially when you use it with the spring framework, the following error occurs: SEVERE: error while registering Oracle JDBC Diagnosability MBean. javax. management. malformedObjectNameException: Invalid character ''' in value part of propertyat javax. management. objectName. construct (ObjectName. java: 602) at javax. management. objectName. (ObjectName. java: 1394) at oracle. jdbc. driver. oracleDriver. registerM Beans (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. (OracleDriver. java: 209) at java. lang. class. forName0 (Native Method) at java. lang. class. forName (Class. java: 169 )... In addition, the same error occurs when you access the local Oracle Database Multiple times. Check the code carefully and find that the code is correct. You can use Google to search for the error. A lot of information is useless. By querying the Oracle community, we found this was a Bug in Oracle Database 11g Release 1 (11.1.0.6.0) JDBC Drivers. The driver updated to 11.1.0.7.0 disappears. Only this record facilitates deployment staff to solve the problem, the new JDBC driver http://www.oracle.com/technology/global/cn/software/tech/java/sqlj_jdbc/htdocs/jdbc_111060.html
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.