[jira] [Closed] (GERONIMO-5142) runtime errors if JAVA_HOME or JRE_HOME is not specified
"Mark Struberg (Jira)" <[email protected]> Mon, 4 May 2026 06:06:00 +0000 (UTC)
| Newsgroups | gmane.comp.java.geronimo.devel |
|---|---|
| Message-ID | <[email protected]> |
[ https://issues.apache.org/jira/browse/GERONIMO-5142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Struberg closed GERONIMO-5142.
-----------------------------------
Resolution: Won't Fix
Closing old outdated issues.
Note that the Apache Geronimo Application Server itself was declared EOL in 2017 and we do not maintain the server parts anymore.
We still do actively maintain many of the Java EE / Jakarta EE which saw the light during creation of the Apache Geronimo Aplication Server.
If you feel that this ticket still affects one of those components then please feel free to reopen the ticket.
thanks, your Apache Geronimo team!
> runtime errors if JAVA_HOME or JRE_HOME is not specified
> --------------------------------------------------------
>
> Key: GERONIMO-5142
> URL: https://issues.apache.org/jira/browse/GERONIMO-5142
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Affects Versions: 2.1.4, 2.2
> Reporter: Kevan Lee Miller
> Priority: Major
> Fix For: Wish List
>
> Attachments: geronimo.sh, setjavaenv.sh
>
>
> setjavaenv.sh used to require JAVA_HOME or JRE_HOME to be specified. Looks like it was updated to look for a java runtime in the PATH, and use that, if the environment variables weren't specified.
> On Mac OS, at least, this doesn't work. JAVA_HOME/JRE_HOME are used to set other variables. Namely EXT_DIRS and ENDORSED_DIRS. They aren't set properly, if JAVA_HOME/JRE_HOME aren't set. This causes runtime errors:
> Module 19/70 org.apache.geronimo.configs/openejb/2.1.4/car
> 2010-02-11 09:48:23,404 ERROR [SimpleEncryption] 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:109)
> ...
--
This message was sent by Atlassian Jira
(v8.20.10#820010)