Hi,

I installed cocoon with weblogic server (6.0) together
following the instructions for installing cocoon for
weblogic server(6.0) at
http://xml.apache.org/cocoon/install.html.
  Afterstarting  weblogic server, I can get right
result when ran

 http://localhost:7001/cocoon/Cocoon.xml, but when I
ran

 http://localhost:7001/cocoon/samples/index.xml 
(the samples directory has been copied from cocoon to
the cocoon application directory at
weblogic), 

I got the following  errors:


> Error found handling the request.
> java.lang.RuntimeException: Cannot access
non-file/war resources
>         at
org.apache.cocoon.Utils.getBasename(Utils.java:277)
>         at
>
org.apache.cocoon.producer.ProducerFromFile.getDocument(ProducerFromFile.java:76)
>         at
org.apache.cocoon.Engine.handle(Engine.java:359)
>         at
org.apache.cocoon.Cocoon.service(Cocoon.java:183)
>         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
>
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:213)
>         at
>
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1265)
>         at
>
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1631)
>         at
weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
>         at
weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>

Could some one  please give me some ideas for fixing
the errors?  Thanks a
lot.


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

---------------------------------------------------------------------
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]>

Reply via email to