[ 
https://issues.apache.org/jira/browse/GERONIMO-6269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13202852#comment-13202852
 ] 

Michael Peoples commented on GERONIMO-6269:
-------------------------------------------

Additional information, may be irrelevant:

I did a fresh install of Geronimo 3.0.1 Beta on my Windows 7 workstation, which 
has JDK 1.6.0_29 installed and properly referenced by JAVA_HOME and JRE_HOME.  
The MD5 checksum of the downloaded file matches the the one on the download 
site.  I used WinZip to unzip the file.

I am getting the same type of message: 

"2012-02-07 16:48:44,070 ERROR [AbstractEncryption] Unable to encrypt 
java.security.NoSuchAlgorithmException: Cannot find any provider supporting AES"

as before.

The reason I mention this is that I might be the root of the problem, even 
though it extends to both Linux and Windows, or the fact that I am having this 
problem may point to the root cause.  Perhaps I'm missing some piece of Java 
software.  

The AES provider file is present at: C:\Program 
Files\Java\jdk1.6.0_29\jre\lib\ext\sunjce_provider.jar.

The question I guess, is why would I have this same issue on several platforms, 
albeit of different types and Geronimo versions?  Surely my case is very 
isolated.  
                
> Geronimo 2.2.1 gives " Cannot find any provider supporting AES" when starting 
> on various Linux platforms
> --------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-6269
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6269
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: startup/shutdown
>    Affects Versions: 2.2.1
>         Environment: Server #1
> =========
> Centos 5 (2.6.18-92.1.22.el5) on x86 hardware
> java version "1.6.0_29"
> Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
> Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02, mixed mode)
> Server #2
> =========
> Red Hat Linux AS 4 (2.6.9-42.ELsmp) on x86 hardware
> ava version "1.6.0_30"
> Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
> Java HotSpot(TM) Client VM (build 20.5-b03, mixed mode, sharing)
> JAVA_HOME=/usr/java/latest
> JRE_HOME=/usr/java/latest
>            Reporter: Michael Peoples
>              Labels: startup
>
> A fresh installation of Geronimo 2.2.1 on both of the above servers results 
> in errors such as the ones listed below.  MD5 checksum matched on the 
> download.
> Other JIRA references (5142 and 5175) to this issue all refer environment 
> settings for JAVA_HOME and JRE_HOME.  Given what I have done to set the 
> JAVA_HOME and JRE_HOME environment variables, I think this may a new or 
> related issue.
> I have tried the following in an attempt to make this work:
> - Explicitly setting JAVA_HOME and JRE_HOME at the command line before 
> attempting to start Geronimo
> - Explicitly setting JAVA_HOME and JRE_HOME in /etc/profile
> - Explicitly setting JAVA_HOME and JRE_HOME in the geronimo.sh file
> - Explicitly setting JAVA_HOME and JRE_HOME in the setjavaenv.sh file
> - Adding "/usr/java/latest" to the PATH
> None of these have any effect on the startup.
> If I execute start-server or startup.sh, I get similar results.
> I then installed the Geronimo 3 beta on the Centos 5 server.  Version 3 did 
> start successfully.
> All of the information I've read keeps pointing to the JAVA_HOME or JAVA_JRE 
> variables, but I would think that my previous attempts above would have 
> eliminated such a simple explanation.
> Output from one of the servers running version 2.2.1:
> ====================================================
> # ./geronimo.sh run
> Using GERONIMO_HOME:   /opt/geronimo
> Using GERONIMO_TMPDIR: var/temp
> Using JRE_HOME:        /usr/java/latest
> Booting Geronimo Kernel (in Java 1.6.0_30)...
> Starting Geronimo Application Server v2.2.1
> [***********                             ]  29%   4s  Loading 
> org.apache.ger...2012-02-07 12:03:33,701 ERROR [AbstractEncryption] Unable to 
> decrypt
> java.io.EOFException
>         at 
> java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2280)
>         at 
> java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2749)
>         at 
> java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780)
>         at java.io.ObjectInputStream.<init>(ObjectInputStream.java:279)
>         at 
> org.apache.geronimo.crypto.AbstractEncryption.decrypt(AbstractEncryption.java:76)
>         at 
> org.apache.geronimo.crypto.EncryptionManager.decrypt(EncryptionManager.java:109)
>         at 
> org.apache.geronimo.gbean.annotation.EncryptionSetting$1.decrypt(EncryptionSetting.java:33)
>         at 
> org.apache.geronimo.system.configuration.GBeanOverride.getValue(GBeanOverride.java:416)
>         at 
> org.apache.geronimo.system.configuration.GBeanOverride.applyOverrides(GBeanOverride.java:367)
>         at 
> org.apache.geronimo.system.configuration.LocalAttributeManager.setAttributes(LocalAttributeManager.java:228)
>         at 
> org.apache.geronimo.system.configuration.LocalAttributeManager.applyOverrides(LocalAttributeManager.java:197)
>         at 
> org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.java:297)
>         at sun.reflect.GeneratedConstructorAccessor20.newInstance(Unknown 
> Source)
>         at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>         at 
> org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:952)
>         at 
> org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276)
>         at 
> org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
>         at 
> org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:911)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:525)
>         at 
> org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.java:359)
>         at 
> org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:163)
>         at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:302)
>         at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:271)
>         at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at 
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:816)
>         at 
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>         at 
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>         at 
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>         at 
> org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$c90f1908.loadConfiguration(<generated>)
>         at 
> org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:201)
>         at 
> org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:87)
>         at 
> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
>         at 
> org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
>         at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
> 2012-02-07 12:03:33,705 ERROR [GBeanInstanceState] Error while starting; 
> GBean is now in the FAILED state: 
> abstractName="org.apache.geronimo.configs/system-database/2.2.1/car?configurationName=org.apache.geronimo.configs/system-database/2.2.1/car"
> java.lang.IllegalArgumentException: input
>         at 
> org.apache.geronimo.system.configuration.condition.JexlExpressionParser.parse(JexlExpressionParser.java:125)
>         at 
> org.apache.geronimo.system.configuration.GBeanOverride.substituteVariables(GBeanOverride.java:449)
>         at 
> org.apache.geronimo.system.configuration.GBeanOverride.getValue(GBeanOverride.java:417)
>         at 
> org.apache.geronimo.system.configuration.GBeanOverride.applyOverrides(GBeanOverride.java:367)
>         at 
> org.apache.geronimo.system.configuration.LocalAttributeManager.setAttributes(LocalAttributeManager.java:228)
>         at 
> org.apache.geronimo.system.configuration.LocalAttributeManager.applyOverrides(LocalAttributeManager.java:197)
>         at 
> org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.java:297)
>         at sun.reflect.GeneratedConstructorAccessor20.newInstance(Unknown 
> Source)
>         at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>         at 
> org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:952)
>         at 
> org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276)
>         at 
> org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
>         at 
> org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:911)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:525)
>         at 
> org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.java:359)
>         at 
> org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:163)
>         at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:302)
>         at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:271)
>         at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at 
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:816)
>         at 
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>         at 
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>         at 
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>         at 
> org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$c90f1908.loadConfiguration(<generated>)
>         at 
> org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:201)
>         at 
> org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:87)
>         at 
> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
>         at 
> org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
>         at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
> [***********                             ]  29%   4s Startup failed
> org.apache.geronimo.kernel.config.LifecycleException: load of 
> org.apache.geronimo.configs/system-database/2.2.1/car failed
>         at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:316)
>         at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:271)
>         at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at 
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:816)
>         at 
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>         at 
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>         at 
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>         at 
> org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$c90f1908.loadConfiguration(<generated>)
>         at 
> org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:201)
>         at 
> org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:87)
>         at 
> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
>         at 
> org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
>         at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Error 
> starting configuration gbean 
> org.apache.geronimo.configs/system-database/2.2.1/car
>         at 
> org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:183)
>         at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:302)
>         ... 16 more
> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: 
> Configuration gbean failed to start 
> org.apache.geronimo.configs/system-database/2.2.1/car
> reason: input
>         at 
> org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:166)
>         ... 17 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to