Sounds to me this is not correct setting: Using JRE_HOME: c:\Program files\Java\jdk1.6.0_21
That directory should be a jdk home, not the jre home. Forrest 2011/3/29 Forrest Xia <forres...@gmail.com> > This problem is properly caused by improper java.home settings in your OS > environment. Can you print your ENV settings here? > > Use the command like this: > > C:\> set | findstr JAVA_HOME > > Forrest > > 2011/3/26 K. T. Schnikow <schni...@seznam.cz> > > I've solved the same problem under Linux. I use JRE instead of JDK to run >> Geronimo and it works. (I'm using Geronimo 2.2 now.) >> >> (See >> Stackoverflow.com<http://stackoverflow.com/questions/5146746/can-not-run-apache-geronimo-3-on-winxp/5441213#5441213> >> .) >> >> -------- Původní zpráva -------- Předmět: >> java.security.NoSuchAlgorithmException >> on Windows Datum: Fri, 25 Feb 2011 18:29:27 +0100 Od: K. T. Schnikow >> <schni...@seznam.cz> <schni...@seznam.cz> Komu: user@geronimo.apache.org >> >> Hi dears, >> >> >> I have got a java.security.NoSuchAlgorithmException when I'm trying to >> run Geronimo 3.0-M1 (with Tomcat) on Windows XP via bin/geronino run >> command. There is reportedly not any AES implementation. But if I try >> run simple application using AES, it works. I had a look on Internet, >> but nothing have found. Geronimo output follows. >> >> With best regards >> >> K. T. Schnikow >> Barbucha.eu >> _______________________ >> >> C:\g\bin>geronimo run >> Using GERONIMO_HOME: C:\g >> Using GERONIMO_TMPDIR: var\temp >> Using JRE_HOME: c:\Program files\Java\jdk1.6.0_21 >> >> ______ _ >> / ____/___ _________ ____ (_)____ ___ ____ >> / / __ / _ \/ ___/ __ \/ __ \/ // __ `__ \/ __ \ >> / /_/ // __/ / / /_/ / / / / // / / / / / /_/ / >> \____/ \___/_/ \____/_/ /_/_//_/ /_/ /_/\____/ >> >> Apache Geronimo (3.0-M1) >> >> Hit '<tab>' for a list of available commands >> and '[cmd] --help' for help on a specific command. >> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Geronimo. >> >> geronimo> Booting Geronimo Kernel (in Java 1.6.0_21)... >> Starting Geronimo Application Server v3.0-M1 >> [**** ] 12% 0s Loading >> org.apache.ger...2011-02-25 18:23:33,000 ERROR [AbstractEncryption] >> Unable to decrypt >> java.security.NoSuchAlgorithmException: Cannot find any provider >> supporting AES >> at javax.crypto.Cipher.getInstance(DashoA13*..) >> at >> org.apache.geronimo.crypto.AbstractEncryption.decrypt(AbstractEncryption.java:74) >> at >> org.apache.geronimo.crypto.EncryptionManager.decrypt(EncryptionManager.java:108) >> at >> org.apache.geronimo.system.plugin.PluginRepositoryDownloader.loadUserRepositories(PluginRepositoryDownloader.java:122) >> at >> org.apache.geronimo.system.plugin.PluginRepositoryDownloader.<init>(PluginRepositoryDownloader.java:80) >> at >> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) >> at >> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) >> 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:917) >> 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.GBeanInstanceState.startRecursive(GBeanInstanceState.java:125) >> at >> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:544) >> at >> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386) >> at >> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:461) >> at >> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:224) >> at >> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:698) >> at >> org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:189) >> at >> org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:88) >> at >> org.apache.geronimo.system.osgi.BootActivator$1.execute(BootActivator.java:107) >> at >> org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:65) >> at >> org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) >> at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:32) >> >> >