Maximo

Maximo

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

 View Only
  • 1.  Changing mxe.oslc.webappurl from /maximo/oslc to /meaweb/oslc

    Posted Fri April 24, 2020 08:10 PM
    In one of my client, we are using OSLC with MaximoAnywhere 7.6.3.1 with Maximo 761, Work Center and other JSON based integration. The architect team is recommending keep the load of OSLC load out of UI cluster. 
    So,  we tried to change the mxe.oslc.webappurl  from http://hostname:port/maximo/oslc tohttp://hostname:port/meaweb/oslc with corresponding web.xml changes to make these urls working. 

    • For Work Center, with changes in couple of config files, it started working as expected by using new context path. 
    • For MaximoAnywhere, I tried changing  value of adapter.connection.context in build.properties from maximo to meaweb. Build All has failed in anywhere-apps-builder.xml at .maximo-url-test.
    • I tried exclusive hard-coding the  path with /maximo in <get src="${adapter.connection.protocol}://${adapter.connection.domain}:${adapter.connection.port}/maximo" dest=".maximo-url-test"/> then build completely successfully. 
    • rdf puller also worked properly.
    • After build, when I tried to connect to using Emulator, it is failing to authenticate and in logs I see that it is still trying to connect using http://hostname:9080/maximo/oslc instead ofhttp://hostname:9080/meaweb/oslc
    Has anyone been able achieve this before? If yes, could you guide what I may be missing?

    ------------------------------
    MaxSurii
    ------------------------------



    #AssetandFacilitiesManagement
    #Maximo
    #MaximoAnywhere


  • 2.  RE: Changing mxe.oslc.webappurl from /maximo/oslc to /meaweb/oslc

    Posted Mon April 27, 2020 07:37 AM

    I guess I don't quite understand. If you're hitting a specific JVM (hostname:9080), whether you hit the maximo or meaweb context you're hitting the same JVM which will have the same performance impact. If you have dedicated JVMs for MIF/Anywhere, you could setup a DNS record (like myurl-mif.mydomain.com) and then through virtual hosts in WebSphere determine which application (which determines which cluster) handles the traffic. We've found it's easiest to setup multiple DNS records and configure with virtual hosts rather than trying to segment traffic by context. 



    ------------------------------
    Steven Shull
    Director of Development
    Projetech Inc
    Cincinnati OH
    ------------------------------



  • 3.  RE: Changing mxe.oslc.webappurl from /maximo/oslc to /meaweb/oslc
    Best Answer

    Posted Mon April 27, 2020 09:34 PM
    Edited by System Admin Tue August 22, 2023 04:41 PM
    Hi MaxSurii,

    I have a document about changing context that worked for one of our customers.  
    https://www.ibm.com/support/pages/node/6156321

    Just saw some recommendation by Steven Shull as well :)

    ------------------------------
    May On
    Tech Support
    IBM
    ------------------------------



  • 4.  RE: Changing mxe.oslc.webappurl from /maximo/oslc to /meaweb/oslc

    Posted Tue April 28, 2020 12:27 PM
    Edited by System Admin Tue August 22, 2023 04:43 PM
    This doc reference is good!  However it says All versions.  Errr... we took MobileFirst out of 7.6.4.  The doc is not entirely accurate and not 100% applicable to 7.6.4.  The doc should be modified to correctly reference steps peculiar to versions with MobileFirst.  One could get lost on 7.6.4 otherwise.

    ------------------------------
    Bradley K. Downing , MBA
    IBM Certified Adv. Deployment Prof. Maximo v7.6.1
    IBM
    Bakersfield CA
    ------------------------------



  • 5.  RE: Changing mxe.oslc.webappurl from /maximo/oslc to /meaweb/oslc

    Posted Tue April 28, 2020 06:23 PM
    Hi Bradley,  

    I've set the version to be specific to Anywhere 7.6.2.x and 7.6.3.x
    with MobileFirst version 7.1

    Thanks so much for reviewing my doc!

    ------------------------------
    May On
    Tech Support
    IBM
    ------------------------------



  • 6.  RE: Changing mxe.oslc.webappurl from /maximo/oslc to /meaweb/oslc

    Posted Fri May 01, 2020 09:52 AM
    this is chanign the anywhere to point to a jvm deployed with another context.  So it is guiding you on how to handle the context naming change part.  However, this is still pertaining to the maximo servlet deployed on a jvm separate from the ui.   I think you want to maintain references to the maximo servlet and just ensure you are pointing to a non-ui jvm.   Steven's post does a really good job of summarizing.

    ------------------------------
    Victor Chin
    ------------------------------