[jboss-user] [Beginner's Corner] - Re: JBoss AS 7 with OSGi and JMS

jarkko rantavuori do-not-reply at jboss.com
Thu Nov 29 07:39:36 EST 2012


jarkko rantavuori [https://community.jboss.org/people/jrantav] created the discussion

"Re: JBoss AS 7 with OSGi and JMS"

To view the discussion, visit: https://community.jboss.org/message/779106#779106

--------------------------------------------------------------
first you'll need to enable to capability, so have this in the OSGi section of your standalone.xml: 

<capability name="javax.jms.api"/>

It should work with that with Jboss 7.2. builds.

For 7.1.1 it still doesn't work as JBoss 7.1.1.Final provides jms, but the module included doesn't provide OSGi metadata, so javax.jms is not available for OSGi. See this issue:  https://issues.jboss.org/browse/AS7-2959 https://issues.jboss.org/browse/AS7-2959

What you can do is download the 1.0.1 update to that module from here:

 http://search.maven.org/#search%7Cga%7C1%7Cjboss-jms-api_1.1_spec-1.0.1 http://search.maven.org/#search%7Cga%7C1%7Cjboss-jms-api_1.1_spec-1.0.1

and install that by placing it in jboss-as-7.1.1.Final\modules\javax\jms\api\main folder, changing module.xml there to point to that file, and restart the server.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/779106#779106]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121129/f7825264/attachment.html 


More information about the jboss-user mailing list