Hi All,
 
Good Day, Thanks for your response. We are working based on your suggestion and we have some doubts which we have listed below,
 
1. Regarding device firmware signing key, As per your documents[1] Is it possible to get device firmware signing key from the vendor? Because this is a security precaution: anyone could write an app that would run with full system access on any device.
 
But We have tried to build system service app using normal signing key just a try. It crashes for every permission and this is expected result. So how the other verndor like mobileiron and airwatch achive these things?
 
2. Regarding WSO2 Agent app, I like to explain one scenario In my mobile I have agent app and some enterprise app installed using MAM. So If I uninstall the agent app. what is the status of enterprise app?
 
Is it possible if I uninstall the agent app the enterprise app also uninstall?
 
Please clarify my doubts.
 
[1] https://docs.wso2.com/display/EMM220/Integrating+the+Android+System+Service+Application
 
26.10.2016, 09:39, "Madawa Soysa" <mada...@wso2.com>:
Hi Praveen,

You need to use Java version 1.7_79 (or lower) as per the discussion we previously had. Please refer to the discussion I explained why the p2 profile generation fails. The distribution failure has occurred due to a connection problem it seemed. So please check your connection.
 
When you are building for the first time, you need to download all the dependencies to your local maven repository. After that, you can build offline using the following command.
maven clean install -o
 
Thanks,
Madawa
 
 
On Tue, Oct 25, 2016 at 6:49 PM, Lakshman Udayakantha <lakshm...@wso2.com> wrote:
Hi Praveen,
 
Refer [1] for carbon framework and [2] for emm documentation. If you wish to download latest pack, you can get it via jenkins [3], Anyway this pack may be unstable since that is a snapshot version. 
 
 
 
Thanks
Lakshman
 
On Tue, Oct 25, 2016 at 6:31 PM, Praveen J <praveen.josephmasilam...@nexttechnosolutions.co.in> wrote:
Hi All,
 
Please let me know the product-emm project structure or flow. Is there any study material and document for carbon framework please share with us. we are like to work with product-emm source code.
 
Regarding product-emm build using maven, Still we have struggle with the build part. Please refer the build version which we have used Java version is 1.7_80 and maven version is 3.0.5 as per your suggestion. but we have faced same issues on 'p2_profile_gen' and 'distribution' builds.
 
And for your info last two mails I have repeatly raised these issues but I didn't get any response. And one more doubt is there any offline build for EMM because it consumes lot of mb for each build or give some steps for debug and test in browser.
 
And also I did't get any response for WSO2 EMM 2.2.0 Production instruction. In production we have faced email conflicts issues and -DworkedNode XML parse stream issues and also emailed regarding this but still no response.
 
So we need your support and guidence. Awaiting for your response. Thankyou.
 
25.10.2016, 15:22, "Praveen J" <praveen.josephmasilam...@nexttechnosolutions.co.in>:
Hi Dilan,
 
Yes, We are using WSO2 EMM 2.2.0 Beta.
 
25.10.2016, 15:07, "Dilan Udara Ariyaratne" <dil...@wso2.com>:
Hi Praveen,
 
I am bit confused. All these data is captured from the same database view. So, device count being 5 and details of the same is only for 2 devices is bit confusing.
Which version of the product is you are currently using? This is the default 2.2.0-snapshot version, right?
 
Regards,
Dilan.
 
Dilan U. Ariyaratne
Senior Software Engineer
WSO2 Inc.
Mobile: +94766405580
lean . enterprise . middleware
 
 
 
On Tue, Oct 25, 2016 at 2:36 PM, Praveen J <praveen.josephmasilam...@nexttechnosolutions.co.in> wrote:
Hi Dilan,
 
Please refer the screen[portal2.png], After active the BYOD ownership in the same device[DEVICE OTUS_DS] this is for your reference.
 
25.10.2016, 14:27, "Praveen J" <praveen.josephmasilam...@nexttechnosolutions.co.in>:
Hi Dilan,
 
Apologizes, Now please find the attached protal devices screen[portal.png].
 
25.10.2016, 14:16, "Dilan Udara Ariyaratne" <dil...@wso2.com>:
Hi Praveen,
 
I wanted to have a look on the devices page of the portal dashboard. Can you send a screenshot of that?
 
Cheers,
Dilan.
 
Dilan U. Ariyaratne
Senior Software Engineer
WSO2 Inc.
Mobile: +94766405580
lean . enterprise . middleware
 
 
 
On Tue, Oct 25, 2016 at 2:00 PM, Praveen J <praveen.josephmasilam...@nexttechnosolutions.co.in> wrote:
Hi Dilan,
 
For your kind info, I didn't applied any filtering in device pages please notice the search field in screen[1.png]. And I'm using same device in different owenrship (COPE & BYOD)[1.png].
 
Actually, Two COPE devices status are removed one BYOD device is active. But in portal page[2.png] it shown no of devices was 5.
 
25.10.2016, 13:38, "Dilan Udara Ariyaratne" <dil...@wso2.com>:
Hi Praveen,
 
Regarding portal issue, can you send us a screenshot of the devices page as well without any filtering applied.
 
Regards,
Dilan.
 
 
Dilan U. Ariyaratne
Senior Software Engineer
WSO2 Inc.
Mobile: +94766405580
lean . enterprise . middleware
 
 
 
On Tue, Oct 25, 2016 at 12:33 PM, Praveen J <praveen.josephmasilam...@nexttechnosolutions.co.in> wrote:
Hi Malintha,
 
Thanks for your response, We will work based on your suggestion. And regarding device monitoring (/portal), I have added the two devices but one device in different ownership please refer the screen[1.png].
 
But in device monitor it shows 5 devices please refer the screen[2.png]. Please let me know why it happens. and We need one more response for the below comment which we have sent by yesterday mail.
 
This is a JDK level issue. This happens because of JVM not trusting the certificates when installing signed jars. As a workaround to fix this issue, if you are using OpenJDK switch to Oracle JDK 1.7_79 and if you are using Oracle JDK already and version 1.7_80, downgrade it to 1.7_79. More information about this issue can be found at [1]
 
As per your comments, We have tried your above solution most of the build got success except distribution build. Please refer the attached screenshot[3.png] for your kind reference.
 
Once we will get the successful build then we will also ready to work on the source code and We will try to debug the code. Please guide us to debug and give some document for project structure or flow.
 
 
25.10.2016, 12:09, "Malintha Fernando" <malinth...@wso2.com>:
Hi Praveen,

Error in screenshot[1] can happen if you have already installed the system app with a different signature or if your device is unavailable to adb. Please do following and verify your device is viewable on adb.

Move to ~/Android/Sdk/platform-tools and run adb devices and check if your device is being listed.
If not, go to developer options and revoke USB debugging keys and reconnect the device.
Now the device should be visible on the list. Then run adb shell pm list packages | grep 'wso2' and see if the system app is already installed. If then, uninstall it, try build and install the system app again.
 
Regards,
Malintha
 
 
 
On Mon, Oct 24, 2016 at 6:32 PM, Praveen J <praveen.josephmasilam...@nexttechnosolutions.co.in> wrote:
Hi Dev,
 
Good Evening, Thanks for your response. We have tried your solution,
 
You can get the correct android.jar file using the repository [2]. This contains the android.jar (unlocked hidden APIs) files for all SDK versions. Also, you might find the article [3] helpful which describes Handling of COPE Android Devices.
 
​​
I have attached the screen shots [1] and [2] for issues faced while building the system service application in android studio with custom android.jar file in the SDK path and the issues arise while installing application in the mobile it shows the application is already installed even for the first time and fails to uninstall the application.
 
This is a JDK level issue. This happens because of JVM not trusting the certificates when installing signed jars. As a workaround to fix this issue, if you are using OpenJDK switch to Oracle JDK 1.7_79 and if you are using Oracle JDK already and version 1.7_80, downgrade it to 1.7_79. More information about this issue can be found at [1]
 
We have tried your above solution most of the build got success except distribution build please refer the attached screenshot[3] for your kind reference.
 
Once yo correctly set up the work profile, the EMM Agent application automatically copied to the work profile. So you can uninstall the EMM Agent from your personal profile and proceed with the normal enrolling process with the EMM Agent that is in the work profile.
Note that the work profile generation setup might fail because of the OS customizations that would have been done on some of the devices by the manufacturers.
 
Regarding your above comments, Is there any alternate solution for OS customized devices?
 
And one more, Is there any solution for the error while xml parshing when I start server using -DworkerNode for production? Please refer the screen[4]. Awaiting for your response.
 
 
23.10.2016, 20:11, "Madawa Soysa" <mada...@wso2.com>:
Hi Praveen,

Regarding your questions 3, 4 and 5,
 
3. This is a JDK level issue. This happens because of JVM not trusting the certificates when installing signed jars. As a workaround to fix this issue, if you are using OpenJDK switch to Oracle JDK 1.7_79 and if you are using Oracle JDK already and version 1.7_80, downgrade it to 1.7_79. More information about this issue can be found at [1]
 
4. You can get the correct android.jar file using the repository [2]. This contains the android.jar (unlocked hidden APIs) files for all SDK versions. Also, you might find the article [3] helpful which describes Handling of COPE Android Devices.
 
5. Once yo correctly set up the work profile, the EMM Agent application automatically copied to the work profile. So you can uninstall the EMM Agent from your personal profile and proceed with the normal enrolling process with the EMM Agent that is in the work profile.
 
Note that the work profile generation setup might fail because of the OS customizations that would have been done on some of the devices by the manufacturers.
 
 
 
Regards,
Madawa
 
On Sat, Oct 22, 2016 at 3:20 PM, Praveen J <praveen.josephmasilam...@nexttechnosolutions.co.in> wrote:
Hi All,
 
Good day, Thanks for the response. Now MySQL connection works fine in 2.2.0 beta. And I need some clarifications and doubts which I have listed out below,
 
1. Please let me know the steps for WSO2 EMM 2.2.0 beta to Production,SSL certificate installation and I have faced some SSO login url redirect problem not opened (https://my_ip:9443/store) in mobile. So need some clear steps for EMM to production.
 
2. And I have faced some email configuration[link1] problem in emm. I have used WSO2 EMM 2.2.0 Beta version. For example first user received invitation email correctly but once again sent invitation email for another user I got error[1.png] in server console and continuously got same error when send invite to user. Please find the attached sceenshot for your reference..
 
 
3. Regarding product-emm setup, I have followed the given urls which you have suggested. But I got error[2.png] in maven build MDM p2 profile gen. Please refer the screenshot for your refererence.
 
4. Regarding App silent install and uninstall, As per your suggestion we have followed the below url[link2]. But we have doubt in how to build the android.jar file from an Android Open Source Project in this link each android version have four types of download link
 
so please let me know the which link I have use to download. and let me know the steps to generate android.jar file using Andoid open source project. and one more how to get the system application signed via device vendor(firmware signing key)?
 
 
5. Regarding data containersation, As per your suggested url[link3] we understand the 5th step but after uninstall the agent app what i do? and also I have one doubt after create Agent work profile on mobile Setting->Account its shows Work profile isn't available yet [3.png].
 
Please refer the screenshot for your kind reference.
 
 
Please clarify my doubts awaiting for your valuable response. Thank You!
 
 
 
22.10.2016, 00:06, "Lakshani Gamage" <laksh...@wso2.com>:
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 <praveen.josephmasilam...@nexttechnosolutions.co.in> 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" <dil...@wso2.com>:
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"
                    }
                }
            }
        }
    }
 

 
Cheers,
Dilan.
 
 
Dilan U. Ariyaratne
Senior Software Engineer
WSO2 Inc.
Mobile: +94766405580
lean . enterprise . middleware
 
 
 
On Thu, Oct 20, 2016 at 5:15 PM, Praveen J <praveen.josephmasilam...@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:
 
 
20.10.2016, 09:20, "Megala Uthayakumar" <meg...@wso2.com>:
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.
 
 
Thanks.
 
Regards,
Megala
 
On Wed, Oct 19, 2016 at 5:45 PM, Praveen J <praveen.josephmasilam...@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.
 
 
 
Please give some suggestion how to setup the dashboard server.
 
 
19.10.2016, 16:52, "Madawa Soysa" <mada...@wso2.com>:
Hi Praveen,
 
Regarding your last question, 5th step of the data containerization guide [1] means that you can uninstall the agent installed in your personal profile.
 
 
Regards,
Madawa
 
On Wed, Oct 19, 2016 at 3:35 PM, Rasika Perera <rasi...@wso2.com> 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.
 
 
 
On Wed, Oct 19, 2016 at 2:42 PM, Praveen J <praveen.josephmasilam...@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.
 
 
And finally data containerisation in Android lollipop using Android for work. And I have followed the below link instructions.
 
 
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 
 
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

 
 
 
--
With Regards,

Rasika Perera
Software Engineer

 
WSO2 Inc. www.wso2.com
lean.enterprise.middleware

_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev
 
 
 
--

Madawa Soysa / Software Engineer 
mada...@wso2.com / +94714616050

WSO2 Inc.
lean.enterprise.middleware

 

 

 

 
 
-- 
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 
 

_______________________________________________
Dev mailing list
Dev@wso2.org
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 
 

_______________________________________________
Dev mailing list
Dev@wso2.org
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 
 

_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev
 



--
Lakshani Gamage
 
Software Engineer, WSO2
 
 
 
-- 
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 
 

_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev
 
 
 
--

Madawa Soysa / Software Engineer 
mada...@wso2.com / +94714616050

WSO2 Inc.
lean.enterprise.middleware

 

 

 

 
 
-- 
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 
 

_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev
 



--
Malintha Fernando
Software Engineer
WSO2 Inc. | http://wso2.com
Mobile : +94 718874922
Blog : http://blog.malintha.org

Lean . Enterprise . Middleware
 
 
 
 
 
 
-- 
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 
 
 
 
-- 
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 
 
 
 
-- 
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 
 
,

_______________________________________________
Dev mailing list
Dev@wso2.org
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 
 
 
 
-- 
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 
 
,

_______________________________________________
Dev mailing list
Dev@wso2.org
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 
 
 
 
--
Lakshman Udayakantha
WSO2 Inc. www.wso2.com
lean.enterprise.middleware
Mobile: 0717429601
 
 
 
--

Madawa Soysa / Software Engineer 
mada...@wso2.com / +94714616050

WSO2 Inc.
lean.enterprise.middleware

 

 

 

 
 
-- 
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 
praveen.josephmasilam...@nexttechnosolutions.co.in | www.nexttechnosolutions.com
 
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to