After setting *RegistryType* to *ATOM*, the problem was fixed.
Thanks a lot Chandana and SameeraK.

/Susankha.

On Wed, Jan 14, 2015 at 11:43 AM, Susankha Nirmala <[email protected]>
wrote:

> After Debug I can see registry URL, username and password set as
> expected. But the problem is when accessing
>
> * System.getProperty("carbon.home")*  and
>
> * 
> ServerConfiguration.getInstance().getFirstProperty("Axis2Config.clientAxis2XmlLocation")*
>
> Within *newRegistry *in *ClientUtils.java *class, both return NULL.
>
>
>
> On Wed, Jan 14, 2015 at 11:04 AM, Chandana Napagoda <[email protected]>
> wrote:
>
>> Hi Susankha,
>>
>> If you have registry URL, username and password, you can access the
>> registry using RemoteRegistry. You can refer this sample[1] as well.
>>
>> [1].
>> https://docs.wso2.com/display/Governance452/Exporting+and+Importing+a+File+to+Remote+Registry
>>
>> Regards,
>> Chandana
>>
>> On Wed, Jan 14, 2015 at 10:49 AM, Pulasthi Supun <[email protected]>
>> wrote:
>>
>>> [Adding Sameerak]
>>>
>>> On Wed, Jan 14, 2015 at 10:47 AM, Susankha Nirmala <[email protected]>
>>> wrote:
>>>
>>>> Adding Azeez
>>>>
>>>> On Wed, Jan 14, 2015 at 10:34 AM, Susankha Nirmala <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> We are using checkin-client jar with DevStudio to commit changes to
>>>>> the registry. But within checkin-client,. it is used "carbon.home" 
>>>>> property
>>>>> and "Axis2Config.clientAxis2XmlLocation" property like below.
>>>>>
>>>>> ClientUtils.java
>>>>> ============
>>>>>
>>>>>  ConfigurationContext context =
>>>>>                                 ConfigurationContextFactory
>>>>>
>>>>> .createConfigurationContextFromFileSystem(
>>>>>                                                *
>>>>> System.getProperty("carbon.home")* +
>>>>>                                                         File.separator
>>>>> + "repository" +
>>>>>                                                         File.separator
>>>>> +
>>>>>                                                         "deployment" +
>>>>> File.separator + "client",
>>>>>
>>>>> *ServerConfiguration.getInstance().getFirstProperty("Axis2Config.clientAxis2XmlLocation")*
>>>>> );
>>>>>
>>>>> But within devStudio context, we can't access "carbon.home" property
>>>>> and "Axis2Config.clientAxis2XmlLocation" property( both properties are
>>>>> return null within devStudio context).
>>>>> Is there a way to set those properties within devStudio context?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Susankha Nirmala
>>>>> Software Engineer
>>>>> WSO2, Inc.: http://wso2.com
>>>>> lean.enterprise.middleware
>>>>> Mobile : +94 77 593 2146t
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Susankha Nirmala
>>>> Software Engineer
>>>> WSO2, Inc.: http://wso2.com
>>>> lean.enterprise.middleware
>>>> Mobile : +94 77 593 2146
>>>>
>>>
>>>
>>>
>>> --
>>> --
>>> Pulasthi Supun
>>> Software Engineer; WSO2 Inc.; http://wso2.com,
>>> Email: [email protected]
>>> Mobile: +94 (71) 9258281
>>> Blog : http://pulasthisupun.blogspot.com/
>>> Git hub profile: https://github.com/pulasthi
>>>
>>
>>
>>
>> --
>> *Chandana Napagoda*
>> Senior Software Engineer
>> WSO2 Inc. - http://wso2.org
>>
>> *Email  :  [email protected] <[email protected]>**Mobile : +94718169299
>> <%2B94718169299>*
>>
>> *Blog  :    http://cnapagoda.blogspot.com <http://cnapagoda.blogspot.com>*
>>
>>
>
>
> --
> Susankha Nirmala
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean.enterprise.middleware
> Mobile : +94 77 593 2146
>



-- 
Susankha Nirmala
Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware
Mobile : +94 77 593 2146
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to