You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Vladimir Figurov <vf...@asia-soft.kz> on 2005/04/05 10:03:49 UTC

J2 how Undeploy app and how Reload app after change default-page.psml ???

Hello!
I try use jetspeed2. I - beginner in jetspeed2....
I have a next little questions:

Ferst question:
-How make UNdeploy the old or error portlet, without running maven 
quickStart allways??:

I read in 
http://wiki.apache.org/portals/Jetspeed2/DeployingCustomPortlets, 
chapter Undeployment what need simple DELETE <MyApp>.war from 
WEB-INF/deploy. But, I looking what after I placed a war in this 
catalog, J2 deleting  himself this war, modify his and placed 
MyApp-modify.war in <CATALINA>/webapps. Thus, I have already nothing to 
delete in the catalogue "deploy"
If I shall remove in manual <CATALINA>/webapps/MyApp-modify.war and 
<CATALINA>/webapps/MyApp, and then I shall put new WAR - J2 whence pulls 
out old.

And next question:
-after change fragment@name in jetspeed/WEB-INF/pages/default-page.psml 
and stay old fragment@id - J2 was run the old MyApp with fragment@name # 
newName ?!!


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: J2 how Undeploy app and how Reload app after change default-page.psml ???

Posted by Ate Douma <at...@douma.nu>.

Vladimir Figurov wrote:
> Hello!
> I try use jetspeed2. I - beginner in jetspeed2....
> I have a next little questions:
> 
> Ferst question:
> -How make UNdeploy the old or error portlet, without running maven 
> quickStart allways??:
> 
> I read in 
> http://wiki.apache.org/portals/Jetspeed2/DeployingCustomPortlets, 
> chapter Undeployment what need simple DELETE <MyApp>.war from 
> WEB-INF/deploy. But, I looking what after I placed a war in this 
> catalog, J2 deleting  himself this war, modify his and placed 
> MyApp-modify.war in <CATALINA>/webapps. Thus, I have already nothing to 
> delete in the catalogue "deploy"
The Wiki information is outdated with the new M2 release. Undeployment
now can (and for the moment: must) be performed directly from the portal
using the new Portlet Application Lifecycle Manager (PALM) which you can
access if you login as admin. You can also stop/start portlet applications
from there which is handy if you need to restart after a manual change to
a configuration file or class files for example.

> If I shall remove in manual <CATALINA>/webapps/MyApp-modify.war and 
> <CATALINA>/webapps/MyApp, and then I shall put new WAR - J2 whence pulls 
> out old.
> 
> And next question:
> -after change fragment@name in jetspeed/WEB-INF/pages/default-page.psml 
> and stay old fragment@id - J2 was run the old MyApp with fragment@name # 
> newName ?!!
This is a know issue (we're going to work on that soon).
The mapping of a fragment id with a pa::portlet definition is stored in the database
(table PORTLET_ENTITY).
You can remove the entry from the database but then you'll have to restart Jetspeed.
The easiest solution right now is also using a unique new fragment id when you change
the configuration.

> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
> 
> 
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org