tomcat启动加载项目,出现如下问题

李沙沙 发布于 2011/06/21 09:52
阅读 2K+
收藏 0

MyEclipse8.6环境下,Tomcat7.0加载项目出现如下问题

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:1403)
 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)
 at util.ConnectionUtil.getConnection(ConnectionUtil.java:24)
 at servlet.day2.QueryUserServlet.service(QueryUserServlet.java:31)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
 at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:403)
 at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:286)
 at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:272)
 at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1730)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:619)

加载中
0
红薯
红薯

这是Oracle Database 11g Release 1 (11.1.0.6.0) JDBC Drivers 的一个Bug。更新到11.1.0.7.0版本的驱动,问题就解决了。

官方关于此问题的讨论:
http://forums.oracle.com/forums/thread.jspa?messageID=2690423

返回顶部
顶部