[Carbon-dev] How to configure discovery proxy?
Hiranya Jayathilaka
hiranya at wso2.com
Fri Dec 3 11:40:03 PST 2010
On Sat, Dec 4, 2010 at 1:04 AM, Senaka Fernando <senaka at wso2.com> wrote:
> Hi Hiranya,
>
> On Sat, Dec 4, 2010 at 12:49 AM, Hiranya Jayathilaka <hiranya at wso2.com>wrote:
>
>> Hi,
>>
>> On Fri, Dec 3, 2010 at 8:11 PM, Shariq <shariq at wso2.com> wrote:
>>
>>> Hi,
>>>
>>> While trying to use WS-Discovery im getting the following error;
>>>
>>> org.wso2.carbon.CarbonException: No Discovery proxy has been
>>> configured at tenant level or global level
>>>
>>> Where can I configure the Discovery proxy for the tenant or globally,
>>>
>>
>> To define globally add the following to the carbon.xml:
>>
>> <DiscoveryServiceProxy>--proxy url--</DiscoveryServiceProxy>
>>
>
> Just to clarify, I was under the impression that this was defined in
> axis2.xml. If the tenants need to define this in the AxisConfiguration, why
> not do the same for the global setting?
>
So the setting will go into the super tenant AxisConfiguration. That doesn't
allow the super tenant user to configure his own tenant specific discovery
proxy. Besides other tenants should not be using any resources configured in
the super tenant AxisConfiguration. Carbon server configuration should be
the place for global settings IMO.
Thanks,
-H-
>
>> This setting is visible to all tenants. Individual tenants can override
>> the global setting by adding a parameter to the tenant AxisConfiguration.
>> Parameter name is DiscoveryServiceProxy. I guess we currently don't have UI
>> support to do this though (or do we?).
>>
>
> IIRC no.
>
>
>> So in that case it should be done in some programmatic way.
>>
>
> Yes, by implementing an Observer and registering it.
>
> Thanks,
> Senaka.
>
>>
>> Thanks,
>> -H-
>>
>>
>>> and whats the difference in setting it at tenant level vs global level
>>> ?!?
>>>
>>> Thanks;
>>> Shariq.
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> Carbon-dev at wso2.org
>>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Hiranya Jayathilaka
>> Senior Software Engineer;
>> WSO2 Inc.; http://wso2.org
>> E-mail: hiranya at wso2.com; Mobile: +94 77 633 3491
>> Blog: http://techfeast-hiranya.blogspot.com
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> Carbon-dev at wso2.org
>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Senaka Fernando*
> Associate Technical Lead & Product Manager - WSO2 G-Reg;
> WSO2, Inc.; http://wso2.com*
> Member; Apache Software Foundation; http://apache.org
>
> E-mail: senaka AT wso2.com
> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
> Linked-In: http://www.linkedin.com/in/senakafernando
>
> *Lean . Enterprise . Middleware
>
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev at wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
--
Hiranya Jayathilaka
Senior Software Engineer;
WSO2 Inc.; http://wso2.org
E-mail: hiranya at wso2.com; Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://wso2.org/pipermail/carbon-dev/attachments/20101204/110364c0/attachment.htm>
More information about the Carbon-dev
mailing list