Re: Camel 2.13.0 PGP encryption issue

2014-11-09 Thread vincent.wong
It works fine if I run it using maven: D:\Development\Java\>"D:\development\apache-maven-3.2.3\bin\mvn.bat" -Dexec.args="-Djava.net.preferIPv4Stack=true -classpath %classpath au.com...App" -Dexec.executable="C:\Program Files\Java\jdk1.8.0\bin\java.exe"-Dfile.encoding=UTF-8 org.codehaus.

Camel 2.13.0 PGP encryption issue

2014-11-09 Thread vincent.wong
Hello, I am trying to transfer file from one folder to another using camel with PGP encryption(using Camel-Crypto extension). It compiles fine but unfortunately when I run it as a service, it keeps producing the following error: Stacktrace -