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.

 View Only
  • 1.  RPC Java Wrapper

    Posted Wed September 21, 2005 08:58 PM

    Greetings,

    We are using the Java Wrapper for RPC and we are having a problem with EntireX. If we simulate 250 users accessing our system, the NUM-CLIENT will go to 250 and stay there for a while. Once the NOACTV time has been reached, the NUM-CLIENTs will decrease back down to zero. We don’t see this behavior with our ACI server. The number will go up but it immediately goes back down. In researching this I came across a description of the process:

    logon to broker
    sendreceive
    logoff borker

    This is what our ACI programs do. Does this no happen with RPC and/or the Java Wrapper? Is there any way to address this programmatically our it just a matter of reducing NOACT down to 1 second?

    Thanks in advance for any and all help!

    Earnie!


    #Mainframe-Integration
    #webMethods
    #EntireX


  • 2.  RE: RPC Java Wrapper

    Posted Thu September 22, 2005 06:49 PM

    Do your Java clients call the logon and logoff methods? See the Examples/JavaWrapper directory in your EntireX install directory for “myClient.java”. This is a snip from it:

    if(broker == null) {
    userId = txtuid.getText();
    broker = new Broker(brokerId, userId);
    password = txtupw.getText();
    if(password == null || password.length() == 0) {
    broker.logon();
    }
    else {
    // if you are using EntireX security add the follwoing line:
    //broker.setSecurity(new EntireXSecurity(), false);
    broker.logon(password);
    }
    loggedOn = true;
    }
    myTest = new Example(broker, serverId);
    

    #webMethods
    #Mainframe-Integration
    #EntireX


  • 3.  RE: RPC Java Wrapper

    Posted Thu September 22, 2005 06:51 PM

    Sorry: hit post too quickly…

    when you are done with the RPC method calls, follow up with

    broker.logoff();

    to end the client connection.


    #webMethods
    #EntireX
    #Mainframe-Integration


  • 4.  RE: RPC Java Wrapper

    Posted Thu September 22, 2005 07:10 PM

    Thanks Douglas. This was indeed the problem. After I posted this message yesterday we start doing some more testing and discovered this was not a problem with out ACI based classes. We checked and sure enough no .logoff() was being done in the RPC based classes. We also added the .disconnect() after the .logoff()

    Earnie!


    #Mainframe-Integration
    #EntireX
    #webMethods