...
Anchor
Running Geronimo on Harmony
...
For that, edit var/config/config.xml
file, adjust NamingProperties GBean configuration as follows:
...
...
Use TLS instead of SSL
Harmony doesn't have SSL implementation (see HARMONY-5191), so the following statements have to be added to var/config/config.xml
file to instruct Geronimo to use TLS instead of SSL:
...
Change default keystore type
...
To instruct Geronimo to use alternate keystore, copy your keystore file to var/security/keystores/
directory and add the following to var/config/config.xml
file:
...
...
Alternatively, you may just overwrite you keystore file over the var/security/keystores/geronimo-default
, then you may omit the keystorePath
tag in the config. However, this is not recommended, as you may need the original keystore if you need to run your Geronimo installation on Sun Java. If you decide to overwrite, don't forget to backup your original keystore. Just in case you have no backup and need the original keystore, you may use the one attached to this article, just in case: geronimo.jks.
...
Your final startup line may look like this:
...
...
java -Xms256M -Xmx512M -Djava.endorsed.dirs=lib/endorsed -Dopenejb.jndiname.failoncollision=true -Dopenejb.jndiname.format={ejbName} -Dhttp.proxyHost=your.proxy -Dhttp.proxyPort=8080 -jar bin/server.jar
...
Configure Deployer to use Harmony RMI Registry provider for JNDI
The Geronimo Deployer doesn't use the var/config/config.xml
file (see above), so the JNDI configuration needs to be supplied through the system properties, like this:
...
...
java -Djava.naming.factory.url.pkgs=org.apache.harmony.jndi.provider -jar bin/deployer.jar ...
...
Harmony configuration
Use DRLVM
...