can anyone help correct this configuration that so that it would be professionally correct as a j2ee configuration?
 
 <!--StartFragment-->-------------- server.xml ----------------------------------

<application-server
   application-directory="../applications"
   deployment-directory="../application-deployments" >

   <rmi-config path="./rmi.xml" />
   <!-- JMS-server config link, uncomment to activate the JMS service -->
   <!-- <jms-config path="./jms.xml" /> -->
   <principals path="./principals.xml" />

   <log>
      <file path="../log/server.log" />
   </log>

   <global-application name="default" path="application.xml" />
   <!-- application name="cais" path="/u/build/release/cais.ear" / -->
   <application name="cais" path="../applications/cais.ear" />
   <web-site path="./cais-web-site.xml" />

   <global-web-app-config path="global-web-application.xml" />
   <web-site path="./default-web-site.xml" />


   <!-- Compiler, activate this to specify an alternative compiler such
      as jikes for EJB/JSP compiling. -->
   <!-- <compiler executable="jikes" classpath="/myjdkdir/jre/lib/rt.jar" /> -->

</application-server>

--------------- application.xml ----------------------


<!-- The global application config that is the parent of all the other
   applications in this server. -->
<orion-application>

   <web-module id="defaultWebApp" path="../default-web-app" />
   <web-module id="cais" path="../applications" />

   <persistence path="../persistence" />

   <!-- Path to the libraries that are installed on this server.
   These will accesible for the servlets, EJBs etc -->
   <library path="../lib" />

   <log>
      <file path="../log/global-application.log" />
      <file path="../log/default-application.log" />
   </log>

   <data-sources path="data-sources.xml" />

   <namespace-access>
      <read-access>
         <namespace-resource root="">
            <security-role-mapping>
               <group name="administrators" />
            </security-role-mapping>
         </namespace-resource>
      </read-access>
      <write-access>
         <namespace-resource root="">
            <security-role-mapping>
               <group name="administrators" />
            </security-role-mapping>
         </namespace-resource>
      </write-access>
   </namespace-access>
</orion-application>


--------------- cais-web-site.xml ----------------------

<web-site host="[ALL]" port="80" display-name="C.A.I.S">

   <default-web-app application="cais" name="cais-web" />

   <web-app application="cais" name="cais-web" root="/cais" />

   <access-log path="../log/cais-web-access.log" />

</web-site>

--------------- default-web-site.xml ----------------------

<web-site host="[ALL]" port="80" display-name="Default Orion WebSite">
   <!-- The default web-app for this site, bound to the root -->
   <default-web-app application="cais" name="cais-web" />
   <!-- web-app application="cais" name="cais-web" root="/cais" / -->

   <!-- Uncomment this to activate the news app -->
   <!-- <web-app application="news" name="news-web" root="/news" /> -->
   <!-- Access Log, where requests are logged to -->
   <access-log path="../log/default-web-access.log" />

</web-site>
 
Any help much appreciated.


Reply via email to