[
https://jira.jboss.org/jira/browse/GTNPORTAL-590?page=com.atlassian.jira....
]
Matt Wringe commented on GTNPORTAL-590:
---------------------------------------
there is actually another issue here with the sample extension being required. If you
remove the sample extension from the portal (and the data directory is empty), when you
restart the portal the portal doesn't render properly. If you remove the sample
extension after the portal has already started with the extension, then it will render
properly.
There is too much information in this jira already so I moved the requirement of the
sample extensions to another issue to GTNPORTAL-868
The main issue with this task is that portal extensions do not deploy properly.
- deployment doesn't work if the portal has been started once
- redeployment doesn't work, regardless if it a hot deployment or not
- undeployment doesn't work properly
There is only one situation in which extensions do get deployed properly: if the server is
first started with the extension
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