[jboss-jira] [JBoss JIRA] Created: (JBAS-6937) Bad deployment scan order?

Ondrej Žižka (JIRA) jira-events at lists.jboss.org
Mon May 18 12:38:05 EDT 2009


Bad deployment scan order?
--------------------------

                 Key: JBAS-6937
                 URL: https://jira.jboss.org/jira/browse/JBAS-6937
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
            Reporter: Ondrej Žižka


(18:14:46) ozizka: emuckenhuber: I've noticed one interesting thing. AS 5 deployment scanner first scans what's new and then what was removed. Shouldn't it be the opposite way?
(18:20:34) emuckenhuber: ozizka: well it first scans for removal and then for additions - where do you see that ?
(18:20:47) ozizka: I've tried it this way:
(18:21:18) ozizka: It scans recursively, so I've created an exploded ear directory, only without the .ear suffix.
(18:21:28) ozizka: So AS scanned, found the .war inside this dir,
(18:21:34) ozizka: and deployed it.
(18:21:49) ozizka: Then I renamed the directory - added the .ear suffix,
(18:22:01) ozizka: so what should happen IMO is first undeploying WAR,
(18:22:11) ozizka: and then deploying newly found exploded EAR
(18:22:24) ozizka: I know it's not usual use case :)
(18:22:45) ozizka: But instead, the WAR is reported to be DOWN (in EmbJopr)
(18:23:15) ozizka: and ear appears, but is DOWN too
(18:24:22) ozizka: When I invoke the Start operation on the ear, everything gets to normal, that is, EAR UP, standalone WAR disappears and Embedded WAR appears and is UP
18:25
(18:26:02) ozizka: emuckenhuber: And to add why I think that deployment is done first is this:
(18:26:02) ozizka: java.lang.IllegalStateException: jboss.web.deployment:war=/hellothere-inEAR is already installed.
(18:26:19) ozizka: that happens after the rename

-- 
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 jboss-jira mailing list