HotDeploy detection on Glassfish 3

Description

Add HotDeploy detection on Glassfish 3

Glassfish 3.1.2.2

HotDeployment is turned on/off in administration console (see attached image).
The flag can be found in one of DasConfig instances, only when is set to false; otherwise it is considered to be true.

There are two problems with this:

  1. administrator may change the AutoDeploy flag during the portal runtime, and we are not detecting changes.

  2. in new versions scanning may fail and we might not be aware of that (since we assume missing flag as 'true'.

Attachments

1

relates

Activity

Show:

Michael SaechangNovember 1, 2012 at 8:46 AM

Thank you Ginson for testing. Closing as 'Fixed'.

ginson.renOctober 31, 2012 at 11:53 PM

PASSED Manual Testing using the following steps:

1. Start liferay portal on glassfish.
2. Open url "http://localhost:4848" to administration console of glassfish.
3. Assert the HotDeployment turn on.
4. Copy mail-portlet.war plugin to deploy folder.
5. The plugin can be auto-deployed, it will show "Hook for mail-portlet is available for use" in the log.
6. Click the checkbox of auto Deploy to turn off HotDeployment.
7. Copy chat-portlet.war plugin to deploy folder.
8. It will show "Chat-portlet-6.2.0.1.war copied successfully. Deployment will start in a few seconds." in the log.
9. Check the checkbox of auto Deploy to turn on HotDeployment.
10. Chat-portlet plugin will be auto-deployed, it will show "Hook for chat-portlet is available for use".

Fixed on:
Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: bee59d6b6f7187ff84d367126337b25d2436fff8.
Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: e79252576e1c0b718e43c375a527f509330e825d.

Administrator can detect the change of AutoDeploy flag during the portal runtime.

Michael SaechangSeptember 20, 2012 at 3:55 PM

Committed on:
Portal 6.2.x GIT ID: 557cef84f4dc290c9687a0bcc2ad477b5c7205a4.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Branch Version/s

6.1.x

Backported to Branch

Committed

Epic/Theme

Git Pull Request

Components

Priority

Zendesk Support

Created September 10, 2012 at 11:58 PM
Updated June 26, 2023 at 6:57 AM
Resolved September 17, 2012 at 1:53 PM