Using gnupgjava on Weblogic results in com.freiheit.gnupg.GnuPGException: General error
f2racer
wang_teddy at emc.com
Wed Jun 11 21:33:06 CEST 2008
I can create a simple Java application and call it from the command line
fine, but when I try to run it from Weblogic 10 MP1, I get the following
error:
####<Jun 11, 2008 11:50:20 AM EDT> <Error> <HTTP> <linuxvmdev.mycompany.com>
<AdminServer> <[ACTIVE] ExecuteThread: '0' for queue:
'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <>
<1213199420802> <BEA-101017>
<[weblogic.servlet.internal.WebAppServletContext at 2d9c071 - appName: 'myApp',
name: 'myapp', context-path: '/myapp'] Root cause of ServletException.
com.freiheit.gnupg.GnuPGException: General error
at com.freiheit.gnupg.GnuPGKey.gpgmeGetKey(Native Method)
at com.freiheit.gnupg.GnuPGKey.<init>(GnuPGKey.java:39)
at
com.freiheit.gnupg.GnuPGContext.getKeyByFingerprint(GnuPGContext.java:200)
at
com.mycompany.myapp.integration.GpgEncryption.encrypt(GpgEncryption.java:66)
at
com.mycompany.myapp.integration.IntegrationHelper.processPayload(IntegrationHelper.java:267)
at
com.mycompany.myapp.integration.IntegrationHelper.buildPayload(IntegrationHelper.java:117)
at integration.ifi.IfiController.begin(IfiController.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
Any help would be greatly appreciated.
Thanks!
--
View this message in context: http://www.nabble.com/Using-gnupgjava-on-Weblogic-results-in-com.freiheit.gnupg.GnuPGException%3A-General-error-tp17785418p17785418.html
Sent from the GnuPG - Dev mailing list archive at Nabble.com.
More information about the Gnupg-devel
mailing list