[seam-issues] [JBoss JIRA] (JBSEAM-5087) seam-gen EAR explode target touches .dodeploy forcing a restart, preventing hot-deployment

Vaclav Dedik (JIRA) jira-events at lists.jboss.org
Mon Apr 15 06:47:54 EDT 2013


     [ https://issues.jboss.org/browse/JBSEAM-5087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vaclav Dedik updated JBSEAM-5087:
---------------------------------

    Steps to Reproduce: 
1. create a EAR project by seam-gen 
2. ant explode
3. go to http://127.0.0.1:8080/myproject
4. login as "admin" with an empty password
5. refresh the page
6. run "ant explode"
7. wait 30 seconds
8. refresh the page, notice you are not logged in as admin anymore, as the application has restarted, which is wrong.


  was:
1. create a WAR project by seam-gen 
2. ant explode
3. go to http://127.0.0.1:8080/myproject
4. login as "admin" with an empty password
5. refresh the page
6. run "ant explode"
7. wait 30 seconds
8. refresh the page, notice you are not logged in as admin anymore, as the application has restarted, which is wrong.



    
> seam-gen EAR explode target touches .dodeploy forcing a restart, preventing hot-deployment
> ------------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-5087
>                 URL: https://issues.jboss.org/browse/JBSEAM-5087
>             Project: Seam 2
>          Issue Type: Bug
>          Components: Hot Deploy
>    Affects Versions: 2.3.0.Final
>         Environment: AS 7.1.1.Final, Seam 2.3.1-SNAPSHOT (2013-01-17)
>            Reporter: Vaclav Dedik
>            Assignee: Vaclav Dedik
>             Fix For: 2.3.1.CR1
>
>
> seam-gen generated explode target contains:
> {code}
> <touch file="${deploy.dir}/${project.name}.war.dodeploy"/>
> {code}
> which forces the application to restart, which makes the hot-deployment feature useless. 
> The problem is that on AS7 at least one touch of the dodeploy is necessary, as it wouldn't deploy otherwise. 
> One possible way to fix this could perhaps be to check for the existence of the .deployed file and touch the .dodeploy only if such file doesn't exist. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list