Re: [Dev] Detect the APIM profile by analyzing product folder structure
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 Nazeemwrote: > 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 > 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
Re: [Dev] Detect the APIM profile by analyzing product folder structure
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 Dangallawrote: > 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 fazl...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Detect the APIM profile by analyzing product folder structure
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> ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev