carbon.xml should be a one place to change webContextRoot. Other places
(components) can refer this value using the ServerConfiguration service
instance.


On Mon, Mar 17, 2014 at 5:35 PM, Nirodha Pramod <[email protected]> wrote:

> Hi Nuwan,
>
> For the default configurations in api-manager.xml (everything is
> localhost) why cannot we consider the webcontext root, same as we consider
> that in server URL in carbon.xml.
>
> <ServerURL>https://${carbon.local.ip}:${carbon.management.port}
> *${carbon.context}*/services/</ServerURL>
>
> This would be really "user friendly" for the end user rather than changing
> several places in apimanager.xml. WDYT?
>
> regards,
> Nirodha
>
>
>
>
>
>
> On Mon, Mar 17, 2014 at 4:55 PM, Nuwan Dias <[email protected]> wrote:
>
>> Hi Nirodha,
>>
>> AFAIK you have to change the admin service url's which are configured on
>> the api-manager.xml if you are changing the web context root.
>>
>> Thanks,
>> NuwanD.
>>
>>
>> On Mon, Mar 17, 2014 at 3:05 PM, Nirodha Pramod <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> When a web context root is used in API-M, users cannot log in to
>>> publisher and store, because the AuthenticationAdmin service request URL
>>> doesn't include the context root.
>>>
>>> [1] https://wso2.org/jira/browse/APIMANAGER-2057
>>>
>>> regards,
>>> Nirodha
>>>
>>> --
>>>
>>> *Nirodha Gallage*
>>> Senior Software Engineer, QA.
>>> WSO2 Inc.: http://wso2.com/
>>> Mobile: +94716429078
>>>
>>
>>
>>
>> --
>> Nuwan Dias
>>
>> Senior Software Engineer - WSO2, Inc. http://wso2.com
>>  email : [email protected]
>> Phone : +94 777 775 729
>>
>
>
>
> --
>
> *Nirodha Gallage*
> Senior Software Engineer, QA.
> WSO2 Inc.: http://wso2.com/
> Mobile: +94716429078
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Kishanthan Thangarajah*
Senior Software Engineer,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com <http://kishanthan.wordpress.com>*
Twitter - *http://twitter.com/kishanthan <http://twitter.com/kishanthan>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to