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 exception running a command line

    Posted 04/26/05 09:38 PM

    I’m following the guide for implementing OpenPGP using GnuPG.

    when I run the listKeys service, it gives me this:

    com.wm.app.b2b.server.ServiceException: I/O Exception running command: java.io.IOException: CreateProcess: gpg --homedir e:\webMethods6\IntegrationServer\gnupg --no-tty --list-keys error=2

    but when I run that some command (gpg --homedir e:\webMethods6\IntegrationServer\gnupg --no-tty --list-keys) in the command line, it runs fine…

    what does that error=2 mean? where can I find it?

    thanks.


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


  • 2.  RE: Java exception running a command line

    Posted 04/27/05 05:23 PM

    found out what I had done, not sure if this is what error 2 means or not.

    the command I was running was ‘gpg --homedir…’ which worked find in a command window, because I had included the proper directory to the gpg executable in the PATH environment variable.

    but, when webMethods IS was started, that directory wasn’t in the PATH variable, so the webMethods IS server didn’t recognize the ‘gpg’ command. when I went into the OpenPGP properties file and changed the command setting to be the fully qualified path to the executable’s directory, it worked fine.


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