"Kimpton,C (Chris)" escribió:
> 
> Hi,
> 
> Can anyone confirm that they don't get this error intermittently?
> 

I do get it always (my machine is dual processor and so thread
scheduling is quite different).

The reason, as I have tracked, is that FeedDaemon starts running before
RegistryManager is fully initialized. I managed to solve this, but now
the problem is that FeedDaemon starts producing feed before the
PortletRegistry gets initialized.

I'm looking for a simple way to trigger initialization of
PortletRegistry, but I could not found it. As a last resort, I will
check wether the PortletRegistry is initialized in every call, but I
wanted a cleaner way.

Any hints?


> Thanks
> Chris
> 
> > -----Original Message-----
> > From: Kimpton,C (Chris) [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, 24 January 2001 13:04
> > To: 'JetSpeed'
> > Subject: Jetspeed from CVS
> >
> >
> > Hi,
> >
> > I am getting intermittent problems starting jetspeed, both
> > with the 1.3a1
> > release and last nights CVS build.
> >
> > The error log gives this message;
> >
> > [Wed Jan 24 12:48:08 GMT 2001] -- NOTICE  -- Determining portlets...
> > [Wed Jan 24 12:48:09 GMT 2001] -- NOTICE  -- FeedDaemon: Got
> > new portlets
> > [Wed Jan 24 12:48:09 GMT 2001] -- NOTICE  -- Found a total
> > of: 5 portlets...
> > [Wed Jan 24 12:48:09 GMT 2001] --  ERROR  -- FeedDaemon:
> > Couldn't process
> > URL:  /ocs/local.ocs
> > [Wed Jan 24 12:48:09 GMT 2001] --  ERROR  --
> >       Exception:  java.lang.NullPointerException
> >       Stack Trace follows:
> >       java.lang.NullPointerException
> >       at
> > org.apache.jetspeed.daemon.impl.util.feeddaemon.EntryInstantia
> > tor.process(En
> > tryInstantiator.java:95)
> >       at
> > org.apache.jetspeed.daemon.impl.FeedDaemon.run(FeedDaemon.java:225)
> >       at
> > org.apache.jetspeed.daemon.DaemonThread.runDaemon(DaemonThread
> > .java:147)
> >       at
> > org.apache.jetspeed.daemon.DaemonThread.run(DaemonThread.java:100)
> > [Wed Jan 24 12:48:09 GMT 2001] -- NOTICE  -- BEGIN FEED ->
> > http://java.apache.org/jetspeed/channels/apache.ocs
> > [Wed Jan 24 12:48:09 GMT 2001] -- NOTICE  -- Returning local
> > cached URL
> > [Wed Jan 24 12:48:09 GMT 2001] -- NOTICE  -- Returning local
> > URL because it
> > is cached: http://java.apache.org/jetspeed/channels/apache.ocs
> > [Wed Jan 24 12:48:09 GMT 2001] -- NOTICE  -- FeedDaemon:
> > transforming url:
> > file:////opt/jakarta-tomcat-3.2.1/webapps/jetspeed/WEB-INF/cac
> > he/http_java.a
> > pache.org_jetspeed_channels_apache.ocs with stylesheet:
> > file:/opt/jakarta-tomcat-3.2.1/webapps/jetspeed/WEB-INF/xsl/ocs.xsl
> > [Wed Jan 24 12:48:09 GMT 2001] -- NOTICE  -- Adding Local to
> > cache list:
> > file:////opt/jakarta-tomcat-3.2.1/webapps/jetspeed/WEB-INF/cac
> > he/http_java.a
> > pache.org_jetspeed_channels_apache.ocs
> > [Wed Jan 24 12:48:09 GMT 2001] -- NOTICE  -- Returning local
> > cached URL
> > [Wed Jan 24 12:48:09 GMT 2001] -- NOTICE  -- Returning local
> > URL because it
> > is cached:
> > file:/opt/jakarta-tomcat-3.2.1/webapps/jetspeed/WEB-INF/xsl/ocs.xsl
> > [Wed Jan 24 12:48:09 GMT 2001] -- NOTICE  -- SimpleTransform:
> >  transforming
> > url:
> > file:////opt/jakarta-tomcat-3.2.1/webapps/jetspeed/WEB-INF/cac
> > he/http_java.a
> > pache.org_jetspeed_channels_apache.ocs with stylesheet:
> > file:/opt/jakarta-tomcat-3.2.1/webapps/jetspeed/WEB-INF/xsl/ocs.xsl
> > [Wed Jan 24 12:48:09 GMT 2001] -- NOTICE  -- Determining portlets...
> > [Wed Jan 24 12:48:09 GMT 2001] -- NOTICE  -- FeedDaemon: Got
> > new portlets
> > [Wed Jan 24 12:48:09 GMT 2001] -- NOTICE  -- Found a total
> > of: 7 portlets...
> > [Wed Jan 24 12:48:09 GMT 2001] --  ERROR  -- FeedDaemon:
> > Couldn't process
> > URL:  http://java.apache.org/jetspeed/channels/apache.ocs
> > [Wed Jan 24 12:48:09 GMT 2001] --  ERROR  --
> >       Exception:  java.lang.NullPointerException
> >       Stack Trace follows:
> >       java.lang.NullPointerException
> >       at
> > org.apache.jetspeed.daemon.impl.util.feeddaemon.EntryInstantia
> > tor.process(En
> > tryInstantiator.java:95)
> >       at
> > org.apache.jetspeed.daemon.impl.FeedDaemon.run(FeedDaemon.java:225)
> >       at
> > org.apache.jetspeed.daemon.DaemonThread.runDaemon(DaemonThread
> > .java:147)
> >       at
> > org.apache.jetspeed.daemon.DaemonThread.run(DaemonThread.java:100)
> > [Wed Jan 24 12:48:09 GMT 2001] -- NOTICE  -- Jetspeed:
> > FeedDaemon  --  END
> > --
> > [Wed Jan 24 12:48:09 GMT 2001] -- NOTICE  -- DaemonThread -> *DONE*
> > PROCESSING daemon -> feeddaemon
> >
> >
> > Has anyone else seen this problem?
> >
> > Thanks,
> > Chris
> >
> > ==============================================================
> > ==================================
> > This electronic message (email) and any attachments to it are
> > subject to copyright and are sent for the personal attention
> > of the addressee. Although you may be the named recipient, it
> > may become apparent that this email and its contents are not
> > intended for you and an addressing error has been made. This
> > email may include information that is legally privileged and
> > exempt from disclosure. If you have received this email in
> > error, please advise us immediately and delete this email and
> > any attachments from y
> > our computer system.Rabobank International is the trading
> > name of Coöperatieve Centrale Raiffeisen-Boerenleenbank B.A.
> > which is incorporated in the Netherlands. Registered with the
> > Registrar of Companies for England & Wales No. BR002630 and
> > regulated by the SFA for the conduct of investment business in the UK.
> >
> > The presence of this footnote also confirms that this email
> > has been automatically checked by Rabobank International for
> > the presence of computer viruses prior to it being sent,
> > however, no guarantee is given or implied that this email is
> > virus free upon delivery.
> >
> >
> >
> >
> > --
> > --------------------------------------------------------------
> > To subscribe:        [EMAIL PROTECTED]
> > To unsubscribe:      [EMAIL PROTECTED]
> > Search: <http://www.mail-archive.com/[email protected]/>
> > List Help?:          [EMAIL PROTECTED]
> >
> >
> > ==============================================================
> > ==================================
> > This electronic message (email) and any attachments to it are
> > subject to copyright and are sent for the personal attention
> > of the addressee. Although you may be the named recipient, it
> > may become apparent that this email and its contents are not
> > intended for you and an addressing error has been made. This
> > email may include information that is legally privileged and
> > exempt from disclosure. If you have received this email in
> > error, please advise us immediately and delete this email and
> > any attachments from your computer system.Rabobank
> > International is the trading name of Coöperatieve Centrale
> > Raiffeisen-Boerenleenbank B.A. which is incorporated in the
> > Netherlands. Registered with the Registrar of Companies for
> > England & Wales No. BR002630 and regulated by the SFA for the
> > conduct of investment business in the UK.
> >
> > The presence of this footnote also confirms that this email
> > has been automatically checked by Rabobank International for
> > the presence of computer viruses prior to it being sent,
> > however, no guarantee is given or implied that this email is
> > virus free upon delivery.
> >
> >
> 
> 
>================================================================================================
> This electronic message (email) and any attachments to it are subject to copyright 
>and are sent for the personal attention of the addressee. Although you may be the 
>named recipient, it may become apparent that this email and its contents are not 
>intended for you and an addressing error has been made. This email may include 
>information that is legally privileged and exempt from disclosure. If you have 
>received this email in error, please advise us immediately and delete this email and 
>any attachments from your computer system.Rabobank International is the trading name 
>of Coöperatieve Centrale Raiffeisen-Boerenleenbank B.A. which is incorporated in the 
>Netherlands. Registered with the Registrar of Companies for England & Wales No. 
>BR002630 and regulated by the SFA for the conduct of investment business in the UK.
> 
> The presence of this footnote also confirms that this email has been automatically 
>checked by Rabobank International for the presence of computer viruses prior to it 
>being sent, however, no guarantee is given or implied that this email is virus free 
>upon delivery.
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/[email protected]/>
> List Help?:          [EMAIL PROTECTED]


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?:          [EMAIL PROTECTED]

Reply via email to