Shah Amit wrote:
I have noticed a similar thing. I remember reading somewhere that to
undeploy, simply remove your war file and jetspeed would undeploy
that. I have tried doing that, but observed "no logging statements on
tomcat console" that would confirm that the app was undeployed. I am
sorry, but I have removed all the apps that ship with jetspeed and
work with a minimal jetspeed framework so I can't check with the
portlet app manager.
Amit/Piyush,
Thanks for the replies. Yeah, I also tried removing the war file
directly - which I believe is equivalent to undeploying from the manager
in plain Tomcat. In both cases, tomcat reports the portlet application
being undeployed, but there is no relevant logging from jetspeed
(neither webapps/jetspeed/logs/jetspeed.log nor deployment.log). The
portlet application manager still shows it in the tree, which isn't a
big deal because it's only for admin anyway. What's a bit annoying is
the portlet window itself still shows up with a message "Portlet
Application xxx not available". I'd expect the entire portlet to be
removed in this case.
BTW, interestingly, JSR168 did not define any specific undeployment
behavior, except for indicating that "If a permanent unavailability is
indicated by the UnavailableException, the portlet container must remove
the portlet from service immediately, call the portlet’s destroy 25
method, and release the portlet object.xviii A portlet that throws a
permanent UnavailableException must be considered unavailable until the
portlet application containing the portlet is restarted".
--Jing
However, I never really cared to undeploy my webapp. I always want to
refresh or redeploy my war in my developement environment so ...
Amit
----Original Message Follows----
From: "Hari, Piyush" <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" <[email protected]>
To: "'Jetspeed Users List'" <[email protected]>
Subject: RE: How to undeploy?
Date: Mon, 11 Jul 2005 07:46:48 -0700
Jing,
To the best of my knowledge, you just need to delete the .war file of the
portlet from the tomcat directory if you are using Jetspeed 2.0
-Piyush
-----Original Message-----
From: Jing Xue [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 09, 2005 11:40 AM
To: Jetspeed Users
Subject: How to undeploy?
Hi, could anyone tell me how to undeploy a portlet from jetspeed? If I
directly undeploy it from the Tomcat manager, it still shows up in the
portlet application manager. Thanks.
--JX
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]