Sarah,
It's a know problem in 1.3a1. Has to do with dependencies between services
- Sometimes they start in the wrong order. There is already a thread on
this list about this problem ("Couldn't process URL: /ocs/local.ocs"):
> 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 think it's not fully solved yet, but people are working on it.
ingo.
At 20:29 02/08/01, Sarah Arnott wrote:
>Hi!
>
>I have Jetspeed 1.3a1 and Tomcat 3.2.1 installed on my linux box.
>Sometimes when I run the tomcat startup script I get the following on
>stdout
>
>$./startup.sh
>Guessing TOMCAT_HOME from tomcat.sh to ./..
>Setting TOMCAT_HOME to ./..
>Using classpath:
>./../lib/ant.jar:./../lib/jasper.jar:./../lib/jaxp.jar:./../lib/parser.jar:./../lib/servlet.jar:./../lib/test:./../lib/webserver.jar:/usr/local/jdk1.3/bin/../lib/tools.jar
>
>/usr/local/tomcat/bin# 2001-02-08 03:47:40 - ContextManager: Adding
>context Ctx( /examples )
>2001-02-08 03:47:40 - ContextManager: Adding context Ctx( /admin )
>Starting tomcat. Check logs/tomcat.log for error messages
>2001-02-08 03:47:40 - ContextManager: Adding context Ctx( )
>2001-02-08 03:47:40 - ContextManager: Adding context Ctx( /test )
>2001-02-08 03:47:40 - ContextManager: Adding context Ctx( /jetspeed )
>initializing all services using
>org.apache.tomcat.facade.ServletConfigImpl
>initializing service: ResourcesService
>end initializing all services
>initializing all services using
>org.apache.tomcat.facade.ServletConfigImpl
>initializing service: TurbineAssemblerBrokerService
>initializing service: TurbineSchedulerService
>initializing service: TurbineLocalizationService
>initializing service: DaemonFactory
>initializing service: DaemonFactory
>initializing service: TurbineUniqueIdService
>initializing service: EngineContext
>initializing service: JspService
>initializing service: ProfileManager
>initializing service: PortletCache
>initializing service: ThreadPool
>DCE: isLocal:
>url=file:////usr/local/tomcat/webapps/jetspeed/WEB-INF/cache/http_my.netscape.com_publish_formats_rss-0.91.dtd
>file=
>/usr/local/tomcat/webapps/jetspeed/WEB-INF/cache/http_my.netscape.com_publish_formats_rss-0.91.dtd
>
>initializing service: ThreadPool
>initializing service: RegistryManager
>Error=FeedDaemon: Couldn't process URL: /ocs/local.ocs
>Error=FeedDaemon: Couldn't process URL:
>http://java.apache.org/jetspeed/channels/apache.ocs
><end>
>
>Then it hangs here without starting up tomcat. The jetspeed.log file
>outputs the following:
>
><snip>
>[Thu Feb 08 15:47:43 NST 2001] -- NOTICE -- SimpleTransform:
>transforming url: file:/usr/local/tomcat/webapps/jetspeed/ocs/local.ocs
>with stylesheet:
>file:/usr/local/tomcat/webapps/jetspeed/WEB-INF/xsl/ocs.xsl
>[Thu Feb 08 15:47:46 NST 2001] -- NOTICE -- Determining portlets...
>[Thu Feb 08 15:47:47 NST 2001] -- NOTICE -- FeedDaemon: Got new
>portlets
>[Thu Feb 08 15:47:47 NST 2001] -- NOTICE -- Found a total of: 5
>portlets...
>[Thu Feb 08 15:47:47 NST 2001] -- ERROR -- FeedDaemon: Couldn't
>process URL: /ocs/local.ocs
>[Thu Feb 08 15:47:47 NST 2001] -- ERROR --
>Exception: java.lang.NullPointerException
> Stack Trace follows:
> java.lang.NullPointerException
> at
>org.apache.jetspeed.daemon.impl.util.feeddaemon.EntryInstantiator.process(EntryInstantiator.java:95)
>
> at
>org.apache.jetspeed.daemon.impl.FeedDaemon.run(FeedDaemon.java:218)
> at
>org.apache.jetspeed.daemon.DaemonThread.runDaemon(DaemonThread.java:147)
>
> at
>org.apache.jetspeed.daemon.DaemonThread.run(DaemonThread.java:100)
>[Thu Feb 08 15:47:47 NST 2001] -- NOTICE -- BEGIN FEED ->
>http://java.apache.org/jetspeed/channels/apache.ocs
>[Thu Feb 08 15:47:47 NST 2001] -- NOTICE -- Returning local cached URL
>[Thu Feb 08 15:47:47 NST 2001] -- NOTICE -- Returning local URL because
>it is cached: http://java.apache.org/jetspeed/channels/apache.ocs
>[Thu Feb 08 15:47:47 NST 2001] -- NOTICE -- FeedDaemon: transforming
>url:
>file:////usr/local/tomcat/webapps/jetspeed/WEB-INF/cache/http_java.apache.org_jetspeed_channels_apache.ocs
>with stylesheet:
>file:/usr/local/tomcat/webapps/jetspeed/WEB-INF/xsl/ocs.xsl
>[Thu Feb 08 15:47:47 NST 2001] -- NOTICE -- Adding Local to cache list:
>file:////usr/local/tomcat/webapps/jetspeed/WEB-INF/cache/http_java.apache.org_jetspeed_channels_apache.ocs
>
>[Thu Feb 08 15:47:47 NST 2001] -- NOTICE -- Returning local cached URL
>[Thu Feb 08 15:47:47 NST 2001] -- NOTICE -- Returning local URL because
>it is cached:
>file:/usr/local/tomcat/webapps/jetspeed/WEB-INF/xsl/ocs.xsl
>[Thu Feb 08 15:47:47 NST 2001] -- NOTICE -- SimpleTransform:
>transforming url:
>file:////usr/local/tomcat/webapps/jetspeed/WEB-INF/cache/http_java.apache.org_jetspeed_channels_apache.ocs
>with stylesheet:
>file:/usr/local/tomcat/webapps/jetspeed/WEB-INF/xsl/ocs.xsl
>[Thu Feb 08 15:47:48 NST 2001] -- NOTICE -- Determining portlets...
>[Thu Feb 08 15:47:48 NST 2001] -- NOTICE -- FeedDaemon: Got new
>portlets
>[Thu Feb 08 15:47:48 NST 2001] -- NOTICE -- Found a total of: 7
>portlets...
>[Thu Feb 08 15:47:48 NST 2001] -- ERROR -- FeedDaemon: Couldn't
>process URL: http://java.apache.org/jetspeed/channels/apache.ocs
>[Thu Feb 08 15:47:48 NST 2001] -- ERROR --
> Exception: java.lang.NullPointerException
> Stack Trace follows:
> java.lang.NullPointerException
>at
>org.apache.jetspeed.daemon.impl.util.feeddaemon.EntryInstantiator.process(EntryInstantiator.java:95)
>
> at
>org.apache.jetspeed.daemon.impl.FeedDaemon.run(FeedDaemon.java:218)
> at
>org.apache.jetspeed.daemon.DaemonThread.runDaemon(DaemonThread.java:147)
>
> at
>org.apache.jetspeed.daemon.DaemonThread.run(DaemonThread.java:100)
>[Thu Feb 08 15:47:48 NST 2001] -- NOTICE -- Jetspeed: FeedDaemon --
>END -- [Thu Feb 08 15:47:48 NST 2001] -- NOTICE -- DaemonThread ->
>*DONE* PROCESSING daemon -> feeddaemon
><end>
>
>However, this only happens sometimes...sometimes tomcat successfully
>starts but the jetspeed.log reports the same error. When tomcat starts,
>it appears that jetspeed is running fine.
>
>If anyone can help me with this it would be greatly apprecitated!
>
>Sarah Arnott
>[EMAIL PROTECTED]
>
>
>
>
>--
>--------------------------------------------------------------
>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]