Thanks Indika!

On Wed, May 28, 2014 at 9:07 AM, Indika Sampath <[email protected]> wrote:

> Hi Nirmal,
>
> Try out the following steps.
>
> 1. MB with cassandra profile
>      1.1. repository/conf/carbon.xml - offset set to 0
>      1.2. start the MB with cassandra (cassandra listening port is 9160)
>
> 2. MB in default profile
>      2.1. repository/conf/carbon.xml - offset set to 2
>      2.2. repository/conf/advanced/andes-config.xml - set
> externalCassandraServerRequired to true
>      2.3. start the MB with default
>
> Explanation -
> repository/conf/advanced/andes-virtualhosts.xml is given to point if you
> use any external cassandra instance in the MB. But MB must aware that it
> going to use any external cassandra server. That configuration has to be
> done in the repository/conf/advanced/andes-config.xml as given in 2.2.
> step. Otherwise it will start a cassandra instance by default when it start
> up and it listening port will be (9160 + offset).
>
> The above steps worked. 2.2 step is missed in the document which you
> referring. Will look in to that asap with doc team.
>
> Cheers!
>
>
> On Wed, May 28, 2014 at 8:43 AM, Tania Mahanama <[email protected]> wrote:
>
>> Will look into the docs with Ishara. Thanks Nirmal.
>>
>> Regards,
>> Tania
>>
>>
>> On Wed, May 28, 2014 at 4:26 AM, Nirmal Fernando <[email protected]> wrote:
>>
>>> Seems like 9160 is hard coded somewhere and if you offset MB and tries
>>> to connect to a Cassandra lives in 9160, you can't do that.
>>>
>>> Easy to reproduce;
>>>
>>> 1. start MB cassandra profile with 0 offset -> cassandra on 9160
>>> 2. start MB default profile with 2 offset -> errors at MB, since it
>>> tries to connect to 9162
>>> (even you change the 9160 to something else in all configs, you still
>>> get the same error)
>>>
>>> And documentation has few issues too:
>>>
>>>
>>> https://docs.wso2.org/display/MB220/Standalone+Deployment+using+the+MB+Cassandra+Profile
>>>
>>> 1. following seems not true:
>>>
>>> If your Cassandra server is hosted in the same host in which MB runs,
>>> you do not need to make any changes to the connection string in the
>>> <MB_HOME>/repository/conf/advanced/andes-virtualhosts.xml file. By
>>> default it is <connectionString>localhost:9160</connectionString>. If
>>> your Cassandra server is running in a different host, for example the
>>> 10.100.3.234 server, you need to change the connection string to
>>> <connectionString>10.100.3.234:9160</connectionString>.
>>>
>>> If your Cassandra server is running on a port other than the default
>>> port which is 9160, change the connection string by the port offset value
>>> defined in the <MB_HOME>/repository/conf/carbon.xml file. For example,
>>> if the port offset is 2, change the connection string to
>>> <connectionString>localhost:9162</connectionString>.
>>>
>>> 2. It doesn't say how to start the server in "Point WSO2 MB to
>>> Cassandra" step.
>>>
>>> Please review the whole documentation.
>>>
>>> --
>>>
>>> Thanks & regards,
>>> Nirmal
>>>
>>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>>> Mobile: +94715779733
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>>
>>>
>>
>>
>> --
>> Tania Mahanama
>> Senior Technical Writer
>>
>> Contact:
>> Mob: +94 077 5129270
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "WSO2 Documentation" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/a/wso2.com/d/optout.
>>
>
>
>
> --
> Indika Sampath
> Software Engineer
> WSO2 Inc.
> http://wso2.com
>
> Phone: +94 716 424 744
> Blog: http://indikasampath.blogspot.com/
>
>


-- 

Thanks & regards,
Nirmal

Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to