Ah! I have not tried the wrap. I just used the regular install and pointed to aqapi.jar file. After that, I did list and showed it as Activated. I'll try the wrap first thing on Monday morning.
Thanks Freeman Fang wrote: > > Hi, > > Is aqaqpi.jar a OSGi bundle jar? If not, you need make it as bundle > jar first with bnd tool. > Or install it with wrap schema, some like > osigi:install -s wrap:file:/path/to/file/aqaqpi.jar > > Freeman > On 2010-5-15, at 上午2:58, kkashi wrote: > >> >> Thanks for quick reply. >> >> Okay. I'm new to OSGi. >> Is that simply installing the aqapi.jar from container (install -s >> file:/path/to/file/aqaqpi.jar)? If so, I have already done that and >> still >> same issue. >> >> I also tried updating the pom.xml to include the aqapi.jar in the >> bundle, >> that didn't work either. >> >> Regards, >> Hossein >> >> >> >> Dave Stanley-3 wrote: >>> >>> Have you added the oracle.jms bundle to your container? Looks like it >>> cannot >>> be resolved. >>> >>> Regards >>> /Dave >>> >>> On Fri, May 14, 2010 at 2:09 PM, kkashi <[email protected]> wrote: >>> >>>> >>>> Hello, >>>> >>>> I'm trying to setup a Camel routes to work within SMX 4.2 using >>>> Camel 2.2 >>>> and having difficulty. I'm able to make it work as stand-alone, >>>> but once >>>> deployed into SMX, I get issues. As simple test, just routing >>>> messages >>>> from >>>> folder into OracleAQ. >>>> >>>> PLEASE HELP. >>>> >>>> All input is appreciated. >>>> >>>> Regards, >>>> Hossein >>>> >>>> -----------Error message: >>>> The bundle could not be resolved. Reason: Missing Constraint: >>>> Import-Package: oracle.jms; version="0.0.0" >>>> >>>> -----------Camel Context: >>>> <bean id="oracleQueueCredentials" >>>> >>>> >>>> class >>>> = >>>> "org >>>> .springframework >>>> .jms.connection.UserCredentialsConnectionFactoryAdapter"> >>>> <property name="targetConnectionFactory"> >>>> <ref bean="aqConnectionFactoryQueue"/> >>>> </property> >>>> <property name="username"> >>>> <value>theUserNamevalue> >>>> </property> >>>> <property name="password"> >>>> <value>thePassword</value> >>>> </property> >>>> >>>> </bean> >>>> <bean id="aqConnectionFactoryQueue" >>>> class="oracle.jms.AQjmsFactory" >>>> factory-method="getQueueConnectionFactory"> >>>> <constructor-arg index="0"> >>>> <value>theUrlInfo</value> >>>> </constructor-arg> >>>> >>>> <constructor-arg index="1" type="java.util.Properties"> >>>> <value/> >>>> </constructor-arg> >>>> </bean> >>>> >>>> <bean id="oracleQueue" >>>> class="org.apache.camel.component.jms.JmsComponent"> >>>> <property name="connectionFactory" >>>> ref="oracleQueueCredentials"/> >>>> </bean> >>>> -- >>>> View this message in context: >>>> http://old.nabble.com/ServiceMix-4.2%2C-Camel%2C-OracleAQ-tp28562653p28562653.html >>>> Sent from the ServiceMix - User mailing list archive at Nabble.com. >>>> >>>> >>> >>> >> >> -- >> View this message in context: >> http://old.nabble.com/ServiceMix-4.2%2C-Camel%2C-OracleAQ-tp28562653p28563145.html >> Sent from the ServiceMix - User mailing list archive at Nabble.com. >> > > > -- > Freeman Fang > ------------------------ > Open Source SOA: http://fusesource.com > > > -- View this message in context: http://old.nabble.com/ServiceMix-4.2%2C-Camel%2C-OracleAQ-tp28562653p28570880.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
