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.  Unable to run java file using IS built in service

    Posted 06/13/18 10:45 AM

    Hi,

    i am unable to run the complied java file via pub.utils:executeOSCommand service.

    i am getting below error while execution.

    java -classpath “/appl/webm97/tmp/GBA” GBATPAUpdate “/appl/webm97/tmp/GBA/GBA_TPA3.xml”

    Error: Could not find or load main class “classfilename”

    Please help.

    Thanks.


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Unable to run java file using IS built in service

    Posted 06/14/18 06:30 AM

    Hi,

    Is that directory readable by the IS process owner?
    Is that directory in WmPublic’s file read access list?

    Bets regards,


    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Unable to run java file using IS built in service

    Posted 06/17/18 08:00 AM

    Also, reload WmPublic if you edit the OSCommands.cnf


    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: Unable to run java file using IS built in service

    Posted 06/18/18 02:10 PM

    Hi,

    another option might to create a java wrapper service in IS which consumes this class and pass the filename as an input parameter.

    Regarding the error message:
    Is it really looking for “classfilename” or is this just a placeholder for the real class name?

    Regards,
    Holger


    #webMethods
    #Integration-Server-and-ESB