I ran a test page called instance.cfm

Execution Time

 (0ms) D:\Inetpub\wwwroot\instance.cfm


some CGI vars
CF_TEMPLATE_PATH=D:\Inetpub\wwwroot\instance.cfm

PATH_TRANSLATED=d:\inetpub\wwwroot\instance.cfm

FYI...this littel piece of code will spit out which instance the
cluster directed you to

<cfobject action="create" type="java" class="jrunx.kernel.JRun" name="jr" />
<cfset servername = jr.getServerName() />
<p><cfoutput>JRun Server Name: #servername#</cfoutput></p


DK
On 5/24/06, John Haigh <[EMAIL PROTECTED]> wrote:
> But when you look at your debug info, can you verify that it is getting
> the code from your web root and not from the war files?
>
> -----Original Message-----
> From: Douglas Knudsen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 24, 2006 3:08 PM
> To: CF-Server
> Subject: Re: CF MX 7.0 ENT Multiserver
>
> hmmm, i never used wsconfig at the command line, I use the GUI.  In
> windows, just dbl-click the wsconfig.exe file.  Oh, you may need to
> update wsconfig_jvm.config setting the java home.
>
> So you have a IIS site "1188884376     testcluster" with its web root
> pointed to d:\sites?
> In this case using the GUI wsconfig:
> 1) start all instances in the cluster
> 2) crankup wsconfig
> 3) remove any connectors for the instances in the cluster
> 4) add a connector to the IIS site testcluster connecting to your
> cluster CJ.
>
> bamm!  this is the way I've done it.  Then all code sits in the IIS
> site root and all the instances see it cia the cluster/IIS connector.
>
> DK
>
> On 5/24/06, John Haigh <[EMAIL PROTECTED]> wrote:
> > Yes, multiple instances are running on one physical server that is a
> > JRun
> > Cluster.
> >
> > Let me get some details here so that I can be more specific:
> >
> > Debug info that shows where the code is being served from:
> >
> > DRIVE:\JRun4\servers\TESTTWO\test.ear\test.war\Application.cfm
> > DRIVE:\JRun4\servers\TESTTWO\test.ear\test.war\index.cfm
> >
> > I want to store all files at DRIVE:\sites as specified in IIS
> properties
> > on the home directory tab.
> >
> > Like there is a -cfwebroot option with the command line version of
> > wsconfig to specify a file location where I get the following:
> >
> > D:\JRun4\bin>wsconfig -list
> > Internet Information Server (IIS) :
> >   There are 2 configured sites and 5 unconfigured sites.
> >   Configured Site Number and Site Name:
> >     1016969656     CF MX ENT 7.0
> >     1188884376     testcluster
> >   Unconfigured Site Number and Site Name:
> >     0              All
> >     1              Default Web Site
> >     1120695327     CJOB Production Site
> >     1805860866     Test CJOB site in 7.0 no clustering
> >     925614036      CJOB Ajax Demo
> >
> > D:\JRun4\bin>wsconfig -server coldfusion -ws iis -site 1188884376
> > -coldfusion -cfwebroot d:\sites -v
> >
> > Created file D:\JRun4\lib\wsconfig\jrunwin32.dll
> > Found JRun server cfusion at 127.0.0.1:2902
> > Found JRun server admin at 127.0.0.1:2910
> > Found JRun cluster CJ at 172.16.0.6:2915
> > Found JRun server TESTONE at 172.16.0.6:2915
> > Found JRun cluster CJ at 172.16.0.6:2916
> > Found JRun server TESTTWO at 172.16.0.6:2916
> > Found JRun cluster CJ at 172.16.0.6:2917
> > Found JRun server TESTTHREE at 172.16.0.6:2917
> > Found JRun server TESTFIVE at 172.16.0.6:2919
> > Found JRun cluster CJ at 127.0.0.1:2915
> > Found JRun server TESTONE at 127.0.0.1:2915
> > Found JRun cluster CJ at 127.0.0.1:2916
> > Found JRun server TESTTWO at 127.0.0.1:2916
> > Found JRun cluster CJ at 127.0.0.1:2917
> > Found JRun server TESTTHREE at 127.0.0.1:2917
> > Found JRun server TESTFIVE at 127.0.0.1:2919
> > JRun server coldfusion cannot be found on host 127.0.0.1.
> > Confirm that JRun server 127.0.0.1 is started.
> >
> > D:\JRun4\bin>
> >
> >
> > -----Original Message-----
> > From: Douglas Knudsen [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, May 24, 2006 10:58 AM
> > To: CF-Server
> > Subject: Re: CF MX 7.0 ENT Multiserver
> >
> > is this multiple instances on one server running a software based JRun
> > cluster?  When you run wsconfig to connect this cluster to your
> > webserver this is setup.  For instance, in windows/iis configuration,
> > wsconfig connects up your cluster to one site, just drop all your code
> > into that one site.
> >
> > if running instances across hardware in a hardware cluster, we usually
> > use a SAN space and map drives to it on each server.
> >
> > DK
> >
> >
> > On 5/24/06, John Haigh <[EMAIL PROTECTED]> wrote:
> > > I am running CF MX 7.0 ENT Multiserver with multiple server
> instances,
> > > and I want to have one location for all the code. How is this done?
> I
> > > read the documentation regarding file location considerations, but I
> > am
> > > still unable to figure this out.
> > >
> > > Thanks,
> > >
> > > John Haigh
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:10:5942
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/10
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:10
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.10
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to