Hi Aaquibah,

If you will be working with such scenarios more often, then a more
persistent way is to change the *"port offset" *in the *"carbon.xml"* file.
This way you'll not need to do put in the *"-DportOffset" *flag all the
time.

The *"carbon.xml" *file is the main configurations file found inside every
WSO2 carbon based product.

It's at: *<PRODUCT_HOME>/repository/conf/carbon.xml*


*<Ports>*
*        <!-- Ports offset. This entry will set the value of the ports
defined below to*
*         the define value + Offset.*
*         e.g. Offset=2 and HTTPS port=9443 will set the effective HTTPS
port to 9445*
*         -->*
*        <Offset>0</Offset>*
*     ............*


Regards

-------------------------------------
*Shabir Mohamed*
*Software Engineer*
WSO2 Inc.; http://wso2.com
Email: sha...@wso2.com <ayy...@wso2.com>
Mobile: +94 77 3516019 | +94 71 6583393

On Fri, Jun 5, 2015 at 5:19 PM, Aaquibah Nashry <nas...@wso2.com> wrote:

> Hi Kalpa,
>
> It works.
>
> Thanks
>
> M.R.Aaquibah Nashry
> *Intern, Engineering*
> Mobile : +94 773946123
> Tel      : +94 112662541
> nas...@wso2.com
>
> On Fri, Jun 5, 2015 at 5:16 PM, Kalpa Welivitigoda <kal...@wso2.com>
> wrote:
>
>> Hi Nashry,
>>
>> Try, sh wso2server.sh -DportOffset=1
>>
>> On Fri, Jun 5, 2015 at 5:12 PM, Aaquibah Nashry <nas...@wso2.com> wrote:
>>
>>> Hi,
>>> I am trying to run the esb and jaggery servers at once.
>>> I tried it as follows:
>>> i first ran the jaggery server. Then used: sh wso2server.sh -D offset
>>> key=1
>>> But it doesn't work.
>>> Can anyone help me on this?
>>>
>>> I am using Ubuntu.
>>> Thanks,
>>>
>>> M.R.Aaquibah Nashry
>>> *Intern, Engineering*
>>> Mobile : +94 773946123
>>> Tel      : +94 112662541
>>> nas...@wso2.com
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Best Regards,
>>
>> Kalpa Welivitigoda
>> Software Engineer, WSO2 Inc. http://wso2.com
>> Email: kal...@wso2.com
>> Mobile: +94776509215
>>
>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to