I was trying to follow
http://blog.nanthrax.net/2013/12/coming-in-karaf-3-0-0-new-enterprise-jms-feature/
to setup JMS datasource on Karaf 4.0.1

If I run the followings:
feature:repo-add activemq 5.12.0
feature:install activemq-broker

I got Error as follows:
Error executing command: Unable to resolve root: missing requirement [root]
osgi.identity; osgi.identity=activemq-broker; type=karaf.feature;
version="[5.13.0.SNAPSHOT,5
HOT]";
filter:="(&(osgi.identity=activemq-broker)(type=karaf.feature)(version>=5.13.0.SNAPSHOT)(version<=5.13.0.SNAPSHOT))"

Then I have another try by removing the activemq 5.12.0 repository and then:
feature:repo-add activemq
feature:install activemq-broker
jms:create -t activemq -u tcp://localhost:61616 default

This time I got activemq-broker 5.13.0.SNAPSHOT feature installed, but
received some warnings during jms:create

Warning:  org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property
'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not
recognized.
Compiler warnings:
  WARNING:  'org.apache.xerces.jaxp.SAXParserImpl: Property
'http://javax.xml.XMLConstants/property/accessExternalDTD' is not
recognized.'

I can see that the connectionfactory-default.xml file created in deploy
folder, and the JMS connection service has been created. However, the karaf
log shows warning:
2015-09-24 11:50:38,827 | WARN  | nsole user karaf | JaxbUtil                   
     
| 8 - org.apache.karaf.features.core - 4.0.1 | Old style feature file
without namespace found
(URI: mvn:org.apache.activemq/activemq-karaf/LATEST/xml/features). This
format is deprecated and support for it will soon be removed

So after all those details above...would like ask the following questions
1) Does karaf 4.0.1 only support Activemq 5.13.0-SNAPSHOT version or am I
having any mis-config when installing other versions of activemq?
2) Is jms:create still a valid way for creating JMS datasource in Karaf
4.0.1? Is there any updated approach?
3) In case I wanted to setup JMS datasource which is not natively supported
by Karaf (e.g. Tibco EMS), what extra steps should I follow in order to do
so?






--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-4-0-1-JMS-Datasource-tp4042744.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to