Re: [Dev] Detect the APIM profile by analyzing product folder structure

2018-02-22 Thread Rajith Roshan
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 wrote: > Hi Sachithra, > > The directory structure does not differ according to the

Re: [Dev] Detect the APIM profile by analyzing product folder structure

2018-02-22 Thread Fazlan Nazeem
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 VM.system_properties | grep "profile" On Thu, Feb 22, 2018 at 3:28 PM, Sachithra Dangalla

[Dev] Detect the APIM profile by analyzing product folder structure

2018-02-22 Thread Sachithra Dangalla
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*