[jboss-user] [Installation, Configuration & DEPLOYMENT] - Question about WritingDeploymentTemplates

martin.capote do-not-reply at jboss.com
Tue Oct 14 10:53:07 EDT 2008


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-list>
  |     <template input="vm/jboss-service.xml.vm"
  |               output="console-mgr.sar/META-INF/jboss-service.xml"></template>
  |     <template input="vm/jboss-web.xml.vm"
  |               output="web-console.war/WEB-INF/jboss-web.xml"></template>
  |   </template-list>
  | </template-config>
  | 

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

Someone use the templates to deploy MDBs? Thanks

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182148#4182148

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4182148



More information about the jboss-user mailing list