"Brian M. Long" escribió:
> 
> got Jetspeed-1.3a1-war.tar.gz from jetspeed downloads
> got jakarta-tomcat-3.2.1.tar from jakarta downloads
> 
> didn't rebuild - just untarred/gzipped.  followed instructions in INSTALL
> file from jetspeed.
> 
> when i run startup.sh, i get the following:
> 
> <a bunch of stuff that looks ok, path info et.al.>
>   initializing service: EngineContext
>   Error=FeedDaemon:  Couldn't process URL:  /ocs/local.ocs
>   Error=FeedDaemon:  Couldn't process URL:
> http://java.apache.org/jetspeed/channels/apache.ocs
>   initializing service: TurbineAssemblerBrokerService
>   initializing service: TurbineSchedulerService
>   initializing service: URLManager
>   initializing service: URLManager
>   initializing service: URLManager
>   initializing service: URLManager
>   initializing service: ThreadPool
>   initializing service: TurbineUploadService
>   initializing service: EngineContext
>   initializing service: ProfileManager
>   cannot load servlet name: jetspeed
>   2001-01-26 01:30:58 - PoolTcpConnector: Starting HttpConnectionHandler on
> 8080
>   2001-01-26 01:30:58 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
> 8007
> <end>
> 
> so ok.  *why* can't it load the jetspeed servlet?  the servlet log looks
> like this:
> 
> <begin log>
>   2001-01-26 01:30:55 - path="/examples" :jsp: init
>   2001-01-26 01:30:55 - path="/admin" :jsp: init
>   2001-01-26 01:30:55 - path="" :jsp: init
>   2001-01-26 01:30:56 - path="/test" :jsp: init
>   2001-01-26 01:30:56 - path="/jetspeed" :jsp: init
>   2001-01-26 01:30:56 - path="/jetspeed" :jetspeed: init
> <end log>
> 
> which all looks normal.  there is no tomcat.log file created.
> 
> referencing the host:8080/jetspeed url causes the following Exception to be
> displayed in the monitor window:
> 
> <begin monitor>
>    2001-01-26 01:37:47 - Ctx( /jetspeed ): jetspeed unavailable time
> expired, try again
>   initializing all services using org.apache.tomcat.facade.ServletConfigImpl
>   initializing service: DaemonFactory
>   initializing service: TurbineTemplateService
>   initializing service: TurbineAssemblerBrokerService
>   initializing service: TurbineSchedulerService
>   initializing service: ThreadPool
>   initializing service: TurbineUploadService
>   initializing service: EngineContext
>   initializing service: ProfileManager
>   2001-01-26 01:37:47 - Ctx( /jetspeed ): Exception in init  null -
> java.lang.NullPointerException
>           at java.lang.Throwable.fillInStackTrace(Native Method)
>           at java.lang.Throwable.fillInStackTrace(Compiled Code)
>           at java.lang.Throwable.<init>(Compiled Code)
>           at java.lang.Exception.<init>(Compiled Code)
>           at java.lang.RuntimeException.<init>(Compiled Code)
>           at java.lang.NullPointerException.<init>(Compiled Code)
>           at java.io.File.<init>(Compiled Code)
>           at
> org.apache.jetspeed.services.profiler.JetspeedProfileManagerService.traverse
> Resources(Compiled Code)
>           at
> org.apache.jetspeed.services.profiler.JetspeedProfileManagerService.initFall
> back(JetspeedProfileManagerService.java:483)
>           at
> org.apache.jetspeed.services.profiler.JetspeedProfileManagerService.init(Jet
> speedProfileManagerService.java:160)
>           at org.apache.turbine.services.TurbineBaseService.init(Compiled
> Code)
>           at
> org.apache.turbine.services.BaseInitableBroker.initClass(Compiled Code)
>           at
> org.apache.turbine.services.BaseServiceBroker.initServices(Compiled Code)
>           at org.apache.turbine.Turbine.init(Turbine.java:157)
> ...lots more
> <end monitor>
> 
> and of course, the host:8080/jetspeed url throws a NullPointerException in
> the browser:
> 
> <begin browser>
> Error: 500
> Location: /jetspeed/portal/
> Internal Servlet Error:
> 
> java.lang.NullPointerException
>         at java.lang.Throwable.fillInStackTrace(Native Method)
>         at java.lang.Throwable.fillInStackTrace(Compiled Code)
>         at java.lang.Throwable.(Compiled Code)
>         at java.lang.Exception.(Compiled Code)
>         at java.lang.RuntimeException.(Compiled Code)
>         at java.lang.NullPointerException.(Compiled Code)
>         at java.io.File.(Compiled Code)
>         at
> org.apache.jetspeed.services.profiler.JetspeedProfileManagerService.traverse
> Resources(Compiled Code)
>         at
> org.apache.jetspeed.services.profiler.JetspeedProfileManagerService.initFall
> back(JetspeedProfileManagerService.java:483)
>         at
> org.apache.jetspeed.services.profiler.JetspeedProfileManagerService.init(Jet
> speedProfileManagerService.java:160)
>         at org.apache.turbine.services.TurbineBaseService.init(Compiled Code)
>         at org.apache.turbine.services.BaseInitableBroker.initClass(Compiled Code)
>         at org.apache.turbine.services.BaseServiceBroker.initServices(Compiled
> Code)
>         at org.apache.turbine.Turbine.init(Turbine.java:157)
>         at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
>         at org.apache.tomcat.core.Handler.init(Handler.java:215)
>         at org.apache.tomcat.core.ServletWrapper.init(Compiled Code)
>         at org.apache.tomcat.core.Handler.service(Handler.java:254)
>         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>         at
> org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl
> .java:194)
>         at
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:421)
>         at
> _0002findex_0002ejspindex_jsp_0._jspService(_0002findex_0002ejspindex_jsp_0.
> java:59)
>         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
> va:177)
>         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
>         at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
>         at org.apache.tomcat.core.Handler.service(Handler.java:286)
>         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>         at
> org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
> 7)
>         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>         at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
> onnectionHandler.java:210)
>         at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code)
>         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code)
>         at java.lang.Thread.run(Thread.java:479)
> <end browser>
> 

It looks like jetspeed expired trying to fetch feeds, or other similar
problem. Can you look at the problems in WEB-INF/log/jetspeed.log?

Also, restarting tomcat once the cache entries are loaded may help,
because the entries will be there.

I am dealing right now with problems in the initialization, and it could
be your problem.

> The environment is Solaris 11.6, JDK 1.2.2_06.
> 
> So am I working with incompatible versions of Jetspeed and Tomcat, or what?
> Do I need to rebuild one or both?  Please tell me this is a solved problem.
>

Try what I said before. I will commit shortly the solution for the
initialization problem, and then it could be the moment to try again.
 
> -bml
> 
> --
> --------------------------------------------------------------
> 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