Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Start on RHEL 7 #1765

Open
rbecker911 opened this issue Sep 19, 2016 · 0 comments
Open

Unable to Start on RHEL 7 #1765

rbecker911 opened this issue Sep 19, 2016 · 0 comments

Comments

@rbecker911
Copy link

I am unable to get ThreadFix to startup on RHEL 7. I have tried both the prebuilt .war file and built a copy from maven. The maven build was clean, but also did not start. The same error was shown. Error also occurs with both MySQL and HSDB.

[root@ddcsvitop01 tomcat]# java -showversion
openjdk version "1.8.0_102"
OpenJDK Runtime Environment (build 1.8.0_102-b14)

Tomcat:
tomcat-7.0.54-2.el7_1.noarch

2016-09-16 13:41:28,475 [localhost-startStop-1] WARN org.springframework.context.support.AbstractApplicationContext (AbstractApplicationContext.java:487) - Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerAdapter' defined in class path resource [org/springframework/web/servlet/config/annotation/DelegatingWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter]: Factory method 'requestMappingHandlerAdapter' threw exception; nested exception is javax.xml.transform.TransformerFactoryConfigurationError: Provider net.sf.saxon.TransformerFactoryImpl not found
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1117)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1012)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:759)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:434)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1898)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter]: Factory method 'requestMappingHandlerAdapter' threw exception; nested exception is javax.xml.transform.TransformerFactoryConfigurationError: Provider net.sf.saxon.TransformerFactoryImpl not found
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
... 27 more
Caused by: javax.xml.transform.TransformerFactoryConfigurationError: Provider net.sf.saxon.TransformerFactoryImpl not found
at javax.xml.transform.FactoryFinder.newInstance(FactoryFinder.java:187)
at javax.xml.transform.FactoryFinder.find(FactoryFinder.java:264)
at javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:106)
at org.springframework.http.converter.xml.SourceHttpMessageConverter.(SourceHttpMessageConverter.java:80)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.(RequestMappingHandlerAdapter.java:180)
at org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport.requestMappingHandlerAdapter(WebMvcConfigurationSupport.java:459)
at org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration$$EnhancerBySpringCGLIB$$755aa509.CGLIB$requestMappingHandlerAdapter$28()
at org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration$$EnhancerBySpringCGLIB$$755aa509$$FastClassBySpringCGLIB$$4b6babcf.invoke()
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309)
at org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration$$EnhancerBySpringCGLIB$$755aa509.requestMappingHandlerAdapter()
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
... 28 more
Caused by: java.lang.ClassNotFoundException: net/sf/saxon/TransformerFactoryImpl
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at javax.xml.transform.FactoryFinder.getProviderClass(FactoryFinder.java:127)
at javax.xml.transform.FactoryFinder.newInstance(FactoryFinder.java:169)
... 43 more
2016-09-16 13:41:29,596 [localhost-startStop-1] INFO denimgroup.threadfix.service.queue.scheduledjob.AbstractScheduledJobScheduler (AbstractScheduledJobScheduler.java:94) - Shutting down scheduler.
2016-09-16 13:41:29,596 [localhost-startStop-1] INFO org.quartz.core.QuartzScheduler (QuartzScheduler.java:694) - Scheduler DefaultQuartzScheduler_$NON_CLUSTERED shutting down.
2016-09-16 13:41:29,596 [localhost-startStop-1] INFO org.quartz.core.QuartzScheduler (QuartzScheduler.java:613) - Scheduler DefaultQuartzScheduler
$NON_CLUSTERED paused.
2016-09-16 13:41:29,596 [localhost-startStop-1] DEBUG org.quartz.simpl.SimpleThreadPool (SimpleThreadPool.java:328) - Shutting down threadpool...
2016-09-16 13:41:29,597 [localhost-startStop-1] DEBUG org.quartz.simpl.SimpleThreadPool (SimpleThreadPool.java:395) - Shutdown of threadpool complete.
2016-09-16 13:41:29,597 [localhost-startStop-1] INFO org.quartz.core.QuartzScheduler (QuartzScheduler.java:771) - Scheduler DefaultQuartzScheduler
$_NON_CLUSTERED shutdown complete.
2016-09-16 13:41:29,597 [localhost-startStop-1] INFO denimgroup.threadfix.service.queue.scheduledjob.AbstractScheduledJobScheduler (AbstractScheduledJobScheduler.java:97) - Successfully shut down scheduler.
2016-09-16 13:41:29,597 [localhost-startStop-1] INFO denimgroup.threadfix.service.queue.scheduledjob.AbstractScheduledJobScheduler (AbstractScheduledJobScheduler.java:94) - Shutting down scheduler.
2016-09-16 13:41:29,597 [localhost-startStop-1] INFO denimgroup.threadfix.service.queue.scheduledjob.AbstractScheduledJobScheduler (AbstractScheduledJobScheduler.java:97) - Successfully shut down scheduler.
2016-09-16 13:41:29,598 [localhost-startStop-1] INFO denimgroup.threadfix.service.queue.scheduledjob.AbstractScheduledJobScheduler (AbstractScheduledJobScheduler.java:94) - Shutting down scheduler.
2016-09-16 13:41:29,598 [localhost-startStop-1] INFO denimgroup.threadfix.service.queue.scheduledjob.AbstractScheduledJobScheduler (AbstractScheduledJobScheduler.java:97) - Successfully shut down scheduler.
2016-09-16 13:41:29,598 [localhost-startStop-1] INFO denimgroup.threadfix.service.queue.scheduledjob.AbstractScheduledJobScheduler (AbstractScheduledJobScheduler.java:94) - Shutting down scheduler.
2016-09-16 13:41:29,598 [localhost-startStop-1] INFO denimgroup.threadfix.service.queue.scheduledjob.AbstractScheduledJobScheduler (AbstractScheduledJobScheduler.java:97) - Successfully shut down scheduler.
2016-09-16 13:41:29,599 [localhost-startStop-1] INFO denimgroup.threadfix.service.queue.scheduledjob.AbstractScheduledJobScheduler (AbstractScheduledJobScheduler.java:94) - Shutting down scheduler.
2016-09-16 13:41:29,599 [localhost-startStop-1] INFO denimgroup.threadfix.service.queue.scheduledjob.AbstractScheduledJobScheduler (AbstractScheduledJobScheduler.java:97) - Successfully shut down scheduler.
2016-09-16 13:41:29,625 [localhost-startStop-1] ERROR org.springframework.web.context.ContextLoader (ContextLoader.java:331) - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerAdapter' defined in class path resource [org/springframework/web/servlet/config/annotation/DelegatingWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter]: Factory method 'requestMappingHandlerAdapter' threw exception; nested exception is javax.xml.transform.TransformerFactoryConfigurationError: Provider net.sf.saxon.TransformerFactoryImpl not found
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1117)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1012)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:759)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:434)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1898)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter]: Factory method 'requestMappingHandlerAdapter' threw exception; nested exception is javax.xml.transform.TransformerFactoryConfigurationError: Provider net.sf.saxon.TransformerFactoryImpl not found
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
... 27 more
Caused by: javax.xml.transform.TransformerFactoryConfigurationError: Provider net.sf.saxon.TransformerFactoryImpl not found
at javax.xml.transform.FactoryFinder.newInstance(FactoryFinder.java:187)
at javax.xml.transform.FactoryFinder.find(FactoryFinder.java:264)
at javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:106)
at org.springframework.http.converter.xml.SourceHttpMessageConverter.(SourceHttpMessageConverter.java:80)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.(RequestMappingHandlerAdapter.java:180)
at org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport.requestMappingHandlerAdapter(WebMvcConfigurationSupport.java:459)
at org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration$$EnhancerBySpringCGLIB$$755aa509.CGLIB$requestMappingHandlerAdapter$28()
at org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration$$EnhancerBySpringCGLIB$$755aa509$$FastClassBySpringCGLIB$$4b6babcf.invoke()
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309)
at org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration$$EnhancerBySpringCGLIB$$755aa509.requestMappingHandlerAdapter()
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
... 28 more
Caused by: java.lang.ClassNotFoundException: net/sf/saxon/TransformerFactoryImpl
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at javax.xml.transform.FactoryFinder.getProviderClass(FactoryFinder.java:127)
at javax.xml.transform.FactoryFinder.newInstance(FactoryFinder.java:169)
... 43 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant