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 Stefano Bianchi <st...@softeco.it> on 2004/05/10 10:49:24 UTC
org.xml.sax.SAXParseException: Premature end of file
Dear all,
I got this message in log file:
[10 mag 2004 10:19:29 ERROR] - RegistryService: Could not unmarshal:
C:\Worksafe\SitoInLinea\jakarta-tomcat-4.1.24\webapps\jetspeed\WEB-INF\conf\
feed_local.xreg
org.xml.sax.SAXParseException: Premature end of file.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:161)
at
org.apache.jetspeed.services.registry.CastorRegistryService.loadFragment(Cas
torRegistryService.java:599)
at
org.apache.jetspeed.services.registry.RegistryWatcher.run(RegistryWatcher.ja
va:376)
[...]
[10 mag 2004 10:19:31 ERROR] - RegistryService: Could not create fragment:
C:\Worksafe\SitoInLinea\jakarta-tomcat-4.1.24\webapps\jetspeed\WEB-INF\conf\
feed_apache.xreg
org.xml.sax.SAXParseException: Content is not allowed in prolog.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:338)
at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:270)
at
org.apache.jetspeed.services.registry.CastorRegistryService.createFragment(C
astorRegistryService.java:634)
at org.apache.jetspeed.daemon.impl.FeedDaemon.run(FeedDaemon.java:202)
at org.apache.jetspeed.daemon.DaemonThread.runDaemon(DaemonThread.java:145)
at org.apache.jetspeed.daemon.DaemonThread.run(DaemonThread.java:110)
but I can't see (I'm not a xml format expert!) any error in
<?xml version="1.0" encoding="UTF-8"?>
<registry>
<portlet-entry
name="http://www.apacheweek.com/issues/apacheweek-headlines.xml"
hidden="false" type="ref" parent="RSS" application="false">
<meta-info>
<title>Apache News from Apache Week</title>
<description>The essential resource for anyone running an
Apache server or anyone responsible for running Apache
based services </description>
</meta-info>
<classname>org.apache.jetspeed.portal.portlets.NewRSSPortlet</classname>
<url
cachedOnURL="true">http://www.apacheweek.com/issues/apacheweek-headlines.xml
</url>
</portlet-entry>
<portlet-entry name="http://xml.com/xml/xmlnews.rdf" hidden="false"
type="ref" parent="RSS" application="false">
<meta-info>
<title>XML News from XML com</title>
<description>XML News and Feature Articles from XML
com</description>
</meta-info>
<classname>org.apache.jetspeed.portal.portlets.NewRSSPortlet</classname>
<url cachedOnURL="true">http://xml.com/xml/xmlnews.rdf</url>
</portlet-entry>
<portlet-entry name="http://www.xmlhack.com/rsscat.php"
hidden="false" type="ref" parent="RSS" application="false">
<meta-info>
<title>xmlhack</title>
<description>Developer news from the XML community</description>
</meta-info>
<classname>org.apache.jetspeed.portal.portlets.NewRSSPortlet</classname>
<url cachedOnURL="true">http://www.xmlhack.com/rsscat.php</url>
</portlet-entry>
<portlet-entry name="http://www.slashdot.org/slashdot.rdf"
hidden="false" type="ref" parent="RSS" application="false">
<meta-info>
<title>Slashdot</title>
<description>News for Nerds Stuff that Matters</description>
</meta-info>
<classname>org.apache.jetspeed.portal.portlets.NewRSSPortlet</classname>
<url cachedOnURL="true">http://www.slashdot.org/slashdot.rdf</url>
</portlet-entry>
<portlet-entry name="http://www.mozilla.org/news.rdf" hidden="false"
type="ref" parent="RSS" application="false">
<meta-info>
<title>Mozilla latest headlines</title>
<description>Here you will find notices of important changes
to the web site or new information important to the
Mozilla developer community For pointers to the hottest
article and threads in our newsgroups check out NewsBot
</description>
</meta-info>
<classname>org.apache.jetspeed.portal.portlets.NewRSSPortlet</classname>
<url cachedOnURL="true">http://www.mozilla.org/news.rdf</url>
</portlet-entry>
<portlet-entry name="http://barrapunto.com/barrapunto.rdf"
hidden="false" type="ref" parent="RSS" application="false">
<meta-info>
<title>Barrapunto</title>
<description>Slashdot clon in Spanish</description>
</meta-info>
<classname>org.apache.jetspeed.portal.portlets.NewRSSPortlet</classname>
<url cachedOnURL="true">http://barrapunto.com/barrapunto.rdf</url>
</portlet-entry>
</registry>
Any hint?
Thank you in advance
Stefano
Ing. Stefano Bianchi
Softeco Sismat S.p.A.
Via De Marini, 1 - WTC Tower
16149 Genoa (ITALY)
e-mail: stefano.bianchi@softeco.it
tel: +39 010 60.26.368
fax: +39 010 60.26.350
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org