[
https://jira.jboss.org/jira/browse/GTNPORTAL-590?page=com.atlassian.jira....
]
Patrice Lamarque commented on GTNPORTAL-590:
--------------------------------------------
There are actually 2 issues described :
1) hot deployment of extensions is not possible
I can't comment much on the feasability of that one, but it looks like a
developer's candy feature.
2) extensions canno't contribute new pages to an already intialized portal
This is actually due to the way gatein intializes its mop. It checks if the database is
already populated and skips if it finds something persistent.
To let extensions add new pages, gatein should allow reloading the mop from xml conf.
However we may not want to overwrite the persisted mop but rather 'merge' xml with
the persisted one. Ad that sounds much more challenging.
Portal extension deployment issues
----------------------------------
Key: GTNPORTAL-590
URL:
https://jira.jboss.org/jira/browse/GTNPORTAL-590
Project: GateIn Portal
Issue Type: Bug
Reporter: Matt Wringe
Portal extensions are not working very well right now with GateIn with regards to how the
extensions are deployed or redeployed.
Starting the Server without the Extension:
-If you start the server from a clean state (ie the server has not run before) without
gatein-sample-extension.ear, then when accessing the portal it will just be text (no
images, no css, ...)
-If you try and deploy the extension while the server is running, then it will fail with
a bunch of errors about the portal already being intialized
-if you stop the server and restart it again, then the portal will render properly but
the extra pages the extensions was suppose to create will be missing
-in order to get the pages the extension was suppose to add, you will need to delete the
data directory and restart the server. You will also need to do this if you want to modify
what the extension adds.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira