Depending on how you configure Penrose, you might need to specify some system properties.
For instance, if you use SSL to connect to the datasources, you need to specify javax.net.ssl.keyStore and javax.net.ssl.keyStorePassword system properties. See http://java.sun.com/products/jndi/tutorial/ldap/security/ssl.html
.
There are several ways to specify system properties:
- Set PENROSE_OPTS environment variable. For instance:
export PENROSE_OPTS="-Djavax.net.ssl.keyStore=penrose.keystore -Djavax.net.ssl.keyStorePassword=secret"
- Specify the properties in server.xml. This is the recommended way because the server.xml is editable via Penrose Studio. See the following example:
<server> <system-property> <property-name>javax.net.ssl.keyStore</property-name> <property-value>penrose.keystore</property-value> </system-property> <system-property> <property-name>javax.net.ssl.keyStorePassword</property-name> <property-value>secret</property-value> </system-property> </server>
