JBoss Developer Studio exploaded SAR/EAR/WAR deployment

Posted by dr_hoppa on Stack Overflow See other posts from Stack Overflow or by dr_hoppa
Published on 2010-04-28T13:21:18Z Indexed on 2010/04/28 13:23 UTC
Read the original article Hit count: 428

Filed under:
|

I am new to JBoss DS and I could not figur out is how to make a folder from my project deployable, exploded SAR in my case.

  1. If I create a new server in the JBoss server view / JBoss AS perspective and select a SAR and make it a deployable then the SAR file can be deployed on the JBoss server.

  2. Another approch that I have tryed is to make the *-service.xml file as a deployable element, same procedure as with the SAR file, and to add the Eclipse project as a dependency to the classpath of the server 'Open launch configuration' / 'Classpath' after dooing this I got an error from JBoss telling me that the JBoss classes are not found.

  3. The compromise solution that I have found is to create a junction/symlink from the output of the Eclipse project 'bin' into the JBoss 'serve//deploy/xxx.sar' this is a temporary solution but will not scale in the future as multiple services must be created.

What I would need:

I would need to have the ability to make the exploded folder as 'mark deployable' and to be have the classes/*service.xml files loaded from there and to have hot-deployability for them.

Any sugestions would help.

© Stack Overflow or respective owner

Related posts about jboss

Related posts about sar