Skip to content

Instantly share code, notes, and snippets.

@nacho4d nacho4d/server.xml
Last active Aug 29, 2016

What would you like to do?
My server.xml
<server description="Liberty beta">
<!-- To enable Swagger -->
<!-- Default stuff -->
<!-- The following features are new and in beta! -->
<!-- The following features are already available and have beta enhancements to them -->
<!-- This template enables security necessary for Admin Center and some beta features.
To get the full use of all the capabilities, a keystore and user registry are required. -->
<!-- To access this server from a remote client add a host attribute to the
httpEndpoint element, e.g. host="*" -->
<httpEndpoint httpPort="9080" httpsPort="9443" id="defaultHttpEndpoint"/>
<!-- Automatically expand WAR files and EAR files -->
<applicationManager autoExpand="true"/>
<!-- This is sample configuration for the bluemixLogCollector-1.1 feature -->
<keyStore id="javaKeyStore" location="${java.home}/lib/security/cacerts" password="changeit" />
<ssl id="mySSLConfig" trustStoreRef="javaKeyStore" keyStoreRef="defaultKeyStore" />
<!-- This is sample configuration for the logstashCollector-1.1 feature -->
<logstashCollector sslRef="testSSLConfig" hostName="localhost" port="46000" >
<source>ffdc </source>
<!-- This is sample configuration for the cloudant-1.0 feature -->
<cloudant jndiName="cloudant/testDB” libraryRef="cloudantLib"
url="” containerAuthDataRef="cadr" />
<authData id="cadr" user="" password="" />
<library id="cloudantLib">
<fileset dir="${server.config.dir}/lib"
includes="cloudant-client-2.2.0.jar commons-codec-1.6.jar commons-io-2.4.jar gson-2.2.4.jar" />
<webApplication id="SomeApp" location="SomeApp.war" name="SomeApp"/>
<applicationMonitor updateTrigger="mbean"/>
<keyStore id="defaultKeyStore" password="{xor}NDomDCswLToPKDs=" /> <!-- password="keyStorePwd" -->
<user name="admin" password="{xor}PjsyNjE="/> <!-- password=admin -->
<user name="member" password="{xor}MjoyPTot"/> <!-- password=member -->
<group name="admins">
<member name="admin"/>
<group name="members">
<member name="member"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.