There was a problem when the test server restarted Tomcat
javax.management.InstanceNotFoundException: com.alibaba.druid:type=DruidDataSourceStat
the main reason for the error:
there are multiple Tomcat on the server, and they all use Druid to do so
solution:
modify the catalina.sh :
add this sentence Code: Java_ OPTS=”- Ddruid.registerToSysProperty=true ”
Read More:
- How to Solve ERROR – unregister mbean error javax.management.InstanceNotFoundException: com.alibaba.druid:type=
- [Solved] com.alibaba.druid.pool.DruidDataSource – create connecti
- com.alibaba.druid.pool.DruidDataSource error Warning: init datasource error
- [Solved] Druid register MBean error: ERROR [com.alibaba.druid.stat.DruidDataSourceStatManager]
- Calling Dubbo Service reported the following error (com.alibaba.dubbo.remoting.RemotingException) Causes and Solutions
- Request processing failed; nested exception is com.alibaba.fastjson.JSONException: can not cast to J
- [Solved] fastjson Error: com.alibaba.fastjson.JSONObject cannot be cast to xxxx
- [Solved] Failed to bind properties under ‘spring.datasource.type‘ to java.lang.Class<javax.sql.DataSource>
- Weblogic Start Error: weblogic.management.DeploymentException: weblogic.management.DeploymentException:
- Spring Boot Druid Error: discard long time none received connection
- Eclipse Error: javax.servlet.annotation.WebFilter [Solved]
- Keytool: How to solve javax.net.ssl.SSLHandshakeException Error?
- XML read process error: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1] Message: Content not allowed in preamble
- JSP error: The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path
- [Solved] Consul Error: github.com/boltdb/bolt github.com/boltdb/bolt github.com/hashicorp/raft-boltdb
- [Solved] The method getContextPath() from the type HttpServletRequest refers to the missing type String
- maven Error: Element ‘dependency’ cannot have character [children], because the type’s content type is
- Win assembleDebug Downloading gradle.zip Error: Exception in thread “main” java.lang.RuntimeException: javax.net.ssl.SSLExce
- Libtorch Error: Expected object of type Variable but found type CUDALongType for argument #2 ‘index’
- [Solved] Error while extracting response for type [] and content type []…