Advertisement
Guest User

server.xml

a guest
May 25th, 2018
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 3.50 KB | None | 0 0
  1. <server description="JEE6 - New Stack">
  2.  
  3.     <!-- Installed features for new stack -->
  4.     <featureManager>
  5.         <feature>appSecurity-2.0</feature>
  6.         <feature>beanValidation-1.0</feature>
  7.         <feature>cdi-1.0</feature>
  8.         <feature>ejbLite-3.1</feature>
  9.         <feature>jaxrs-1.1</feature>
  10.         <feature>jaxws-2.2</feature>
  11.         <feature>jdbc-4.1</feature>
  12.         <feature>jndi-1.0</feature>
  13.         <feature>jpa-2.0</feature>
  14.         <feature>jsf-2.0</feature>
  15.         <feature>json-1.0</feature>
  16.         <feature>jsonp-1.0</feature>
  17.         <feature>localConnector-1.0</feature>
  18.         <feature>webProfile-6.0</feature>
  19.         <!-- Delete any features that are added after this line -->
  20.     </featureManager>
  21.  
  22.     <!-- To access this server from a remote client add a host attribute to the following element, e.g. host="*" -->
  23.     <httpEndpoint host="*" httpPort="9080" httpsPort="9443" id="defaultHttpEndpoint"/>
  24.     <!-- certificate keystore password to enable HTTPS -->
  25.     <keyStore id="defaultKeyStore" password="changeIt"/>
  26.    
  27.     <!-- Instead of using polling, let Eclipse publish application changes. -->
  28.     <!-- Comment out this line if you are using IntelliJ -->
  29.     <applicationMonitor updateTrigger="mbean"/>
  30.  
  31.     <!-- Configure Server and JPA logging -->
  32.     <logging consoleLogLevel="INFO" traceFileName="stdout" traceFormat="BASIC" traceSpecification="*=info:openjpa.jdbc.SQL=all"/>
  33.    
  34.     <!-- JDBC jar libs on network. For working offline,
  35.          copy these libraries to your hard drive and update the path. -->
  36.     <library id="db2libs">
  37.         <fileset dir="G:\_java\liberty\libs\db2" includes="*.jar"/>
  38.     </library>
  39.     <library id="oralibs">
  40.         <fileset dir="G:\_java\liberty\libs\oracle" includes="*.jar"/>
  41.     </library> 
  42.  
  43.     <!-- Sample database user config -->
  44.     <!--
  45.         <authData id="ora_user_1" user="user" password="secret" />
  46.      -->
  47.      
  48.     <!-- Shared DB users (e.g. db2unit, ...) -->
  49.     <include location="G:\_java\liberty\auth\users.xml"/>
  50.  
  51.     <!-- Local users -->
  52.     <basicRegistry id="basic" realm="customRealm">
  53.         <user name="user" password="user"/>
  54.         <user name="admin" password="admin"/>
  55.     </basicRegistry>
  56.  
  57.     <!-- Sample DB2 datasource config -->
  58.     <!--
  59.         <dataSource containerAuthDataRef="db2unit" id="scfreplsteeringmw_db2_repld001" isolationLevel="TRANSACTION_READ_COMMITTED" jndiName="jdbc/scfreplsteeringmw_db2_repld001_default" type="javax.sql.XADataSource">
  60.             <jdbcDriver libraryRef="db2libs"/>
  61.             <properties.db2.jcc currentSchema="REPLD001" databaseName="DB2T" portNumber="1446" serverName="svmfdb2t"/>
  62.         </dataSource>  
  63.      -->
  64.    
  65.     <!-- Sample Oracle datasource config -->   
  66.     <!--
  67.         <dataSource containerAuthDataRef="ora_user_1" id="acnt_datasource" jndiName="jdbc/biservicelayermw_ora_acnt" type="javax.sql.XADataSource">
  68.             <jdbcDriver libraryRef="oralibs"/>
  69.             <properties.oracle URL="jdbc:oracle:thin:@//dbsrvoractc32:1521/oractc32"/>
  70.         </dataSource>
  71.      -->
  72.      
  73.     <!-- After deploying, add a security role config to your application,                
  74.          Example configuration:
  75.          
  76.        <application id="scfreplsteeringEAR" location="scfreplsteeringEAR.ear" name="scfreplsteeringEAR" type="ear">
  77.             <application-bnd>
  78.                 <security-role name="default">
  79.                     <special-subject type="ALL_AUTHENTICATED_USERS"/>
  80.                 </security-role>
  81.             </application-bnd>
  82.         </application>
  83.  <include location="C:\eclipse o2 workspace\websiterecmw\liberty.xml"/>
  84.  <enterpriseApplication id="websiterecmwear" location="websiterecmwear.ear" name="websiterecmwear"/>
  85.     -->
  86.  
  87.  
  88.  <include location="C:\eclipse o2 workspace\priceproductmgmt\liberty.xml"/>
  89. </server>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement