You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jon Wynacht <jw...@cisco.com> on 2000/12/21 02:40:38 UTC
Problems Running after Install
Hi,
I was able to install Cocoon with Apache and JRun 3 on a Win2K machine
without, apparently, a hitch. However, when I go to access the
samples/index.xml I get the following:
Unable to open resource:
c:\progra~1\allaire\jrun\servers\default\cocoon~1\web-inf\conf\cocoon.proper
ties
java.lang.NullPointerException
at org.apache.cocoon.Cocoon.init(Cocoon.java:123)
at
allaire.jrun.servlet.JRunServletLoader.loadServletInstance(JRunServletLoader
.java:236)
at
allaire.jrun.servlet.JRunServletLoader.loadServletInstance(JRunServletLoader
.java:190)
at
allaire.jrun.servlet.JRunServletLoader.loadServlet(JRunServletLoader.java:17
7)
at
allaire.jrun.servlet.JRunSE.getServletReference(JRunSE.java:1261)
at
allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:895)
at
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.jav
a:88)
at
allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
at
allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
at
allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java:367)
at allaire.jrun.ThreadPool.run(ThreadPool.java:272)
at
allaire.jrun.WorkerThread.run(WorkerThread.java:75)
Now, I thought if I updated the path to deal with long file names DOS-style
it would fix the problem, but nope.
Any ideas?
Thanks,
Jon
------------------------------
Jon Wynacht
Web Architect
Cisco Systems
408-527-5261
jwynacht@cisco.com
"When the sureities of the present are defined, the mind races with the
possibility of the future"
Re: Problems Running after Install
Posted by Ralph Seidl <R....@ff-muenchen.de>.
Hi,
if I'm trying to reproduce your error (by removing my
cocoon.properties-File)
I get a message like
Unable to open resource: /WEB-INF/cocoon.properties
java.lang.NullPointerException
at
org.apache.cocoon.Cocoon.init(Cocoon.java:123)
So as you can see I have a relative URL for my cocoon.properties-File
not an absolute one as you have.
I hope this helps.
Ralph Seidl
Jon Wynacht wrote:
>
> Hi,
>
> I was able to install Cocoon with Apache and JRun 3 on a Win2K machine
> without, apparently, a hitch. However, when I go to access the
> samples/index.xml I get the following:
>
> Unable to open resource:
>
> c:\progra~1\allaire\jrun\servers\default\cocoon~1\web-inf\conf\cocoon.proper
> ties
>
> java.lang.NullPointerException
> at org.apache.cocoon.Cocoon.init(Cocoon.java:123)
> at
> allaire.jrun.servlet.JRunServletLoader.loadServletInstance(JRunServletLoader
> .java:236)
> at
> allaire.jrun.servlet.JRunServletLoader.loadServletInstance(JRunServletLoader
> .java:190)
> at
> allaire.jrun.servlet.JRunServletLoader.loadServlet(JRunServletLoader.java:17
> 7)
> at
> allaire.jrun.servlet.JRunSE.getServletReference(JRunSE.java:1261)
> at
> allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:895)
> at
> allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.jav
> a:88)
> at
> allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
> at
> allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
> at
> allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java:367)
> at allaire.jrun.ThreadPool.run(ThreadPool.java:272)
> at
> allaire.jrun.WorkerThread.run(WorkerThread.java:75)
>
> Now, I thought if I updated the path to deal with long file names DOS-style
> it would fix the problem, but nope.
>
> Any ideas?
>
> Thanks,
>
> Jon
>
> ------------------------------
> Jon Wynacht
> Web Architect
> Cisco Systems
> 408-527-5261
> jwynacht@cisco.com
>
> "When the sureities of the present are defined, the mind races with the
> possibility of the future"
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
--
F&F Computer Anwendungen
und Unternehmensberatung GmbH
D-80686 Muenchen http://www.ff-muenchen.de
Testen Sie unsere Arztsuche http://www.arzt-bayern.de