Error Message
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.scheduling.quartz.SchedulerFactoryBean#0' defined in ServletContext resource [/WEB-INF/msh-config.xml]: Invocation of init method failed; nested exception is org.quartz.JobPersistenceException: Failed to obtain DB connection from datasource 'springTxDataSource.org.springframework.scheduling.quartz.SchedulerFactoryBean#0': com.atomikos.jdbc.AtomikosSQLException: Failed to grow the connection pool [See nested exception: com.atomikos.jdbc.AtomikosSQLException: Failed to grow the connection pool]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log fileMay 11, 2016 10:12:43 AM org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [13,256] milliseconds.
May 11, 2016 10:12:43 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/domibus] startup failed due to previous errors
May 11, 2016 10:12:43 AM org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
May 11, 2016 10:12:43 AM org.apache.catalina.core.ApplicationContext log
INFO: Shutting down log4j
Caused by: java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required"
Cause
This is because basic authentication to proxy server has been disabled by default from Java 8 version 111 onwards.
Workaround/Fix
Re-enable basic authentication to proxy server setting by adding the environment setting -Djdk.http.auth.tunneling.disabledSchemes="" on start-up script of each managed server.