|
Hi,
Thanks again. The compilation works ok, and it
seems to run without any problems
(Well, after I
reverted back to JVM 1.4.2 instead of the 1.5.0 Beta 1 which makes the
jisp persistance store stop working.)
<map:match
pattern="page-*.xsp">
<map:generate src="" type="serverpages"> <map:parameter name="pageid"
value="{1}"/>
</map:generate>
<map:transform src=""/> <map:serialize type="xml"/> </map:match>
<map:match pattern="page-*">
<map:generate src="" type="serverpages"/> <map:transform
src=""/>
<map:serialize type="html"/> </map:match> In this example I made the page.xsp caching
which should hopefully create a cache
entry for say PK_G_page-1.xsp-T.... a.s.o.
subsequent requests to page-1 should, after having
applied your patch, not result in
a regeneration of the respective xsp.
When I have a look at the logs this behaviour seems
to be the case, as there is only
one message for the generation of the java file:
(similar to this one)
INFO (2004-03-12)
11:23.12:583 [core.program-generator] (/sonar/manage/)
http8080-Processor25/ProgramGeneratorImpl: The serverpage
[cocoon://manage/sonar-page-530915626.xsp?pipelinehash=3317303099616676276]
could not be preloaded, will be re-created
(org.apache.cocoon.components.language.LanguageException: Unable to preload
program
org\apache\cocoon\www\cocoon_\_\manage\sonar_page_530915626_xsp_pipelinehash_3317303099616676276:
org.apache.cocoon.components.language.LanguageException: Could not load class
for program
'org\apache\cocoon\www\cocoon_\_\manage\sonar_page_530915626_xsp_pipelinehash_3317303099616676276'
due to a java.lang.ClassNotFoundException:
org.apache.cocoon.www.cocoon_._.manage.sonar_page_530915626_xsp_pipelinehash_3317303099616676276)
The thing is only, that the java file still gets
regenerated which I can see at the
timestamp and the approx 200ms it takes to refresh the page.
I have tried to switch the core.program-generator log to debug, but there
are no more
messages. Any hints where I could dig next? (I am using 2.1.4 with the
patches
thanks,
jakob
----- Original Message -----
|
- caching of generated xsp Jakob Schwendner [Public Image]
- AW: caching of generated xsp Marco Rolappe
- Re: caching of generated xsp Jakob Schwendner [Public Image]
- AW: caching of generated xsp Marco Rolappe
- Caching of generated XSP Jakob Schwendner [Public Image]
- Caching of generated XSP Scott Payne
- Re: Caching of generated XSP Joerg Heinicke
