[jboss-user] [JBoss Cache: Core Edition] - Re: Deploy jboss cache within an EAR

szymon_z do-not-reply at jboss.com
Wed Dec 17 11:45:15 EST 2008


yes, you can deploy it, I have done it the following way:

- put the cache MBean configuration in file named jboss-service.xml
- put jboss-service.xml inside META-INF dir of a newly created SAR file (you can name it jbosscache.sar for example)
- in your application's EAR you put the SAR at root level and in jboss-app.xml you add:
<module>
  | <service>jbosscache.sar</service>
  | </module>

That's it :)

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

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



More information about the jboss-user mailing list