When updating Jetspeed I have always do the following:
1) Build a war file ( If applicable)
2) Stop Tomcat
3) Make a backup of the jetspeed directory tree in TOMCAT_HOME/webapps
4) Delete the jetspeed directory tree in TOMCAT_HOME/webapps
5) place the new jetspeed.war file in TOMCAT_HOME/webapps
6) Start Tomcat
7) Stop Tomcat
8) Make the desired changed to jetspeed's configuration
9) Start Tomcat

Yes, this is a lot of work, but is insures ALL updates to Jetspeed are
applied.  This include new parameters in JetspeedResources.properites
and other such files.

Paul Spencer

Atul Dambalkar wrote:
> 
> Hi,
> 
> I have downloaded sources for Jetspeed-1.3a1. I compiled it and put the new
> Jetspeed.jar in <tomcat_vm>/webapps/jetspeed/WEB-INF/lib directory. Moved
> the old jetspeed-1.3a1.jar file somewhere else.
> 
> I am getting following error during the shutdown (while Turbine tries to
> shutdown URLManager):
> =============================
> shutting down service: ResourcesService
> shutting down service: URLManager
> Path is: null
> pw is: null
> 2001-06-28 12:04:25 - ContextManager: Removing context Ctx( /jetspeed )
> 2001-06-28 12:04:25 - Ctx( /jetspeed ): Error in destroy  -
> java.lang.NullPointerException
>         at java.io.FileOutputStream.open(Native Method)
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:62)
>         at java.io.FileWriter.<init>(FileWriter.java:38)
>         at
> org.apache.jetspeed.services.urlmanager.JetspeedURLManagerService.save(Jetsp
> eedURLManagerService.java:313)
>         at
> org.apache.jetspeed.services.urlmanager.JetspeedURLManagerService.shutdown(J
> etspeedURLManagerService.java:115)
>         at
> org.apache.turbine.services.BaseInitableBroker.shutdownClass(BaseInitableBro
> ker.java:178)
>         at
> org.apache.turbine.services.BaseServiceBroker.shutdownServices(BaseServiceBr
> oker.java:214)
>         at org.apache.turbine.Turbine.destroy(Turbine.java:185)
>         at
> org.apache.tomcat.core.ServletWrapper.doDestroy(ServletWrapper.java:241)
>         at org.apache.tomcat.core.Handler.destroy(Handler.java:186)
>         at
> org.apache.tomcat.core.ContextManager.shutdownContext(ContextManager.java:50
> 9)
>         at
> org.apache.tomcat.core.ContextManager.removeContext(ContextManager.java:591)
>         at
> org.apache.tomcat.core.ContextManager.shutdown(ContextManager.java:470)
>         at
> org.apache.tomcat.core.ContextManager.stop(ContextManager.java:539)
>         at
> org.apache.tomcat.service.connector.AJP12RequestAdapter.readNextRequest(Ajp1
> 2ConnectionHandler.java:400)
>         at
> org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
> (Ajp12ConnectionHandler.java:147)
>         at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>         at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
>         at java.lang.Thread.run(Thread.java:484)
> =======================================================
> 
> I tried to debug..the problem I found is that the "init" method in Jetspeed
> URLManagerService is not getting invoked at all during the startup. Hence it
> is giving the trouble during the shutdown. What is confusing is, it seems to
> be invoking the "destroy" method from the same class properly at the
> shutdown time but doesn't invoke "init" method during startup.
> 
> Thanks,
> 
> -Atul
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to