TR: [opencms-dev] Help ! Resource loader error ...

Apostoly Guillaume ApostolyG at mail.europcar.com
Wed Jul 16 09:11:01 CEST 2003


Constants is a class.
I'm simply putting it into WEB-INF/classes and trying to use it into my JSP.
With no success.
If I move my JSP to another webapp than OpenCMS and copy my class, the JSP
works... It seems OpenCMS converts something that disallow my class to be
properly loaded ...
Because of this error, I never managed to use classes into OpenCMS ...
Any clue ?


> -----Message d'origine-----
> De: M Butcher [mailto:mbutcher at grcomputing.net]
> Date: mardi 15 juillet 2003 19:33
> À: opencms-dev at opencms.org
> Objet: Re: TR: [opencms-dev] Help ! Resource loader error ...
> 
> 
> What is Constants? Is it a class or an interface? How is it 
> being used?
> 
> On Tue, 2003-07-15 at 03:53, Apostoly Guillaume wrote:
> > Hi all,
> > 
> > I never managed to solve the below problem and this disable 
> me to use
> > classes for my intranet. I'm reduce to "full jsp" development.
> > Has anybody an idea why my classes won't load ?
> > 
> > Thanks by advance.
> > 
> > Best regards,
> > 
> > Guillaume.
> > 
> > -----Message d'origine-----
> > De: Apostoly Guillaume 
> > Date: mardi 8 juillet 2003 19:33
> > À: opencms-dev at opencms.org
> > Objet: RE: [opencms-dev] Help ! Resource loader error ...
> > 
> > 
> > Hi,
> > 
> > I've just tested something else: 
> > - i've got my jsp and my class working in another webapp
> > - i've copied the jsp to be dealed out of opencms but in 
> the opencms webapp
> > like : http://57.199.132.75:8080/opencms/jsp/testlogin/testlogin.jsp
> > and i then have the same error, returned by tomcat : 
> > Strange isn't it ?
> > 
> > HTTP Status 500 - 
> > 
> > 
> --------------------------------------------------------------
> --------------
> > ----
> > 
> > type Exception report
> > 
> > message 
> > 
> > description The server encountered an internal error () 
> that prevented it
> > from fulfilling this request.
> > 
> > exception 
> > 
> > org.apache.jasper.JasperException: com/europcar/intranet/Constants
> > 	at
> > 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServlet
> Wrapper.java:2
> > 54)
> > 	at
> > 
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
> .java:295)
> > 	at 
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> > 	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:256)
> > 	at
> > 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> > eNext(StandardPipeline.java:643)
> > 	at
> > 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
> > 	at
> > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > 	at
> > 
> org.apache.catalina.core.StandardContextValve.invoke(StandardC
> ontextValve.ja
> > va:191)
> > 	at
> > 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> > eNext(StandardPipeline.java:643)
> > 	at
> > 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
> > 	at
> > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > 	at
> > 
> org.apache.catalina.core.StandardContext.invoke(StandardContex
> t.java:2415)
> > 	at
> > 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> Valve.java:180
> > )
> > 	at
> > 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> > eNext(StandardPipeline.java:643)
> > 	at
> > 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> spatcherValve.
> > java:171)
> > 	at
> > 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> > eNext(StandardPipeline.java:641)
> > 	at
> > 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> Valve.java:172
> > )
> > 	at
> > 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> > eNext(StandardPipeline.java:641)
> > 	at
> > 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
> > 	at
> > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > 	at
> > 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> gineValve.java
> > :174)
> > 	at
> > 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> > eNext(StandardPipeline.java:643)
> > 	at
> > 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.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(Http11Process
> or.java:594)
> > 	at
> > 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
> r.processConne
> > ction(Http11Protocol.java:392)
> > 	at
> > 
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
> nt.java:565)
> > 	at
> > 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.jav
> > a:619)
> > 	at java.lang.Thread.run(Thread.java:536)
> > 
> > 
> > root cause 
> > 
> > javax.servlet.ServletException: com/europcar/intranet/Constants
> > 	at
> > 
> org.apache.jasper.runtime.PageContextImpl.handlePageException(
> PageContextImp
> > l.java:536)
> > 	at 
> org.apache.jsp.testlogin_jsp._jspService(testlogin_jsp.java:103)
> > 	at
> > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
> > 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > 	at
> > 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServlet
> Wrapper.java:2
> > 10)
> > 	at
> > 
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
> .java:295)
> > 	at 
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> > 	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:256)
> > 	at
> > 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> > eNext(StandardPipeline.java:643)
> > 	at
> > 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
> > 	at
> > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > 	at
> > 
> org.apache.catalina.core.StandardContextValve.invoke(StandardC
> ontextValve.ja
> > va:191)
> > 	at
> > 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> > eNext(StandardPipeline.java:643)
> > 	at
> > 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
> > 	at
> > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > 	at
> > 
> org.apache.catalina.core.StandardContext.invoke(StandardContex
> t.java:2415)
> > 	at
> > 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> Valve.java:180
> > )
> > 	at
> > 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> > eNext(StandardPipeline.java:643)
> > 	at
> > 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> spatcherValve.
> > java:171)
> > 	at
> > 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> > eNext(StandardPipeline.java:641)
> > 	at
> > 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> Valve.java:172
> > )
> > 	at
> > 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> > eNext(StandardPipeline.java:641)
> > 	at
> > 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
> > 	at
> > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > 	at
> > 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> gineValve.java
> > :174)
> > 	at
> > 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> > eNext(StandardPipeline.java:643)
> > 	at
> > 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.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(Http11Process
> or.java:594)
> > 	at
> > 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
> r.processConne
> > ction(Http11Protocol.java:392)
> > 	at
> > 
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
> nt.java:565)
> > 	at
> > 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.jav
> > a:619)
> > 	at java.lang.Thread.run(Thread.java:536)
> > 
> > 
> > 
> > 
> --------------------------------------------------------------
> --------------
> > ----
> > 
> > Apache Tomcat/4.1.24
> > 
> > > -----Message d'origine-----
> > > De: Apostoly Guillaume 
> > > Date: mardi 8 juillet 2003 19:06
> > > À: opencms-dev at opencms.org
> > > Objet: RE: [opencms-dev] Help ! Resource loader error ...
> > > 
> > > 
> > > Sadly, this is exactly what's i've done ! And I get the 
> > > specified error ...
> > > I also even tested the class on another webapp.
> > > I really have no idea of the problem ...
> > > 
> > > > -----Message d'origine-----
> > > > De: M Butcher [mailto:mbutcher at grcomputing.net]
> > > > Date: mardi 8 juillet 2003 19:12
> > > > À: opencms-dev at opencms.org
> > > > Objet: RE: [opencms-dev] Help ! Resource loader error ...
> > > > 
> > > > 
> > > > If you create an instance of the class and then use it, 
> > > what happens?
> > > > 
> > > > e.g.
> > > > 
> > > > Constants c =  new Constants();
> > > > out.println(c.webAppPath);
> > > > 
> > > > I don't know much about the classloader that the JSPs 
> use, but this
> > > > would be an interesting test to try and isolate the problem.
> > > > 
> > > > On Tue, 2003-07-08 at 10:10, Apostoly Guillaume wrote:
> > > > > here's the detailed error i've got in the log : 
> > > > > 
> > > > > 2003-07-08 18:09:47 ApplicationDispatcher[/opencms] 
> > > > Servlet.service() for
> > > > > servlet jsp threw exception
> > > > > org.apache.jasper.JasperException: 
> com/machin/intranet/Constants
> > > > >         at
> > > > > 
> > > > org.apache.jasper.servlet.JspServletWrapper.service(JspServlet
> > > > Wrapper.java:2
> > > > > 54)
> > > > >         at
> > > > > 
> > > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
> > > > .java:295)
> > > > >         at 
> > > > 
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> > > > >         at 
> > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.ApplicationDispatcher.invoke(Applicat
> > > > ionDispatcher.
> > > > > java:684)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.ApplicationDispatcher.doInclude(Appli
> > > > cationDispatch
> > > > > er.java:575)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.ApplicationDispatcher.include(Applica
> > > > tionDispatcher
> > > > > .java:498)
> > > > >         at
> > > > > 
> > > > com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFle
> > > > xRequestDispat
> > > > > cher.java:180)
> > > > >         at 
> > > > com.opencms.flex.CmsJspLoader.service(CmsJspLoader.java:955)
> > > > >         at
> > > > > 
> > > > com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFle
> > > > xRequestDispat
> > > > > cher.java:268)
> > > > >         at 
> > > com.opencms.flex.CmsJspLoader.load(CmsJspLoader.java:567)
> > > > >         at 
> > > > com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:235)
> > > > >         at 
> com.opencms.core.OpenCms.showResource(OpenCms.java:956)
> > > > >         at
> > > > > 
> > > > 
> > > 
> com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
> > > > >         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:256)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > > eContext.invok
> > > > > eNext(StandardPipeline.java:643)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > > > ine.java:480)
> > > > >         at
> > > > > 
> > > > 
> > > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.StandardContextValve.invoke(StandardC
> > > > ontextValve.ja
> > > > > va:191)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > > eContext.invok
> > > > > eNext(StandardPipeline.java:643)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > > > ine.java:480)
> > > > >         at
> > > > > 
> > > > 
> > > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.StandardContext.invoke(StandardContex
> > > > t.java:2415)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> > > > Valve.java:180
> > > > > )
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > > eContext.invok
> > > > > eNext(StandardPipeline.java:643)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> > > > spatcherValve.
> > > > > java:171)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > > eContext.invok
> > > > > eNext(StandardPipeline.java:641)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> > > > Valve.java:172
> > > > > )
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > > eContext.invok
> > > > > eNext(StandardPipeline.java:641)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > > > ine.java:480)
> > > > >         at
> > > > > 
> > > > 
> > > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> > > > gineValve.java
> > > > > :174)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > > eContext.invok
> > > > > eNext(StandardPipeline.java:643)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > > > ine.java:480)
> > > > >         at
> > > > > 
> > > > 
> > > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.connector.warp.WarpRequestHandler.handle(U
> > > > nknown Source)
> > > > >         at 
> > > > org.apache.catalina.connector.warp.WarpConnection.run(Unknown
> > > > > Source)
> > > > >         at java.lang.Thread.run(Thread.java:536)
> > > > > ----- Root Cause -----
> > > > > javax.servlet.ServletException: com/machin/intranet/Constants
> > > > >         at
> > > > > 
> > > > org.apache.jasper.runtime.PageContextImpl.handlePageException(
> > > > PageContextImp
> > > > > l.java:536)
> > > > >         at 
> > > > org.apache.jsp.index_jsp_jsp._jspService(index_jsp_jsp.java:517)
> > > > >         at
> > > > > 
> > > 
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
> > > > >         at 
> > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > > >         at
> > > > > 
> > > > org.apache.jasper.servlet.JspServletWrapper.service(JspServlet
> > > > Wrapper.java:2
> > > > > 10)
> > > > >         at
> > > > > 
> > > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
> > > > .java:295)
> > > > >         at 
> > > > 
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> > > > >         at 
> > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.ApplicationDispatcher.invoke(Applicat
> > > > ionDispatcher.
> > > > > java:684)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.ApplicationDispatcher.doInclude(Appli
> > > > cationDispatch
> > > > > er.java:575)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.ApplicationDispatcher.include(Applica
> > > > tionDispatcher
> > > > > .java:498)
> > > > >         at
> > > > > 
> > > > com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFle
> > > > xRequestDispat
> > > > > cher.java:180)
> > > > >         at 
> > > > com.opencms.flex.CmsJspLoader.service(CmsJspLoader.java:955)
> > > > >         at
> > > > > 
> > > > com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFle
> > > > xRequestDispat
> > > > > cher.java:268)
> > > > >         at 
> > > com.opencms.flex.CmsJspLoader.load(CmsJspLoader.java:567)
> > > > >         at 
> > > > com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:235)
> > > > >         at 
> com.opencms.core.OpenCms.showResource(OpenCms.java:956)
> > > > >         at
> > > > > 
> > > > 
> > > 
> com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
> > > > >         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:256)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > > eContext.invok
> > > > > eNext(StandardPipeline.java:643)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > > > ine.java:480)
> > > > >         at
> > > > > 
> > > > 
> > > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.StandardContextValve.invoke(StandardC
> > > > ontextValve.ja
> > > > > va:191)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > > eContext.invok
> > > > > eNext(StandardPipeline.java:643)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > > > ine.java:480)
> > > > >         at
> > > > > 
> > > > 
> > > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.StandardContext.invoke(StandardContex
> > > > t.java:2415)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> > > > Valve.java:180
> > > > > )
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > > eContext.invok
> > > > > eNext(StandardPipeline.java:643)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> > > > spatcherValve.
> > > > > java:171)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > > eContext.invok
> > > > > eNext(StandardPipeline.java:641)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> > > > Valve.java:172
> > > > > )
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > > eContext.invok
> > > > > eNext(StandardPipeline.java:641)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > > > ine.java:480)
> > > > >         at
> > > > > 
> > > > 
> > > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> > > > gineValve.java
> > > > > :174)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > > eContext.invok
> > > > > eNext(StandardPipeline.java:643)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > > > ine.java:480)
> > > > >         at
> > > > > 
> > > > 
> > > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > >         at
> > > > > 
> > > > org.apache.catalina.connector.warp.WarpRequestHandler.handle(U
> > > > nknown Source)
> > > > >         at 
> > > > org.apache.catalina.connector.warp.WarpConnection.run(Unknown
> > > > > Source)
> > > > >         at java.lang.Thread.run(Thread.java:536)
> > > > > 
> > > > > 
> > > > > 
> > > > > > -----Message d'origine-----
> > > > > > De: Apostoly Guillaume 
> > > > > > Date: mardi 8 juillet 2003 17:45
> > > > > > À: opencms-dev at opencms.org
> > > > > > Objet: RE: [opencms-dev] Help ! Resource loader error ...
> > > > > > 
> > > > > > 
> > > > > > I see what you mean, but it doesn't solve the 
> problem : i've 
> > > > > > checked the
> > > > > > tomcat logs also, and there's nothing more.
> > > > > > More than this, in my jsp, i've got just the 
> instantiation of 
> > > > > > my class (
> > > > > > constructor with no parameters), and my class is an "empty" 
> > > > > > class. In fact I
> > > > > > never went further than that...
> > > > > > Any idea ?
> > > > > > 
> > > > > > > -----Message d'origine-----
> > > > > > > De: M Butcher [mailto:mbutcher at grcomputing.net]
> > > > > > > Date: mardi 8 juillet 2003 18:03
> > > > > > > À: opencms-dev at opencms.org
> > > > > > > Objet: Re: [opencms-dev] Help ! Resource loader error ...
> > > > > > > 
> > > > > > > 
> > > > > > > I spent a few hours dealing with the same 
> exception on one of 
> > > > > > > my pages,
> > > > > > > thinking that it was the classloader that was causing 
> > > > the problem.
> > > > > > > Finally, I realized that I had a really dumb error in my 
> > > > > > code that was
> > > > > > > generating a NullPointerException... which got 
> reported as 
> > > > > > a Resource
> > > > > > > loader error. Since then, I've seen a few other 
> exceptions 
> > > > > > > get reported
> > > > > > > as this error, so it is not necessarily a 
> classloader problem 
> > > > > > > (though it
> > > > > > > may be).
> > > > > > > 
> > > > > > > Sometimes the $TOMCAT/logs/ files had more to say 
> than the 
> > > > > > exceptions
> > > > > > > that got reported to the screen, so it might help to 
> > > > check there.
> > > > > > > 
> > > > > > > Matt
> > > > > > > 
> > > > > > > On Tue, 2003-07-08 at 03:00, Apostoly Guillaume wrote:
> > > > > > > > Hi all,
> > > > > > > >  
> > > > > > > > I've got a problem with the classloader (maybe):
> > > > > > > > I put <%@ page session="false" 
> > > > > > > import="com.machin.intranet.* ......> in a
> > > > > > > > jsp page. 
> > > > > > > > I've got a class called "Constants" into
> > > > > > > > modules/com.machin.intranet/classes/com/machin/intranet 
> > > > > > > which correspond to
> > > > > > > > WEB-INF/classes/com/machin/intranet on the real system.
> > > > > > > >  
> > > > > > > > If I try to put this out.println("constant :
> > > > > > > > "+com.europcar.intranet.Constants.webAppPath); 
> into my jsp, 
> > > > > > > i've got the
> > > > > > > > following error...
> > > > > > > > Has anybody any idea ? 
> > > > > > > >  
> > > > > > > > Thanks by advance.
> > > > > > > >  
> > > > > > > > Guillaume
> > > > > > > >  
> > > > > > > > javax.servlet.ServletException: Resource loader 
> > > error in file
> > > > > > > > '/intranetmachin/Domains/Marketing/index.jsp'
> > > > > > > >  
> > > > > > > > Root cause:
> > > > > > > > org.apache.jasper.JasperException: 
> > > > com/machin/intranet/Constants
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServlet
> > > > > > > Wrapper.java:2
> > > > > > > > 54)
> > > > > > > >  at 
> > > > > > > 
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
> > > > > > > .java:295)
> > > > > > > >  at 
> > > > > > > 
> > > > 
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> > > > > > > >  at 
> > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.ApplicationDispatcher.invoke(Applicat
> > > > > > > ionDispatcher.
> > > > > > > > java:684)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.ApplicationDispatcher.doInclude(Appli
> > > > > > > cationDispatch
> > > > > > > > er.java:575)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.ApplicationDispatcher.include(Applica
> > > > > > > tionDispatcher
> > > > > > > > .java:498)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFle
> > > > > > > xRequestDispat
> > > > > > > > cher.java:180)
> > > > > > > >  at 
> > > > com.opencms.flex.CmsJspLoader.service(CmsJspLoader.java:955)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFle
> > > > > > > xRequestDispat
> > > > > > > > cher.java:268)
> > > > > > > >  at 
> > > com.opencms.flex.CmsJspLoader.load(CmsJspLoader.java:567)
> > > > > > > >  at 
> > > > > > 
> com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:235)
> > > > > > > >  at 
> com.opencms.core.OpenCms.showResource(OpenCms.java:956)
> > > > > > > >  at 
> > > > > > > 
> > > > > > 
> > > > 
> > > 
> com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
> > > > > > > >  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:256)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > > > > > eContext.invok
> > > > > > > > eNext(StandardPipeline.java:643)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > > > > > > ine.java:480)
> > > > > > > >  at 
> > > > > > > 
> > > > > > 
> > > > 
> > > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.StandardContextValve.invoke(StandardC
> > > > > > > ontextValve.ja
> > > > > > > > va:191)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > > > > > eContext.invok
> > > > > > > > eNext(StandardPipeline.java:643)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > > > > > > ine.java:480)
> > > > > > > >  at 
> > > > > > > 
> > > > > > 
> > > > 
> > > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.StandardContext.invoke(StandardContex
> > > > > > > t.java:2415)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> > > > > > > Valve.java:180
> > > > > > > > )
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > > > > > eContext.invok
> > > > > > > > eNext(StandardPipeline.java:643)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> > > > > > > spatcherValve.
> > > > > > > > java:171)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > > > > > eContext.invok
> > > > > > > > eNext(StandardPipeline.java:641)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> > > > > > > Valve.java:172
> > > > > > > > )
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > > > > > eContext.invok
> > > > > > > > eNext(StandardPipeline.java:641)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > > > > > > ine.java:480)
> > > > > > > >  at 
> > > > > > > 
> > > > > > 
> > > > 
> > > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> > > > > > > gineValve.java
> > > > > > > > :174)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > > > > > eContext.invok
> > > > > > > > eNext(StandardPipeline.java:643)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > > > > > > ine.java:480)
> > > > > > > >  at 
> > > > > > > 
> > > > > > 
> > > > 
> > > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > > > > >  at 
> > > > > > > 
> > > > 
> org.apache.catalina.connector.warp.WarpRequestHandler.handle(Unknown
> > > > > > > > Source)
> > > > > > > >  at 
> > > > > > > 
> > > > > > 
> > > > 
> > > 
> org.apache.catalina.connector.warp.WarpConnection.run(Unknown Source)
> > > > > > > >  at java.lang.Thread.run(Thread.java:536)
> > > > > > > >  
> > > > > > > > --------------- End of root cause.
> > > > > > > >  
> > > > > > > >  at 
> > > > com.opencms.flex.CmsJspLoader.service(CmsJspLoader.java:962)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFle
> > > > > > > xRequestDispat
> > > > > > > > cher.java:268)
> > > > > > > >  at 
> > > com.opencms.flex.CmsJspLoader.load(CmsJspLoader.java:567)
> > > > > > > >  at 
> > > > > > 
> com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:235)
> > > > > > > >  at 
> com.opencms.core.OpenCms.showResource(OpenCms.java:956)
> > > > > > > >  at 
> > > > > > > 
> > > > > > 
> > > > 
> > > 
> com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
> > > > > > > >  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:256)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > > > > > eContext.invok
> > > > > > > > eNext(StandardPipeline.java:643)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > > > > > > ine.java:480)
> > > > > > > >  at 
> > > > > > > 
> > > > > > 
> > > > 
> > > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.StandardContextValve.invoke(StandardC
> > > > > > > ontextValve.ja
> > > > > > > > va:191)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > > > > > eContext.invok
> > > > > > > > eNext(StandardPipeline.java:643)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > > > > > > ine.java:480)
> > > > > > > >  at 
> > > > > > > 
> > > > > > 
> > > > 
> > > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.StandardContext.invoke(StandardContex
> > > > > > > t.java:2415)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> > > > > > > Valve.java:180
> > > > > > > > )
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > > > > > eContext.invok
> > > > > > > > eNext(StandardPipeline.java:643)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> > > > > > > spatcherValve.
> > > > > > > > java:171)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > > > > > eContext.invok
> > > > > > > > eNext(StandardPipeline.java:641)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> > > > > > > Valve.java:172
> > > > > > > > )
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > > > > > eContext.invok
> > > > > > > > eNext(StandardPipeline.java:641)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > > > > > > ine.java:480)
> > > > > > > >  at 
> > > > > > > 
> > > > > > 
> > > > 
> > > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> > > > > > > gineValve.java
> > > > > > > > :174)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > > > > > > eContext.invok
> > > > > > > > eNext(StandardPipeline.java:643)
> > > > > > > >  at
> > > > > > > > 
> > > > > > > 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > > > > > > ine.java:480)
> > > > > > > >  at 
> > > > > > > 
> > > > > > 
> > > > 
> > > 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > > > > >  at 
> > > > > > > 
> > > > 
> org.apache.catalina.connector.warp.WarpRequestHandler.handle(Unknown
> > > > > > > > Source)
> > > > > > > >  at 
> > > > > > > 
> > > > > > 
> > > > 
> > > 
> org.apache.catalina.connector.warp.WarpConnection.run(Unknown Source)
> > > > > > > >  at java.lang.Thread.run(Thread.java:536)
> > > > > > > >  
> > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > _______________________________________
> > > > > > > > Guillaume APOSTOLY 
> > > > > > > > Business-Analyst EIS-BSD 
> > > > > > > > Tél: +33 (0)1.30.44.95.22 
> > > > > > > > Fax: +33 (0)1.30.44.98.08 
> > > > > > > > ApostolyG at mail.europcar.com 
> > > <mailto:ApostolyG at mail.europcar.com>  
> > > > > > > _______________________________________ 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > >  
> > > > > > > _______________________________________________
> > > > > > > This mail is send to you from the opencms-dev mailing list
> > > > > > > To change your list options, or to unsubscribe from the 
> > > > > > list, please visit
> > > > > > > http://mail.opencms.org/mailman/listinfo/opencms-dev
> > > > > > -- 
> > > > > > M Butcher <mbutcher at grcomputing.net>
> > > > > > _______________________________________________
> > > > > > This mail is send to you from the opencms-dev mailing list
> > > > > > To change your list options, or to unsubscribe from 
> the list, 
> > > > > > please visit
> > > > > > http://mail.opencms.org/mailman/listinfo/opencms-dev
> > > > > > 
> > > > > _______________________________________________
> > > > > This mail is send to you from the opencms-dev mailing list
> > > > > To change your list options, or to unsubscribe from the list, 
> > > > > please visit
> > > > > http://mail.opencms.org/mailman/listinfo/opencms-dev
> > > > > 
> > > > _______________________________________________
> > > > This mail is send to you from the opencms-dev mailing list
> > > > To change your list options, or to unsubscribe from the 
> > > list, please visit
> > > > http://mail.opencms.org/mailman/listinfo/opencms-dev
> > > -- 
> > > M Butcher <mbutcher at grcomputing.net>
> > > _______________________________________________
> > > This mail is send to you from the opencms-dev mailing list
> > > To change your list options, or to unsubscribe from the list, 
> > > please visit
> > > http://mail.opencms.org/mailman/listinfo/opencms-dev
> > > _______________________________________________
> > > This mail is send to you from the opencms-dev mailing list
> > > To change your list options, or to unsubscribe from the list, 
> > > please visit
> > > http://mail.opencms.org/mailman/listinfo/opencms-dev
> > > 
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the 
> list, please visit
> > http://mail.opencms.org/mailman/listinfo/opencms-dev
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the 
> list, please visit
> > http://mail.opencms.org/mailman/listinfo/opencms-dev
> -- 
> M Butcher <mbutcher at grcomputing.net>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, 
> please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> 



More information about the opencms-dev mailing list