On Thu, Jan 29, 2015 at 10:40 AM, Shani Ranasinghe <[email protected]> wrote:

> Hi,
>
> This could be because the embedded H2 cannot create two instance at the
> same time. Please make sure that there are no two instances running which
> bind to the same WSO2CARBON_DB.
>

This is because the same carbon_home is set in the other instance also. Try
initiating the other server instance in a new Command prompt.


>
>
> On Thu, Jan 29, 2015 at 10:11 AM, Irham Iqbal <[email protected]> wrote:
>
>> Hi,
>>
>> When i am trying to run two AS instance using one command prompt i am
>> getting some exceptions.
>>
>> I have started the first instance(pack wso2as-1) using START /B CMD /C
>> CALL wso2server.bat command to run this as background process then after
>> when the server has started up ,i went to a different AS pack wso2as-2 from
>> the same command prompt and run wso2server.bat -DportOffset=8 then only
>> i am getting the exceptions. In the exception it's seems like it still
>> using the older pack's path as carbon home.
>> I have attached the error log.
>>
>> Thanks,
>> Iqbal
>>
>> --
>> Irham Iqbal
>> Software Engineer - Test Automation
>>  WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>> phone: +94 777888452
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanks and Regards
> *,Shani Ranasinghe*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 77 2273555
> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Aruna Sujith Karunarathna* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 9040362 | Work: +94 112145345
Email: [email protected] | Web: www.wso2.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to