On 30.05.2008 14:16, [EMAIL PROTECTED] wrote:

I have just installed a new Cocoon 2.1.10 WAR file to our Tomcat 5 server. When you call Cocoon for the first time the following error shows up in the log file and Cocoon never appears in the browser. Has anyone seen this before? Here is the error stack. Any help you may be able to offer would be great. To my knowledge, there is only the one Cocoon instance on

Hey Vince,

One problem could be multiple or incompatible versions in general of Xerces on your classpath. The way to fix it depends on the JVM (endorsed lib directory) and your setup.

IMO more likely though in this case is that you are using a Xerces version that's just incompatible with HP's Deli/Jena. It looks like Jena is using Xerces internally directly. This means it's not an issue of fixing the classpath but figuring out what exact version of Xerces you need to use.

Another question is if you need the Deli block at all. Maybe you can just deselect it, see INSTALL.TXT on how to do it.

Joerg

2008-05-29 15:34:58 StandardContext[/cocoon]StandardWrapper.Throwable
java.lang.NoSuchMethodError: org.apache.xerces.xni.grammars.XSGrammar.toXSModel()Lorg/apache/xerces/xs/XSModel; at com.hp.hpl.jena.datatypes.xsd.XSDDatatype.loadUserDefined(XSDDatatype.java:341) at com.hp.hpl.jena.datatypes.xsd.XSDDatatype.loadUserDefined(XSDDatatype.java:305) at com.hp.hpl.deli.VocabularyConfig.parseConfigFile(VocabularyConfig.java:170) at com.hp.hpl.deli.VocabularyConfig.parseConfigFile(VocabularyConfig.java:184) at com.hp.hpl.deli.VocabularyConfig.<init>(VocabularyConfig.java:65)
        at com.hp.hpl.deli.Vocabulary.<init>(Vocabulary.java:43)
at com.hp.hpl.deli.Workspace$1CreateWorkspace.<init>(Workspace.java:189)
        at com.hp.hpl.deli.Workspace.configure(Workspace.java:338)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to