roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glen Mazza (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ROL-1976) ROLLER 5.1 not working with Tomcat 8 RC1
Date Mon, 02 Sep 2013 23:56:52 GMT

    [ https://issues.apache.org/jira/browse/ROL-1976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13756271#comment-13756271
] 

Glen Mazza commented on ROL-1976:
---------------------------------

杨勐, it works fine for me on Tomcat 8 RC1, I don't know what I can suggest.  Is it working
for you on Tomcat 7 but failing on Tomcat 8?  What I did was take a completely new TC8, copy
the roller-trunk WAR from TC7 to TC8, and I copied the mailapi.jar, the roller-custom.properties,
and the derby.jar from TC7/lib to TC8/lib.  I confirmed I was running TC 8 by going to http://localhost:8080
and I saw the TC8 manager webapp. Did you add some Spring JARS to TC8/lib (or other WARs)--maybe
that's what's causing a conflict?
                
> ROLLER 5.1 not working with Tomcat 8 RC1
> ----------------------------------------
>
>                 Key: ROL-1976
>                 URL: https://issues.apache.org/jira/browse/ROL-1976
>             Project: Roller
>          Issue Type: Dependency upgrade
>          Components: Configuration & Settings
>    Affects Versions: 5.1
>         Environment: JDK 7,Windows 8
>            Reporter: 杨勐
>            Assignee: Roller Unassigned
>
> Roller 5.1-snapshot is not compatible with Tomcat8.Here is part of my log:
> NFO: Initializing Spring root WebApplicationContext
> 九月 02, 2013 10:57:01 下午 org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Exception sending context initialized event to listener instance of class org.apache.roller.weblogger.ui.core.RollerContext
> org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration
problem: No AuthenticationEntryPoint could be established. Please make sure you have a login
mechanism configured through the namespace (such as form-login) or specify a custom AuthenticationEntryPoint
with the custom-entry-point-ref attribute 
> Offending resource: ServletContext resource [/WEB-INF/security.xml]
> 	at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)
> 	at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
> 	at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:72)
> 	at org.springframework.security.config.HttpSecurityBeanDefinitionParser.parseBasicFormLoginAndOpenID(HttpSecurityBeanDefinitionParser.java:482)
> 	at org.springframework.security.config.HttpSecurityBeanDefinitionParser.parse(HttpSecurityBeanDefinitionParser.java:164)
> 	at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:73)
> 	at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1438)
> 	at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1428)
> 	at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:185)
> 	at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:139)
> 	at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:108)
> 	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
> 	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
> 	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
> 	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
> 	at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)
> 	at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)
> 	at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
> 	at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)
> 	at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)
> 	at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
> 	at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:537)
> 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451)
> 	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389)
> 	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294)
> 	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
> 	at org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:104)
> 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4842)
> 	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5288)
> 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
> 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
> 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:698)
> 	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1119)
> 	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1760)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
> 	at java.util.concurrent.FutureTask.run(Unknown Source)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> 	at java.lang.Thread.run(Unknown Source)
> 九月 02, 2013 10:57:01 下午 org.apache.catalina.core.StandardContext startInternal
> SEVERE: Error listenerStart
> 九月 02, 2013 10:57:01 下午 org.apache.catalina.core.StandardContext startInternal
> SEVERE: Context [] startup failed due to previous errors
> 九月 02, 2013 10:57:01 下午 org.apache.catalina.core.StandardContext listenerStop
> SEVERE: Exception sending context destroyed event to listener instance of class org.apache.roller.weblogger.ui.core.RollerContext
> java.lang.IllegalStateException: Roller Weblogger has not been bootstrapped yet
> 	at org.apache.roller.weblogger.business.WebloggerFactory.getWeblogger(WebloggerFactory.java:64)
> 	at org.apache.roller.weblogger.ui.core.RollerContext.contextDestroyed(RollerContext.java:185)
> 	at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4883)
> 	at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5511)
> 	at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
> 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)
> 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
> 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
> 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:698)
> 	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1119)
> 	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1760)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
> 	at java.util.concurrent.FutureTask.run(Unknown Source)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> 	at java.lang.Thread.run(Unknown Source)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message