System property stops taking effect when moved to application.properties - spring

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

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.

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)

org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-28001: the password has expired )

I have an app that is using Oracle 11g as the db, and we had neglected to set the password expiration to never and the app itself then failed when the original password expired. We corrected that, and reset the password back to the original, and for some reason, while most of the functionality is working properly, part is not (throws the error in title). Below is the output from the log file. I have tried rebooting the server etc, but still get the same issue. Any thought?
Thanks!!!
INFO | jvm 1 | 2012/11/01 13:13:23 | INFO: webClient: Request attributes: [service=tsapprovals][tb=managedresources][oid=][action=splitpanecontroller][orderBy=][sortBy=] from Host[108.28.145.157]
INFO | jvm 1 | 2012/11/01 13:13:23 | AbandonedObjectPool is used (org.apache.commons.dbcp.AbandonedObjectPool#51f1e39b)
INFO | jvm 1 | 2012/11/01 13:13:23 | LogAbandoned: true
INFO | jvm 1 | 2012/11/01 13:13:23 | RemoveAbandoned: true
INFO | jvm 1 | 2012/11/01 13:13:23 | RemoveAbandonedTimeout: 300
INFO | jvm 1 | 2012/11/01 13:13:24 | org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-28001: the password has expired
INFO | jvm 1 | 2012/11/01 13:13:24 | )
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225)
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.util.DBConnectionFactory.getPooledConnection(DBConnectionFactory.java:459)
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.util.DBConnectionFactory.getConnection(DBConnectionFactory.java:242)
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.util.DBConnectionFactory.getConnection(DBConnectionFactory.java:221)
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.util.DBConnectionFactory.<init>(DBConnectionFactory.java:157)
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.util.DBConnectionFactory.getInstance(DBConnectionFactory.java:208)
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.report.db.CrossPointDBUtility.<init>(CrossPointDBUtility.java:45)
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.report.queries.DBQuery.initialize(DBQuery.java:64)
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.report.queries.approval.PendingApprovalsQuery.initialize(PendingApprovalsQuery.java:34)
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.web.command.splitpane.services.PendingApprovals.execute(PendingApprovals.java:65)
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.web.command.splitpane.SplitPaneCommand.displayControllerPane(SplitPaneCommand.java:120)
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.web.command.splitpane.SplitPaneCommand.execute(SplitPaneCommand.java:57)
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.web.servlet.CommandProcessor.processAction(CommandProcessor.java:1587)
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.web.servlet.CommandProcessor.process(CommandProcessor.java:1156)
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.web.servlet.Controller.handleRequest(Controller.java:210)
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.velocity.servlet.VelocityServlet.doRequest(VelocityServlet.java:358)
INFO | jvm 1 | 2012/11/01 13:13:24 | at isc.thinclient.web.servlet.Controller.doRequest(Controller.java:838)
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.velocity.servlet.VelocityServlet.doGet(VelocityServlet.java:317)
INFO | jvm 1 | 2012/11/01 13:13:24 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
INFO | jvm 1 | 2012/11/01 13:13:24 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
INFO | jvm 1 | 2012/11/01 13:13:24 | at java.lang.Thread.run(Thread.java:595)
INFO | jvm 1 | 2012/11/01 13:13:24 | Caused by: java.sql.SQLException: ORA-28001: the password has expired
INFO | jvm 1 | 2012/11/01 13:13:24 |
INFO | jvm 1 | 2012/11/01 13:13:24 | at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
INFO | jvm 1 | 2012/11/01 13:13:24 | at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
INFO | jvm 1 | 2012/11/01 13:13:24 | at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:283)
INFO | jvm 1 | 2012/11/01 13:13:24 | at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:278)
INFO | jvm 1 | 2012/11/01 13:13:24 | at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth(T4CTTIoauthenticate.java:791)
INFO | jvm 1 | 2012/11/01 13:13:24 | at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:362)
INFO | jvm 1 | 2012/11/01 13:13:24 | at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:439)
INFO | jvm 1 | 2012/11/01 13:13:24 | at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
INFO | jvm 1 | 2012/11/01 13:13:24 | at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
INFO | jvm 1 | 2012/11/01 13:13:24 | at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294)
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1247)
INFO | jvm 1 | 2012/11/01 13:13:24 | at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1221)
INFO | jvm 1 | 2012/11/01 13:13:24 | ... 34 more
INFO | jvm 1 | 2012/11/01 13:13:24 | loggedInUSer: System Administrator Thu Nov 01 18:13:24 UTC 2012
INFO | jvm 1 | 2012/11/01 13:13:24 | isc.thinclient.api.ThinAPIException: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-28001: the password has expired
It seems the password for your user profile has been expired, please try to execute the below query which can resolve this issue - for username and password use your values.
ALTER USER username IDENTIFIED BY password;

unable to access sonar through web

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...

Resources