unable to access sonar through web - sonarqube

i have installed sonar on rhel 6.3 64 bit machine but when trying to access the application through web using "http://10.217.14.40:13385/sonar" i get HTTP Error 503 Service Unavailable
Following is the last 100 lines from the log
[root#RHEL-6 logs]# tail -100 sonar.log
INFO | jvm 1 | 2012/09/25 07:58:21 | 07:58:21,136 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - ROOT level set to INFO
INFO | jvm 1 | 2012/09/25 07:58:21 | 07:58:21,136 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [SONAR_FILE] to Logger[ROOT]
INFO | jvm 1 | 2012/09/25 07:58:21 | 07:58:21,136 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator#77435978 - Registering current configuration as safe fallback point
INFO | jvm 1 | 2012/09/25 07:58:21 |
2012.09.25 07:58:21 INFO o.s.s.p.ServerImpl Sonar Server / 3.2 / d9303b2d9d4c1e75f8536e4144028f1999f727f4
2012.09.25 07:58:21 INFO o.s.s.d.EmbeddedDatabase Starting embedded database on port 9092 with url jdbc:h2:tcp://10.217.14.40:13384/sonar
2012.09.25 07:58:21 ERROR o.s.s.p.Platform Unable to start database
org.sonar.api.utils.SonarException: Unable to start database
at org.sonar.server.database.EmbeddedDatabase.start(EmbeddedDatabase.java:75) ~[classes/:na]
at org.sonar.server.database.EmbeddedDatabaseFactory.start(EmbeddedDatabaseFactory.java:41) ~[classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_07]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_07]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_07]
at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_07]
at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110) ~[picocontainer-2.14.1.jar:na]
at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89) ~[picocontainer-2.14.1.jar:na]
at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84) ~[picocontainer-2.14.1.jar:na]
at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169) ~[picocontainer-2.14.1.jar:na]
at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132) ~[picocontainer-2.14.1.jar:na]
at org.picocontainer.behaviors.Stored.start(Stored.java:110) ~[picocontainer-2.14.1.jar:na]
at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1009) ~[picocontainer-2.14.1.jar:na]
at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1002) ~[picocontainer-2.14.1.jar:na]
at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:760) ~[picocontainer-2.14.1.jar:na]
at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:70) ~[sonar-plugin-api-3.2.jar:na]
at org.sonar.server.platform.Platform.startDatabaseConnectors(Platform.java:166) ~[classes/:na]
at org.sonar.server.platform.Platform.init(Platform.java:114) ~[classes/:na]
at org.sonar.server.platform.PlatformLifecycleListener.contextInitialized(PlatformLifecycleListener.java:33) [classes/:na]
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) [jetty-6.1.25.jar:6.1.25]
at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) [jetty-6.1.25.jar:6.1.25]
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1272) [jetty-6.1.25.jar:6.1.25]
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jetty-6.1.25.jar:6.1.25]
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:489) [jetty-6.1.25.jar:6.1.25]
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.25.jar:6.1.25]
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jetty-6.1.25.jar:6.1.25]
at org.mortbay.jetty.Server.doStart(Server.java:224) [jetty-6.1.25.jar:6.1.25]
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jetty-util-6.1.25.jar:6.1.25]
at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:72) [sonar-application-3.2.jar:na]
at org.sonar.application.StartServer.main(StartServer.java:48) [sonar-application-3.2.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_07]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_07]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_07]
at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_07]
at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) [wrapper-3.2.3.jar:3.2.3]
at java.lang.Thread.run(Thread.java:722) [na:1.7.0_07]
Caused by: org.h2.jdbc.JdbcSQLException: Exception opening port "9092" (port may be in use), cause: "java.net.BindException: Address already in use" [90061-167]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:329) ~[h2-1.3.167.jar:1.3.167]
at org.h2.message.DbException.get(DbException.java:158) ~[h2-1.3.167.jar:1.3.167]
at org.h2.util.NetUtils.createServerSocketTry(NetUtils.java:190) ~[h2-1.3.167.jar:1.3.167]
at org.h2.util.NetUtils.createServerSocket(NetUtils.java:156) ~[h2-1.3.167.jar:1.3.167]
at org.h2.server.TcpServer.start(TcpServer.java:222) ~[h2-1.3.167.jar:1.3.167]
at org.h2.tools.Server.start(Server.java:455) ~[h2-1.3.167.jar:1.3.167]
at org.sonar.server.database.EmbeddedDatabase.start(EmbeddedDatabase.java:71) ~[classes/:na]
... 35 common frames omitted
Caused by: java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method) ~[na:1.7.0_07]
at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376) ~[na:1.7.0_07]
at java.net.ServerSocket.bind(ServerSocket.java:376) ~[na:1.7.0_07]
at java.net.ServerSocket.<init>(ServerSocket.java:237) ~[na:1.7.0_07]
at java.net.ServerSocket.<init>(ServerSocket.java:128) ~[na:1.7.0_07]
at org.h2.util.NetUtils.createServerSocketTry(NetUtils.java:186) ~[h2-1.3.167.jar:1.3.167]
... 39 common frames omitted
INFO | jvm 1 | 2012/09/25 07:58:21 | 2012-09-25 07:58:21.716:WARN::Failed startup of context org.mortbay.jetty.webapp.WebAppContext#1778db3{/,file:/home/BuildTools/sonar-3.2/war/sonar-server}
INFO | jvm 1 | 2012/09/25 07:58:21 | org.sonar.api.utils.SonarException: Unable to start database
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.sonar.server.database.EmbeddedDatabase.start(EmbeddedDatabase.java:75)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.sonar.server.database.EmbeddedDatabaseFactory.start(EmbeddedDatabaseFactory.java:41)
INFO | jvm 1 | 2012/09/25 07:58:21 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2012/09/25 07:58:21 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO | jvm 1 | 2012/09/25 07:58:21 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | 2012/09/25 07:58:21 | at java.lang.reflect.Method.invoke(Method.java:601)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.picocontainer.behaviors.Stored.start(Stored.java:110)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1009)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1002)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:760)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:70)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.sonar.server.platform.Platform.startDatabaseConnectors(Platform.java:166)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.sonar.server.platform.Platform.init(Platform.java:114)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.sonar.server.platform.PlatformLifecycleListener.contextInitialized(PlatformLifecycleListener.java:33)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1272)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:489)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.mortbay.jetty.Server.doStart(Server.java:224)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:72)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.sonar.application.StartServer.main(StartServer.java:48)
INFO | jvm 1 | 2012/09/25 07:58:21 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2012/09/25 07:58:21 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO | jvm 1 | 2012/09/25 07:58:21 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | 2012/09/25 07:58:21 | at java.lang.reflect.Method.invoke(Method.java:601)
INFO | jvm 1 | 2012/09/25 07:58:21 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO | jvm 1 | 2012/09/25 07:58:21 | at java.lang.Thread.run(Thread.java:722)
INFO | jvm 1 | 2012/09/25 07:58:21 | 2012-09-25 07:58:21.737:INFO::Started SelectChannelConnector#10.217.14.40:13385

As you can read in your log, Sonar fails to start because H2 database cannot be started. It can't be started because the port 9092 is already used:
Exception opening port "9092" (port may be in use), cause: "java.net.BindException: Address already in use"
This means that you already have another process that uses this port - probably another Sonar instance that is already started...

Related

error while starting application after raptor io upgrade to release version 14.2

INFO | jvm 1 | 2022/01/12 18:02:50 | Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
INFO | jvm 1 | 2022/01/12 18:02:50 | 18:02:50.298 [WrapperJarAppMain] WARN o.s.boot.SpringApplication - Error handling failed (org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext#1cc5b95 has not been refreshed yet)
INFO | jvm 1 | 2022/01/12 18:02:50 | 18:02:50.483 [WrapperJarAppMain] ERROR o.s.boot.SpringApplication - Application run failed
INFO | jvm 1 | 2022/01/12 18:02:50 | org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'mongoMetricsConnectionPoolListener' defined in class path resource [org/springframework/boot/actuate/autoconfigure/metrics/mongo/MongoMetricsAutoConfiguration$MongoConnectionPoolMetricsConfiguration.class]: Unsatisfied dependency expressed through method 'mongoMetricsConnectionPoolListener' parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mongoConnectionPoolTagsProvider' defined in class path resource [org/springframework/boot/actuate/autoconfigure/metrics/mongo/MongoMetricsAutoConfiguration$MongoConnectionPoolMetricsConfiguration.class]: Post-processing of merged bean definition failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [io.micrometer.core.instrument.binder.mongodb.DefaultMongoConnectionPoolTagsProvider] from ClassLoader [org.springframework.boot.loader.LaunchedURLClassLoader#67502fc5]
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:541)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:338)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1343)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1332)
INFO | jvm 1 | 2022/01/12 18:02:50 | at com.ebay.soa.raptorio.app.web.buyingsvc.BuyingsvcApplication.main(BuyingsvcApplication.java:10)
INFO | jvm 1 | 2022/01/12 18:02:50 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2022/01/12 18:02:50 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO | jvm 1 | 2022/01/12 18:02:50 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | 2022/01/12 18:02:50 | at java.lang.reflect.Method.invoke(Method.java:498)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:58)
INFO | jvm 1 | 2022/01/12 18:02:50 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2022/01/12 18:02:50 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO | jvm 1 | 2022/01/12 18:02:50 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | 2022/01/12 18:02:50 | at java.lang.reflect.Method.invoke(Method.java:498)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.tanukisoftware.wrapper.WrapperJarApp.run(WrapperJarApp.java:352)
INFO | jvm 1 | 2022/01/12 18:02:50 | at java.lang.Thread.run(Thread.java:748)
INFO | jvm 1 | 2022/01/12 18:02:50 | Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mongoConnectionPoolTagsProvider' defined in class path resource [org/springframework/boot/actuate/autoconfigure/metrics/mongo/MongoMetricsAutoConfiguration$MongoConnectionPoolMetricsConfiguration.class]: Post-processing of merged bean definition failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [io.micrometer.core.instrument.binder.mongodb.DefaultMongoConnectionPoolTagsProvider] from ClassLoader [org.springframework.boot.loader.LaunchedURLClassLoader#67502fc5]
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:597)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1380)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1300)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
INFO | jvm 1 | 2022/01/12 18:02:50 | ... 33 common frames omitted
INFO | jvm 1 | 2022/01/12 18:02:50 | Caused by: java.lang.IllegalStateException: Failed to introspect Class [io.micrometer.core.instrument.binder.mongodb.DefaultMongoConnectionPoolTagsProvider] from ClassLoader [org.springframework.boot.loader.LaunchedURLClassLoader#67502fc5]
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:481)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.util.ReflectionUtils.doWithLocalMethods(ReflectionUtils.java:321)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.buildLifecycleMetadata(InitDestroyAnnotationBeanPostProcessor.java:232)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.findLifecycleMetadata(InitDestroyAnnotationBeanPostProcessor.java:210)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(InitDestroyAnnotationBeanPostProcessor.java:149)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(CommonAnnotationBeanPostProcessor.java:305)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMergedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:1116)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594)
INFO | jvm 1 | 2022/01/12 18:02:50 | ... 43 common frames omitted
INFO | jvm 1 | 2022/01/12 18:02:50 | Caused by: java.lang.NoClassDefFoundError: com/mongodb/event/ConnectionPoolCreatedEvent
INFO | jvm 1 | 2022/01/12 18:02:50 | at java.lang.Class.getDeclaredMethods0(Native Method)
INFO | jvm 1 | 2022/01/12 18:02:50 | at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
INFO | jvm 1 | 2022/01/12 18:02:50 | at java.lang.Class.getDeclaredMethods(Class.java:1975)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:463)
INFO | jvm 1 | 2022/01/12 18:02:50 | ... 50 common frames omitted
INFO | jvm 1 | 2022/01/12 18:02:50 | Caused by: java.lang.ClassNotFoundException: com.mongodb.event.ConnectionPoolCreatedEvent
INFO | jvm 1 | 2022/01/12 18:02:50 | at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
INFO | jvm 1 | 2022/01/12 18:02:50 | at java.lang.ClassLoader.loadClass(ClassLoader.java:419)
INFO | jvm 1 | 2022/01/12 18:02:50 | at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:89)
INFO | jvm 1 | 2022/01/12 18:02:50 | at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
INFO | jvm 1 | 2022/01/12 18:02:50 | ... 54 common frames omitted
INFO | jvm 1 | 2022/01/12 18:02:50 | WrapperJarApp:
INFO | jvm 1 | 2022/01/12 18:02:50 | WrapperJarApp: Encountered an error running main:
INFO | jvm 1 | 2022/01/12 18:02:50 | WrapperJarApp: java.lang.reflect.InvocationTargetException
INFO | jvm 1 | 2022/01/12 18:02:50 | WrapperJarApp: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2022/01/12 18:02:50 | WrapperJarApp: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO | jvm 1 | 2022/01/12 18:02:50 | WrapperJarApp: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | 2022/01/12 18:02:50 | WrapperJarApp: at java.lang.reflect.Method.invoke(Method.java:498)
INFO | jvm 1 | 2022/01/12 18:02:50 | WrapperJarApp: at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
INFO | jvm 1 | 2022/01/12 18:02:50 | WrapperJarApp: at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
INFO | jvm 1 | 2022/01/12 18:02:50 | WrapperJarApp: at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
INFO | jvm 1 | 2022/01/12 18:02:50 | WrapperJarApp: at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:58)
INFO | jvm 1 | 2022/01/12 18:02:50 | WrapperJarApp: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2022/01/12 18:02:50 | WrapperJarApp: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO | jvm 1 | 2022/01/12 18:02:50 | WrapperJarApp: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | 2022/01/12 18:02:50 | WrapperJarApp: at java.lang.reflect.Method.invoke(Method.java:498)
INFO | jvm 1 | 2022/01/12 18:02:50 | WrapperJarApp: at org.tanukisoftware.wrapper.WrapperJarApp.run(WrapperJarApp.java:352)
INFO | jvm 1 | 2022/01/12 18:02:50 | WrapperJarApp: at java.lang.Thread.run(Thread.java:748)
Wondering if you found a solution. I am facing this as well after upgrading to spring boot parent version 2.6.2 to get the latest mongo driver.
Update: Actually I found a solution myself
Added the following to my app properties.. Sourced link also below.
management.metrics.mongo.command.enabled=false
management.metrics.mongo.connectionpool.enabled=false
https://docs.spring.io/spring-boot/docs/2.5.0/reference/html/actuator.html#actuator.metrics.supported.mongodb

Hybris rule engine not invokes promotions

When we want to invoke a promotion in clustered environment, we get an exception. It looks like a maven dependency problem with wrong protobuf-java library version. But we couldn't find a solution to fix.
Similar problem:
http://drools-moved.46999.n3.nabble.com/Upgrade-to-protobuf-2-5-and-how-to-work-with-Protobuf-td4023028.html
INFO | jvm 1 | main | 2018/01/16 22:13:26.793 | ESC[mException in thread "AfterSaveEventPublisher-master" java.lang.VerifyError: class org.drools.compiler.kie.builder.impl.KieModuleCache$KModuleCache overrides final method getUnknownFields.()Lcom/google/protobuf/UnknownFieldSet;
INFO | jvm 1 | main | 2018/01/16 22:13:26.793 | at java.lang.ClassLoader.defineClass1(Native Method)
INFO | jvm 1 | main | 2018/01/16 22:13:26.793 | at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
INFO | jvm 1 | main | 2018/01/16 22:13:26.793 | at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
INFO | jvm 1 | main | 2018/01/16 22:13:26.793 | at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
INFO | jvm 1 | main | 2018/01/16 22:13:26.793 | at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
INFO | jvm 1 | main | 2018/01/16 22:13:26.793 | at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
INFO | jvm 1 | main | 2018/01/16 22:13:26.793 | at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
INFO | jvm 1 | main | 2018/01/16 22:13:26.793 | at java.security.AccessController.doPrivileged(Native Method)
INFO | jvm 1 | main | 2018/01/16 22:13:26.793 | at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
INFO | jvm 1 | main | 2018/01/16 22:13:26.793 | at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
INFO | jvm 1 | main | 2018/01/16 22:13:26.793 | at de.hybris.bootstrap.loader.YURLClassLoader.loadRegisterAndResolveClass(YURLClassLoader.java:85)
INFO | jvm 1 | main | 2018/01/16 22:13:26.793 | at de.hybris.bootstrap.loader.YURLClassLoader.loadClass(YURLClassLoader.java:72)
INFO | jvm 1 | main | 2018/01/16 22:13:26.793 | at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
INFO | jvm 1 | main | 2018/01/16 22:13:26.793 | at org.drools.compiler.kie.builder.impl.KieMetaInfoBuilder.createCacheBuilder(KieMetaInfoBuilder.java:119)
INFO | jvm 1 | main | 2018/01/16 22:13:26.793 | at org.drools.compiler.kie.builder.impl.KieMetaInfoBuilder.generateKieModuleMetaInfo(KieMetaInfoBuilder.java:72)
INFO | jvm 1 | main | 2018/01/16 22:13:26.793 | at org.drools.compiler.kie.builder.impl.KieMetaInfoBuilder.writeKieModuleMetaInfo(KieMetaInfoBuilder.java:54)
INFO | jvm 1 | main | 2018/01/16 22:13:26.793 | at org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildKieProject(KieBuilderImpl.java:233)
INFO | jvm 1 | main | 2018/01/16 22:13:26.793 | at org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildAll(KieBuilderImpl.java:197)
INFO | jvm 1 | main | 2018/01/16 22:13:26.793 | at de.hybris.platform.ruleengine.init.impl.DefaultRuleEngineKieModuleSwapper.createKieModule(DefaultRuleEngineKieModuleSwapper.java:276)
INFO | jvm 1 | main | 2018/01/16 22:13:26.793 | at de.hybris.platform.ruleengine.init.impl.DefaultRuleEngineBootstrap.startup(DefaultRuleEngineBootstrap.java:73)
INFO | jvm 1 | main | 2018/01/16 22:13:26.793 | at de.hybris.platform.ruleengine.event.OnTenantStartupProcessor.lambda$0(OnTenantStartupProcessor.java:103)
INFO | jvm 1 | main | 2018/01/16 22:13:26.793 | at java.util.ArrayList.forEach(ArrayList.java:1255)
INFO | jvm 1 | main | 2018/01/16 22:13:26.793 | at de.hybris.platform.ruleengine.event.OnTenantStartupProcessor.activateRulesModules(OnTenantStartupProcessor.java:103)
INFO | jvm 1 | main | 2018/01/16 22:13:26.793 | at de.hybris.platform.ruleengine.event.OnTenantStartupProcessor.processOnTenantStartup(OnTenantStartupProcessor.java:74)
INFO | jvm 1 | main | 2018/01/16 22:13:26.793 | at de.hybris.platform.ruleengine.event.OnTenantStartupProcessor$DefaultRuleEngineTenantListener.afterTenantStartUp(OnTenantStartupProcessor.java:
When making ant production, the order of extensions is created changing. There are two Protobuf jars, for solr and ruleengine. Solr based protbuf version is 2.5 and there is problem with rule engine.
Possible solution is replace the localextions.xml generated after "ant production" with the original one. Then, start server successfully.

System property stops taking effect when moved to application.properties

I have a Spring Boot application that uses Spring Data and Hibernate for data access. I initially encountered significantly long application start-up times. So, based on this answer, I set 'hibernate.temp.use_jdbc_metadata_defaults' to 'false' as a system property (-D). The application startup time issue was resolved.
Now, I moved that configuration from a system property to application.properties. The delayed application start-up issue has returned.
My application.properties:
hibernate.temp.use_jdbc_metadata_defaults=false
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.show-sql=true
spring.jpa.hibernate.ddl-auto=none
spring.datasource.validation-query=SELECT 1
spring.datasource.testOnBorrow=true
spring.datasource.testWhileIdle=true
After setting "org.springframework.core.env" to "DEBUG" logging, I see that the property is resolved from application.properties (as expected).
INFO | jvm 1 | 2015/07/20 19:47:15 | 19:47:15.211 [WrapperJarAppMain] DEBUG o.s.c.e.PropertySourcesPropertyResolver - Found key 'spring.jpa.database-platform' in [applicationConfig: [classpath:/application.properties]] with type [String] and value 'org.hibernate.dialect.PostgreSQLDialect'
...
INFO | jvm 1 | 2015/07/20 19:47:15 | 19:47:15.226 [WrapperJarAppMain] DEBUG o.s.c.e.PropertySourcesPropertyResolver - Found key 'hibernate.temp.use_jdbc_metadata_defaults' in [applicationConfig: [classpath:/application.properties]] with type [String] and value 'false'
...
INFO | jvm 1 | 2015/07/20 19:47:15 | 19:47:15.229 [WrapperJarAppMain] DEBUG o.s.c.e.PropertySourcesPropertyResolver - Found key 'spring.jpa.hibernate.ddl-auto' in [applicationConfig: [classpath:/application.properties]] with type [String] and value 'none'
During the delayed startup, the app stalls at a particular point and then resumes. When it is stalled, "jstack"ing the JVM gives the following result:
INFO | jvm 1 | 2015/07/20 19:47:58 | "WrapperJarAppMain" #20 prio=5 os_prio=0 tid=0x00007fb1ec02b800 nid=0x1d39 runnable [0x00007fb248257000]
INFO | jvm 1 | 2015/07/20 19:47:58 | java.lang.Thread.State: RUNNABLE
INFO | jvm 1 | 2015/07/20 19:47:58 | at java.net.SocketInputStream.socketRead0(Native Method)
INFO | jvm 1 | 2015/07/20 19:47:58 | at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
INFO | jvm 1 | 2015/07/20 19:47:58 | at java.net.SocketInputStream.read(SocketInputStream.java:170)
INFO | jvm 1 | 2015/07/20 19:47:58 | at java.net.SocketInputStream.read(SocketInputStream.java:141)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.postgresql.core.VisibleBufferedInputStream.readMore(VisibleBufferedInputStream.java:143)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.postgresql.core.VisibleBufferedInputStream.ensureBytes(VisibleBufferedInputStream.java:112)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.postgresql.core.VisibleBufferedInputStream.read(VisibleBufferedInputStream.java:71)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.postgresql.core.PGStream.ReceiveChar(PGStream.java:282)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1803)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
INFO | jvm 1 | 2015/07/20 19:47:58 | - locked <0x000000077a9f8ca0> (a org.postgresql.core.v3.QueryExecutorImpl)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:570)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:420)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.postgresql.jdbc2.TypeInfoCache.getPGType(TypeInfoCache.java:323)
INFO | jvm 1 | 2015/07/20 19:47:58 | - locked <0x000000077aa00ce0> (a org.postgresql.jdbc2.TypeInfoCache)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.postgresql.jdbc2.TypeInfoCache.getSQLType(TypeInfoCache.java:175)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.postgresql.jdbc2.TypeInfoCache.requiresQuoting(TypeInfoCache.java:711)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.postgresql.jdbc2.AbstractJdbc2DatabaseMetaData.getTypeInfo(AbstractJdbc2DatabaseMetaData.java:4002)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.hibernate.engine.jdbc.spi.TypeInfo.extractTypeInfo(TypeInfo.java:101)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:163)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:111)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:234)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:206)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.hibernate.cfg.Configuration.buildTypeRegistrations(Configuration.java:1887)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1845)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:852)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:845)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.withTccl(ClassLoaderServiceImpl.java:398)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:844)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:60)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:343)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:318)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1633)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
INFO | jvm 1 | 2015/07/20 19:47:58 | - locked <0x00000006dc2676d0> (a java.util.concurrent.ConcurrentHashMap)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:956)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:747)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
INFO | jvm 1 | 2015/07/20 19:47:58 | - locked <0x00000006dbd48650> (a java.lang.Object)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:320)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:957)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:946)
INFO | jvm 1 | 2015/07/20 19:47:58 | at xyz.abc.AppApplication.main(AppApplication.java:10)
INFO | jvm 1 | 2015/07/20 19:47:58 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2015/07/20 19:47:58 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO | jvm 1 | 2015/07/20 19:47:58 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | 2015/07/20 19:47:58 | at java.lang.reflect.Method.invoke(Method.java:497)
INFO | jvm 1 | 2015/07/20 19:47:58 | at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)
INFO | jvm 1 | 2015/07/20 19:47:58 | at java.lang.Thread.run(Thread.java:745)
INFO | jvm 1 | 2015/07/20 19:47:58 |
From "org.postgresql.jdbc2.TypeInfoCache.getSQLType" (in the above stack), I think Hibernate is still attempting to load metadata. This runs contrary to my configuration.
I would appreciate any pointers on how moving a configuration from a system property to application.properties can cause it to not take effect?
To specify any property that isn't in the default spring.jpa expected properties use spring.jpa.properties.<your-property-name-here>.
So instead of
hibernate.temp.use_jdbc_metadata_defaults=false
Use this instead in your application.properties.
spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults=false
This is explained in this section of the Spring Boot reference guide.
spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults = false
add the above to your application.properties file in your spring project

No session found for current thread. Works in local QA, fails in production

I know there are tons of questions related to this issue in SO. However my problem is different, my code works fine in local and QA, but giving this error in production.
NFO   | jvm 1    | main    org.hibernate.HibernateException: No Session found for
current thread
INFO   | jvm 1    | main       at
org.springframework.orm.hibernate4.SpringSessionContext.currentSession(SpringSessionContext.java:97)
INFO   | jvm 1    | main        at
org.hibernate.internal.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:988)
I can provide further details if needed, however I don't think you guys want to look at the code, when code is working in local and QA. Please help if anyone has encountered this situation.
EDIT1:
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | [1;31mFATAL [HTTP41] ] [Http500Handler] An Exception has occured in the application
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | org.hibernate.HibernateException: No Session found for current thread
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at org.springframework.orm.hibernate4.SpringSessionContext.currentSession(SpringSessionContext.java:97)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at org.hibernate.internal.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:988)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at com.ppc.myapp.integration.dao.contract.impl.contractDAOImpl.getAccountStatus(contractDAOImpl.java:36)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at java.lang.reflect.Method.invoke(Method.java:606)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at com.sun.proxy.$Proxy37.getAccountStatus(Unknown Source)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at com.mycompany.integration.customer.impl.CustomerCreditServiceImpl.isCreditWorthy(CustomerCreditServiceImpl.java:117)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at com.mycompany.integration.eligibility.impl.EligibilityLookupServiceImpl.checkMaxOrderMinCreditWorthiness(EligibilityLookupServiceImpl.java:230)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at java.lang.reflect.Method.invoke(Method.java:606)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at com.sun.proxy.$Proxy40.checkMaxOrderMinCreditWorthiness(Unknown Source)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at com.mycompany.facades.order.impl.PPACheckoutFacadeImpl.getMaxOrderMinSalaryCreditWorthyCheck(PPACheckoutFacadeImpl.java:534)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at com.mycompany.storefront.controllers.pages.checkout.CheckoutController.checkout(CheckoutController.java:94)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO | jvm 1 | main | 2014/05/13 07:35:48.065 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at java.lang.reflect.Method.invoke(Method.java:606)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:900)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:144)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at de.hybris.platform.servicelayer.web.PlatformFilterChain$InternalFilterChain.doFilter(PlatformFilterChain.java:203)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at com.mycompany.storefront.filters.NoCacheFilter.doFilterInternal(NoCacheFilter.java:36)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at de.hybris.platform.servicelayer.web.PlatformFilterChain$InternalFilterChain.doFilter(PlatformFilterChain.java:175)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at com.mycompany.storefront.filters.client.PPAOpenEnrollmentFilter.doFilterInternal(PPAOpenEnrollmentFilter.java:82)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at de.hybris.platform.servicelayer.web.PlatformFilterChain$InternalFilterChain.doFilter(PlatformFilterChain.java:175)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at com.mycompany.storefront.filters.client.PPAClientFilter.doFilterInternal(PPAClientFilter.java:52)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
INFO | jvm 1 | main | 2014/05/13 07:35:48.066 | at de.hybris.platform.servicelayer.web.PlatformFilterChain$InternalFilterChain.doFilter(PlatformFilterChain.java:175)
INFO | jvm 1 | main | 2014/05/13 07:35:48.067 | at com.mycompany.storefront.filters.btg.BTGSegmentFilter.doFilterInternal(BTGSegmentFilter.java:47)
INFO | jvm 1 | main | 2014/05/13 07:35:48.067 | at sun.reflect.GeneratedMethodAccessor969.invoke(Unknown Source)
INFO | jvm 1 | main | 2014/05/13 07:35:48.067 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | main | 2014/05/13 07:35:48.067 | at java.lang.reflect.Method.invoke(Method.java:606)
INFO | jvm 1 | main | 2014/05/13 07:35:48.067 | at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
INFO | jvm 1 | main | 2014/05/13 07:35:48.067 | at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
INFO | jvm 1 | main | 2014/05/13 07:35:48.067 | at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:686)
We found the issue. The context initialization failed during server start due to a missing property(from property file) in one of the bean injections.Application was up and most of the things were working but failed in this case.
We had to back out the build to Production because of the issue.
Thanks to all for your help.
EDIT:2
Adding the stacktrace seen in the server startup, we overlooked server startup logs, as We found the application up and running fine.
INFO | jvm 1 | main | 2014/05/13 07:37:25.977 | [m[0;31mERROR [WrapperSimpleAppMain] [Registry] Error while initialization global application context
INFO | jvm 1 | main | 2014/05/13 07:37:25.977 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'importPaymentInfoImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'migration.paymentinfo.dir'
INFO | jvm 1 | main | 2014/05/13 07:37:25.977 | at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:287)
INFO | jvm 1 | main | 2014/05/13 07:37:25.977 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
INFO | jvm 1 | main | 2014/05/13 07:37:25.977 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
INFO | jvm 1 | main | 2014/05/13 07:37:25.977 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

SonarQube exception even following tutorials

I've downloaded mysql 5.6 and sonarqube. I'm following the tutorials on SonarQube' site. And I'm getting exceptions when I run SonarQube.
This is my sonar.properties' file:
...
sonar.web.host: 0.0.0.1
sonar.web.port: 80
sonar.web.context: /sonar
...
#----- Credentials
# Permissions to create tables and indexes must be granted to JDBC user.
# The schema must be created first.
sonar.jdbc.username: sonar
sonar.jdbc.password: sonar
...
#----- MySQL 5.x
# Comment the embedded database and uncomment the following line to use MySQL
sonar.jdbc.url:jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true
...
The following shows my exceptions:
wrapper | --> Wrapper Started as Console
wrapper | Launching a JVM...
jvm 1 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
jvm 1 |
jvm 1 | 2013-09-16 15:21:04.651:INFO:oejs.Server:jetty-7.6.11.v20130520
jvm 1 | JRuby limited openssl loaded. http://jruby.org/openssl
jvm 1 | gem install jruby-openssl for full support.
jvm 1 | 2013-09-16 15:21:18.395:INFO:oejsh.ContextHandler:started o.e.j.w.Web
AppContext{/sonar,file:/C:/sonar-3.7/war/sonar-server/},file:/C:/sonar-3.7/war/s
onar-server
jvm 1 | 2013-09-16 15:21:18.700:WARN:oejuc.AbstractLifeCycle:FAILED SelectCha
nnelConnector#0.0.0.1:80: java.net.BindException: Cannot assign requested addres
s: bind
jvm 1 | java.net.BindException: Cannot assign requested address: bind
jvm 1 | at sun.nio.ch.Net.bind0(Native Method)
jvm 1 | at sun.nio.ch.Net.bind(Unknown Source)
jvm 1 | at sun.nio.ch.Net.bind(Unknown Source)
jvm 1 | at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
jvm 1 | at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
jvm 1 | at org.eclipse.jetty.server.nio.SelectChannelConnector.open(Sele
ctChannelConnector.java:187)
jvm 1 | at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractCo
nnector.java:316)
jvm 1 | at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(S
electChannelConnector.java:265)
jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Abst
ractLifeCycle.java:64)
jvm 1 | at org.eclipse.jetty.server.Server.doStart(Server.java:292)
jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Abst
ractLifeCycle.java:64)
jvm 1 | at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:
67)
jvm 1 | at org.sonar.application.StartServer.main(StartServer.java:47)
jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Sourc
e)
jvm 1 | at java.lang.reflect.Method.invoke(Unknown Source)
jvm 1 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimple
App.java:240)
jvm 1 | at java.lang.Thread.run(Unknown Source)
jvm 1 | 2013-09-16 15:21:18.701:WARN:oejuc.AbstractLifeCycle:FAILED org.eclip
se.jetty.server.Server#11597f2: java.net.BindException: Cannot assign requested
address: bind
jvm 1 | java.net.BindException: Cannot assign requested address: bind
jvm 1 | at sun.nio.ch.Net.bind0(Native Method)
jvm 1 | at sun.nio.ch.Net.bind(Unknown Source)
jvm 1 | at sun.nio.ch.Net.bind(Unknown Source)
jvm 1 | at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
jvm 1 | at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
jvm 1 | at org.eclipse.jetty.server.nio.SelectChannelConnector.open(Sele
ctChannelConnector.java:187)
jvm 1 | at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractCo
nnector.java:316)
jvm 1 | at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(S
electChannelConnector.java:265)
jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Abst
ractLifeCycle.java:64)
jvm 1 | at org.eclipse.jetty.server.Server.doStart(Server.java:292)
jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Abst
ractLifeCycle.java:64)
jvm 1 | at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:
67)
jvm 1 | at org.sonar.application.StartServer.main(StartServer.java:47)
jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Sourc
e)
jvm 1 | at java.lang.reflect.Method.invoke(Unknown Source)
jvm 1 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimple
App.java:240)
jvm 1 | at java.lang.Thread.run(Unknown Source)
jvm 1 |
jvm 1 | WrapperSimpleApp: Encountered an error running main: java.net.BindExc
eption: Cannot assign requested address: bind
jvm 1 | java.net.BindException: Cannot assign requested address: bind
jvm 1 | at sun.nio.ch.Net.bind0(Native Method)
jvm 1 | at sun.nio.ch.Net.bind(Unknown Source)
jvm 1 | at sun.nio.ch.Net.bind(Unknown Source)
jvm 1 | at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
jvm 1 | at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
jvm 1 | at org.eclipse.jetty.server.nio.SelectChannelConnector.open(Sele
ctChannelConnector.java:187)
jvm 1 | at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractCo
nnector.java:316)
jvm 1 | at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(S
electChannelConnector.java:265)
jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Abst
ractLifeCycle.java:64)
jvm 1 | at org.eclipse.jetty.server.Server.doStart(Server.java:292)
jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Abst
ractLifeCycle.java:64)
jvm 1 | at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:
67)
jvm 1 | at org.sonar.application.StartServer.main(StartServer.java:47)
jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Sourc
e)
jvm 1 | at java.lang.reflect.Method.invoke(Unknown Source)
jvm 1 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimple
App.java:240)
jvm 1 | at java.lang.Thread.run(Unknown Source)
wrapper | <-- Wrapper Stopped
Is there any additional file do I need to change to get things done?

Resources