<?xml version="1.0" encoding="utf-8"?>

			<rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://web.resource.org/cc/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">

			<channel>
			<title>nil desperandum - JRun</title>
			<link>http://nil.checksite.co.uk/index.cfm</link>
			<description>ColdFusion, CFML and web development related stuff</description>
			<language>en-us</language>
			<pubDate>Thu, 02 Sep 2010 22:52:46 -0700</pubDate>
			<lastBuildDate>Thu, 28 Jan 2010 00:04:00 -0700</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>stephen@checksite.co.uk</managingEditor>
			<webMaster>stephen@checksite.co.uk</webMaster>
			<itunes:subtitle></itunes:subtitle>
			<itunes:summary></itunes:summary>
			<itunes:category text="Technology" />
			<itunes:category text="Technology">
				<itunes:category text="Podcasting" />
			</itunes:category>
			<itunes:category text="Technology">
				<itunes:category text="Tech News" />
			</itunes:category>
			<itunes:keywords></itunes:keywords>
			<itunes:author></itunes:author>
			<itunes:owner>
				<itunes:email>stephen@checksite.co.uk</itunes:email>
				<itunes:name></itunes:name>
			</itunes:owner>
			
			<itunes:explicit>no</itunes:explicit>
			
			<item>
				<title>Compiling ColdFusion Applications for Deployment</title>
				<link>http://nil.checksite.co.uk/index.cfm/2010/1/28/Compiling-ColdFusion-Applications-for-Deployment</link>
				<description>
				
				I&apos;ve been compiling ColdFusion applications on and off over the years for various reasons, usually on my server or another server that I have access to.

Recently I&apos;ve been compiling for deployment to an external server that I&apos;ve not had access. I ran into a few problems with the resulting compiled code not running on these servers while it runs perfectly locally.

To start at the beginning, I&apos;ve often simply pre-compiled an application in place, so that it need not compile the templates on first access. Occasionally I&apos;ve compiled for source-less deployment. Usually under those circumstances I&apos;ve had access to the server, where I&apos;ve simply loaded source code onto the server, compile, dropped the compile code into place and then removed the source.  [More]
				</description>
				
				<category>JRun</category>
				
				<category>CFML</category>
				
				<pubDate>Thu, 28 Jan 2010 00:04:00 -0700</pubDate>
				<guid>http://nil.checksite.co.uk/index.cfm/2010/1/28/Compiling-ColdFusion-Applications-for-Deployment</guid>
				
				
				<enclosure url="http://nil.checksite.co.uk/enclosures/compile.rar" length="1275" type="application/octet-stream"/>
				
			</item>
			
			<item>
				<title>Manually creating JRun Server instances.</title>
				<link>http://nil.checksite.co.uk/index.cfm/2009/3/17/manually-creating-jrun-server-instances</link>
				<description>
				
				&lt;p&gt;I&apos;m having a spot of bother with the JRun JMC (Java Management Console) at the minute.&#xa0; &lt;/p&gt;
&lt;p&gt;For some reason I&apos;m getting error messages like this :&lt;/p&gt;  [More]
				</description>
				
				<category>Web Development</category>
				
				<category>JRun</category>
				
				<category>CFML</category>
				
				<pubDate>Tue, 17 Mar 2009 01:12:00 -0700</pubDate>
				<guid>http://nil.checksite.co.uk/index.cfm/2009/3/17/manually-creating-jrun-server-instances</guid>
				
				
			</item>
			
			<item>
				<title>Installing CF Instances in a different location</title>
				<link>http://nil.checksite.co.uk/index.cfm/2007/12/19/installing-cf-instances-in-a-different-location</link>
				<description>
				
				I got asked yesterday - how can I set up a CF Instance somewhere other than the default location?

Its actually pretty easy.  In the JMC (Java Management Console) when you create a new server instance simply give the server path as a fully qualified path rather than using the {java.home} variable in the front of the path.  And that is it.

If you want to change the path of an existing server, the paths reside in the Jrun4/lib/Servers.xml file.  In theory, you should be able to move the server folder and change the path in the server.xml file and hey presto!  
I say &quot;in theory&quot; because I&apos;ve never tried this.

Don&apos;t forget to shut the JRun server down before you do this.... 
				</description>
				
				<category>JRun</category>
				
				<category>CFML</category>
				
				<pubDate>Wed, 19 Dec 2007 18:10:00 -0700</pubDate>
				<guid>http://nil.checksite.co.uk/index.cfm/2007/12/19/installing-cf-instances-in-a-different-location</guid>
				
				
			</item>
			
			<item>
				<title>ColdFusion Instance &quot;bugs&quot;</title>
				<link>http://nil.checksite.co.uk/index.cfm/2006/8/14/coldfusion-instance-bugs</link>
				<description>
				
				I&apos;m holiday and if the wife knew I was reading coldfusion blogs I&apos;d be for it and its sad that I&apos;m posting to my blog, but what the heck!  I need to mention this before I forget about it.  

A while back I did a quick check list on setting up Multi-server CFMX under JRun. (see the related entry)  I mentioned in that article that you need to change cfusion.war to cfusion-war in the application.xml file.  What I didn&apos;t mention and what I probably did on autopilot was also changed cfusion.ear to cfusion-ear.  I thought I would mention this in passing as &lt;a href=&quot;http://www.creative-restraint.co.uk/blog/index.cfm/2006/8/10/Instance-Manager&quot; target=&quot;_blank&quot; title=&quot;Instance Manager&quot;&gt;Andy Allan blogged&lt;/a&gt; about it on Thursday. 

He also mentions a problem with &lt;a href=&quot;http://www.creative-restraint.co.uk/blog/index.cfm/2006/8/10/More-fun-with-Instance-Creation&quot; target=&quot;_blank&quot; title=&quot;Instance Log paths&quot;&gt;instances and log paths&lt;/a&gt; that you should be aware of.

Now I&apos;m gonna run away before the wife catches me... ;) 
				</description>
				
				<category>JRun</category>
				
				<category>CFML</category>
				
				<pubDate>Mon, 14 Aug 2006 01:53:00 -0700</pubDate>
				<guid>http://nil.checksite.co.uk/index.cfm/2006/8/14/coldfusion-instance-bugs</guid>
				
				
			</item>
			
			<item>
				<title>CFMX MultiServer Set up</title>
				<link>http://nil.checksite.co.uk/index.cfm/2006/5/3/cfmx-multiserver-set-up</link>
				<description>
				
				This is more a &quot;note to self&quot; than anything else, but here you go...

I&apos;ve been messing about with the Multi server set up for CFMX7. J2EE applications, Clustering and multiserver installations is something I haven&apos;t really looked at since umm... CF4.5.1, so I thought it was time to look at it all over again.

I had a few hassles, but with &lt;a href=&quot;http://www.creative-restraint.co.uk/blog/index.cfm&quot; target=&quot;_blank&quot;&gt;Andy Allan of the Scottish CFUG&apos;s&lt;/a&gt; help I&apos;ve now ironed out all the wrinkles on my dev server set up.What I&apos;ve got is Apache 2.0.55, with Jrun 4 Updater 6 running multiple CF instances and sites, one of which is actually my test bed for this blog. (Bit naughty really seeing as I run CFMX standard with IIS on my production server, but you have to try these things out some how!)

Anyway, here&apos;s the steps to a working install.
&lt;ol&gt;
&lt;li&gt;Install Apache&lt;/li&gt;
&lt;li&gt;Install CFMX 7.01 using option 2 (Multi-Server install)&lt;/li&gt;
&lt;li&gt;Do another install of CFMX 7.01 using option 3 (J2EE install) making an cfusion.ear file&lt;/li&gt;
&lt;li&gt;Use something like winrar to unzip the ear file into a folder called cfusion-ear&lt;/li&gt;
&lt;li&gt;Extract the cfusion.war into cfusion-war folder&lt;/li&gt;
&lt;li&gt;Hang onto the cfusion.ear file, so you don&apos;t have to build it again, but delete the cfusion.war file out of the folder structure&lt;/li&gt;
&lt;li&gt;Edit the application.xml file in the cfusion-ear/META-INF folder - change the web-uri to cfusion-war rather than cfusion.war&lt;/li&gt;
&lt;li&gt;Create your various instances for your various websites in the Java Management Console (JMC)&lt;/li&gt;
&lt;li&gt;Remove the default-ear folder from the server instance folder for each instance that will be running CFMX&lt;/li&gt;
&lt;li&gt;Copy the cfusion-ear folder into the server folder for each instance&lt;/li&gt;
&lt;li&gt;Set up your websites in Apache using virtual hosts&lt;/li&gt;
&lt;li&gt;Use the wsconfig tool to connect the first Java Server Instance to apache&lt;/li&gt;
&lt;li&gt;Edit your httpd conf file.&lt;br&gt;
Leave :
&lt;code&gt;LoadModule jrun_module &quot;C:/JRun4/lib/wsconfig/1/mod_jrun20.so&quot;
JRunConfig Ssl false
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfswf .cfr&lt;/code&gt;
in the global part of your config file, but copy the rest into each virtual host.&lt;/li&gt;
&lt;li&gt;Change the port number on the bootstrap for each website to point at the appropriate Java Server Instance.&lt;/li&gt;
&lt;li&gt;Change the Serverstore variable to point to different numbered folders for each website and create these folders.  You can put a copy of the jrunserver.store file in there, but its not required.&lt;/li&gt;
&lt;li&gt;Go into cfusion-ear\cfusion-war\WEB-INF for each server, edit the web.xml file and uncomment the SES URL settings&lt;/li&gt;
&lt;li&gt;Go into the SERVER-INF folder for each instance and edit the jrun.xml. Set the deactivated attribute to &quot;false&quot; under the jrun.servlet.jrpp.JRunProxyService class, if it isn&apos;t already.&lt;/li&gt;
&lt;li&gt;Start your instances and start your apache server (or restart as appropriate)&lt;/li&gt;
&lt;li&gt;and thats it....&lt;/li&gt;
&lt;/ol&gt; 
				</description>
				
				<category>Web Development</category>
				
				<category>JRun</category>
				
				<category>CFML</category>
				
				<pubDate>Wed, 03 May 2006 04:38:00 -0700</pubDate>
				<guid>http://nil.checksite.co.uk/index.cfm/2006/5/3/cfmx-multiserver-set-up</guid>
				
				
			</item>
			</channel></rss>