Hi Praveen, Setting up EMM2.2.0 with MYSQL is a little bit different than EMM2.1.0. But docs for 2.2.0 are not finalized yet. We will update the docs soon.
Until the docs are completed, please execute both <EMM_HOME>/dbscripts/apimgt/mysql.sql and <EMM_HOME>/dbscripts/appmgt/mysql.sql scripts on your AM_DB. Then restart the server and try to publish an app again. Thanks, Lakshani. On Fri, Oct 21, 2016 at 7:56 PM, Praveen J < [email protected]> wrote: > Hi All, > > Good day, Thanks for your help and support, Now device monitoring works > fine after the suggested changes. And regarding latest version of WSO2 EMM > 2.2.0 Beta version we have faced mysql error. As per document I have > followed to setting up the MySQL. > > When I clicked 'Add app to publish' button I got 500 error[1.png] page and > in terminal[2.png] WSO2AM_DB.APM_BUSINESS_OWNER doesn't exist issue. Please > refer the attached screenshot. for your kind reference. > > And also let me know how to run the server automatically without manual > control. > > > 21.10.2016, 10:28, "Dilan Udara Ariyaratne" <[email protected]>: > > Hi Praveen, > > Have you set authorization attributes correctly as described in the docs > [1]. > In default single server set up, you have to set following properties in > either way in portal/configs/designer.json > > "authorization": { > "activeMethod": "oauth", > "methods": { > "oauth": { > "attributes": { > "idPServer": "https://localhost:9443/oauth2/token", > (or https://<your_ip>:9443/oauth2/token) > "dynamicClientProperties": { > "callbackUrl": "https://localhost:9443/portal", > (or https://<your_ip>:9443/portal) > "clientName": "portal", > "owner": "admin", > "applicationType": "JaggeryApp", > "grantType": "password refresh_token > urn:ietf:params:oauth:grant-type:saml2-bearer", > "saasApp": false, > "dynamicClientRegistrationEndPoint": " > https://localhost:9443/dynamic-client-web/register/", (or https:// > <your_ip>:9443/dynamic-client-web/register/) > "tokenScope": "Production" > } > } > } > } > } > > References: > [1] https://docs.wso2.com/display/EMM220/General+Server+Configurations# > GeneralServerConfigurations-EnablingDashboardServerCommunication > > > Cheers, > Dilan. > > > *Dilan U. Ariyaratne* > Senior Software Engineer > WSO2 Inc. <http://wso2.com/> > Mobile: +94766405580 <%2B94766405580> > lean . enterprise . middleware > > > > On Thu, Oct 20, 2016 at 5:15 PM, Praveen J <praveen.josephmasilamani@ > nexttechnosolutions.co.in> wrote: > > Hi All, > > I have checked the device monitoring using latest Beta 2.2.0. In dashboard > EMM Analytics shows fine but device count and active inactive devices are > not showing refer the screenshot for your kind reference. > > But I have entrolled device in MDM. So please guide me which step I have > missed. and also refer the below link which i have refered. > > *URL:* > > https://docs.wso2.com/display/EMM220/General+Server+Configurations# > GeneralServerConfigurations-EnablingDashboardServerCommunication > > 20.10.2016, 09:20, "Megala Uthayakumar" <[email protected]>: > > Hi Praveen, > > This is a known issue in EMM as per the jira [1]. It is fixed in the > latest version. Can you try out the latest beta2 pack[2], to access the > dashboard. > > [1] https://wso2.org/jira/browse/EMM-1523 > [2] https://github.com/wso2/product-emm/releases > > Thanks. > > Regards, > Megala > > On Wed, Oct 19, 2016 at 5:45 PM, Praveen J <praveen.josephmasilamani@ > nexttechnosolutions.co.in> wrote: > > Hi All, > > Thank you for your quick response and support. Now I'm working on that > based on your suggestion. if any doubts I will let you know. > > And one more clarification regarding dashboard server ( > https://<EMM_HOST>:<EMM_PORT>/portal) When i logged in portal there is no > EMM Analytics Dashboard and for your info I also enbled the dasboard server > communication. > > But I didn't get any result, Please refer the below links which i have > referred and followed. > > https://docs.wso2.com/display/EMM210/Accessing+the+WSO2+EMM+ > Device+Monitoring+Dashboard > > https://docs.wso2.com/display/EMM210/Monitoring+Devices+via+the+Dashboard > > Please give some suggestion how to setup the dashboard server. > > > 19.10.2016, 16:52, "Madawa Soysa" <[email protected]>: > > Hi Praveen, > > Regarding your last question, 5th step of the data containerization guide > [1] > <https://docs.wso2.com/display/EMM210/Data+Containerization+for+Android+Device#DataContainerizationforAndroidDevice-ApplyingAndroiddeviceoperations> > means > that you can uninstall the agent installed in your personal profile. > > [1] - https://docs.wso2.com/display/EMM210/Data+ > Containerization+for+Android+Device#DataContainerizationforAndroidDevice- > ApplyingAndroiddeviceoperations > > Regards, > Madawa > > On Wed, Oct 19, 2016 at 3:35 PM, Rasika Perera <[email protected]> wrote: > > Hi Praveen, > > It's great to hear that you started using WSO2 EMM. Please find inline > comments below. > > Regarding to setup project-emm, Actually I already setup the project in > IntelliJ IDE but i don't know how to run the product and debug so please > guide me via steps how to setup the project and work with source code and > finally built the product using Maven. > We are using three repositories; CDMF and CDMF-plugins and Product EMM to > build the product. Please refer [1] for additional details. You can debug > the EMM server as per [3]. If you find any issue you can raise JIRAs on [2] > and even you can fix and send us a PR to relevant repository. > > Then I need clarification regarding how to install and uninstall app > silent using Application management? And we got some search result in stack > overflow about that but they discussed about old version and i have > mentioned the link below for your reference. So please give some suggestion > how to achieve this. > In order to get it work silent app install/uninstall you need to install > WSO2 Android Agent as a System App. Please follow instructions on [4] to > enable it. > > [1] https://docs.wso2.com/display/EMM220/Working+with+the+Source+Code > [2] https://wso2.org/jira/projects/EMM/ > [3] https://dzone.com/articles/how-debug-wso2-carbon-kernel > [4] https://docs.wso2.com/display/EMM220/Integrating+ > the+Android+System+Service+Application > > > On Wed, Oct 19, 2016 at 2:42 PM, Praveen J <praveen.josephmasilamani@ > nexttechnosolutions.co.in> wrote: > > Hi Sir/Madam, > > Good day, I'm using WSO2 EMM 2.1.0 and I need to customise the source code > So I need your support and i have some doubts and clarification which i > have listed out below. > > Regarding to setup project-emm, Actually I already setup the project in > IntelliJ IDE but i don't know how to run the product and debug so please > guide me via steps how to setup the project and work with source code and > finally built the product using Maven. > > Then I need clarification regarding how to install and uninstall app > silent using Application management? And we got some search result in stack > overflow about that but they discussed about old version and i have > mentioned the link below for your reference. So please give some suggestion > how to achieve this. > > http://stackoverflow.com/questions/26008471/application-management-in- > wso2-emm > > And finally data containerisation in Android lollipop using Android for > work. And I have followed the below link instructions. > > https://docs.wso2.com/display/EMM210/Data+Containerization+ > for+Android+Device#DataContainerizationforAndroidDevice- > ApplyingAndroiddeviceoperations > > In device registration section I'm stuck with 5th step after uninstall the > app what i do further? So please guide me. Awaiting for your response. And > let me know if any comments. > > -- > Thanks & Regards, > *Praveen J* > *Application Developer,* > *Next Techno Enterprises India Pvt. Ltd,* > > Module No: 308/1,Third Floor, ELCOT IT/ITES-SEZ, TIDEL PARK > Vilankurichi Village, Coimbatore-641 014, TAMIL NADU, INDIA > Mobile : +91-9940048873 > *[email protected] > <[email protected]>* | > *www.nexttechnosolutions.com > <http://www.nexttechnosolutions.com/>* > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > > > > -- > With Regards, > > *Rasika Perera* > Software Engineer > LinkedIn: http://lk.linkedin.com/in/rasika90 > > <http://wso2.com/signature> > > WSO2 Inc. www.wso2.com > lean.enterprise.middleware > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > > > > -- > > *Madawa Soysa* / Software Engineer > [email protected] / +94714616050 > > *WSO2 Inc.* > lean.enterprise.middleware > > <https://wso2.com/signature> > > > > > > > > -- > Thanks & Regards, > *Praveen J* > *Application Developer,* > *Next Techno Enterprises India Pvt. Ltd,* > > Module No: 308/1,Third Floor, ELCOT IT/ITES-SEZ, TIDEL PARK > Vilankurichi Village, Coimbatore-641 014, TAMIL NADU, INDIA > Mobile : +91-9940048873 > *[email protected] > <[email protected]>* | > *www.nexttechnosolutions.com > <http://www.nexttechnosolutions.com/>* > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > > > > -- > Megala Uthayakumar > > Software Engineer > Mobile : 0779967122 > > > > -- > Thanks & Regards, > *Praveen J* > *Application Developer,* > *Next Techno Enterprises India Pvt. Ltd,* > > Module No: 308/1,Third Floor, ELCOT IT/ITES-SEZ, TIDEL PARK > Vilankurichi Village, Coimbatore-641 014, TAMIL NADU, INDIA > Mobile : +91-9940048873 > *[email protected] > <[email protected]>* | > *www.nexttechnosolutions.com > <http://www.nexttechnosolutions.com/>* > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > > > > -- > Thanks & Regards, > *Praveen J* > *Application Developer,* > *Next Techno Enterprises India Pvt. Ltd,* > > Module No: 308/1,Third Floor, ELCOT IT/ITES-SEZ, TIDEL PARK > Vilankurichi Village, Coimbatore-641 014, TAMIL NADU, INDIA > Mobile : +91-9940048873 > *[email protected] > <[email protected]>* | > *www.nexttechnosolutions.com > <http://www.nexttechnosolutions.com>* > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Lakshani Gamage *Software Engineer, WSO2* *Mobile : +94 71 5478184 <%2B94%20%280%29%20773%20451194>* *Blog : http://lakshanigamage.blogspot.com/ <http://lakshanigamage.blogspot.com/>*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
