Re: Accessing Specific CF8 Instances

2011-02-07 Thread Richard Steele

How do you get the session ids for each instance? What would the url look like 
that targeted a specific instance? Many thanks. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341952
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Accessing Specific CF8 Instances

2011-02-07 Thread Dave Watts

 How do you get the session ids for each instance? What would the url look 
 like that targeted a specific instance? Many thanks.

If you're using the JRun web server to access each instance, each one
will have a different port:

http://localhost:8300/cfide/administrator/
http://localhost:8301/cfide/administrator/
...

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341953
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Accessing Specific CF8 Instances

2011-02-07 Thread Richard Steele

Well, I'm wondering if I can access the instance using an external, website 
address. Our developers don't necessarily have access to logging into the 
server. 

So, I'm hoping we could do something like this.

http://www.website.com/index.cfm?CFID=x where x is the id of an instance. 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341956
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Accessing Specific CF8 Instances

2011-02-07 Thread Dave Watts

 Well, I'm wondering if I can access the instance using an external, website 
 address. Our developers don't necessarily have
 access to logging into the server.

They don't have to log into the server, they can simply connect to the
listening port:

http://remote.server.url:8300/cfide/administrator/ ...

Alternatively, you could create multiple virtual servers in IIS, map
each to one of those virtual servers, then break the connectors
temporarily, then create the cluster, then map that to the real
virtual server, then go back and fix the connectors manually so that
you have two sets working at once. I've done this once, and it was
painful enough that I wouldn't recommend it.

 So, I'm hoping we could do something like this.

 http://www.website.com/index.cfm?CFID=x where x is the id of an instance.

No, there's no mechanism for that.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341957
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Re: Accessing Specific CF8 Instances

2011-02-07 Thread jqdurham

Wouldn'ta URL rewriter suffice?


On Feb 7, 2011 5:19pm, Dave Watts dwa...@figleaf.com wrote:


  Well, I'm wondering if I can access the instance using an external,  
 website address. Our developers don't necessarily have

  access to logging into the server.



 They don't have to log into the server, they can simply connect to the

 listening port:



 http://remote.server.url:8300/cfide/administrator/ ...



 Alternatively, you could create multiple virtual servers in IIS, map

 each to one of those virtual servers, then break the connectors

 temporarily, then create the cluster, then map that to the real

 virtual server, then go back and fix the connectors manually so that

 you have two sets working at once. I've done this once, and it was

 painful enough that I wouldn't recommend it.



  So, I'm hoping we could do something like this.

 

  http://www.website.com/index.cfm?CFID=x where x is the id of an  
 instance.



 No, there's no mechanism for that.



 Dave Watts, CTO, Fig Leaf Software

 http://www.figleaf.com/

 http://training.figleaf.com/



 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on

 GSA Schedule, and provides the highest caliber vendor-authorized

 instruction at our training centers, online, or onsite.



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341967
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Accessing Specific CF8 Instances

2011-02-07 Thread Jochem van Dieten

On Mon, Feb 7, 2011 at 10:58 PM, Richard  Steele wrote:
 Well, I'm wondering if I can access the instance using an external, website 
 address. Our developers don't necessarily have access to logging into the 
 server.

 So, I'm hoping we could do something like this.
 http://www.website.com/index.cfm?CFID=x where x is the id of an instance.

The load balancing in a Java cluster is a feature of the underlying
Java container and the connector used to connect it to a webserver. Or
alternatively of the loadbalancer you use to distribute the load
between the diffeent webservers.
You didn't explicitly specify what you are using, so I will presume
you are using several ColdFusion instances deployed on JRun, connected
to a single webserver. The way you can influence to which server a
request goes is through the jsessionid. Make sure you configure the
cluster to use sticky sessions and then look up the server.id for each
instance (in the connector.properties file in SERVER-INF). Any
jsessionidof which the first 4 bytes are equal to the server.id will
be directed to that instance.

If you have a different setup, ask on the mailinglist for you
loadbalancer vendor or Java container.

Jochem

-- 
Jochem van Dieten
http://jochem.vandieten.net/

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341968
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Accessing Specific CF8 Instances

2011-01-06 Thread Dave Watts

 You can access the administrator for a particular instance using the
 internal JRun webserver port. If you want to get to your apps on a
 particular instance you'll have to manipulate cookies (assuming you're
 using sticky sessions) so that the session ID starts with the the
 correct prefix for the instance you want.

Being able to access the administrator in that manner implies that
you've enabled the JRun built-in web server, of course. But if you've
done that, you can use this to get to the apps on that instance as
well, as long as both the built-in web server and the real web
server use the same web root.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340511
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Accessing Specific CF8 Instances

2011-01-05 Thread Richard Steele

Is there a way to access particular instances that are running on a load 
balanced CF8 Enterprise server? If so, how is that done?

thanks in advance. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340488
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Accessing Specific CF8 Instances

2011-01-05 Thread James Holmes

You can access the administrator for a particular instance using the
internal JRun webserver port. If you want to get to your apps on a
particular instance you'll have to manipulate cookies (assuming you're
using sticky sessions) so that the session ID starts with the the
correct prefix for the instance you want.

--
WSS4CF - WS-Security framework for CF
http://wss4cf.riaforge.org/



On 6 January 2011 08:13, Richard  Steele r...@photoeye.com wrote:

 Is there a way to access particular instances that are running on a load 
 balanced CF8 Enterprise server? If so, how is that done?

 thanks in advance.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340492
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm