facebook

Generating a .sar file [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #211019 Reply

    jsinger66
    Member

    Hi All

    I have managed to use myeclipse (xdoclet) to generate my jboss-service.xml which I use to deploy hibernate.

    But I have no idea how to generate a .sar file and deploy it to JBoss. I can generate and deploy a .jar file. For now I just rename it in the deploy deirectory to .sar and all is fine.

    But I would prefer to know the correct way.

    Any help would be appreciated

    Thanks in advance
    Jeff Singer

    #211053 Reply

    Riyad Kalla
    Member

    Jeff,
    I have asked our XDoclet guy to take a look at this, but I don’t know that any of us have experience with SAR files, so any users that can help here are appreciated.

    #211074 Reply

    pyurevich
    Member

    Hi All,

    I have the same problem. If I undestand Jeff correctly, the question was – How can we change archive name in .mymetadata?

    #211077 Reply

    Riyad Kalla
    Member

    Guys I will check into this.

    #211083 Reply

    Riyad Kalla
    Member

    Jeff,
    Can you provide some more detail for us about your use case, what you are trying to do, what the result is, what you wished would happen, and what the end result is?

    #211097 Reply

    jsinger66
    Member

    Hi Guys

    Thanks to all for the replies.

    My project screnario is, I will use hibernate, MDB’s and MBeans. I am trying to use myeclipse with xdoclet support to generate the relevant files and deploy my application to JBoss.

    I have succeeded in deploying my MDB, but I need to generate a sar to deploy my Hibernate MBean and my database poller MBean. I would like to just hit the deploy button, and both the jar and the sar are deployed.

    What I do at the moment is copy and rename the app.jar to app.sar, and everything works fine after that.

    Thanks again
    Jeff

    #211106 Reply

    Riyad Kalla
    Member

    What is the SAR extension used for? What is the organizational format of the SAR archive? (e.g. as opposed to a WAR organizational format)

    #211117 Reply

    jsinger66
    Member

    A sar is a JBoss service archive.

    j2ee-EARs, ejb-JARs, web-WARs, jca-RARs, and jboss-SARs

    Maybe I should be looking at using something else to deploy my MBeans?

    Thanks
    Jeff

    #211118 Reply

    Riyad Kalla
    Member

    Jeff,
    I talked with our XDoclet guy about this and it seems to be in the realm of “definately a custom Ant task”, sorry I don’t have better/more automated news for you 😉

    #211121 Reply

    jsinger66
    Member

    Well thanks for reply

    Jeff

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: Generating a .sar file [Closed]

You must be logged in to post in the forum log in