I have downloaded poi-1.0.2.tar.gz.I installed as per given in README
document. I copied the mount folder in $TOMCAT/webapps/cocoon directory .I
copied the hssf-serializer.jar into TOMCAT/webapps/cocoon/WEB-INF/lib. Now
after restarting the server and tried to run hello.xls sample , I am getting
following error. What else I have to do? as it is not working in my side.
Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error

----------------------------------------------------------------------------
----

type Exception report

message Internal Server Error

description The server encountered an internal error (Internal Server Error)
that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet execution threw an exception
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:269)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:201)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
        at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
        at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:163)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1011)
        at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106
)
        at java.lang.Thread.run(Thread.java:484)


root cause

java.lang.NoClassDefFoundError
        at net.sourceforge.poi.hssf.usermodel.HSSFWorkbook.(HSSFWorkbook.java:127)
        at
net.sourceforge.poi.serialization.hssfhelpers.elementprocessors.Workbook.(Wo
rkbook.java:89)
        at
net.sourceforge.poi.serialization.hssfhelpers.elementprocessors.EPWorkbook.(
EPWorkbook.java:90)
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:237)
        at
net.sourceforge.poi.serialization.hssfhelpers.ElementProcessorFactory.create
NewElementProcessorInstance(ElementProcessorFactory.java:231)
        at
net.sourceforge.poi.serialization.hssfhelpers.HSSFElementProcessorFactory.do
CreateElementProcessor(HSSFElementProcessorFactory.java:184)
        at
net.sourceforge.poi.serialization.hssfhelpers.ElementProcessorFactory.create
ElementProcessor(ElementProcessorFactory.java:128)
        at
net.sourceforge.poi.serialization.hssfhelpers.POIFSSerializer.startElement(P
OIFSSerializer.java:459)
        at
org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:75)
        at org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376)
        at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidat
or.java:1284)
        at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanne
r.java:1806)
        at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
LDocumentScanner.java:949)
        at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:381)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
        at
org.apache.cocoon.components.parser.JaxpParser.parse(JaxpParser.java:100)
        at org.apache.cocoon.components.source.URLSource.toSAX(URLSource.java:327)
        at
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:109)
        at
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv
entPipeline.java:210)
        at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS
treamPipeline.java:359)
        at
org.apache.cocoon.www.mount.poi_demo.sitemap_xmap.wildcardMatchN400047(sitem
ap_xmap.java:818)
        at
org.apache.cocoon.www.mount.poi_demo.sitemap_xmap.process(sitemap_xmap.java:
437)
        at
org.apache.cocoon.www.mount.poi_demo.sitemap_xmap.process(sitemap_xmap.java:
380)
        at org.apache.cocoon.sitemap.Handler.process(Handler.java:163)
        at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:114)
        at
org.apache.cocoon.www.sitemap_xmap.wildcardMatchN40029E(sitemap_xmap.java:38
74)
        at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2991)
        at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2737)
        at org.apache.cocoon.sitemap.Handler.process(Handler.java:163)
        at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:114)
        at org.apache.cocoon.Cocoon.process(Cocoon.java:514)
        at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:647)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:201)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
        at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
        at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:163)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1011)
        at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106
)
        at java.lang.Thread.run(Thread.java:484)



----------------------------------------------------------------------------
----

----- Original Message -----
From: "Conny Pemfors" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 11, 2002 7:54 PM
Subject: Re: cocoon with POI


> do you know how to get the cocoon to work with Tomcat,
> it doesn't want to start: /cocoon/
>
> /Conny
> ----- Original Message -----
> From: "Vadim Gritsenko" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, March 11, 2002 2:45 PM
> Subject: RE: cocoon with POI
>
>
> CVS version of Cocoon: Yes. Examples are provided too.
>
> Vadim
>
> -----Original Message-----
> From: Niket Anand [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, March 10, 2002 9:11 AM
> To: [EMAIL PROTECTED]
> Subject: cocoon with POI
>
> Hi all,
> I have to show xml data as report in MS-EXCEL. Does cocoon-2.0 provide
> POI serializer?
> Pls give sites name or examples.
> Thanks,
> Niket
>
>
> ---------------------------------------------------------------------
> 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]>
>
>
>
> ---------------------------------------------------------------------
> 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]>


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