Does anyone know what the following line accomplishes in obj.conf in a Sun One/iPlanet Web server?
NameTrans fn="jrunfilter" serverstore="C:/CFusionMX/runtime/lib/wsconfig/1/jrunserver.store" bootstrap="127.0.0.1:51010"
Here is what I am trying to do. I want both CFMX and CF5 to be running on the same server, using the same URL and port. I want CFMX to run for only a single directory on an existing iPlanet server, and CF5 to handle all other directories. Adding the following lines to obj.conf hand over control to CFMX for a single directory:
ObjectType fn="type-by-exp" exp="D:/iPlanet/Servers/docs/cfmxtest/*.cf[m|c]" type="jrun-internal/"
Service method="(GET|POST)" type="jrun-internal/" fn="jrunservice"
This seems to work fine. However, the setup instruction indicate that the following are also needed in obj.conf
NameTrans fn="jrunfilter" serverstore="C:/CFusionMX/runtime/lib/wsconfig/1/jrunserver.store" bootstrap="127.0.0.1:51010"
<Object name="jrun">
PathCheck fn="jrunfilter"
Service fn="jrunservice"
</Object>
If the jrunfilter line is in obj.conf, CFMX takes over handling of all .cfm files on the entire server, regardless of the other settings in obj.conf. Without the jrunfilter line, the server seems to work the way I want it to.
The jrunfilter line seems to intercept all requests for .cfm, .cfc, .cfml, .jws, .jst, and .jsp files. The other lines in obj.conf related to CFMX seem to be completely unnecessary if the jrunfilter line is present. I was able to take out the lines:
ObjectType fn="type-by-exp" exp="*.cfm" type="jrun-internal/" and
Service method="(GET|POST)" type="jrun-internal/" fn="jrunservice"
and the .cfm extension was handled fine by CFMX. I would guess that the jrunfilter line is slightly more efficient, since it is the first line in obj.conf. However, why would Macromedia say to include the ObjectType and Service lines in obj.conf if these are just going to be ignored?
Does the combination of ObjectType and Service lines provide the same funcationality as the jrunfilter line? Does anyone know if this jrunfilter line is essential? Are there any other ways to do what I am trying to do?
Thank you,
Mike Chabot
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

