You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by EE...@thoughtworks.COM on 2000/12/06 07:02:44 UTC

[C2] Almost running on Weblogic 5.1 (Help!)

I have Cocoon 2 almost running under weblogic 5.1 (on NT4).

I used the following in my web.xml file to pass the classpath to Cocoon:

  <web-app>
      <context-param>
          <param-name>weblogic.httpd.servlet.classpath</param-name>
          <param-value>.......[my path].......</param-value>
      </context-param>

And added the following to CocoonServlet to read that classpath in (note
that this is slightly different than the previously suggested patch for
WL51, which I couldn't get working at all):

        this.classpath = (String) context.getInitParameter
("weblogic.httpd.servlet.classpath");

However, I am still getting exceptions from Cocoon.  Specifically:

Tue Dec 05 23:52:51 CST 2000:<I> <WebAppServletContext-cocoon> ERROR
73907   [ cocoon  ] (Thread-1): Configuration Error: null
java.lang.NullPointerException
        at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.configure(AbstractMarkupLanguage.java,

Compiled Code)
        at
org.apache.cocoon.CocoonComponentSelector.setupComponent(CocoonComponentSelector.java:240)
        at
org.apache.cocoon.CocoonComponentSelector.select(CocoonComponentSelector.java:158)
        at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:135)
        at org.apache.cocoon.sitemap.Handler.run(Handler.java:158)
        at java.lang.Thread.run(Thread.java:479)

Tue Dec 05 23:52:51 CST 2000:<I> <WebAppServletContext-cocoon> ERROR
73917   [ cocoon  ] (Thread-1): Could not configure component
org.apache.cocoon.components.language.markup.sitemap.SitemapMarkupLanguage
org.apache.avalon.ConfigurationException: AbstractMarkupLanguage: null
        at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.configure(AbstractMarkupLanguage.java,

Compiled Code)
        at
org.apache.cocoon.CocoonComponentSelector.setupComponent(CocoonComponentSelector.java:240)
        at
org.apache.cocoon.CocoonComponentSelector.select(CocoonComponentSelector.java:158)
        at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:135)
        at org.apache.cocoon.sitemap.Handler.run(Handler.java:158)
        at java.lang.Thread.run(Thread.java:479)

What do these mean, and how do I fix them?  Any suggestions?

Thanks very much,

Eric