cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mratl...@collegenet.com
Subject Re: Error when starting Tomcat 4.1.24 with Cocoon 2.1.2
Date Tue, 14 Oct 2003 15:45:24 GMT
Sylvain,

I get same errors (scores of them) using build from latest CVS.

--Michael




<Sylvain.Thevoz@swisscom.com> 
10/14/03 04:46 AM
Please respond to
dev@cocoon.apache.org


To
<dev@cocoon.apache.org>
cc

Subject
Error when starting Tomcat 4.1.24 with Cocoon 2.1.2






Hello,

I'm running Cocoon 2.1.2 stable release (built without modifications) with 
Tomcat 4.1.24.
After I copied the webapp built directory to the TOMCAT_HOME/webapps 
directory I start Tomcat from the command shell but an error occured (see 
below).

It seems that I have to update the configuration in WEB-INF/deli and a jar 
file, according the post of Carsten (see 
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=106578020025236&w=2).

But what do I have to change in configuration and jar files?

Could you help me?
Thanks
Sylvain


ERROR:
com.hp.hpl.jena.shared.JenaException: rethrew: {E201} Syntax error when 
processing <EOF>.
Input to RDF parser ended prematurely. This is often related to an XML 
parser abort.
Encountered <EOF> Was expecting one of:
    XML ELEMENT CONTENT

    start element rdf:RDF
    start element rdf:Description
    general start element tag

        at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:231)
        at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:256)
        at com.hp.hpl.jena.rdf.model.impl.ModelCom.read(ModelCom.java:173)
        at 
com.hp.hpl.deli.VocabularyConfig.schemaProcess(VocabularyConfig.java:250)
        at 
com.hp.hpl.deli.VocabularyConfig.<init>(VocabularyConfig.java:105)
        at com.hp.hpl.deli.Vocabulary.<init>(Vocabulary.java:37)
        at 
com.hp.hpl.deli.Workspace$1$CreateWorkspace.<init>(Workspace.java:191)
        at com.hp.hpl.deli.Workspace.configure(Workspace.java:367)
        at 
org.apache.cocoon.components.deli.DeliImpl.initialize(DeliImpl.java:148)
        at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
        at 
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:323)
        at 
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:141)
        at 
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:554)
        at 
org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:530)
        at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
        at org.apache.cocoon.Cocoon.initialize(Cocoon.java:327)
        at 
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1358)
        at 
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:507)
        at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
        at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
        at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3420)
        at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)
        at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
        at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
        at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
        at 
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:307)
        at 
org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
        at 
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:559)
        at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401)
        at 
org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
        at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358)
        at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
        at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
        at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
        at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
        at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
        at 
org.apache.catalina.core.StandardService.start(StandardService.java:497)
        at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
        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:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Caused by: com.hp.hpl.jena.rdf.arp.ParseException: {E201} Syntax error 
when processing <EOF>.
Input to RDF parser ended prematurely. This is often related to an XML 
parser abort.
Encountered <EOF> Was expecting one of:
    XML ELEMENT CONTENT

    start element rdf:RDF
    start element rdf:Description
    general start element tag


Mime
View raw message