You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Berin Loritsch <bl...@infoplanning.com> on 2000/11/14 23:15:14 UTC
Error with Cocoon2 on WebSphere 3.5.2
Here is the stacktrace: This is when it tries to load
up the configuration files. I upgraded WebSphere to Servlet 2.2 compliance.
java.net.MalformedURLException: unknown protocol: classloader
at java.io.IOException.<init>(IOException.java:49)
at java.net.MalformedURLException.<init>(MalformedURLException.java:44)
at java.net.URL.<init>(URL.java(Compiled Code))
at java.net.URL.<init>(URL.java(Compiled Code))
at java.net.URL.<init>(URL.java:310)
at com.ibm.servlet.engine.srt.WebGroup.getResource(WebGroup.java:254)
at com.ibm.servlet.engine.webapp.WebApp.getResource(WebApp.java:888)
at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:121)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doInit(ServletManager.java:558)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(StrictLifecycleServlet.java:136)
at com.ibm.servlet.engine.webapp.PreInitializedServletState.init(StrictLifecycleServlet.java:244)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.init(StrictLifecycleServlet.java:102)
at com.ibm.servlet.engine.webapp.ServletInstance.init(ServletManager.java:277)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
---------------------------------------
If you lust for Ham and Eggs, you have
committed breakfast in your heart
already. -- C. S. Lewis
Re: Error with Cocoon2 on WebSphere 3.5.2
Posted by Berin Loritsch <bl...@infoplanning.com>.
I want to know what the protocol is, and how it is set. The Call to getResource()
in Servlet 2.2 is supposed to return a URL to the location--but what is the
protocol/format?
What I can gather, the URL being returned from the servlet engine is
classloader:///cocoon.xconf
But I can't be reasonably sure because the URL is not included in the stack trace.
----- Original Message -----
From: "Berin Loritsch" <bl...@infoplanning.com>
To: <co...@xml.apache.org>
Sent: Tuesday, November 14, 2000 5:15 PM
Subject: Error with Cocoon2 on WebSphere 3.5.2
> Here is the stacktrace: This is when it tries to load
> up the configuration files. I upgraded WebSphere to Servlet 2.2 compliance.
>
> java.net.MalformedURLException: unknown protocol: classloader
>
> at java.io.IOException.<init>(IOException.java:49)
>
> at java.net.MalformedURLException.<init>(MalformedURLException.java:44)
>
> at java.net.URL.<init>(URL.java(Compiled Code))
>
> at java.net.URL.<init>(URL.java(Compiled Code))
>
> at java.net.URL.<init>(URL.java:310)
>
> at com.ibm.servlet.engine.srt.WebGroup.getResource(WebGroup.java:254)
>
> at com.ibm.servlet.engine.webapp.WebApp.getResource(WebApp.java:888)
>
> at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:121)
>
> at com.ibm.servlet.engine.webapp.StrictServletInstance.doInit(ServletManager.java:558)
>
> at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(StrictLifecycleServlet.java:136)
>
> at com.ibm.servlet.engine.webapp.PreInitializedServletState.init(StrictLifecycleServlet.java:244)
>
> at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.init(StrictLifecycleServlet.java:102)
>
> at com.ibm.servlet.engine.webapp.ServletInstance.init(ServletManager.java:277)
>
> at javax.servlet.GenericServlet.init(GenericServlet.java:258)
>
>
> ---------------------------------------
> If you lust for Ham and Eggs, you have
> committed breakfast in your heart
> already. -- C. S. Lewis