Today, when I was doing a project exercise, after integrating SSH, I found that the console had an error with Oracle:
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.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. (oracledriver.java:209) at JAVA.LANG.CLASS.FORNAME0 (Native Method) at Java.lang.Class.forName (class.java:169) ... Baidu later learned that this is the Oracle Database 11g Release 1 (11.1.0.6.0) JDBC Drivers a bug. Simply replace the Ojdbc6.jar in the Tomcat/lib with a higher version, such as 11.1.0.7.0. TIPS: View the version of the Ojdbc6.jar method:
1 Java-jar Ojdbc.jar
As shown:
java-Troubleshooting SSH Integration, Oracle error: Error while registering Oracle JDBC diagnosablility MBean