AW: AW: [opencms-dev] Error on reading pages (Resource loader error)

Mark Miller mark.miller at hema.ch
Fri Jan 16 15:25:02 CET 2004


I hope this helps a little

http://www.hema.ch/personal/mark.miller/opencms/tutorial_simplesite.html


-----Ursprüngliche Nachricht-----
Von: opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org] Im Auftrag von Francis
Gesendet: 16 January 2004 12:56
An: opencms-dev at opencms.org
Betreff: Re: AW: [opencms-dev] Error on reading pages (Resource loader
error)

Thank's

I just want to view some templates to create a new site.

Is it possible to find a todo list with examples to create my first
site?

Is it rigth to first create a new module with template and then the
content?

Is it possible to view the code source of the pages (jsp or html) and
style
sheets mentionned in the documentation pages?

Francis

----- Original Message ----- 
From: "Mark Miller" <mark.miller at hema.ch>
To: <opencms-dev at opencms.org>
Sent: Friday, January 16, 2004 11:10 AM
Subject: AW: AW: [opencms-dev] Error on reading pages (Resource loader
error)


Fair enough ... but why ? ... templates are not meant to be executed in
that way, which is why I said call it using a blank page.

I just think that templates should be used as templates and not called
directly.

Can't give you a good reason as to why it shouldn't work as it in
essence it is simply a JSP page, but it doesn't and I don't really think
this is a bug, it is more a concept problem (ie. using the wrong tool
for the wrong job).

All the best,

mark


-----Ursprüngliche Nachricht-----
Von: opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org] Im Auftrag von Michael Goodwin
Gesendet: 16 January 2004 11:04
An: opencms-dev at opencms.org
Betreff: Re: AW: [opencms-dev] Error on reading pages (Resource loader
error)





Obviously, i just mean when you click on the template file itself, as if
there is no other useful outcome associated with this action (i.e.
instead
of the error message).



From:  "Mark Miller" <mark.miller at hema.ch>@opencms.org  on 16/01/2004
10:53

Please respond to opencms-dev at opencms.org

Sent by:    opencms-dev-admin at opencms.org




 To:    <opencms-dev at opencms.org>





 cc:













 Subjec AW: [opencms-dev] Error on reading

 t:     pages (Resource loader error)












Errrmmm ... that would be fairly simple ... just create a blank page
based on that template.



-----Ursprüngliche Nachricht-----
Von: opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org] Im Auftrag von Michael Goodwin
Gesendet: 16 January 2004 10:27
An: opencms-dev at opencms.org
Betreff: Re: [opencms-dev] Error on reading pages (Resource loader
error)






I've seen the same error, with a different setup.

All i would say is that it doesn't make any sense to view the template
with
out content, so it doesn't really matter (correct me if i'm wrong).
Maybe
there should be some sort of default content mechanism so one can view
templates.






From:  "Francis" <ffraikin at met.wallonie.be>@opencms.org  on 16/01/2004
       09:36

Please respond to opencms-dev at opencms.org

Sent by:    opencms-dev-admin at opencms.org




 To:    <opencms-dev at opencms.org>





 cc:













 Subjec [opencms-dev] Error on reading

 t:     pages (Resource loader error)












When I try to view howto-complete.jsp  (idem for howto.jsp) with a click
on
the name, I receive an error.

It's a new install of OpenCms 5.01 on Solaris 8 with Apache and Tomcat
and
I
try to understand the mechanism of OpenCms to develop my own site.

What's wrong?

Francis

Error Text :

javax.servlet.ServletException: Resource loader error in file
'/system/modules/com.alkacon.documentation.howto-template/jsptemplates/h
owto

-complete.jsp'

Root cause:
org.apache.jasper.JasperException: FlexDispatcher: Dectected inclusion
loop
for target
/system/modules/com.alkacon.documentation.howto-template/jsptemplates/ho
wto-

complete.jsp
 at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va: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(ApplicationDispatc
her.

java:684)
 at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDisp
atch

er.java:575)
 at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispat
cher

.java:498)
 at
com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDi
spat

cher.java:158)
 at com.opencms.flex.CmsJspLoader.service(CmsJspLoader.java:972)
 at
com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDi
spat

cher.java:256)
 at com.opencms.flex.CmsJspLoader.load(CmsJspLoader.java:577)
 at com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:239)
 at com.opencms.core.OpenCms.showResource(OpenCms.java:961)
 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.internalDoFilter(Applica
tion

FilterChain.java:247)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erCh

ain.java:193)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.ja

va:256)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvok

eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.ja

va:191)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvok

eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241
5)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180

)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvok

eNext(StandardPipeline.java:643)
 at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.

java:171)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvok

eNext(StandardPipeline.java:641)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:172

)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvok

eNext(StandardPipeline.java:641)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
 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.i
nvok

eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
 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:59
4)
 at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onne

ction(Http11Protocol.java:392)
 at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:56
5)
 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.jav

a:619)
 at java.lang.Thread.run(Thread.java:536)

--------------- End of root cause.

 at com.opencms.flex.CmsJspLoader.service(CmsJspLoader.java:979)
 at
com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDi
spat

cher.java:256)
 at com.opencms.flex.CmsJspLoader.load(CmsJspLoader.java:577)
 at com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:239)
 at com.opencms.core.OpenCms.showResource(OpenCms.java:961)
 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.internalDoFilter(Applica
tion

FilterChain.java:247)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erCh

ain.java:193)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.ja

va:256)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvok

eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.ja

va:191)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvok

eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241
5)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180

)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvok

eNext(StandardPipeline.java:643)
 at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.

java:171)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvok

eNext(StandardPipeline.java:641)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:172

)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvok

eNext(StandardPipeline.java:641)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
 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.i
nvok

eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
 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:59
4)
 at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onne

ction(Http11Protocol.java:392)
 at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:56
5)
 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.jav

a:619)
 at java.lang.Thread.run(Thread.java:536)




_______________________________________________
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


_______________________________________________
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






More information about the opencms-dev mailing list