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.  HTTPS port active status

    Posted 08/11/05 04:06 PM

    I need to write a java service to make sure one of the port on the server is active/inactive…

    Do anybody of you guys know a windows command to ping a port to know its active status? (I just do not want to just ping a box)


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


  • 2.  RE: HTTPS port active status

    Posted 08/11/05 05:15 PM

    rocky,

    To know the status of the port,subscribe to Port Status Event and invoke a service which takes portStatus specification.

    ramesh.


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


  • 3.  RE: HTTPS port active status

    Posted 08/11/05 05:23 PM

    Is there any built-in service??

    Also, I need to ping the port from a wM box to a non-wM (mainframe) box.


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


  • 4.  RE: HTTPS port active status

    Posted 08/12/05 04:55 AM

    Rocky,
    In the Java service, maybe you can try
    public Socket(InetAddress address,
    int port)
    throws IOException
    If the code throws an IOException, it means that port is inactive.


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


  • 5.  RE: HTTPS port active status

    Posted 08/15/05 10:05 AM

    Rocky

    You can also use telnet command with the particular IP and port .If it is down it will give a exception else it is active .

    Srini


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