I'm wondering if anyone else noticed some strange bahaviour with current
castor registry service. It seems that registry loads slower than before and
I noticed some errors such as:

<snip>
[31 Oct 2002 13:43:25 DEBUG] - Adding entry XML of class class
org.apache.jetspeed.om.registry.base.BasePortletEntry to registry Registry
[31 Oct 2002 13:43:27 ERROR] - Could not unmarshal:
C:\jakarta-tomcat\webapps\jetspeed\WEB-INF\conf\portlets.xreg
org.xml.sax.SAXParseException: XML document structures must start and end
within the same entity.
        at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:267)
        at
org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:20
1)
        at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:165)
        at
org.apache.jetspeed.services.registry.CastorRegistryService.loadFragment(Cas
torRegistryService.java:582)
        at
org.apache.jetspeed.services.registry.RegistryWatcher.run(RegistryWatcher.ja
va:318)
[31 Oct 2002 13:43:27 DEBUG] - RegistryWatcher: Refreshing because
C:\jakarta-tomcat\webapps\jetspeed\WEB-INF\conf\portlets.xreg was modified.
[31 Oct 2002 13:43:28 DEBUG] - RegistryWatcher: Refreshing because
C:\jakarta-tomcat\webapps\jetspeed\WEB-INF\conf\client.xreg was modified.
</snip>

Also, the registry seems to refresh itself at services.Registry.refreshRate
even if NOT changed:

<snip>
[31 Oct 2002 14:18:21 DEBUG] - RegistryWatcher: Checking for updated files.
[31 Oct 2002 14:18:22 DEBUG] - RegistryWatcher: Refreshing because
C:\jakarta-tomcat\webapps\jetspeed\WEB-INF\conf\admin.xreg was modified.
[31 Oct 2002 14:18:23 DEBUG] - RegistryWatcher: Refreshing because
C:\jakarta-tomcat\webapps\jetspeed\WEB-INF\conf\skins.xreg was modified.
[31 Oct 2002 14:18:24 DEBUG] - RegistryWatcher: Refreshing because
C:\jakarta-tomcat\webapps\jetspeed\WEB-INF\conf\media.xreg was modified.
[31 Oct 2002 14:18:24 DEBUG] - RegistryWatcher: Refreshing because
C:\jakarta-tomcat\webapps\jetspeed\WEB-INF\conf\controls.xreg was modified.
[31 Oct 2002 14:18:24 DEBUG] - RegistryWatcher: Refreshing because
C:\jakarta-tomcat\webapps\jetspeed\WEB-INF\conf\controllers.xreg was
modified.
[31 Oct 2002 14:18:24 DEBUG] - RegistryWatcher: Refreshing because
C:\jakarta-tomcat\webapps\jetspeed\WEB-INF\conf\feed_local.xreg was
modified.
[31 Oct 2002 14:18:24 DEBUG] - RegistryWatcher: Refreshing because
C:\jakarta-tomcat\webapps\jetspeed\WEB-INF\conf\wml-examples.xreg was
modified.
[31 Oct 2002 14:18:24 DEBUG] - RegistryWatcher: Refreshing because
C:\jakarta-tomcat\webapps\jetspeed\WEB-INF\conf\demo-portlets.xreg was
modified.
[31 Oct 2002 14:18:25 DEBUG] - RegistryWatcher: Refreshing because
C:\jakarta-tomcat\webapps\jetspeed\WEB-INF\conf\portlets.xreg was modified.
[31 Oct 2002 14:18:25 DEBUG] - RegistryWatcher: Refreshing because
C:\jakarta-tomcat\webapps\jetspeed\WEB-INF\conf\client.xreg was modified.
[31 Oct 2002 14:18:25 DEBUG] - RegistryWatcher: Refreshing because
C:\jakarta-tomcat\webapps\jetspeed\WEB-INF\conf\feed_apache.xreg was
modified.
[31 Oct 2002 14:18:25 DEBUG] - RegistryWatcher: Refreshing because
C:\jakarta-tomcat\webapps\jetspeed\WEB-INF\conf\security.xreg was modified.
</snip>

For some reason, I thought that refresh was only triggered by file
modification.

I'll look into it further but I would appreciate any other comments. Many
thanks in advance!

Best regards,

Mark C. Orciuch
Next Generation Solutions, Ltd.
e-Mail: [EMAIL PROTECTED]
web: http://www.ngsltd.com



--
To unsubscribe, e-mail:   <mailto:jetspeed-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-dev-help@;jakarta.apache.org>

Reply via email to