You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by John Menke <jo...@eagleinfosystems.com> on 2001/05/01 03:03:52 UTC
rss-0.91 not available --> errors
Netscape has removed the file:
http://my.netscape.com/publish/formats/rss-0.91 from it's website. Now my
Jetspeed cannot output any portlet information. Is anyone having similar
problems. I get a java.io.FileNotFoundException pointing the above url and
no RSS portlets can be displayed. Is anyone having the same problems?
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: rss-0.91 not available --> errors
Posted by Santiago Gala <sg...@hisitech.com>.
John Menke wrote:
> I replaced the file in cache, but it disappeared - is there any way to stop
> this from happening. I
>
Now it should work, using xerces1.3.1 and my updates, or else fetching
the dtd from netscape (it is back there). See further comments.
> (also see inline)
>
>
>
>> This is/was a hacky idea I had.
>
>
>> Instead, I just commited changes to NewRSSPortlet.java (shouldn't we
>> rename and drop RSSPortlet.java?):
>
>
> what changes?
>
The ones described below
>
>> Now it no longer depends on xerces, but on jaxp. In theory, any jaxp
>> compliant parser will do.
>
>
>> I call setValidating(false) on the factory before instantiating the
>> parser, so that it does not fail when the dtd is not found. It still
>> tries to fetch it, but it will no longer fail if it is missing, I think.
>
>
>> Please, test it during extended periods, and report any problem.
>
It dit not work until I replaced xerces1.3.0 by xerces1.3.1
Now the dtd is back in Netscape, but I have entries in my log showing
that the entry raised an exception (as it was marked as bad) but the
portlet was fetched.
I have committed xerces1.3.1 anyway. It is good to be up to date. I will
replace xalan by a xalan2 current version soon if nobody oposes.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
RE: rss-0.91 not available --> errors
Posted by John Menke <jo...@eagleinfosystems.com>.
I replaced the file in cache, but it disappeared - is there any way to stop
this from happening. I
(also see inline)
>This is/was a hacky idea I had.
>Instead, I just commited changes to NewRSSPortlet.java (shouldn't we
>rename and drop RSSPortlet.java?):
what changes?
>Now it no longer depends on xerces, but on jaxp. In theory, any jaxp
>compliant parser will do.
>I call setValidating(false) on the factory before instantiating the
>parser, so that it does not fail when the dtd is not found. It still
>tries to fetch it, but it will no longer fail if it is missing, I think.
>Please, test it during extended periods, and report any problem.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: rss-0.91 not available --> errors
Posted by Santiago Gala <sg...@hisitech.com>.
John Menke wrote:
>> Santiago suggested that you define the URL in datasource.properties so
>> that it's
>> considered bad and not handled during the disk cache update. I didn't
>> try it but
>> it should work.
>
>
> What should the entry look like for datasource.properties? I am not sure
> what the syntax rules are.
>
This is/was a hacky idea I had.
Instead, I just commited changes to NewRSSPortlet.java (shouldn't we
rename and drop RSSPortlet.java?):
Now it no longer depends on xerces, but on jaxp. In theory, any jaxp
compliant parser will do.
I call setValidating(false) on the factory before instantiating the
parser, so that it does not fail when the dtd is not found. It still
tries to fetch it, but it will no longer fail if it is missing, I think.
Please, test it during extended periods, and report any problem.
Thanks
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
RE: rss-0.91 not available --> errors
Posted by John Menke <jo...@eagleinfosystems.com>.
>Santiago suggested that you define the URL in datasource.properties so
>that it's
>considered bad and not handled during the disk cache update. I didn't
>try it but
>it should work.
What should the entry look like for datasource.properties? I am not sure
what the syntax rules are.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: rss-0.91 not available --> errors
Posted by Raphaël Luta <ra...@networks.groupvu.com>.
John Menke wrote:
>
> Netscape has removed the file:
> http://my.netscape.com/publish/formats/rss-0.91 from it's website. Now my
> Jetspeed cannot output any portlet information. Is anyone having similar
> problems. I get a java.io.FileNotFoundException pointing the above url and
> no RSS portlets can be displayed. Is anyone having the same problems?
>
The file is preloaded by default in the cache, so the parser should
still find
it through the the local EntityResolver and DiskCache.
If you have removed it from the cache, grap a default Jetspeed WAR and
put it back
in the cache.
Santiago suggested that you define the URL in datasource.properties so
that it's
considered bad and not handled during the disk cache update. I didn't
try it but
it should work.
--
Raphaël Luta - luta.raphael@networks.vivendi.net
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org