2 Replies Latest reply on Oct 15, 2008 7:04 AM by Martin Capote

    Question about WritingDeploymentTemplates

    Martin Capote Newbie

      Hi, sorry for my english, I speak spanish.

      I'm trying to deploy MDBs at runtime using the deployment templates, but I get an InstanceAlreadyExistsException.

      I think (correct me if I am wrong) the solution is to dynamically establish the jar name

      in this url there is a similar case

      https://www.jboss.org/community/docs/DOC-12762 :

      <template-config copydir="files">
       <template input="vm/jboss-service.xml.vm"
       <template input="vm/jboss-web.xml.vm"

      In this example, how can I set dynamically the .sar and .war names?

      Someone use the templates to deploy MDBs? Thanks