- This topic has 9 replies, 3 voices, and was last updated 20 years, 3 months ago by jsinger66.
-
AuthorPosts
-
jsinger66MemberHi 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
Riyad KallaMemberJeff,
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.
pyurevichMemberHi All,
I have the same problem. If I undestand Jeff correctly, the question was – How can we change archive name in .mymetadata?
Riyad KallaMemberGuys I will check into this.
Riyad KallaMemberJeff,
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?
jsinger66MemberHi 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
Riyad KallaMemberWhat is the SAR extension used for? What is the organizational format of the SAR archive? (e.g. as opposed to a WAR organizational format)
jsinger66MemberA 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
Riyad KallaMemberJeff,
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 😉
jsinger66MemberWell thanks for reply
Jeff
-
AuthorPosts