Dashboard > Penrose 1.0 > ... > Penrose Server User Guide > System Properties
System Properties
Added by Endi S. Dewata, last edited by Endi S. Dewata on May 12, 2006  (view change)
Labels: 
(None)


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>

Site running on a free Atlassian Confluence Open Source Project License granted to Safehaus. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators