You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by "Leschke, Scott" <SL...@medline.com> on 2015/09/25 23:53:48 UTC

Repeated resource lookups?

I have a web bundle that does a forward to a jsp after performing a query. I turned on DEBUG while putting this together and noticed that the following group of 5 log statements were repeated a total of 6 times over a period of about 30 milliseconds.  If it's accurate, it would seem that something is not quite kosher. There were no intervening statements so the appearance is that it's running the same logic repeatedly but perhaps something else is going on?  Hmmm......

Inquiring minds want to know.  Version 4..0.1  btw.

Set 1 of 6...

2015-09-25 14:38:08,192 | DEBUG | /page/query/test | HttpServiceContext               | 98 - org.ops4j.pax.web.pax-web-jetty - 4.2.0 | getting resource: [/jsp/BAM.jsp]
2015-09-25 14:38:08,193 | DEBUG | /page/query/test | HttpServiceContext               | 98 - org.ops4j.pax.web.pax-web-jetty - 4.2.0 | not a URL or invalid URL: [/jsp/BAM.jsp], treating as a file path
2015-09-25 14:38:08,193 | DEBUG | /page/query/test | WebAppWebContainerContext        | 96 - org.ops4j.pax.web.pax-web-extender-war - 4.2.0 | Searching bundle medline.bam [144] for resource [/jsp/BAM.jsp], normalized to [jsp/BAM.jsp]
2015-09-25 14:38:08,193 | DEBUG | /page/query/test | WebAppWebContainerContext        | 96 - org.ops4j.pax.web.pax-web-extender-war - 4.2.0 | Resource found as url [bundle://144.43:0/jsp/BAM.jsp]
2015-09-25 14:38:08,193 | DEBUG | /page/query/test | HttpServiceContext               | 98 - org.ops4j.pax.web.pax-web-jetty - 4.2.0 | found resource: bundle://144.43:0/jsp/BAM.jsp

Sets 2-5 of 6.....

Set 6 of 6...

2015-09-25 14:38:08,222 | DEBUG | /page/query/test | HttpServiceContext               | 98 - org.ops4j.pax.web.pax-web-jetty - 4.2.0 | getting resource: [/jsp/BAM.jsp]
2015-09-25 14:38:08,222 | DEBUG | /page/query/test | HttpServiceContext               | 98 - org.ops4j.pax.web.pax-web-jetty - 4.2.0 | not a URL or invalid URL: [/jsp/BAM.jsp], treating as a file path
2015-09-25 14:38:08,222 | DEBUG | /page/query/test | WebAppWebContainerContext        | 96 - org.ops4j.pax.web.pax-web-extender-war - 4.2.0 | Searching bundle medline.bam [144] for resource [/jsp/BAM.jsp], normalized to [jsp/BAM.jsp]
2015-09-25 14:38:08,222 | DEBUG | /page/query/test | WebAppWebContainerContext        | 96 - org.ops4j.pax.web.pax-web-extender-war - 4.2.0 | Resource found as url [bundle://144.43:0/jsp/BAM.jsp]
2015-09-25 14:38:08,222 | DEBUG | /page/query/test | HttpServiceContext               | 98 - org.ops4j.pax.web.pax-web-jetty - 4.2.0 | found resource: bundle://144.43:0/jsp/BAM.jsp