Hi Ashwin,

Thanks again for valuable information. I have added flowName="jms" to
sm:container in servicemix.xml file.

Well, on my oracle db server, the service has been installed. So I have
searched for the syntax of connecting the service through jdbc driver.

It goes like this: 

<property name="url"
value="jdbc:oracle:thin:<user_name>/<password>@//hostname:1521/<service_name>"
/>

After making this change, it successfully launched the smx and not getting
any db related error. 

But still, I want to confirm this. 

Once servicemix is launched, I could see this log msg:

INFO  - JDBCAdapterFactory             - Database driver recognized:
[apache_derby_embedded_jdbc_driver]

and I am not seeing any msg related to oracle db which worries me. So I just
want to know is there any other setting I am still missing?

Thank you very much.
Sanjay


Ashwin Karpe wrote:
> 
> Hi Sanjay,
> 
> Here are some of the answers you are looking for...
>    Question1>  How do I go about configuring of JMS FLow...
>    Ashwin--> Looks like you are setting the flow on the container
> incorrectly. The <sm:broker> is not the right place to effect the change.
> In order to set the SMX container to use JMS flow, you need to set a
> flowName attribute on the container to JMS for example
>     <sm:container id="jbi" name="my_container1" flowName="jms" ...>
> 
> An example of this is available in the cluster demo shown in the SMX
> distribution.
> 
>    Question 2>Next is the url property in activemq.xml, I have asked about
> the mydbname? what mydbname designates in this sample url? <property
> name="url" value="jdbc:oracle:thin:@192.168.1.4:1521:mydbname" /> . I do
> understand that 192.168.1.4 is the oracle server ip address where oracle
> is running on 1521 port. But just want to know mydbname is the db name or
> table name or something else?
>     Ashwin--> In this case, I believe "mydbname" is the name of the
> database not table. Please review standard Oracle JDBC Driver URL syntax
> for more details. This is more related to the JDBC driver than to SMX and
> can vary for different drivers.
> 

-- 
View this message in context: 
http://www.nabble.com/how-to-configure-servicemix-with-HA-using-oracle-db-tp20422737p20478877.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to