[opencms-dev] opencms flex: error while starting index.html

Alexander Kandzior alex at opencms.com
Mon May 13 21:29:20 CEST 2002


Hi Manfred,

the provided exception tells me that your servlet container
can not find the taglib TLD for the JSTL core lirary. 
This error is completly unrelated to the Xerces issue. 

Please check if the file /WEB-INF/lib/standard.jar is installed
in the OpenCms webapp directory and that the jar (i.e. ZIP) is not
corrupt. 

The mentioned TLD is included in this file, 
and the standard JSP 1.2 says that the servlet container must
find these absolute URL's in the web application resource (i.e. jar)
files. 

So maybe your web application container (Tomcat 4, if my reading from
the exception is right) is not set up correctly.
What exact version of Tomcat 4 do you use, and what operating system?

Regards,
Alex.



> -----Original Message-----
> From: owner-opencms-dev at www.opencms.org 
> [mailto:owner-opencms-dev at www.opencms.org] On Behalf Of 
> Manfred Pruntsch
> Sent: Monday, May 13, 2002 8:26 PM
> To: Opencms Opencms
> Subject: [opencms-dev] opencms flex: error while starting index.html
> 
> 
> Hi all,
> 
> I've got some trouble while accessing index.html in the new 
> jsp based opencms flex version. I've performed the following steps:
> - setup of a new servlet zone <ocflex>
> - new project
> - import flex demo application according step 7 of installguide
>   the installation itself was performed without any problems. 
> I didn't encounter the java.lang.NoClassDefFoundError,
>   but:
> --> error while accessing index.html listed at bottom
> 
> - after that I published the project, but I've got the same error:
> --> error while accessing index.html listed at bottom
> 
> - finally I copied the xerces-1_4_4.jar into the tomcat lib 
> dir (start stop
> tomcat): same    procedure --> error while accessing 
> index.html listed at
> bottom
> 
> I met the same error while accessing tomcat example 
> </flexdemo/tomcat-examples/index.html>.
> 
> configuration:
> jdk 1.3.x, Win2k SP2, Tomcat 4.03, opencms bin distribution 
> <opencms_flex_alpha_1.zip> from opencms website.
> 
> 
> 
> I encountered the following error while starting index.html:
> 
> [CmsException]: 28 Error while launching template class. 
> Detailed Error: Error in CmsJspLoader.load() while loading 
> /flexdemo/index.html
> javax.servlet.ServletException: FlexDispatcher: Error in 
> internal call, loading file using loader.service() for 
> /flexdemo/index.html
> [CmsException]: 40 Error in Flex loader. Detailed Error: Error in
> CmsJspLoader.doServive():
> org.apache.jasper.compiler.CompileException:
> /WEB-INF/jsp/offline/TflexdemoTindex.html.-1889702581.jsp(0,0)
>  This absolute uri (http://java.sun.com/jstl/core) cannot be 
> resolved in either web.xml or the jar files deployed with 
> this application. Caught Exception:
> >org.apache.jasper.compiler.CompileException:
> /WEB-INF/jsp/offline/TflexdemoTindex.html.-1889702581.jsp(0,0)
>  This absolute uri (http://java.sun.com/jstl/core) cannot be 
> resolved in either web.xml or the jar files deployed with 
> this application<. Caught Exception:
> >javax.servlet.ServletException: FlexDispatcher: Error in 
> internal call,
> loading file using loader.service() for /flexdemo/index.html
> [CmsException]: 40 Error in Flex loader. Detailed Error: Error in
> CmsJspLoader.doServive():
> org.apache.jasper.compiler.CompileException:
> /WEB-INF/jsp/offline/TflexdemoTindex.html.-1889702581.jsp(0,0)
>  This absolute uri (http://java.sun.com/jstl/core) cannot be 
> resolved in either web.xml or the jar files deployed with 
> this application. Caught Exception:
> >org.apache.jasper.compiler.CompileException:
> /WEB-INF/jsp/offline/TflexdemoTindex.html.-1889702581.jsp(0,0)
>  This absolute uri (http://java.sun.com/jstl/core) cannot be 
> resolved in either web.xml or the jar files deployed with 
> this application<<
> 	at com.opencms.flex.CmsJspLoader.load(CmsJspLoader.java:211)
> 	at 
> com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:118)
> 	at com.opencms.core.OpenCms.showResource(OpenCms.java:595)
> 	at 
> com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:223)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> er(Application
> FilterChain.java:247)
> 	at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilterCh
> ain.java:193)
> 	at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> rapperValve.ja
> va:243)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
> 66)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:472)
> 	at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardC
> ontextValve.ja
> va:190)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
> 66)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:472)
> 	at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at
> org.apache.catalina.core.StandardContext.invoke(StandardContex
> t.java:2343)
> 	at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> Valve.java:180
> )
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
> 66)
> 	at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> spatcherValve.
> java:170)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
> 64)
> 	at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> Valve.java:170
> )
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
> 64)
> 	at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValv
> e.java:468)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
> 64)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:472)
> 	at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> gineValve.java
> :174)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
> 66)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:472)
> 	at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at
> org.apache.catalina.connector.http.HttpProcessor.process(HttpP
> rocessor.java:
> 1012)
> 	at 
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProce
> ssor.java:1107
> )
> 	at java.lang.Thread.run(Thread.java:484)
> >javax.servlet.ServletException: FlexDispatcher: Error in 
> internal call,
> loading file using loader.service() for /flexdemo/index.html
> >[CmsException]: 40 Error in Flex loader. Detailed Error: Error in
> CmsJspLoader.doServive():
> >org.apache.jasper.compiler.CompileException:
> /WEB-INF/jsp/offline/TflexdemoTindex.html.-1889702581.jsp(0,0)
>  This absolute uri (http://java.sun.com/jstl/core) cannot be 
> resolved in either web.xml or the jar files deployed with 
> this application. Caught Exception:
> >org.apache.jasper.compiler.CompileException:
> /WEB-INF/jsp/offline/TflexdemoTindex.html.-1889702581.jsp(0,0)
>  This absolute uri (http://java.sun.com/jstl/core) cannot be 
> resolved in either web.xml or the jar files deployed with 
> this application<
> 
> >	at
> com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFle
> xRequestDispat
> cher.java:248)
> 
> >	at com.opencms.flex.CmsJspLoader.load(CmsJspLoader.java:204)
> 
> >	at 
> com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:118)
> 
> >	at com.opencms.core.OpenCms.showResource(OpenCms.java:595)
> 
> >	at 
> >com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.
> java:223)
> 
> >	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> 
> >	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 
> >	at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> er(Application
> FilterChain.java:247)
> 
> >	at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilterCh
> ain.java:193)
> 
> >	at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> rapperValve.ja
> va:243)
> 
> >	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
> 66)
> 
> >	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:472)
> 
> >	at 
> >org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 
> >	at
> org.apache.catalina.core.StandardContextValve.invoke(StandardC
> ontextValve.ja
> va:190)
> 
> >	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
> 66)
> 
> >	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:472)
> 
> >	at 
> >org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 
> >	at
> org.apache.catalina.core.StandardContext.invoke(StandardContex
> t.java:2343)
> 
> >	at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> Valve.java:180
> )
> 
> >	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
> 66)
> 
> >	at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> spatcherValve.
> java:170)
> 
> >	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
> 64)
> 
> >	at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> Valve.java:170
> )
> 
> >	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
> 64)
> 
> >	at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValv
> e.java:468)
> 
> >	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
> 64)
> 
> >	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:472)
> 
> >	at 
> >org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 
> >	at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> gineValve.java
> :174)
> 
> >	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
> 66)
> 
> >	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:472)
> 
> >	at 
> >org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 
> >	at
> org.apache.catalina.connector.http.HttpProcessor.process(HttpP
> rocessor.java:
> 1012)
> 
> >	at
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProce
> ssor.java:1107
> )
> 
> >	at java.lang.Thread.run(Thread.java:484)
> 
> 
> javax.servlet.ServletException: FlexDispatcher: Error in 
> internal call, loading file using loader.service() for 
> /flexdemo/index.html
> [CmsException]: 40 Error in Flex loader. Detailed Error: Error in
> CmsJspLoader.doServive():
> org.apache.jasper.compiler.CompileException:
> /WEB-INF/jsp/offline/TflexdemoTindex.html.-1889702581.jsp(0,0)
>  This absolute uri (http://java.sun.com/jstl/core) cannot be 
> resolved in either web.xml or the jar files deployed with 
> this application. Caught Exception:
> >org.apache.jasper.compiler.CompileException:
> /WEB-INF/jsp/offline/TflexdemoTindex.html.-1889702581.jsp(0,0)
>  This absolute uri (http://java.sun.com/jstl/core) cannot be 
> resolved in either web.xml or the jar files deployed with 
> this application<
> 	at 
> com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFle
> xRequestDispat
> cher.java:248)
> 	at com.opencms.flex.CmsJspLoader.load(CmsJspLoader.java:204)
> 	at 
> com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:118)
> 	at com.opencms.core.OpenCms.showResource(OpenCms.java:595)
> 	at 
> com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:223)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> er(Application
> FilterChain.java:247)
> 	at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilterCh
> ain.java:193)
> 	at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> rapperValve.ja
> va:243)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
> 66)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:472)
> 	at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardC
> ontextValve.ja
> va:190)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
> 66)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:472)
> 	at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at
> org.apache.catalina.core.StandardContext.invoke(StandardContex
> t.java:2343)
> 	at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> Valve.java:180
> )
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
> 66)
> 	at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> spatcherValve.
> java:170)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
> 64)
> 	at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> Valve.java:170
> )
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
> 64)
> 	at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValv
> e.java:468)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
> 64)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:472)
> 	at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> gineValve.java
> :174)
> 	at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
> 66)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:472)
> 	at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at
> org.apache.catalina.connector.http.HttpProcessor.process(HttpP
> rocessor.java:
> 1012)
> 	at 
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProce
> ssor.java:1107
> )
> 	at java.lang.Thread.run(Thread.java:484)
> 
> Thanks for any help,
> best regards
> Manfred
> 
> 





More information about the opencms-dev mailing list