[ 
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
_______________________________________________
seam-issues mailing list
seam-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/seam-issues

Reply via email to