Uncategorized
CF Updater (Mystic) Multiserver Install Problem
I did a little searching and didnt find any info on this, but when I ran the CF Mystic Updater so I could play with flex 2.0 and ColdFusion, I ran into a problem. I use the multisever install and although all the new files get posted in the correct location it is unable to update the web.xml to add the /flex2gateway/ servlet mapping.
In the installation log I found that it was trying to update the web.xml located at
c:JRun4wwwrootWEB-INFweb.xml
Those familiar with the differences between cf multiserver and cf standalone will recognize that path as the one for cf standalone, except with jrun instead of coldfusionmx7.
Anyway, I just created the wwwroot folder and WEB-INF folders and copied my web.xml from a valid cf intance into that folder. When I ran the updater the second time this file was updated correctly. Then I just copied it back into the webroot of my cf instances and I was good to go.
I hope this may help someone searching for a solution, as I was ![]()
28 Feb 2006 Simeon

Ah!!! good to know. I fought with the installer for a few days and gave up. and did the FES2 and Flex stuff on a diferent machine that was running the standalone CF.
Kind of a noob with the multiserver so I never even noticed that. Great info! Thanks a lot!
While not having thsi particular issue, it would seem that Beta 2 of Mystic continues to have issues with mutliserver environments.
Hey Scott,
what did you run into? I ran the b2 installer this morning without error. And I have it ported to my mac now.
Maybe I can help.
So the B2 installer is more friendly to Jrun install? I had heard of some work arounds. Those work for B2? I may endeaver to do the install tonight, time permitting. Any pitfalls to watch out for?
Hey John,
I ran the CF Mystic B2 installer half an hour ago for my multi-server install on windows xp and I didnt have a sigle problem. It installed perfectly and my samples all run fine.
No work-arounds required
The installer seemed to have run without issue. I did not get any errors.
However, when I try to hit CFCs from Flex Builder 2, I keep getting an error.
Error: faultCode:Client.Error.MessageSend faultString:’Send failed’ faultDetail:’Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 500′
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()
at flash.events::EventDispatcher/dispatchEvent()
at mx.messaging::MessageAgent/fault()
at mx.messaging::Producer/fault()
at mx.messaging::ChannelSet/::faultPendingSends()
at mx.messaging::ChannelSet/handleChannelFault()
at flash.events::EventDispatcher/dispatchEvent()
at mx.messaging::Channel/mx.messaging:Channel::connectFailed()
at mx.messaging.channels::NetConnectionChannel/mx.messaging.channels:NetConnectionChannel::connectFailed()
at mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFChannel::statusHandler()
This is from a very basic app, with only 13 lines in it:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" layout="absolute">
<mx:Script>
<![CDATA[
private function showDate(event){
mx.controls.Alert.show(event.result);
}
]]>
</mx:Script>
<mx:RemoteObject id="dateCFC" destination="ColdFusion" source="comp.date" result="showDate(event)"/>
<mx:Button label="Get Date" click="dateCFC.getDate()" x="32" y="10"/>
</mx:Application>
And, I have tested the CFC and it is working as expected.
Any help you can offer would be greatly appreciated.
Sweet! I’ll give it a shot. That’s great news!
And, if it matters, when I browse to http://localhost/flex2gateway, I get a JRun Servlet error,’500 null ‘
I must have missed a step somewhere. I run the connectivity update B2 and can’t get past the pick the jrun root to install to. No path I give it, does it like. I tried
making this path
c:JRun4wwwrootWEB-INFweb.xml
It had no love for that. Any thoughts?
In the b2 mystic installer I didnt have any path problems. When it asks for jrun root I think that would just be c:JRun
The problem I listed above was back with the b1 installer. There are a whole new set of "quirks" with the b2 installer
Try just c:Jrun and let me know what you run into
negatory. My jrun root is c:jrun4 and the installer no likey that either. Just to confirm this is the rigt file,yes?
cf_flexconnect_b2_03-20.exe
The FES or whatever the new name is installed fine. I did the multiserver install. unpacked the wars into a server instance of Flex on my jrun setup no problemo. just the mystic part that gives me greif.
Thanks a lot for your input, I really appreciate it
I was also having the 500 Null error on /flex2gateway and have just gotten it fixed. Somewhere in the Flex docs it’s mentioned that Flex B2 requires and installs Sun’s 1.4.2_09 JRE.
My CFAdmin was showing 1.4.2_05 still so I poked around in the JRun directores finding both JREs installed. _05 in {jrun root}/jre and _09 in {jrun root}/runtime/jre. I’m running multi-server so this just entailed going to the JRun admin (localhost:8000) and changing the JRE settings on the admin server to point to {jrun root}/runtime/jre. Note you can also change this in {jrun root}/bin/jvm.config if, like I did, you screw it up somehow from the admin GUI. Restart your CF servers and you should now get a pretty blank page at /flex2gateway. The samples work fine now. HTH.
Starting to feel dumb
I stil can’t get Mystic to love my jrun CF instances.
I’ve tried pointing to the specific CF instance, no dice. to C:jrun4… no dice
I copied my web-inf to C:JRun4wwwrootWEB-INF… no dice.
This is what the installer log says.
"com.macromedia.updater.utils.ValidateMultiserver
Status: SUCCESSFUL"
Yes I can’t proceed past it since i get an error indicated the selected path has no valid jrun root. Anyone have any thoughts on this?
THanks gang
Hi,
I was wondering if there is a way to install the flex connector with access to a windows machine? I downloaded the .exe file, but don’t know what to do with it?? Is there a way to install this file on the mac?
Thanks,
John