Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
Expand all | Collapse all

Maximo Mobile for EAM 8.7

  • 1.  Maximo Mobile for EAM 8.7

    Posted Wed March 02, 2022 12:10 AM
    Installed Maximo Mobile 8.7 on Maximo 7.6.1.2. Able to login to the app, however unable to see the data and failed to update/synch data with error message as below. Retry or check for updates didn't complete. Any suggestions on how to fix it ?

    Could not complete the download of supporting data for the app. 

    MobileErr


    ------------------------------
    Srini
    ------------------------------

    #Maximo
    #AssetandFacilitiesManagement


  • 2.  RE: Maximo Mobile for EAM 8.7

    Posted Thu March 03, 2022 08:23 AM

    I'd recommend opening a support case as it'd be easier to understand your exact situation with the device and logs which I wouldn't share here. There are a couple of issues we've identified and we'd be able to tell if you're encountering that by seeing the logs.

    The request timeout is defaulted to 30 seconds. If you modify the system property maximo.mobile.fetch.timeout you can increase this to a larger number (such as 120000 which is 2 minutes) and see if that resolves the issue. This is the timeout per page so you really shouldn't have to bump it higher than that. 



    ------------------------------
    Steven Shull
    ------------------------------



  • 3.  RE: Maximo Mobile for EAM 8.7

    Posted Mon July 25, 2022 01:00 PM
    Hi Srini,

    I'm having the same problem.

    Did you come to any conclusion what the problem was and how to solve it?

    Regards

    ------------------------------
    André Ramirez Cordeiro
    ------------------------------



  • 4.  RE: Maximo Mobile for EAM 8.7

    Posted Mon July 25, 2022 05:03 PM
    We did multiple things, try below and see if it works.

    1. Modify the query to show the data and reduce the dataset.
    2. Increase maximo.mobile.fetch.timeout to 3 minutes
    3. Verify Oracle db properties. we changed oracle CURSOR_SHARING=FORCE
    4. Installed mobile 8.7.1 or 8.7.2
    5. Removed java class reference (psdi.pluss.app.PlusSFldGeoJSON) on the PLUSSGEOJSON attribute ASSET, LOCATION, & WORKORDER

    ------------------------------
    Srini
    ------------------------------



  • 5.  RE: Maximo Mobile for EAM 8.7

    Posted Wed July 27, 2022 09:43 AM
    The first step would be to review the logs. If data downloads are failing, it's important to understand what and why.

    It could be simple permission issues like the user not being in a security group that has the necessary security permissions for each of the object structures. Similar to work centers, you are supposed to apply the template for each application to each security group that you want to have access to the application and that should grant the necessary permissions to all of the object structures that application needs. There is currently an issue where we don't grant access to MXAPITOOLITEM today utilizing the security template so you may need to grant READ access to that object structure manually if you're using the Technician application. 

    It could be related to bad data. For example, I worked with a customer who had inventory records that didn't have a corresponding item record and that was causing an error to be thrown (https://www.ibm.com/support/pages/node/6576071). This shouldn't be possible because item records can't be deleted but it was either a leftover from the V4 days (where items could be deleted) or someone deleted from the database directly.

    I realize support cases are never fun but it's probably the most effective way to identify what's impacting you and how to resolve it.

    ------------------------------
    Steven Shull
    ------------------------------



  • 6.  RE: Maximo Mobile for EAM 8.7

    Posted Wed July 27, 2022 12:39 PM
    Thank you guys

    Steven, you are absolutely right (as always) about that approach but I managed to overcome it by installing the new version of mobile for EAM v8.8.

    By the way, I noticed that with this new version maxmobile.war is no longer part of maximo.ear and as such it is no longer necessary to run the includemobilemodule before doing the build. Do you confirm?

    Are there any other updates worth letting us know about this new version?

    Thanks for your always precious help
    Regards

    ------------------------------
    André Ramirez Cordeiro
    ------------------------------



  • 7.  RE: Maximo Mobile for EAM 8.7

    Posted Wed July 27, 2022 04:09 PM

    Yes! I'm glad you noticed this change. The servlet (that maxmobile.war) that we used was for downloading the MOBILELOGIN app from your environment. Since this had to occur pre-authentication, we initially exposed this via that unauthenticated servlet. We worked to expose this directly from the REST API without the servlet so that we can avoid the WAR. 

    There are quite a few big changes with Maximo Mobile 8.8. We now support building a database for your lookup data. I need to see if we have external documentation on this as it does require some configuration on your part.

    We support downloading attachments based on some configuration settings (like type and size of attachments). In 8.7 users would have to access an attachment for it to be available offline. Now that can be automated.

    With 7.6.1.3 release in August, you'll be able to utilize a Physical Count application that is based on the Transportation count book functionality. 

    In Technician we've added support for flow control (task 20 can't be started until task 10 is completed for example). We support displaying safety plans, including requiring the technician to sign off as reviewing it before they can start work. We added a lot of security permissions so organizations can remove permissions for functionality they don't want to utilize in the mobile app and we'll disable/hide that from the user.

    In Inspection we added support for creating an ad-hoc inspection from within the app. We also support capturing GPS coordinates from where the inspection result was recorded. We also support domain based questions where you can tie a Maximo domain (such as WOSTATUS) as a question and as values are added/removed the inspection will be updated. This helps avoid revising the inspection form to add/remove values. We added the ability to do numeric validations such as only allowing a value between 1-10. 

    There are some nice quality of life things such as exposing the logs on the login screen so if a user has trouble logging in they can see and share that critical information. This is definitely a non-exhaustive list. I imagine we'll do an external webinar on the new features.



    ------------------------------
    Steven Shull
    ------------------------------



  • 8.  RE: Maximo Mobile for EAM 8.7

    Posted Fri July 29, 2022 06:59 AM
    Hi Steven

    Thanks a lot for the info.

    I noticed that it took a long time to sync the system and lookup data.
    As you mentioned that now there is a db for the lookup data, can you clarify where the queries are configured to get the data to be able to work offline?

    We have a lot of sites and data that we don't need to download.

    Thanks

    ------------------------------
    André Ramirez Cordeiro
    ------------------------------



  • 9.  RE: Maximo Mobile for EAM 8.7

    Posted Fri July 29, 2022 08:20 AM
    I'm working on verifying whether we have documentation or need documentation for the mobile database functionality. You'll want documentation on how to use it (it's not just changing a system property to true for example). 

    As for where queries are configured, this is coming from each of the app.xml. Most utilize saved queries that are stored on the object structures. For example, saved query MOBILEASSET on the MXAPIASSET object structure is used for our asset lookups. Customers have the ability to change these queries by either modifying the queries or adding new queries and updating the app.xml to utilize the other query. Just be aware that if you modify the out of the box queries, we might change these in any release (including an IFIX) as needed and your changes will be overwritten. 

    Sometimes, there are no saved queries and we just provide a where clause to filter in the app.xml. For example, the new ad-hoc inspection required us adding the inspection forms as a lookup to select. In that scenario we provided a where clause over using a saved query. But most of the time we utilize a saved query so it can be changed in Maximo without modifying the app.

    ------------------------------
    Steven Shull
    ------------------------------



  • 10.  RE: Maximo Mobile for EAM 8.7

    Posted Fri August 19, 2022 07:21 PM
    Hi Steven,

    It would have been nice if they could have said something about the maxmobile.war going away in the README.md documentation included with Maximo Mobile 8.8.0 for the benefit of clients who had already installed earlier version of Maximo Mobile.  I was trying to decide what to do when I noticed the files in the deployment folder missing in the new version.  Luckily, I found this discussion.  Thank you for that.

    After rebuilding the EAR again, I was getting errors trying to deploy because the deployment-application.xml under <MaxRoot>\applications\maximo\META_INF was still referencing the maxmobile.war file under <module id="WebModule_maxmobile">

    The application.xml file in the same directory was still referencing "<web-uri>/maxmobile/webmodule</web-uri>".  I'm assuming I need to back out that change as well, although the application did start without doing so.

    It looks like a number of other files installed by Maximo Mobile 8.7.0 that are no longer needed, such as the 6 files under the \deployment folder, were not purged by the Maximo Mobile 8.8.0 install.

    Is there any value in creating a Case to report this?

    Thanks.

    ------------------------------
    Julio Hernandez
    Ergonare, Inc.
    Phoenix AZ
    480-759-9870
    ------------------------------



  • 11.  RE: Maximo Mobile for EAM 8.7

    Posted Sat August 20, 2022 12:07 PM

    Yes I would open a case. To set expectations, this most likely will be a technote & potentially an addition to the readme in a future release. Our documentation should have covered this and we didn't and I apologize for that.

    The reason it's most likely going to result in documentation is because this isn't a traditional installation (just an extracting of the zip), it would require users to manually run anything. So even if we added a script to do this, someone would have to know to run it and once you know what to do it isn't too bad.


    As you mentioned, all 6 files in the deployment folder related to Maximo Mobile can be removed. They don't need to be removed because they won't impact your EAR build unless you run them but may be easier to just avoid. Those six files are buildmaximomobile-war.cmd, buildmaximomobile-war.sh, buildmaximomobile-war.xml, includemobilemodule.cmd, includemobilemodule.sh, & includemobilemodule.sh

    In the applications\maximo\businessobjects\classes\com\ibm\maximo\mobile directory, the admin folder can be deleted with the 5 classes (MobileApp.class, MobileAppRemote.class, MobileAppSet.class, MobileAppSetRemote.class, & MobileService.class). Again, similar to above these won't break anything but aren't utilized anymore. The table & service they were used for are dropped by our scripts.

    The maxmobile folder in the applications\maximo\ directory can also be removed. This was used for the WAR that is no longer needed. 

    Then most importantly, as you mentioned you should remove the maxmobile references in the deployment-application.xml & application.xml in the applications/maximo/META-INF/ directory. 



    ------------------------------
    Steven Shull
    ------------------------------



  • 12.  RE: Maximo Mobile for EAM 8.7

    Posted Mon August 22, 2022 01:47 PM
    Hi Steven,

    I will submit a case as you suggested.

    By the way, after deleting the admin folder under ...\applications\maximo\businessobjects\classes\com\ibm\maximo\mobile\, there is nothing left under the mobile folder and there is nothing else under the maximo folder other than the empty mobile folder.  Should the maximo folder under ...\applications\maximo\businessobjects\classes\com\ibm\ be deleted as well?

    And FYI and any other readers, the Maximo Mobile 8.8.0 download includes 5 files under ...\applications\maximo\businessobjects\classes\psdi\app\workorder that should not be copied to the Build directory because they will overlay files that are updated by TPAE/MBS 7.6.1.2 IFix 023.  I submitted a case previously complaining overlapping files between the Maximo Mobile downloads and core Maximo IFixes and Fix Packs.

    Thanks.


    ------------------------------
    Julio Hernandez
    Ergonare, Inc.
    Phoenix AZ
    480-759-9870
    ------------------------------



  • 13.  RE: Maximo Mobile for EAM 8.7

    Posted Mon September 12, 2022 06:08 AM
    Hi Julio,

    Do you have any news about the case you opened regarding the overlapping files between the Maximo Mobile downloads and core Maximo IFixes and Fix Packs?

    I planning to upgrade one environment from maximo mobile for EAM 8.7 to 8.8 and i want to ask you if is better to delete just thoses files you mencioned or is there a bet way to do it.

    Beste regards



    ------------------------------
    André Ramirez Cordeiro
    ------------------------------



  • 14.  RE: Maximo Mobile for EAM 8.7

    Posted Mon September 12, 2022 01:47 PM
    Hi Andre,

    I am waiting to have a call with Support and Development about this.  You should delete the files mentioned by Steven in his last post.

    Additionally, I suggest deleting the 5 files provided in the 8.8.0 download that are under the ...\applications\maximo\businessobjects\classes\psdi\app\workorder directory to avoid overlaying files that have been updated in the latest TPAE 7.6.1.2 IFix.

    By the way, there is an IFix for Maximo Mobile 8.8.0 available on Fix Central.


    ------------------------------
    Julio Hernandez
    Ergonare, Inc.
    Phoenix AZ
    480-759-9870
    ------------------------------



  • 15.  RE: Maximo Mobile for EAM 8.7

    Posted Tue September 13, 2022 06:46 AM
    Hi Julio,

    Thanks for the info.

    By the way, have you already applied ifix1 on mobile 8.8?

    Since in this version there is no maxmobile.war in maximo.ear, is it really necessary to build and deploy after applying this ifix?

    Best Regards

    ------------------------------
    André Ramirez Cordeiro
    ------------------------------



  • 16.  RE: Maximo Mobile for EAM 8.7

    Posted Tue September 13, 2022 08:49 AM
    Yes. While the WAR is no longer used, we still have some other classes that we may update in IFIXes. In this case we updated the MaximoMobileSchema class. So you should rebuild and redeploy the EAR file.

    ------------------------------
    Steven Shull
    ------------------------------