[frs-165] FusionReactor doesn’t find my JRun4 servers.

Having the server instances under a different directory then jrun4servers is (currently) not supported by the InstanceManager, so if you are using a different directory (such as a subdirectory) then the server will not be automatically found.

In order to run FusionReactor on these server instances you have to do a manual install and then add them using the Enterprise Dashboard->Manage Servers page.

To manually install an instance of FusionReactor do the following:

  1. Create a directory for the new instance (replace [instance name] with the name you want to give the instance) in the FusionReactor instance directory
        mkdir FusionReactorinstance[instance name]conf
    
  2. Copy the template FusionReactor property file to the conf directory
        copy FusionReactoretcconfreactor.conf 
            FusionReactorinstance[instance name]conf
    
  3. Edit the property file and adjust the properties
    crashprotection.logfile=C:/FusionReactor/instance/default/log/crashprotection.log
    jdbc.logfile=C:/FusionReactor/instance/default/log/jdbc.log
    logfile=C:/FusionReactor/instance/default/log/reactor.log
    name=default
    request.logfile=C:/FusionReactor/instance/default/log/request.log
    resource.logfile=C:/FusionReactor/instance/default/log/resource.log
    serializer.path=C:/FusionReactor/instance/default/serializer
    webserver.port=8088
    

    so that the paths use the new instance name instead of 'default' and the web server port is not already in use on your computer.

    crashprotection.logfile=C:/FusionReactor/instance/[instance name]/log/crashprotection.log
    jdbc.logfile=C:/FusionReactor/instance/[instance name]/log/jdbc.log
    logfile=C:/FusionReactor/instance/[instance name]/log/reactor.log
    name=[instance name]
    request.logfile=C:/FusionReactor/instance/[instance name]/log/request.log
    resource.logfile=C:/FusionReactor/instance/[instance name]/log/resource.log
    serializer.path=C:/FusionReactor/instance/[instance name]/serializer
    webserver.port=8099
    
  4. Copy the fusionreactor.jar file to the JRun4 server instance
        copy FusionReactoretclibfusionreactor.jar 
            [server instance dir]SERVER-INFlib
    

    Create the lib directory before if it does not exist.
    #Stop the JRun4 server
    #Insert the FusionReactor servlet filter definition into the default web descriptor of the JRun4 server instance.
    Edit [server instance dir]SERVER-INFdefault-web.xml and insert

    <filter>
      <filter-name>FusionReactor</filter-name>
      <filter-class>
        com.intergral.fusionreactor.filter.FusionReactorFilter
      </filter-class>
      <init-param>
        <param-name>config</param-name>
        <param-value>
          C:/FusionReactor/instance/[instance name]/conf/reactor.conf
        </param-value>
      </init-param>
    </filter>
    <filter-mapping>
      <filter-name>FusionReactor</filter-name>
      <url-pattern>/*</url-pattern>
    </filter-mapping>
    

    as the first servlet filter as a child of the <web-app> root element.

  5. Restart the JRun4 server. The new FusionReactor instance should then be available (check the logs in the runtime/logs directory of the JRun4 server instance in case there are problems)

Issue Details

Type: Technote
Issue Number: FRS-165
Components: Installer
Environment:
Resolution: Fixed
Last Updated: 31/Jul/07 2:50 PM
Affects Version: 2.0.4
Fixed Version:
Server: ColdFusion 6, ColdFusion 7, ColdFusion 8, JRun 4
Platform: Windows XP, Windows 2000, Windows 2003
Related Issues:

Comments are closed.