Advertisement
Guest User

Untitled

a guest
May 23rd, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.26 KB | None | 0 0
  1. 2019-05-23 09:54:28,289 +0000 [localhost-startStop-1] [SpringApplication] ERROR Application run failed
  2. org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [HikariDataSource (HikariPool-2)] with key 'dataSource'; nested exception is javax.management.InstanceAlreadyExistsException: com.zaxxer.hikari:name=
  3. dataSource,type=HikariDataSource
  4. at org.springframework.jmx.export.MBeanExporter.registerBeanNameOrInstance(MBeanExporter.java:625)
  5. at org.springframework.jmx.export.MBeanExporter.lambda$registerBeans$2(MBeanExporter.java:551)
  6. at java.util.HashMap.forEach(HashMap.java:1289)
  7. at org.springframework.jmx.export.MBeanExporter.registerBeans(MBeanExporter.java:551)
  8. at org.springframework.jmx.export.MBeanExporter.afterSingletonsInstantiated(MBeanExporter.java:434)
  9. at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:866)
  10. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877)
  11. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)
  12. at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142)
  13. at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775)
  14. at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
  15. at org.springframework.boot.SpringApplication.run(SpringApplication.java:316)
  16. at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:157)
  17. at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:137)
  18. at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:91)
  19. at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:171)
  20. at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5225)
  21. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  22. at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
  23. at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
  24. at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
  25. at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1135)
  26. at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1870)
  27. at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  28. at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  29. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  30. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  31. at java.lang.Thread.run(Thread.java:748)
  32. Caused by: javax.management.InstanceAlreadyExistsException: com.zaxxer.hikari:name=dataSource,type=HikariDataSource
  33. at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437)
  34. at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)
  35. at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)
  36. at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)
  37. at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)
  38. at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
  39. at org.springframework.jmx.support.MBeanRegistrationSupport.doRegister(MBeanRegistrationSupport.java:137)
  40. at org.springframework.jmx.export.MBeanExporter.registerBeanInstance(MBeanExporter.java:671)
  41. at org.springframework.jmx.export.MBeanExporter.registerBeanNameOrInstance(MBeanExporter.java:615)
  42. ... 27 common frames omitted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement