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.
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)
Log InLog in to view more of this document
Historical Number
TRB1427
Was this topic helpful?
Document Information
Modified date:
11 October 2019
UID
swg21561696