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.  Java Service not working

    Posted 09/19/07 09:13 PM

    Hi All,

    I am currently trying to fix a java service in webMethods which was created 5 years ago as a part migration which we are doing here at toll. I am facing a very weird problem. The java service is using methods of classes which are packed in the jars and kept in IS/lib/jars directory. I am trying to run one line of the code at a time and it throws null pointer exception when the code tries to invoke a method in one of the java classes kept in the jar files. I am just wondering, why the code is throwing exception and unable to invoke the methods, even after the class is there in jar files. I have also tried to keep the jar files in Packages/MyPackage/code/jars but still no success.

    I will appreciate quick response as I am working on a very tight deadline.


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Java Service not working

    Posted 09/20/07 07:47 AM

    did u import the required package to the java service

    Please check shared section of java service, if u are using external jars means you should import those packages to the java service.

    Thanks,
    Ramesh


    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: Java Service not working

    Posted 09/20/07 10:42 AM

    The best place to put dependent jars is in the code/jars directory of the package.


    #webMethods
    #Integration-Server-and-ESB