Santiago Gala wrote:
> 
> Sarah Eggleston wrote:
> (...)
> 
If this isn't general interest just shout and we can take it offline.

The XML data isn't stored in cache, I got hold of this by running with 
no stylesheet and saving the XML result manually. It's basically 
identical to the working XML data (uses the same ISO and DTD file) 
except that the entry-count value (and number of entries) changes.

<?xml version="1.0" encoding='ISO-8859-1'?>
<!DOCTYPE dsml SYSTEM "http://addressbook.corp.com/addressdir/dsml.dtd">
<dsml>
<!--status error-code="0" msg="Ok" entry-count="10"-->
<directory-entries>

   <entry dn="uid=0+1188897,c=us,ou=addressbook,o=corp.com">
   ...
   </entry>
   [...and 9 more entries...]

   </directory-entries>
</dsml>

The full stacktrace for the first exception thrown is this:

[Tue Feb 20 10:52:58 GMT+00:00 2001] --  ERROR  -- 
        Exception:  org.apache.jetspeed.services.urlmanager.URLNotAvailableException: 
The
following URL is not available because it is considered invalid:
http://addressbook.corp.com/person/((sn=Eggleston)(givenname=*)).list/byxml ->
java.io.IOException: Resetting to invalid mark
        Stack Trace follows:
        org.apache.jetspeed.services.urlmanager.URLNotAvailableException: The 
following URL
is not available because it is considered invalid:
http://addressbook.corp.com/person/((sn=Eggleston)(givenname=*)).list/byxml ->
java.io.IOException: Resetting to invalid mark
        at java.io.IOException.<init>(IOException.java:49)
        at
org.apache.jetspeed.services.urlmanager.URLNotAvailableException.<init>(URLNotAvailableException.java:75)
        at 
org.apache.jetspeed.services.urlmanager.URLFetcher.fetch(URLFetcher.java:189)
        at
org.apache.jetspeed.cache.disk.JetspeedDiskCache.fetch(JetspeedDiskCache.java(Compiled
Code))
        at 
org.apache.jetspeed.cache.disk.JetspeedDiskCache.add(JetspeedDiskCache.java:352)
        at
org.apache.jetspeed.cache.disk.JetspeedDiskCache.getEntry(JetspeedDiskCache.java:243)
        at
org.apache.jetspeed.cache.disk.JetspeedDiskCache.getEntry(JetspeedDiskCache.java:181)
        at org.apache.jetspeed.util.SimpleTransform.transform(SimpleTransform.java:140)
        at org.apache.jetspeed.util.SimpleTransform.transform(SimpleTransform.java:125)
        at BluePagesPortlet.parse(BluePagesPortlet.java:116)
        at BluePagesPortlet.getContent(BluePagesPortlet.java:89)
        at
org.apache.jetspeed.portal.controls.FullScreenControl.getHTMLContent(FullScreenControl.java:171)
        at
org.apache.jetspeed.portal.controls.FullScreenControl.getContent(FullScreenControl.java:103)
        at
org.apache.jetspeed.portal.controllers.RowColumnPortletController.getHTMLContent(RowColumnPortletController.java(Compiled
Code))
        at
org.apache.jetspeed.portal.controllers.RowColumnPortletController.getContent(RowColumnPortletController.java:115)
        at org.apache.jetspeed.portal.PortletSet.getContent(PortletSet.java:277)
        at org.apache.jetspeed.modules.screens.Home.getContent(Home.java:152)
        at org.apache.jetspeed.modules.screens.Home.doBuild(Home.java:132)
        at org.apache.turbine.modules.Screen.build(Screen.java:100)
        at org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java:125)
        at
org.apache.jetspeed.modules.layouts.JetspeedJspLayout.doBuild(JetspeedJspLayout.java:103)
        at org.apache.turbine.modules.Layout.build(Layout.java:93)
        at org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:122)
        at org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:170)
        at org.apache.turbine.modules.Page.build(Page.java:92)
        at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:122)
        at org.apache.turbine.Turbine.doGet(Turbine.java:364)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
        at org.apache.tomcat.core.Handler.service(Handler.java:286)
        at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
        at 
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java(Compiled
Code))
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:481)


> > [Tue Feb 20 10:52:55 GMT+00:00 2001] -- NOTICE  -- urlResult =
> > http://addressbook.corp.com/person/((sn=Eggleston)(givenname=*)).list/byxml
> > [Tue Feb 20 10:52:58 GMT+00:00 2001] -- NOTICE  -- URLFetcher: found URL with
> > encoding -> ISO-8859-1
> > [Tue Feb 20 10:52:58 GMT+00:00 2001] --  ERROR  --
> >       Exception:  
>org.apache.jetspeed.services.urlmanager.URLNotAvailableException: The
> > following URL is not available because it is considered invalid:
> > http://addressbook.corp.com/person/((sn=Eggleston)(givenname=*)).list/byxml ->
> > java.io.IOException: Resetting to invalid mark
> >       Stack Trace follows:
> >       org.apache.jetspeed.services.urlmanager.URLNotAvailableException: The 
>following URL
> > is not available because it is considered invalid:
> > http://addressbook.corp.com/person/((sn=Eggleston)(givenname=*)).list/byxml ->
> > java.io.IOException: Resetting to invalid mark
> >       at java.io.IOException.<init>(IOException.java:49)
> >       at ...
> 
> ---> this (after the ...) is the interesting part. Can you post this part fo the log?
> 
> I think it is a problem with DiskCache or XMLReader trying to get the encoding
> from the document, but I need more lines to know for certain.
> 
> Also, it would be interesting to get the first couple of lines from the XML file.
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/jetspeed@list.working-dogs.com/>
> List Help?:          [EMAIL PROTECTED]


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/jetspeed@list.working-dogs.com/>
List Help?:          [EMAIL PROTECTED]

Reply via email to