[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-4156) Full publishing of a seam project does not restart the appliaction

Bernhard Hablesreiter (JIRA) jira-events at lists.jboss.org
Mon May 4 04:05:46 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-4156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12465487#action_12465487 ] 

Bernhard Hablesreiter commented on JBIDE-4156:
----------------------------------------------

Just retested everything with the newest nightly builts (JBossTools-ALL-win32-3.0.1.Alpha1-N200904280907-H52.zip)...

A few things I want to share:

- The single-file publish seems to work now. If I modify an xhtml-file for example, I see the file gets deleted and replaced by the modified...
But: I downloaded the sources as well and don't see any difference in SingleFilePublisher...Does the publishing of those files happen somewhere else or are the sources not equivalent to the built jboss-version?
Anyway, the persistence descriptor is not touched and therefore the persistence-unit does not restart...(so this seems to work now)

- The full-publishing still does not work, but the server log shows some more entries:

Error
Mon May 04 09:35:45 CEST 2009
Attempt to delete C:\jboss\jboss-4.2.2.GA\server\default\deploy\testapp-ear.ear\testapp.war failed

Error
Mon May 04 09:35:45 CEST 2009
Attempt to delete C:\jboss\jboss-4.2.2.GA\server\default\deploy\testapp-ear.ear\testapp.war\WEB-INF failed

...and so on...
Only the jar-files in /WEB-INF/lib/* cannot be deleted

So why this happens seems clear... The JBoss AS is still running and the files cannot be deleted as there are still some file-handles opened.

So I think those files should not be removed (or at least should not stop the full-publishing to complete)...

Hope this helps a bit

> Full publishing of a seam project does not restart the appliaction
> ------------------------------------------------------------------
>
>                 Key: JBIDE-4156
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4156
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS
>    Affects Versions: 3.0.0.GA
>         Environment: JBoss 4.2.2, JDK1.5.0_15, Windows Vista, Eclipse 3.4.2 (lastes Version, downloaded 2009-04-09), Seam 2.1.1
>            Reporter: Bernhard Hablesreiter
>            Assignee: Rob Stryker
>             Fix For: 3.1.0.M1, 3.0.2.GA
>
>         Attachments: testapp.zip
>
>
> As described in the JBoss forums, the full-publish feature of JBoss Tools 3.0.0GA does not work as expected.
> A "full publish" only deploys the relevant files but does not restart the application - i.e. it does not  touch the application.xml file, which should trigger the restart of the appiaction.
> The console-output only shows that the persistence unit is reloaded, but the appliaction does not restart.
> The same reloading of the persistence unit happens when saving a simple Facelets-file - which seems also weird.
> I've installed a fresh eclipseEE 3.4.2, the JBoss Tools 3.3.0GA and a JBoss AS 4.2.2 and created a new workspace with a new seam project, so the setup should be correct. The same problem appears when running on JBoss AS 4.2.3.
> One of my colleagues is running a similar configuration on Ubuntu 8.10 without any problems so this might be an OS-specific problem.

-- 
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

        



More information about the jbosstools-issues mailing list