IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
Expand all | Collapse all

Command Central throwing errors while connecting to MWS

  • 1.  Command Central throwing errors while connecting to MWS

    Posted 01/04/16 07:53 AM

    CCE is monitoing MWS server properly. Atleast it show that MWS is up. But when I click on the MWS Server link on the overview page, I get the following error in the logs. Am I missing any setting?

    2016-01-04 06:52:53.432 EST (com.softwareag. … .ExceptionHandlerTools ) [SPM.ExceptionHandlerTools.SPMRMCE0004] WARN: Error: (id: 1451908373432) No primary or HTTPS ports are found for MwsProgramFiles-DEV_MWS_02; component and its parent/child relations. caused by:
    2016-01-04 06:52:53.432 EST (com.softwareag. … .ExceptionHandlerTools ) [SPM.ExceptionHandlerTools.SPMRMCE0004] WARN: com.softwareag.platform.management.common.exceptions.PlatformManagerException: No primary or HTTPS ports are found for MwsProgramFiles-DEV_MWS_02 component and its parent/child relations.
    at com.softwareag.platform.management.configuration.spi.CommonAdminUiConfigurationManager.loadConfiguration(CommonAdminUiConfigurationManager.java:74)
    at com.softwareag.platform.management.configuration.impl.ConfigurationServiceImpl.loadConfiguration(ConfigurationServiceImpl.java:271)
    at com.softwareag.platform.management.configuration.impl.ConfigurationServiceImpl.loadConfiguration(ConfigurationServiceImpl.java:557)

    And on the browser window I am getting

    GET http://:<SPM_PORT>/spm/configuration/data/MwsProgramFiles-DEV_MWS_02/COMMON-ADMINUI returned a response status of 500 Internal Server Error


    #Command-Central
    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Command Central throwing errors while connecting to MWS

    Posted 01/04/16 07:58 AM


  • 3.  RE: Command Central throwing errors while connecting to MWS

    Posted 01/04/16 08:23 AM

    Arpan – Do you have all latest fixes on your system.

    Thanks,


    #Integration-Server-and-ESB
    #Command-Central
    #webMethods-General
    #webMethods


  • 4.  RE: Command Central throwing errors while connecting to MWS

    Posted 01/04/16 09:53 AM


  • 5.  RE: Command Central throwing errors while connecting to MWS

    Posted 01/04/16 09:57 AM

    FYI, IS does not have latest fixes, but it is not throwing any error. I can see the overview page on clicking “Integration Server” link. But IS component has “Nerv” and “Event Routing” where as MWS does not have “Nerv” and “EventRouting”.


    #Command-Central
    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 6.  RE: Command Central throwing errors while connecting to MWS

    Posted 01/05/16 01:37 AM

    Looks like you need to refresh CC cache with MWS inventory and configuration information which is currently empty or stale, likely because MWS instance was not created or starting using CC itself.

    In CC Web UI:

    1. Open Installation Overview page where MWS is installed and click refresh icon for Instances table
    2. Open MWS_default > My webMethods Server component Configuration tab > select Ports and click refresh icon for at the Configuration tab. You should see MWS’s HTTP/S ports
    3. Open MWS_default > My webMethods Server component Overview tab and retry clicking the Admin UI link
      You may need to refresh your browser window as well, if the link still does not work.

    Thanks
    Sergei


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB
    #Command-Central


  • 7.  RE: Command Central throwing errors while connecting to MWS

    Posted 01/05/16 02:36 AM

    Sergei,

    I have received this below error -

    “SPMCOME0007: /opt/softwareag/webMethods82/product/WM99/terracotta/profiles/SPM/…/…/MWS/server/DEV_MWS_02/config/cluster.xml (No such file or directory)”


    #Command-Central
    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 8.  RE: Command Central throwing errors while connecting to MWS

    Posted 01/05/16 06:26 PM

    Is this path a valid one: /opt/softwareag/webMethods82/product/WM99/terracotta/profiles/SPM/…/…/MWS/server/DEV_MWS_02/config/

    It looks very odd.

    If yes, does MWS run with an external RDBMS or internal Derby DB?
    Do you have latest MWS fixes installed?

    The error means the cluster.xml file could not be retrieved from the database which typically happens when MWS runs on Derby which is a very restricted use case.
    If you’re running MWS with oracle/sqlserver/db2 then cluster.xml should be retrievable.

    Try

    cd /opt/softwareag/webMethods82/product/WM99/MWS/bin
    mws -s DEV_MWS_02 getconfig cluster.xml

    check if …/server/DEV_MWS_02/config/cluster.xml is retrieved.
    If yes, refresh MWS Ports configuration from CC Web UI again.

    If you continue to have troubles please open support ticket.

    Thanks
    Sergei


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General
    #Command-Central


  • 9.  RE: Command Central throwing errors while connecting to MWS

    Posted 01/06/16 02:25 AM

    Hi Sergei,

    Thanks for your reply.

    The folder is just a dummy folder I have used. And yes, I am using derby DB. So, as you said, with derby DB we cannot open overview page of MWS. Am I correct?


    #Command-Central
    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB


  • 10.  RE: Command Central throwing errors while connecting to MWS

    Posted 01/06/16 02:52 AM

    You can make it work with Derby, but you need to help get cluster.xml from Derby DB which does not allow two clients to connect at the same time (MWS runtime and SPM runtime)

    1. stop MWS DEV_MWS_02 instance
    2. extract cluster.xml from db by running “mws -s DEV_MWS_02 getconfig cluster.xml” from MWS/bin folder and leave it there. With Derby use this file can be on the file system and not in the db as it does not have to be shared with other MWS cluster nodes.
    3. start MWS DEV_MWS_02 instance, wait until it is ONLINE
    4. refresh My webMethods Server ports configuration from CC Web UI. Ports configuration should now successfully load from cluster.xml and CC will be able to create SSO link to MWS on the Overview page.

    Thanks
    Sergei


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods
    #Command-Central