----- I am using bin/geronimo.sh to start.

----- I edited var/config/plugin-repositories.properties
Remove the http\://localhost\:8080 ...  but it still fails
Replace the http\://localhost\:8080 ... with http\://localhost\:8080/plugin/maven-repo/=system\=manager  but it still fails

-----  My environment variables are:
JRE_HOME=/usr/lib/jvm/java-6-sun-1.6.0.24/jre
PATH=/usr/lib/jvm/java-6-sun/jre/bin:/usr/lib/jvm/java-6-sun-1.6.0.24/bin:/usr/local/apache-maven/apache-maven-2.0.11/bin:/home/jerome/qtsdk-2010.05/qt/bin:/home/jerome/bin:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/bin:/usr/lib/jvm/java-6-sun-1.6.0.24/bin:/home/jerome/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/jerome/qtsdk-2010.05/qt/bin:/usr/local/apache-maven/apache-maven-2.0.11/bin
JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.24/jre

----- jar -tvf jce.jar
   6399 Thu Jul 27 16:03:42 PDT 2006 META-INF/MANIFEST.MF
  6305 Thu Jul 27 16:03:42 PDT 2006 META-INF/JCE_RSA.SF
  2015 Thu Jul 27 16:03:42 PDT 2006 META-INF/JCE_RSA.RSA
     0 Thu Jul 27 16:03:26 PDT 2006 META-INF/
     0 Thu Jul 27 16:03:24 PDT 2006 javax/
     0 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/
     0 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/interfaces/
   210 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/interfaces/DHKey.class
   330 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/interfaces/DHPublicKey.class
   332 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/interfaces/DHPrivateKey.class
   333 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/interfaces/PBEKey.class
   232 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/SecretKey.class
     0 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/spec/
   670 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/spec/DHParameterSpec.class
  1923 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/spec/DESKeySpec.class
   831 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/spec/IvParameterSpec.class
  1100 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/spec/RC2ParameterSpec.class
  1293 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/spec/RC5ParameterSpec.class
   910 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/spec/DESedeKeySpec.class
   436 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/spec/DHGenParameterSpec.class
   611 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/spec/DHPrivateKeySpec.class
   570 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/spec/DHPublicKeySpec.class
  1438 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/spec/PBEKeySpec.class
   506 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/spec/PBEParameterSpec.class
  1686 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/spec/SecretKeySpec.class
   627 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/spec/PSource$PSpecified.class
   527 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/spec/PSource.class
  1610 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/spec/OAEPParameterSpec.class
 16346 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/Cipher.class
 12416 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/SunJCE_b.class
   797 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/SunJCE_b$2.class
  6350 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/SunJCE_c.class
  1178 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/SunJCE_c$1.class
  3616 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/SunJCE_d.class
  6310 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/SunJCE_e.class
   767 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/SunJCE_e$o.class
   831 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/SunJCE_e$p.class
   933 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/SunJCE_e$q.class
  3233 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/SunJCE_f.class
  1066 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/SunJCE_g.class
  2366 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/Cipher$r.class
  3318 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/CipherSpi.class
  3298 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/SunJCE_h.class
  3275 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/ExemptionMechanism.class
   369 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/ShortBufferException.class
   371 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/NoSuchPaddingException.class
   376 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/ExemptionMechanismException.class
  1850 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/CipherInputStream.class
  1270 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/CipherOutputStream.class
  5726 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/KeyAgreement.class
   864 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/KeyAgreementSpi.class
  4398 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/KeyGenerator.class
   529 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/KeyGeneratorSpi.class
  5886 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/Mac.class
  1241 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/MacSpi.class
  3712 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/SecretKeyFactory.class
   617 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/SecretKeyFactorySpi.class
  1320 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/NullCipherSpi.class
  5089 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/EncryptedPrivateKeyInfo.class
  1044 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/SunJCE_i.class
   755 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/ExemptionMechanismSpi.class
  4008 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/SealedObject.class
   374 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/IllegalBlockSizeException.class
   368 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/BadPaddingException.class
   308 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/NullCipher.class
   383 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/SunJCE_c$s.class
   825 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/SunJCE_j.class
  5996 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/SunJCE_b$1.class
   436 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/SunJCE_h$1.class
   795 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/SunJCE_k.class
   958 Thu Jul 27 16:03:24 PDT 2006 javax/crypto/SunJCE_l.class
     0 Thu Jul 27 16:03:24 PDT 2006 sun/
     0 Thu Jul 27 16:03:24 PDT 2006 sun/security/
     0 Thu Jul 27 16:03:24 PDT 2006 sun/security/internal/
     0 Thu Jul 27 16:03:24 PDT 2006 sun/security/internal/interfaces/
   380 Thu Jul 27 16:03:24 PDT 2006 sun/security/internal/interfaces/TlsMasterSecret.class
     0 Thu Jul 27 16:03:24 PDT 2006 sun/security/internal/spec/
  1223 Thu Jul 27 16:03:24 PDT 2006 sun/security/internal/spec/TlsPrfParameterSpec.class
   729 Thu Jul 27 16:03:24 PDT 2006 sun/security/internal/spec/TlsRsaPremasterSecretParameterSpec.class
  1447 Thu Jul 27 16:03:24 PDT 2006 sun/security/internal/spec/TlsMasterSecretParameterSpec.class
  2293 Thu Jul 27 16:03:24 PDT 2006 sun/security/internal/spec/TlsKeyMaterialParameterSpec.class
  1987 Thu Jul 27 16:03:24 PDT 2006 sun/security/internal/spec/TlsKeyMaterialSpec.class


-- Jerome



From: kevan [via Apache Geronimo] [ml-node+[hidden email]]
Sent: Monday, May 09, 2011 3:36 PM
To: Jerome Garcia
Subject: Re: ERROR [AbstractEncryption] Unable to decrypt


On May 9, 2011, at 4:30 PM, jeromeernestgarcia wrote:

> I am also seeing the "Unable to decrypt" failure when starting Geronimo. I
> would appreciate any possible help. Here is a snip from the geronimo.log
> file:

How are you starting geronimo? (e.g. bin/geronimo.sh run)

What is your JAVA_HOME / JRE_HOME environment setting?

Is the jar /usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/jce.jar a valid jar file?

I'm running fine with java-6-sun-1.6.0.22 on ubuntu. JAVA_HOME=/usr/lib/jvm/java-6-sun/

I'm guessing that if you edit var/config/plugin-repositories.properties and remove the line starting with http\://localhost\:8080 ... this particular error will go away. However, seems like some basic configuration problem exists.

Would like to get to the bottom of this issue. If somebody has an environment on which they can recreate this and is willing to spend a little time with it, would be nice...

--kevan


If you reply to this email, your message will be added to the discussion below:
http://apache-geronimo.328035.n3.nabble.com/ERROR-AbstractEncryption-Unable-to-decrypt-tp445727p2920869.html
To unsubscribe from ERROR [AbstractEncryption] Unable to decrypt, click here.


View this message in context: RE: ERROR [AbstractEncryption] Unable to decrypt
Sent from the Users mailing list archive at Nabble.com.