server.xml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <server description="new server">
  3. <!-- Enable features -->
  4. <featureManager>
  5. <feature>javaee-7.0</feature>
  6. </featureManager>
  7. <!-- This template enables security. To get the full use of all the capabilities, a keystore and user registry are required. -->
  8. <!-- For the keystore, default keys are generated and stored in a keystore. To provide the keystore password, generate an
  9. encoded password using bin/securityUtility encode and add it below in the password attribute of the keyStore element.
  10. Then uncomment the keyStore element. -->
  11. <!--
  12. <keyStore password=""/>
  13. -->
  14. <!--For a user registry configuration, configure your user registry. For example, configure a basic user registry using the
  15. basicRegistry element. Specify your own user name below in the name attribute of the user element. For the password,
  16. generate an encoded password using bin/securityUtility encode and add it in the password attribute of the user element.
  17. Then uncomment the user element. -->
  18. <basicRegistry id="basic" realm="BasicRealm">
  19. <!-- <user name="yourUserName" password="" /> -->
  20. </basicRegistry>
  21. <!-- To access this server from a remote client add a host attribute to the following element, e.g. host="*" -->
  22. <httpEndpoint id="defaultHttpEndpoint"
  23. httpPort="9080"
  24. httpsPort="9443" />
  25. <!-- Automatically expand WAR files and EAR files -->
  26. <applicationManager autoExpand="true"/>
  27. <!-- Default SSL configuration enables trust for default certificates from the Java runtime -->
  28. <ssl id="defaultSSLConfig" trustDefaultCerts="true" />
  29. </server>