Hi,

Adding more to Fazlan's reply, usually this system property is specified in
either wso2server.sh or wso2server.bat file

Thanks!
Rajith

On Thu, Feb 22, 2018 at 4:25 PM, Fazlan Nazeem <fazl...@wso2.com> wrote:

> Hi Sachithra,
>
> The directory structure does not differ according to the profiles.
>
> executing the following can tell which profile was passed as a system
> property when starting the server.
>
> jcmd <PID> VM.system_properties | grep "profile"
>
>
> On Thu, Feb 22, 2018 at 3:28 PM, Sachithra Dangalla <sachit...@wso2.com>
> wrote:
>
>> Hi,
>>
>> Is there a way to detect the profile of an APIM instance by looking at
>> the folder structure of the product?
>>
>> If not the folder structure, can we read a specific file and/or a
>> configuration (common to all profiles) and detect which profile it is?
>>
>> Thanks,
>> Regards,
>>
>> --
>>
>> *Sachithra Dangalla*
>> Software Engineer | WSO2
>> Mobile : +94 71 3700 656 <%2B%2094%2071%203700656>
>>
>
>
>
> --
> Thanks & Regards,
>
> *Fazlan Nazeem*
> Senior Software Engineer
> WSO2 Inc
> Mobile : +94772338839 <+94%2077%20233%208839>
> fazl...@wso2.com
>



-- 
Rajith Roshan
Senior Software Engineer, WSO2 Inc.
Mobile: +94-7 <%2B94-71-554-8430>17-064-214
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to