0 Replies Latest reply on Oct 29, 2002 6:55 PM by dmwoodhead

    Cocoon + Jboss 3.0.3 + Tomcat 4.x

    dmwoodhead

      Hello,

      I'm experiencing a problem I hope someone can help me with. I'm using Cocoon 2.0.3 and recently upgraded from JBoss 3.0.0 + Tomcat 4.0.3 to JBoss 3.0.3 + Tomcat 4.1.12. Since then, I've been getting errors displayed in browser as:

      Cocoon 2 - Internal server error

      --------------------------------------------------------------------------------

      type fatal

      message Language Exception

      description org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling sitemap_xmap: Line 0, column 0: could not parse error message: Note: sun.tools.javac.Main has been deprecated. C:\jboss-3.0.3_tomcat-4.0.5\catalina\work\MainEngine\localhost\crimnet\cocoon-files\org\apache\cocoon\www\jndi_\localhost\crimnet\sitemap_xmap.java:22: Class org.apache.avalon.framework.component.Component not found in import. import org.apache.avalon.framework.component.Component;
      Line 23, column 11: Class org.apache.avalon.framework.configuration.Configurable not found in import.
      Line 24, column 11: Class org.apache.avalon.framework.configuration.Configuration not found in import.

      and many more.

      The jar containing these classes is present in my .war file, in WEB-INF/lib. A deployment of Cocoon.war in JBoss 3.0.3 + Tomcat 4.x behaves similarly, however both Cocoon.war, and my application work under JBoss 3.0.0 + Tomcat, or JBoss 3.0.3 + JBossWeb. Using either Tomcat 4.0.5 or Tomcat 4.1.12 produces errors when loading a Cocoon based application. The error in my application does not produce any entries in the log, however cocoon.war causes this to be appear:

      18:03:24,248 ERROR [STDERR] java.lang.RuntimeException: org.apache.xml.dtm.DTMException: No more DTM IDs are available
      18:03:24,295 ERROR [STDERR] at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3170)
      18:03:24,326 ERROR [STDERR] at java.lang.Thread.run(Thread.java:536)

      Any help or suggestions will be greatly appreciated,
      Dave