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
  • 1.  Metadata Library Shutdown

    Posted 10/03/08 09:30 PM

    I am looking for a way to shut down the Metadata Library from the Linux commandline in a script. I have most all of the other apps shutting down via their shutdown.sh scripts that came with the package, but the Metadata Library offers nothing like that. How are others handling this? Wm7.1/Red Hat Linux
    Thanks


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Metadata Library Shutdown

    Posted 12/01/08 02:04 PM

    Hello,

    I’m facing the same problem. Did you got any reply or did you implemented something ?

    As a temporary solution, I’m thinking to ‘kill’ its process as it seems it’s shuting down gracefully the application.

    Best regards,

    Laurent


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 3.  RE: Metadata Library Shutdown

    Posted 12/02/08 05:58 PM

    I am using the linux w get command: (remove space between “w” and “get”)

    w get -N hxxp://user:password@servername.srv.company.net:6001/fabric-admin/index.jsp?action=shutdown -q

    However, I am getting a syntax error because of the dash in “fabric-admin”. I tried several ways around it, such as quotes and bask-slashes, but I could not get it to work. I believe if you don’t have that dash in your directory name then you should be ok.


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 4.  RE: Metadata Library Shutdown

    Posted 12/03/08 03:17 PM

    Ok, thanks.

    It’s the way we already stop our ISes (even if I don’t link having Admin account in clear in scripts).

    As our current installation (7.1.2 ?), “shutdown -q” is not recognized but “shutdown” is.

    I think your dash problem is caused because you haven’t put double-quote arround the URL. My own script uses

    wget  -O /dev/null -o /dev/null "http://$(cat ${MDL_ACCESSFILE})@${WMHOST}:${MDL_PORT}/fabric-admin/index.jsp?action=shutdown"

    and is working w/o trouble.

    Best regards,

    Laurent


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services