[Carbon-dev] IP and Port of the Carbon Server
Sanjiva Weerawarana
sanjiva at wso2.com
Sat May 3 04:46:45 PDT 2008
Can we make a carbon component of the proxy service code out of Synapse?
That'll allow us to dynamically create proxy services (from code even) for
all the management services that are being controlled by a given client
via a single server.
Sanjiva.
Sanjiva Weerawarana wrote:
> Plus, we need to support the case where a single admin UI is being used
> to administer a cluster of machines. That means the admin UI somehow
> needs to be able to get (or be told) the host/port info for each server
> it is to manage/monitor/use/edit.
>
> Sanjiva.
>
> Dimuthu Leelarathne wrote:
>> Hi,
>>
>> I used your suggestion to figure out host/port for this release.
>>
>> This is not a permanent solution.
>>
>> 1) We cannot run the front-end and back-end in two machines
>>
>> 2) When the https requests come the ports are different. So Web service
>> calls fail. Therefore current usermanager/security front ends do not
>> work in https.
>> Does anybody know how to read the Java script file from JSP pages? Is it
>> the correct approach?
>>
>> I think we should read these from a server.xml or some file, or much
>> better solution is to read these as command line parameters.
>>
>> Thank you,
>> Dimuthu
>>
>>
>> On Mon, 2008-04-28 at 11:22 +0530, saminda abeyruwan wrote:
>>> Hi,
>>>
>>> If you are using AJAX as the UI solution, from the server it will
>>> provide "global-params.js", which will contain the following
>>> information.
>>>
>>> var SERVICE_PATH="services";
>>> var ROOT_CONTEXT="";
>>> var HTTP_PORT=9763;
>>> var HTTPS_PORT=9444;
>>>
>>> Please refer to data-service UI bit for more information.
>>>
>>> If you are using a JSP solution. you will be able to extract host,
>>> port, root context, etc from the *request* object.
>>>
>>> Thank you!
>>>
>>> Saminda
>>>
>>>
>>>
>>> Dimuthu Leelarathne wrote:
>>>> Hi All,
>>>>
>>>> How can a front end figure out IP address and port of the carbon
>>>> backend
>>>> service? Shall we define a standard way of doing this?
>>>>
>>>> Maybe we can have a method in the carbon core to get the port and the
>>>> service. Carbon core can read it from a properties file or can get
>>>> it as
>>>> a command line argument.
>>>>
>>>> Thank you,
>>>> Dimuthu
>>>>
>>>>
>>>> _______________________________________________
>>>> Carbon-dev mailing list
>>>> Carbon-dev at wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> Carbon-dev at wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> Carbon-dev at wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>
--
Sanjiva Weerawarana, Ph.D.
Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
email: sanjiva at wso2.com; cell: +1 650 265 8311 | +94 77 787 6880
"Oxygenating the Web Service Platform."
More information about the Carbon-dev
mailing list