cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans ...@domek.be>
Subject Re: problem using cocoon
Date Wed, 18 Feb 2004 14:21:55 GMT
disable the deli block , rebuild, try again :)

you can disable a block by
a) copy blocks.properties to local.blocks.properties
b) comment out the blocks you don't need in local.blocks.properties

Jorg

reza x wrote:

> hi all
> I am using cocoon framework.i have put sitemap.xmap and cocoon.xconf in 
> correct place.but when I call for example 
> http://localhost:8080/web/page.html and cocoonServlet goes to be 
> initialized, i get some errors and exception that are given below:
>  
> Loading catalog: /path/to/local/catalog
> server.properties not found, using command line or default properties
> Opening database: D:\Documents and 
> Settings\Administrator\jbproject\test_cocoon\web\WEB-INF\db\cocoondb
> HSQLDB server 1.7.1 is running
> Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptly
> java.lang.NullPointerException
> java.lang.NullPointerException
>  at com.hp.hpl.deli.Workspace.getResource(Workspace.java:474)
>  at com.hp.hpl.deli.Workspace.getInputSource(Workspace.java:439)
>  at com.hp.hpl.deli.Workspace$1$CreateWorkspace.<init>(Workspace.java:181)
>  at com.hp.hpl.deli.Workspace.configure(Workspace.java:367)
>  at org.apache.cocoon.components.deli.DeliImpl.initialize(DeliImpl.java:148)
>  at 
> org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
>  at 
> org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:323)
>  at 
> org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:141)
>  at 
> org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:554)
>  at 
> org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:530)
>  at 
> org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
>  at org.apache.cocoon.Cocoon.initialize(Cocoon.java:327)
>  at 
> org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1372)
>  at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:507)
>  at 
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
>   at 
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
>  at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
>  at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>  at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>  at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>  at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>  at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>  at 
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
>  at org.apache.catalina.core.StandardHostV 
> alve.invoke(StandardHostValve.java:180)
>  at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>  at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
>  at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>  at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
>  at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>  at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>  at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
>  at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(St

> andardPipeline.java:643)
>  at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>  at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
>  at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601)
>  at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
>  at 
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
>  at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
>  at java.lang.Thread.run(Thread.java:534)
>  
> please guide me what may be the reason of this error.
> thanks alot for your attention.
> Best Regards.
>  
> 
> 
> ------------------------------------------------------------------------
> Do you Yahoo!?
> Yahoo! Mail SpamGuard 
> <http://us.rd.yahoo.com/mailtag_us/*http://antispam.yahoo.com/tools?tool=1> 
> - Read only the mail you want.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message