[jboss-as7-dev] Deployment -- why marker files?

Howard Gao hgao at redhat.com
Tue Apr 12 10:58:35 EDT 2011


Sorry David. I seems to have missed some big fun, again. :)

Howard


On 04/12/2011 10:53 PM, David M. Lloyd wrote:
> On 04/12/2011 09:51 AM, Howard Gao wrote:
>> Hi,
>>
>> In AS7 it uses a bunch of 'Marker files' to control and indicate a
>> deployment. Comparing to previous AS 4 I found this is not so
>> convenient. For example if I want to deploy an EJB jar I need to drop it
>> to the /deployments dir and create a .dodeploy marker file. And if my
>> EJB failed to deploy the marker file changed to .fail mark file. In a
>> debug process this deployment can be repeated many times, each time a
>> .dodeploy has to be manually added. And that's for a single EJB. If I
>> have 5 EJB jars deployed I need file marker files manually created.
>>
>> In AS 4 I just drop it and done. I wonder what's the good reason for
>> those marker files? From a user's point of view, for what other purposes
>> could it be to drop something to the deployments directory than for
>> deploying it right away?
> As has been said before, the FS deployer in AS7 is a client into the
> deployment system; the old AS4 way cannot work.  There are long and
> meandering threads on this topic on the forums, hopefully we won't
> restart that discussion here. :-)
>




More information about the jboss-as7-dev mailing list