[Hippo-cms7-user BETA] Problem setting up hippo onredhat enterprise 5

Jettro Coenradie jettro at jteam.nl
Wed Oct 22 09:37:32 CEST 2008


I now get the following exception
 
javax.servlet.ServletException: RepositoryException: Configuration file syntax error.: Premature end of file.
        at org.hippoecm.repository.RepositoryServlet.init(RepositoryServlet.java:174)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:448)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43
 
The war file is unpacked, however I think I am missing some folders in the storage folder, I only have the workspaces folder and the workspaces.xml file is empty. I do not have the repository folder as well as the version folder. The strange thins to nme is that I do not get any message that it is trying to do somthing that does not work.
 
Anybody has a clue what is happening
 
By the way, we are using a fine redhat enterprise installation of tomcat. Suggestions are very welcome.
 
Jettro

________________________________

Van: hippo-cms7-user-bounces at lists.onehippo.com namens Bart van der Schans
Verzonden: ma 20-10-2008 16:30
Aan: Hippo CMS7 user list
Onderwerp: Re: [Hippo-cms7-user BETA] Problem setting up hippo onredhat enterprise 5



On 20-10-2008 15:55, Jettro Coenradie wrote:
> Hi All,
> we are trying to get Hippo running on our redhat box. We upgraded java
> to jdk 6. We are running hippo-ecm-quickstart-war-2.01.00.14017.war.
> When starting I get a very long stack trace, can someone points us into
> the right direction:
It looks like the log4j.xml which is located in the war in the WEB-INF
folder is pointing to the directory 'target' which doesn't exists.

Does the war get unpacked? Could you try to change the location of the
log4.log file in the log4j.xml?

Regards,
Bart




> Oct 20, 2008 3:50:35 PM org.apache.catalina.core.ApplicationContext log
> INFO: HTMLManager: start: Starting web application at '/cms'
> log4j:ERROR setFile(null,true) call failed.
> java.io.FileNotFoundException: target/log4j.log (No such file or directory)
> at java.io.FileOutputStream.openAppend(Native Method)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
> at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)
> at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)
> at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)
> at
> org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:220)
> at
> org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:150)
> at
> org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:163)
> at
> org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:425)
> at
> org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:345)
> at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:827)
> at
> org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712)
> at
> org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618)
> at
> org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:468)
> at org.apache.log4j.LogManager.<clinit>(LogManager.java:122)
> at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:73)
> at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:88)
> at
> org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155)
> at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370)
> at org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:381)
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:4119)
> at
> org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1176)
> at
> org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:545)
> at
> org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:105)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
> at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
> at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
> at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
> at java.lang.Thread.run(Thread.java:619)
> [Fatal Error] :-1:-1: Premature end of file.
> 20.10.2008 15:50:36 ERROR
> [org.hippoecm.repository.RepositoryServlet.init():173] Error while
> setting up JCR repository:
> org.apache.jackrabbit.core.config.ConfigurationException: Configuration
> file syntax error.: Premature end of file.: Premature end of file.
> at
> org.apache.jackrabbit.core.config.ConfigurationParser.parseXML(ConfigurationParser.java:199)
> at
> org.apache.jackrabbit.core.config.RepositoryConfigurationParser.parseWorkspaceConfig(RepositoryConfigurationParser.java:343)
> at
> org.apache.jackrabbit.core.config.RepositoryConfig.loadWorkspaceConfig(RepositoryConfig.java:368)
> at
> org.apache.jackrabbit.core.config.RepositoryConfig.init(RepositoryConfig.java:323)
> at
> org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:142)
> at
> org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:115)
> at
> org.hippoecm.repository.LocalHippoRepository.initialize(LocalHippoRepository.java:243)
> at
> org.hippoecm.repository.LocalHippoRepository.<init>(LocalHippoRepository.java:135)
> at
> org.hippoecm.repository.LocalHippoRepository.create(LocalHippoRepository.java:143)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.hippoecm.repository.HippoRepositoryFactory.getHippoRepository(HippoRepositoryFactory.java:185)
> at
> org.hippoecm.repository.RepositoryServlet.init(RepositoryServlet.java:147)
> at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
> at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
> at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
> at
> org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1176)
> at
> org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:545)
> at
> org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:105)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
> at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
> at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
> at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: org.xml.sax.SAXParseException: Premature end of file.
> at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
> at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
> at
> org.apache.jackrabbit.core.config.ConfigurationParser.parseXML(ConfigurationParser.java:193)
> ... 38 more
> org.xml.sax.SAXParseException: Premature end of file.
> at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
> at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
> at
> org.apache.jackrabbit.core.config.ConfigurationParser.parseXML(ConfigurationParser.java:193)
> at
> org.apache.jackrabbit.core.config.RepositoryConfigurationParser.parseWorkspaceConfig(RepositoryConfigurationParser.java:343)
> at
> org.apache.jackrabbit.core.config.RepositoryConfig.loadWorkspaceConfig(RepositoryConfig.java:368)
> at
> org.apache.jackrabbit.core.config.RepositoryConfig.init(RepositoryConfig.java:323)
> at
> org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:142)
> at
> org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:115)
> at
> org.hippoecm.repository.LocalHippoRepository.initialize(LocalHippoRepository.java:243)
> at
> org.hippoecm.repository.LocalHippoRepository.<init>(LocalHippoRepository.java:135)
> at
> org.hippoecm.repository.LocalHippoRepository.create(LocalHippoRepository.java:143)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.hippoecm.repository.HippoRepositoryFactory.getHippoRepository(HippoRepositoryFactory.java:185)
> at
> org.hippoecm.repository.RepositoryServlet.init(RepositoryServlet.java:147)
> at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
> at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
> at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
> at
> org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1176)
> at
> org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:545)
> at
> org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:105)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
> at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
> at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
> at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
> at java.lang.Thread.run(Thread.java:619)
> 20.10.2008 15:50:36 ERROR
> [org.apache.catalina.core.StandardContext.loadOnStartup():3958] Servlet
> /cms threw load() exception
> javax.servlet.ServletException: RepositoryException: Configuration file
> syntax error.: Premature end of file.
> at
> org.hippoecm.repository.RepositoryServlet.init(RepositoryServlet.java:174)
> at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
> at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
> at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
> at
> org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1176)
> at
> org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:545)
> at
> org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:105)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
> at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
> at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
> at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
> at java.lang.Thread.run(Thread.java:619)
> Oct 20, 2008 3:50:36 PM org.apache.catalina.core.ApplicationContext log
> INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Hippo-cms7-user mailing list
> Hippo-cms7-user at lists.hippo.nl
> http://lists.hippo.nl/mailman/listinfo/hippo-cms7-user


--
Hippo B.V.  -  Amsterdam
Oosteinde 11, 1017 WT, Amsterdam, +31(0)20-5224466

Hippo USA Inc.  -  San Francisco
101 H Street, Suite Q, Petaluma CA, 94952-3329, +1 (707) 773-4646
-----------------------------------------------------------------
http://www.onehippo.com   -  info at onehippo.com
-----------------------------------------------------------------
_______________________________________________
Hippo-cms7-user mailing list
Hippo-cms7-user at lists.hippo.nl
http://lists.hippo.nl/mailman/listinfo/hippo-cms7-user


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 16634 bytes
Desc: not available
URL: <http://lists.onehippo.org/pipermail/hippo-cms7-user/attachments/20081022/3a17b2ba/attachment.bin>


More information about the Hippo-cms7-user mailing list