cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From EEAltend...@thoughtworks.COM
Subject [C2] Almost running on Weblogic 5.1 (Help!)
Date Wed, 06 Dec 2000 06:02:44 GMT
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


Mime
View raw message