IBM Support

When running a GnuPG command with the Command Line Adapter2 an error 2 occurs.

Troubleshooting


Problem

When running a GnuPG command with the Command Line Adapter2 an error 2 occurs.

Symptom

When running a GnuPG command with the Command Line Adapter2 an error 2 occurs.

http://www.gnupg.org/

Error Message

[2007-08-28 14:30:52.668] ALL 000000000000 GLOBAL_SCOPE <CmdLine2Impl-CommandLineAdapter2-28723958> ##[DEBUG]## CmdLine2Parms:
timeout=60000
wait=true
useInput=true
useOutput=false
deleteInput=true
deleteOutput=false
cmdLine=gpg --verify $Input
workingDir=C:\gnupg
bodyName=tmp.pgp
inputName=null
outputName=null
fileSize=983
remoteName=gmadgis01
remotePort=10060
******* end of CmdLine2Parms *******
[2007-08-28 14:30:52.668] ALL 000000000000 GLOBAL_SCOPE <CmdLine2Impl-CommandLineAdapter2-28723958> ##[DEBUG]## Connected to GMADGIS00/172.16.17.241:1060
[2007-08-28 14:30:52.668] ALL 000000000000 GLOBAL_SCOPE <CmdLine2Impl-CommandLineAdapter2-28723958> ##[DEBUG]## RcvBufferSize=8192
[2007-08-28 14:30:52.668] ALL 000000000000 GLOBAL_SCOPE <CmdLine2Impl-CommandLineAdapter2-28723958> ##[DEBUG]## SndBufferSize=8192
[2007-08-28 14:30:52.668] ALL 000000000000 GLOBAL_SCOPE <CmdLine2Impl-CommandLineAdapter2-28723958> ##[DEBUG]## SO_LINGER=-1
[2007-08-28 14:30:52.668] ALL 000000000000 GLOBAL_SCOPE <CmdLine2Impl-CommandLineAdapter2-28723958> ##[DEBUG]## SO_TIMEOUT=60000
[2007-08-28 14:30:52.668] ALL 000000000000 GLOBAL_SCOPE <CmdLine2Impl-CommandLineAdapter2-28723958> ##[DEBUG]## SO_KEEPALIVE=true
[2007-08-28 14:30:52.668] ALL 000000000000 GLOBAL_SCOPE <CmdLine2Impl-CommandLineAdapter2-28723958> ##[DEBUG]## TCP_NODELAY=false
[2007-08-28 14:30:52.668] ALL 000000000000 GLOBAL_SCOPE <CmdLine2Impl-CommandLineAdapter2-28723958> ##[DEBUG]## Sending CmdLine2Parms object
[2007-08-28 14:30:52.683] ALL 000000000000 GLOBAL_SCOPE <CmdLine2Impl-CommandLineAdapter2-28723958> ##[DEBUG]## Waiting for reply
[2007-08-28 14:30:52.683] ALL 000000000000 GLOBAL_SCOPE <CmdLine2Impl-CommandLineAdapter2-28723958> ##[DEBUG]## Reply=READY
[2007-08-28 14:30:52.683] ALL 000000000000 GLOBAL_SCOPE <CmdLine2Impl-CommandLineAdapter2-28723958> ##[DEBUG]## Streaming document to remote
[2007-08-28 14:30:52.683] ALL 000000000000 GLOBAL_SCOPE <CmdLine2Impl-CommandLineAdapter2-28723958> ##[DEBUG]## Waiting for reply
[2007-08-28 14:30:52.683] ALL 000000000000 GLOBAL_SCOPE <CmdLine2Impl-CommandLineAdapter2-28723958> ##[DEBUG]## Reply=RESULT
[2007-08-28 14:30:52.683] ALL 000000000000 GLOBAL_SCOPE <CmdLine2Impl-CommandLineAdapter2-28723958> ##[DEBUG]## Processing result
[2007-08-28 14:30:52.699] ALL 000000000000 GLOBAL_SCOPE <CmdLine2Impl-CommandLineAdapter2-28723958> ##[DEBUG]## CmdLine2Result:
EXCEPTION OCCURRED
fileSize=0
outputNameLong=null
outputNameShort=null
******* end of CmdLine2Result *******
[2007-08-28 14:30:52.699] ERROR 000000000000 GLOBAL_SCOPE <CmdLine2Impl-CommandLineAdapter2-28723958>
##[REMOTE DEBUG]## streamToDisk C:\gnupg\tmp.pgp
##[REMOTE DEBUG]## cmdLine before execution=gpg --verify C:\gnupg\tmp.pgp
##[REMOTE DEBUG]## parm0=gpg
##[REMOTE DEBUG]## parm1=--verify
##[REMOTE DEBUG]## parm2=C:\gnupg\tmp.pgp
Exception in CmdLine2Thread
java.io.IOException: CreateProcess: gpg --verify C:\gnupg\tmp.pgp error=2
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Win32Process.java:68)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:566)
at com.sterlingcommerce.woodstock.services.cmdline2.CmdLine2Thread.runCommand(CmdLi ne2Thread.java:378)
at com.sterlingcommerce.woodstock.services.cmdline2.CmdLine2Thread.run(CmdLine2Thre ad.java:128)

[{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Historical Number

TRB1427

Document Information

More support for:
IBM Sterling B2B Integrator

Software version:
All

Document number:
193499

Modified date:
11 October 2019

UID

swg21561696

Manage My Notification Subscriptions