Hey Sean!
Ok, there are two issues I've been dealing with.
1) Having requests from each Name Virtual Host route to their respective
server instance.
2) Stopping Jrun from processing JSP requests
As for #1, the livedocs show this is possible (see snip below) -
although I haven't actually got it to work properly just yet. (I've had
to put it aside because of #2)
>From Livedocs:
# JRun Settings
LoadModule jrun_module "C:/JRun4/lib/wsconfig/1/mod_jrun20.so"
<IfModule mod_jrun20.c>
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ssl false
JRunConfig Ignoresuffixmap false
#JRunConfig Serverstore "C:/JRun4/lib/wsconfig/1/jrunserver.store"
#JRunConfig Bootstrap 127.0.0.1:51020
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc
</IfModule>
NameVirtualHost 127.0.0.1
<VirtualHost 127.0.0.1>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"
ServerName RNIELSEN02
ErrorLog logs/error.log
</VirtualHost>
<VirtualHost 127.0.0.1>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs2"
ServerName rnielsenstore
ErrorLog logs/error-store.log
<IfModule mod_jrun20.c>
JRunConfig Verbose true
JRunConfig Serverstore
"C:/JRun4/lib/wsconfig/mystore/jrunserver.store"
JRunConfig Bootstrap 127.0.0.1:51002
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc
</IfModule>
</VirtualHost>
<VirtualHost 127.0.0.1>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs3"
ServerName rnielsenemployee
ErrorLog logs/error-employee.log
<IfModule mod_jrun20.c>
JRunConfig Verbose true
JRunConfig Serverstore
"C:/JRun4/lib/wsconfig/myemp/jrunserver.store"
JRunConfig Bootstrap 127.0.0.1:51003
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc
</IfModule>
</VirtualHost>
As for #2, I believe it's a bug in the connector. LONG story...but I'm
working with some kind folks over at your place now to try and figure it
out...
Cheers,
Stace
-----Original Message-----
From: Sean A Corfield [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 9:45 PM
To: CF-Talk
Subject: Re: Any good JRun mailing lists out there?
On Tuesday, Aug 12, 2003, at 11:09 US/Pacific, Stacy Young wrote:
> Appears the mime type handler in Apache doesn't really do anything
>
> AddHandler jrun-handler .cfm .cfc .jsp .cfml .jws
That isn't a MIME type handler and, as Dave pointed out, mod_jrun
actually runs per server, not per VirtualHost so you typically cannot
run multiple connectors to different J2EE servers.
One option is to use mod_proxy and mod_rewrite instead of mod_jrun and
have a RewriteRule that catches .cfm / .cfc URLs and rewrites them to
proxy to the JWS. Several downsides: you lose JRun's clustering, you
have to enable JWS(!).
However, for a number of other reasons, that's what macromedia.com does
- sort of. We actually have a hardware load balancer in front of JRun /
CFMX (as well as in front of our web servers) and we have a rewrite
rule that proxies ColdFusion requests to the back end load balancer
(which then distributes it to one of the multiple instances of CFMX for
J2EE we run).
Sean A Corfield -- http://www.corfield.org/blog/
AVIS IMPORTANT:
-------------------------------
Les informations contenues dans le present document et ses pieces jointes sont
strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il
est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation,
distribution, copie, ou autre utilisation de ces informations est strictement
prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait
communiquer immediatement avec l'expediteur et detruire ce document sans en faire de
copie sous quelque forme.
WARNING:
-------------------------------
The information contained in this document and attachments is confidential and
intended only for the person(s) named above. If you are not the intended recipient you
are hereby notified that any disclosure, copying, distribution, or any other use of
the information is strictly prohibited. If you have received this document by mistake,
please notify the sender immediately and destroy this document and attachments without
making any copy of any kind.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
http://www.cfhosting.com
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4