viviotech / lucee-installer

BitRock Installer XML config and files for the Lucee installers
http://lucee.viviotech.net/
9 stars 2 forks source link

Lucee installer references Railo in web.xml #69

Closed bdw429s closed 9 years ago

bdw429s commented 9 years ago

The default web.xml file installed with Lucee still has Railo references in the setting names and java class paths. I assume it works only because Lucee still has compatibility classes in place that exist in the old railo namespace.

Here is an excerpt, but not all of the Railo references:

  <!-- ===================================================================== -->
  <!-- Railo CFML Servlet - this is the main Railo servlet                   -->
  <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
  <servlet id="Railo">
    <description>Railo CFML Engine</description>
    <servlet-name>CFMLServlet</servlet-name>
    <servlet-class>railo.loader.servlet.CFMLServlet</servlet-class>
    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
    <!-- to specify the location of the Railo Server config and libraries,   -->
    <!-- uncomment the init-param below.  make sure that the param-value     -->
    <!-- points to a valid folder, and that the process that runs Railo has  -->
    <!-- write permissions to that folder.  leave commented for defaults.    -->
    <!--
    <init-param>
      <param-name>railo-server-directory</param-name>
      <param-value>/var/Railo/config/server/</param-value>
      <description>Railo Server configuration directory (for Server-wide configurations, settings, and libraries)</description>
    </init-param>
    !-->
    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
    <!-- to specify the location of the Web Contexts' config and libraries,  -->
    <!-- uncomment the init-param below.  make sure that the param-value     -->
    <!-- points to a valid folder, and that the process that runs Railo has  -->
    <!-- write permissions to that folder.  the {web-context-label} can be   -->
    <!-- set in Railo Server Admin homepage.  leave commented for defaults.  -->
    <!--
    <init-param>
      <param-name>railo-web-directory</param-name>
      <param-value>/var/Railo/config/web/{web-context-label}/</param-value>
      <description>Railo Web Directory (for Website-specific configurations, settings, and libraries)</description>
    </init-param>
    !-->
    <load-on-startup>1</load-on-startup>
  </servlet>
utdream commented 9 years ago

Corrected to Lucee 4.5.1.022 pl0

bdw429s commented 9 years ago

Awesome! Do you know what the "pl0" stands for in all the installer names? @utdream

bdw429s commented 9 years ago

Wait, it just occurred to me that it's "patch level 0" since I just saw you say the words "patch level 1" in another ticket. Is that so you can have more than one version of the installer that installs the same version of Lucee, but the installer itself has differences?

utdream commented 9 years ago

Yep. Exactly right! I needed a way to differentiate installers that had issues with installers that were the same Lucee version that I fixed issues with - so I just started adding 'plN' (patch level number) to the installer names. The patch level resets to 0 whenever the Lucee version number changes. :)