Skip to content

Instantly share code, notes, and snippets.

@Eng-Fouad
Created August 3, 2018 13:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Eng-Fouad/7072fb43240c33b7608c8314ffa47cb4 to your computer and use it in GitHub Desktop.
Save Eng-Fouad/7072fb43240c33b7608c8314ffa47cb4 to your computer and use it in GitHub Desktop.
typical wlp server.xml
<?xml version="1.0" encoding="UTF-8"?>
<server description="new server">
<featureManager>
<feature>transportSecurity-1.0</feature>
<feature>jaxrs-2.1</feature>
<feature>jpa-2.2</feature>
<feature>cdi-2.0</feature>
</featureManager>
<httpEndpoint id="defaultHttpEndpoint"
host="*"
httpPort="-1"
httpsPort="443"/>
<keyStore id="defaultKeyStore"
location="${server.config.dir}/resources/security/key.p12"
type="PKCS12" password="{xor}*****"
pollingRate="5s"
updateTrigger="polled" />
<ssl id="defaultSSLConfig"
keyStoreRef="defaultKeyStore"
sslProtocol="TLS"/>
<webApplication contextRoot="/" location="/Users/fouad/IdeaProjects/hajj_hackathon/build/libs/hajj_hackathon-1.0.0.war"/>
<library id="mysql_driver">
<fileset dir="${server.config.dir}/libs/mysql-driver" includes="*.jar" scanInterval="5s"/>
</library>
<dataSource id="DefaultDataSource" jndiName="jdbc/mysql">
<jdbcDriver libraryRef="mysql_driver"/>
<connectionManager numConnectionsPerThreadLocal="10" id="ConnectionManager" minPoolSize="1"/>
<properties serverName="localhost" databaseName="hajj_hackathon" portNumber="3306" user="root" password="*******"/>
</dataSource>
</server>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment