I configured a webapp call MyWebApp in Weblogic and un-war'ed the files. I did the same with webapp cocoon.
I have been unable to get Cocoon 2 running as a WAR file, even as cocoon.war, Weblogic simply doesn't like it...or maybe it's just me.
thanks,
William
-----Original Message-----
From: Bert Van Kets [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 2:55 PM
To: [EMAIL PROTECTED]
Subject: Re: How to use a WebApp named something other than "cocoon" in
Weblog ic?
Give more info please!
How did you configure your webapp?
Did you copy the cocoon.war file to MyWebApp.war or did you configure a
webapp in Weblogic?
Bert
At 12:38 17/04/2002 -0400, you wrote:
>I was able to successfully (more or less) install Cocoon 2.0.2
on Weblogic
>6.0sp2, using the webapp "cocoon". Now, I want to use an
existing webapp,
>let's call it "MyWebApp", and put cocoon in there, but I'm
having problems.
>
>For some reason, Cocoon is using
org/apache/cocoon/www/sitemap_xmap.java
>from the "cocoon" webapp rather than "MyWebApp", and it's
giving me the
>following error:
>
>
>java.lang.NullPointerException
>at
>org.apache.cocoon.www.sitemap_xmap.process(<myWeblogicServer>/a
pplications/cocoon/WEB-INF/_tmp_war_myserver_myserver_cocoon/coc
oon-files/org/apache/cocoon/www/sitemap_xmap.java:3094)
>at org.apache.cocoon.sitemap.Handler.process(Handler.java:222)
>at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
>at
org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.
java:154)
>at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
>at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:998)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>at
>weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servlet
StubImpl.java:213)
>at
>weblogic.servlet.internal.WebAppServletContext.invokeServlet(We
bAppServletContext.java:1265)
>at
>weblogic.servlet.internal.ServletRequestImpl.execute(ServletReq
uestImpl.java:1631)
>at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
>at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
>Why is it trying to load the "cocoon" sitemap? Is there a way
to override
>this? Is it required for the webapp tp be named "cocoon"?
>
>Thanks,
>
>William Bagby.
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>