Create a gist now

Instantly share code, notes, and snippets.

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

What would you like to do?
My server.xml
<server description="Liberty beta">
<featureManager>
<!-- To enable Swagger -->
<feature>apiDiscovery-1.0</feature>
<!-- Default stuff -->
<feature>webProfile-7.0</feature>
<feature>adminCenter-1.0</feature>
<!-- The following features are new and in beta! -->
<feature>bluemixLogCollector-1.1</feature>
<feature>cloudant-1.0</feature>
<feature>logstashCollector-1.1</feature>
<!-- The following features are already available and have beta enhancements to them -->
<feature>batchManagement-1.0</feature>
<feature>bluemixUtility-1.0</feature>
<feature>localConnector-1.0</feature>
</featureManager>
<!-- 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" />
<bluemixLogCollector
source="message,trace,garbageCollection,ffdc,accessLog"
hostName="logs.opvis.bluemix.net"
port="9091"
tenant="your_logmet_space_Id"
password="your_logmet_logging_token"
sslRef="mySSLConfig"
/>
-->
<!-- This is sample configuration for the logstashCollector-1.1 feature -->
<!--
<logstashCollector sslRef="testSSLConfig" hostName="localhost" port="46000" >
<source>accesslog</source>
<source>message</source>
<source>logs</source>
<source>ffdc </source>
<source>trace</source>
<source>garbageCollection</source>
</logstashCollector>
-->
<!-- This is sample configuration for the cloudant-1.0 feature -->
<!--
<cloudant jndiName="cloudant/testDB” libraryRef="cloudantLib"
url="http://example.com:5984” 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" />
</library>
-->
<webApplication id="SomeApp" location="SomeApp.war" name="SomeApp"/>
<applicationMonitor updateTrigger="mbean"/>
<keyStore id="defaultKeyStore" password="{xor}NDomDCswLToPKDs=" /> <!-- password="keyStorePwd" -->
<basicRegistry>
<user name="admin" password="{xor}PjsyNjE="/> <!-- password=admin -->
<user name="member" password="{xor}MjoyPTot"/> <!-- password=member -->
<group name="admins">
<member name="admin"/>
</group>
<group name="members">
<member name="member"/>
</group>
</basicRegistry>
</server>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment