Greg's Blog

helping me remember what I figure out

JRun 2.3.3 Installation Problems (Win32)

| Comments

JRun 2.3.3 installation problems (Win32)

One of our projects here at Nemas required the use of servlets. In order to have a play with servlets before the project got under way in earnest, I decided to install JRun. Once the installation was completed I tested the installation and to my joy everything was working, or so I thought. For once I tried to execute a .cfm template I got an error. As it turned out all the mappings for .cfm has been re-mapped away from the Cold Fusion Application Server and mapped to the JRun server. Very annoying.

This document is now going to talk you through fixing this problem. First off you need to locate the rules.properties file, which is usually located in the <drive letter>:JRunjsm-defaultservicespropetiescfanywhere directory. Open this file up in your text editor of choice.

Now all you need to do is remove the following line:

*.cfm=com.livesoftware/cfanywhere.CFServlet

Save the file. In order for these changes to take effect you will need to stop and restart certain services. Go to the Control Panel and choose services. First stop the following services, then after all have been stopped, re-start them.

  • All Cold Fusion services
  • JRun service
  • IIS service (if you are running IIS else stop the web server service that you run on your box)

    It is important that you stop the services through the Services icon. Stopping IIS through the MMC will not bring about the necessary changes.