NetConnection.Call.BadVersion :( :( :(
Hey guys,
I recently upgraded my development CF from 8 to 9, buy my production CF is still 8. Now I keep getting
Channel.Connect.Failed error NetConnection.Call.BadVersion
every time i launch my flex app on production server. I assume this is becuase while compileing and building flex app my -services points to CF-9 services-config.xml.
I tried to copy wwwroot/WEB-INF/flex folder into my flex application so that I have flex-cf8 and flex-cf9 folder in my flex app, and when I copy my build to production server. I change -services to flex-cf8/services-config.xml instead of flex-cf9/services-config.xml. But this has not helped.
My development server is a MacBook pro, while my development servers are MacPro and a linux system. So the location of CF-HOME/wwwroot/WEB-INF/flex is different for both of my production servers.
So my question is, is there a way to keep just one copy of services-config.xml in such a place where it will work for all my servers no matter what CF version is? Will I need to make my own servies-config.xml file or can I just use the default one? Does anyone have an example of custom services-config.xml (if I can't use the default one).
Thanks
Jay
After a bit more googling it turns out that NetConnection.Call.BadVersion might be a generic error, when flex can't communicate with/connect to flex2gateway. Took a closer look at my code and turns out that I had forgotten about an update made that no longer accessed generic html file created by flex builder, but a modified version of it with some CF code. Still not working hundered 100% but, this time I know whats and where things are wrong.
Thanks
Jay
Similar Messages
-
NetConnection.Call.BadVersion amfsecure timeout??
Hi.<br /><br />We are using a secure channel like this:<br /><br /> <channels><br /> <channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel"><br /> <endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/><br /> <properties><br /> <add-no-cache-headers>false</add-no-cache-headers><br /> </properties><br /> </channel-definition><br /> </channels><br /><br />And we expose a remote service like this:<br /><br /><?xml version="1.0" encoding="UTF-8"?><br /><service id="remoting-service" class="flex.messaging.services.RemotingService"><br /> <adapters><br /> <adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" default="true"/><br /> </adapters><br /> <br /> <default-channels><br /> <channel ref="my-secure-amf"/><br /> </default-channels><br /><br /> <destination id="WebFlow"><br /> <properties><br /> <source>xxxxxxxxxxx.flex.FlexAdapter</source><br /> </properties><br /> </destination><br /></service><br /><br />Then, we create a RemoteObject like this:<br /><br />flowController = new RemoteObject("WebFlow");<br /><br />var channelSet: ChannelSet = new ChannelSet();<br />var channel: Channel = new AMFChannel("my-secure-amf", "https://localhost:443/example/messagebroker/amfsecure");<br /> <br />channelSet.addChannel(channel);<br />flowController.channelSet = channelSet;<br /><br />flowController.showBusyCursor = true;<br /><br />flowController.launch.addEventListener('result', onLaunch);<br /><br />It works well, but if we wait one minute (idle), when we try to invoke the method launch again it appears the following error:<br /><br />[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.BadVersion: : url: 'http://localhost:443/example/messagebroker/amfsecure'"]<br /> at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev \3.0.x\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:216]<br /> at mx.rpc::Responder/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Responder.as:49 ]<br /> at mx.rpc::AsyncRequest/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AsyncRequest .as:103]<br /> at mx.messaging::ChannelSet/faultPendingSends()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\ messaging\ChannelSet.as:1399]<br /> at mx.messaging::ChannelSet/channelFaultHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\m x\messaging\ChannelSet.as:935]<br /> at flash.events::EventDispatcher/dispatchEventFunction()<br /> at flash.events::EventDispatcher/dispatchEvent()<br /> at mx.messaging::Channel/connectFailed()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messagi ng\Channel.as:997]<br /> at mx.messaging.channels::PollingChannel/connectFailed()[E:\dev\3.0.x\frameworks\projects\rp c\src\mx\messaging\channels\PollingChannel.as:354]<br /> at mx.messaging.channels::AMFChannel/statusHandler()[E:\dev\3.0.x\frameworks\projects\rpc\sr c\mx\messaging\channels\AMFChannel.as:369]<br /><br />Is there any one minute idle timeout?<br /><br />We have tried:<br /><br /> <flex-client><br /> <timeout-minutes>0</timeout-minutes><br /> </flex-client><br /><br />But it doesn't fix the problem.<br /><br />Any help would be appreciated.<br /><br />Thanks a lot.
<DIV dir=ltr align=left><SPAN class=437043212-01042008><FONT face=Arial <br />color=#0000ff size=2>Hi Paco, </FONT></SPAN></DIV><br /><DIV dir=ltr align=left><SPAN class=437043212-01042008><FONT face=Arial <br />color=#0000ff size=2></FONT></SPAN> </DIV><br /><DIV dir=ltr align=left><SPAN class=437043212-01042008><FONT face=Arial <br />color=#0000ff size=2>In the error message, it says </FONT></SPAN></DIV><br /><DIV dir=ltr align=left><SPAN class=437043212-01042008><FONT face=Arial <br />color=#0000ff size=2></FONT></SPAN> </DIV><br /><DIV dir=ltr align=left><SPAN class=437043212-01042008><FONT face=Arial <br />color=#0000ff size=2><FONT face="Times New Roman" color=#000000 size=3>[RPC <br />Fault faultString="Send failed" faultCode="Client.Error.MessageSend" <br />faultDetail="Channel.Connect.Failed error NetConnection.Call.BadVersion: : url: <br />'http://localhost:443/example/messagebroker/amfsecure'"] <br /></FONT><BR></FONT></SPAN></DIV><br /><DIV dir=ltr align=left><SPAN class=437043212-01042008><FONT face=Arial <br />color=#0000ff size=2>You are connecting to http destination instead of <br />https. Could this be a configuration error?</FONT></SPAN></DIV><br /><DIV dir=ltr align=left><SPAN class=437043212-01042008><FONT face=Arial <br />color=#0000ff size=2></FONT></SPAN> </DIV><br /><DIV dir=ltr align=left><SPAN class=437043212-01042008><FONT face=Arial <br />color=#0000ff size=2>-John</DIV></FONT></SPAN><BR><br /><DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><br /><HR tabIndex=-1><br /><FONT face=Tahoma size=2><B>From:</B> paco [mailto:[email protected]] <br /><BR><B>Sent:</B> Tuesday, April 01, 2008 4:27 AM<BR><B>To:</B> <br />[email protected]<BR><B>Subject:</B> NetConnection.Call.BadVersion <br />amfsecure timeout??<BR></FONT><BR></DIV><br /><DIV></DIV>A new discussion was started by paco in <BR><BR><B>General <br />Discussion</B> --<BR> NetConnection.Call.BadVersion amfsecure <br />timeout??<BR><BR>Hi. <BR><BR>We are using a secure channel like this: <br /><BR><BR><channels> <br /><BR> <channel-definition <br />id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel"> <br /><BR> <endpoint <br />url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" <br />class="flex.messaging.endpoints.SecureAMFEndpoint"/> <br /><BR> <properties> <br /><BR> <add-no-cache-headers>false</add-no-cache-headers> <br /><BR> </properties> <br /><BR> </channel-definition> <br /><BR> </channels> <BR><BR>And we expose a remote <br />service like this: <BR><BR><?xml version="1.0" encoding="UTF-8"?> <br /><BR><service id="remoting-service" <br />class="flex.messaging.services.RemotingService"> <br /><BR> <adapters> <br /><BR> <adapter-definition <br />id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" <br />default="true"/> <BR> </adapters> <br /><BR><BR><default-channels> <br /><BR> <channel <br />ref="my-secure-amf"/> <BR> </default-channels> <br /><BR><BR><destination id="WebFlow"> <br /><BR> <properties> <br /><BR> <source>xxxxxxxxxxx.flex.FlexAdapter</source> <br /><BR> </properties> <br /><BR> </destination> <BR></service> <br /><BR><BR>Then, we create a RemoteObject like this: <BR><BR>flowController = new <br />RemoteObject("WebFlow"); <BR><BR>var channelSet: ChannelSet = new ChannelSet(); <br /><BR>var channel: Channel = new AMFChannel("my-secure-amf", <br />"https://localhost:443/example/messagebroker/amfsecure"); <br /><BR><BR>channelSet.addChannel(channel); <BR>flowController.channelSet = <br />channelSet; <BR><BR>flowController.showBusyCursor = true; <br /><BR><BR>flowController.launch.addEventListener('result', onLaunch); <BR><BR>It <br />works well, but if we wait one minute (idle), when we try to invoke the method <br />launch again it appears the following error: <BR><BR>[RPC Fault <br />faultString="Send failed" faultCode="Client.Error.MessageSend" <br />faultDetail="Channel.Connect.Failed error NetConnection.Call.BadVersion: : url: <br />'http://localhost:443/example/messagebroker/amfsecure'"] <BR>at <br />mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\d ev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:216] <br /><BR>at <br />mx.rpc::Responder/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Responder.as: 49] <br /><BR>at <br />mx.rpc::AsyncRequest/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AsyncReque st.as:103] <br /><BR>at <br />mx.messaging::ChannelSet/faultPendingSends()[E:\dev\3.0.x\frameworks\projects\rpc\src\m x\messaging\ChannelSet.as:1399] <br /><BR>at <br />mx.messaging::ChannelSet/channelFaultHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src \mx\messaging\ChannelSet.as:935] <br /><BR>at flash.events::EventDispatcher/dispatchEventFunction() <BR>at <br />flash.events::EventDispatcher/dispatchEvent() <BR>at <br />mx.messaging::Channel/connectFailed()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messa ging\Channel.as:997] <br /><BR>at <br />mx.messaging.channels::PollingChannel/connectFailed()[E:\dev\3.0.x\frameworks\projects\ rpc\src\mx\messaging\channels\PollingChannel.as:354] <br /><BR>at <br />mx.messaging.channels::AMFChannel/statusHandler()[E:\dev\3.0.x\frameworks\projects\rpc\ src\mx\messaging\channels\AMFChannel.as:369] <br /><BR><BR>Is there any one minute idle timeout? <BR><BR>We have tried: <br /><BR><BR><flex-client> <BR><timeout-minutes>0</timeout-minutes> <br /><BR></flex-client> <BR><BR>But it doesn't fix the problem. <BR><BR>Any <br />help would be appreciated. <BR><BR>Thanks a lot. <BR><BR><br /><HR align=left width=200><br />View/reply at <A <br />href="http://www.adobeforums.com/webx?13@@.59b4dc44">NetConnection.Call.BadVersion <br />amfsecure timeout??</A><BR>Replies by email are OK.<BR>Use the <A <br />href="http://www.adobeforums.com/webx?280@@.59b4dc44!folder=.3c061a83">unsubscribe</A> <br />form to cancel your email subscription.<BR><BR>
-
NetConnection.Call.BadVersion - Channel disconnected
I am facing NetConnection.Call.BadVersion error when I run flex based application with BlazeDS on S64 with Weblogic application server.
At application start up, it makes 4 calls to server and get appropriate data. However once the application is up and hence forth I make any calls cause the error. I observed that the mid-tier java code (Remote Object) is not invoked by later flex calls. The faultDetails of FaultEvent says that “Channel disconnected before an acknowledgement was received”.
I am not using HTTPS secured protocal.
Has anybody face this kind of issues? Any input, suggestion or solution would be greatly appreciated.
Other details are
OS : S64
BlazdDS : Community Edition: 4.0.0.10620
App. Server : Weblogic 10.3.3
The snippet of flashlog
[DEBUG] mx.messaging.Channel 'my-amf' channel got status. (Object)#0
code = "NetConnection.Call.BadVersion"
description = ""
details = ""
level = "error"
FaultEvent.faultString :- Channel disconnected
FaultEvent.faultDetail :- Channel disconnected before an acknowledgement was received
Thanks
--sachinI don't know what "S64" is, but it seems like someone is messing with the bytes of the AMF response so that the AMF deserializer in the Flash Player doesn't like the version header. I assume you are running the latest player. Probably need to check any network infrastructure and/or servlet filters.
-
I keep on getting this error while connecting to amfphp. Any idea what might be the problem?
Code:
private function init(e:Event = null):void
responder = new Responder(onResult, onFault);
connection = new NetConnection;
connection.connect(gateway);
sendData_btn.addEventListener(MouseEvent.CLICK, getData);
private function getData(event:MouseEvent):void
connection.call("UserVO.getUserData", responder);
private function onResult(result:Object):void
trace("Result");
private function onFault(fault:Object):void
trace("Fault");I am testing the HelloWorld AMFPHP example from AMFPHP's website. There's a strange problem though. If i run the application from within the Flash IDE, I get this error:
Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Call.BadVersion
at Main()
But if I publish the application and run it in browser, it runs fine. What might be the problem? -
Flex4 Zend AMF error - NetConnection.Call.Failed: HTTP
Hi,
I'm working with FLEX 4 (developing in flash builder 4 plugins for eclipse) and PHP Zend Framework v 1.9.
When I run the application from the flash builder the AMF comunication work fine, but when I try to run directly from URL in a browser I got the following error:
Send failed
Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://localhost/Project-debug/gateway.php'
I think that I get this error since I have update my flash builder plugin.... previos version of my .swf project didn't give my this issue.
Somebody can help me? I don't realy have any idea how to solve this problem.
P.S.
I don't have services-config.xml file in my project cause the amf zend samples that I followed don't say to create it, somebody knows why flex 4 doesn't need it?
ThanksThe MessageBroker servlet is not installed properly. The context-root of the two Tomcat LC DS installs must be different. Test hitting the context-root Flex_App on both machines (http://hostIP:8080/Flex_App). If the context-root is valid you will hit the index.html page of the valid context-root which looks like this...
Welcome to Adobe LiveCycle Data Services ES2 Version 3!
This is an empty LiveCycle Data Services ES application that serves as a template for creating your custom application.
Visit the product page for documentation and further information.
Steve -
Pass Class Object To FMS Using NetConnection.call Method
Hello All,
I have a custom class that defines several methods on itself
to retrieve its data. This class object is then sent to FMS via the
NetConnection.call method. Once received by FMS, FMS calls the
remote method to dispaly the class object on connected clients
(minus the originator).
Now, standard properties are displayed correctly, but when I
call the class method to retrieve the class data, no data is
retrieved.
My question is, can FMS handle class objects as parameters in
a NetConnection call. If not, is there a better practice of
applying methods to retrieve the class data? Example below...
class com.QuizItem
var numOfAnswers;
var getAnswer;
function QuizItem(question)
this.numOfAnswers = 0;//<-- Returns correct number of
answers
this.getAnswer = function(answerNumberToGet)//<-- Does
not return any data when called by client side script
return this.answers[answerNumberToGet];//Already populated
array
Regards,
ShackFirst, I know JAVA does not working "pass by
reference". It's only working pass by value. (or call
by value)But obviously you don't fully understand what it means.
Isn't main_a and method_a alias?
if there is not alias, why? please explain to me.No. They're two independent references coincidentally pointing to the same object. In your swap method, you move method_a to point to something else. This does not affect main_a.
and why main_a.hashcode() is main_a's value?why not? What else should it be?
I think It's mean copy object. but main_a and
method_a, they have same object id! @_@;;;It means "copy reference", same object. -
I get the following error when trying to connect to my BlazeDS Java server from Flex application. Flex application is on localhost:80, blazeDS on tomcat localhost:8080. Please help!
createUser();faultHandler():(mx.messaging.messages::ErrorMessage)#0
body = (Object)#1
clientId = (null)
correlationId = "9FFDEBE8-EAD0-F3D9-8E9B-E3D7D7F5AE79"
destination = ""
extendedData = (null)
faultCode = "Client.Error.MessageSend"
faultDetail = "Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 500: url: 'http://77.93.202.150:8080/QuizDS/messagebroker/amf'"
faultString = "Send failed"
headers = (Object)#2
messageId = "98F54E19-7B0D-DCB9-4B86-E3D7D84E484F"
rootCause = (mx.messaging.events::ChannelFaultEvent)#3
bubbles = false
cancelable = false
channel = (mx.messaging.channels::AMFChannel)#4
authenticated = false
channelSets = (Array)#5
connected = false
connectTimeout = -1
enableSmallMessages = true
endpoint = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
failoverURIs = (Array)#6
id = (null)
mpiEnabled = false
netConnection = (flash.net::NetConnection)#7
client = (mx.messaging.channels::AMFChannel)#4
connected = false
maxPeerConnections = 8
objectEncoding = 3
proxyType = "none"
uri = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
piggybackingEnabled = false
polling = false
pollingEnabled = true
pollingInterval = 3000
protocol = "http"
reconnecting = false
recordMessageSizes = false
recordMessageTimes = false
requestTimeout = -1
uri = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
url = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
useSmallMessages = false
channelId = (null)
connected = false
currentTarget = (mx.messaging.channels::AMFChannel)#4
eventPhase = 2
faultCode = "Channel.Connect.Failed"
faultDetail = "NetConnection.Call.Failed: HTTP: Status 500: url: 'http://77.93.202.150:8080/QuizDS/messagebroker/amf'"
faultString = "error"
reconnecting = false
rejected = false
rootCause = (Object)#8
code = "NetConnection.Call.Failed"
description = "HTTP: Status 500"
details = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
level = "error"
target = (mx.messaging.channels::AMFChannel)#4
type = "channelFault"
timestamp = 0
timeToLive = 0halodev:
I made a CF/Flex site based on the Flexstore sample app,
using a database instead of XML as the data source; in case you
want to see it:
http://www.timos.com/dg/flex/DilemmaGames.html
At first I had troubles similar to what you describe;
initially, part of the problem was that my hosting company had not
yet upgraded to CF 7.02. One other thing I had to correct: when you
upload to your server, upload the entire ‘bin’ (or
whatever your output folder is) minus the debug SWF.
If it would help with other issues, contact me and I will be
glad to make my project code available to you. Good luck.
Carlos
[email protected] -
I have been scripting a simple database connection to check login credentials and am comming accross these errors:
Channel.Call.Failed
NetConnection.Call.Failed:
HTTP: Status 500
Any PHP code I run that is not connecting to MYSQL runs fine. But if I try to connect to the database thats what I get.
Here is my mxml:
<s:RemoteObject id="LogInService"
source="Novus.NovusUser.getLogIn"
destination="AMFPHP"
fault="faultHandler(event)"
showBusyCursor="true">
<s:method name="getLogIn" result="onResult(event)" fault="faultHandler(event)"/>
</s:RemoteObject>
Which calls this actionscript:
private function btn(event:Event):void
switch(event.target.id)
case "LogInSubmit":
LogInService.getLogIn(UserName.text, PW.text)
break;
private function onResult(result:ResultEvent):void
Alert.show("Result " + result.token.result);
if(result.token.result == true)
currentState = "Main";
else
Alert.show(String(result.token.result));
private function faultHandler(fault:FaultEvent):void
CursorManager.removeBusyCursor();
var errorMessage:String = "code:\n" + fault.fault.faultCode + "\n\nMessage:\n" + fault.fault.faultString + "\n\nDetail:\n" + fault.fault.faultDetail;
Alert.show(errorMessage);
and calls this PHP:
If I comment out the database connection it returns a false value to me just fine but with it there it throws an error
<?php
class GetLogIn
private $_db;
public function getLogIn($U, $P)
//Connect To Database
$hostname='127.0.0.1';
$username='root';
$password='*********'; //not realy ***** blocked it out
$dbname='mydatabase';
try
mysql_connect($hostname,$username, $password) OR DIE ('Unable to connect to database! Please try again later.');
mysql_select_db($dbname);
$sql = "Select * FROM empusr WHERE UserName = '$U' and Password = '$P'";
mysql_close();
if ($sql)
return true;
else
return false;
catch
return 'Unable to connect to database! Please try again later.';
?>
I have a crossdomain.xml but I am unsure if I have it placed right.
I also have a services.conf but am unsure if that also needs to be altered to adjust for MySQL.
Any help would be appreciated.Found the problum
The connection string had to be placed in the public _constructor function of the class.
<?php
class EmployeeService
public function __construct()
$hostname='127.0.0.1';
$username='root';
$password='*********';
$dbname='myDatabase';
mysql_connect($hostname,$username, $password);
mysql_select_db($dbname);
public function logIn($N, $P)
$query = "SELECT * FROM EmpUsr WHERE UserName = '$N' AND Password = '$P'";
$result = mysql_query($query);
if ($result)
return true;
else
return false;
?> -
FMS NetConnection.call stops responding
I have a FMS 3.5.1 server running an application I developed. After some time it seems FMS becomes unstable and the flex client can connect (I receive a NetConnection.Connect.Success) but nothing happens after that. I did some digging, and it turns out that FMS is in a strange state where clients can connect, and FMS can successfully call functions on the flex client, however any NetConnection.call() from Flex to FMS does not work. I tried changing the flex client to make a function to fms test() that simply traces a test message, but I do not get any errors in Flex making the call, and do not get any errors in any fms log or application log, or the expected trace on FMS. It's as if the call was never made. The server however can continue to make function calls to the flex client. Also, after some time, some application instances continue to work while others do not. Restarting an application that is not responding does not fix the issue.
I made a wireshark capture on the FMS server during this:
frame #47 Server BW, Client BW, Ping, Invoke
frame #48 Server calls onBWCheck on flex client
frame #49 Flex sends Server BW message
frame #51 Flex calls Test() function on FMS
frame #52 Flex calls _result on FMS
frame #53 FMS sends ACK for frame #52
frame #89 Flex sends RST, ACK for frame 53 - RTT for ACK was 16.8 seconds
Earlier in the day I see a bunch of error messages in the logs:
This is from the master.00.log and there are 4971 of these in a row with the exact same timestamp
2010-06-21 04:50:26 10077 (e)2581395 Failed to signal process condition: errno(22). -
From the edge.00.log, I see a bunch of these about 4-5 per second
2010-06-21 04:48:21 10097 (e)2581394 Failed to wait for process condition: errno(43). -
core.00.log
2010-06-21 05:57:12 22803 (e)2581279 Assert failed in /FlashPlayer6_02_FlashCom/shared_tcserver/tcparser.cpp line 109 -
2010-06-21 05:57:12 22803 (e)2581279 Assert failed in /FlashPlayer6_02_FlashCom/shared_tcserver/tcparser.cpp line 109 -
2010-06-21 05:57:12 22803 (e)2581279 Assert failed in /FlashPlayer6_02_FlashCom/shared_tcserver/tcparser.cpp line 109 -
2010-06-21 05:57:12 22803 (e)2581279 Assert failed in /FlashPlayer6_02_FlashCom/shared_tcserver/tcparser.cpp line 109 -
2010-06-21 06:05:17 22803 (e)2581279 Assert failed in /FlashPlayer6_02_FlashCom/shared_tcserver/tcparser.cpp line 109 -
2010-06-21 06:11:56 22505 (e)2581279 Assert failed in /FlashPlayer6_02_FlashCom/shared_tcserver/tcparser.cpp line 109 -
2010-06-21 06:51:26 22803 (e)2581279 Assert failed in /FlashPlayer6_02_FlashCom/shared_tcserver/tcparser.cpp line 109 -Hi ptamilar,
Can you update to the most recent FMS available, FMS 3.5.3 and if you're still seeing this issue email me ([email protected]) directly and we'll work together to get this resolved for you.
http://www.adobe.com/support/flashmediaserver/downloads_updaters.html
Asa -
NetConnection.Call Parameter question
passingArray=("a","b","c");
NetConnection.Call (somephpfunction, responder,
passingArray);
Will I call method pass the array to the php function or will
it pass the contents of the array as parameters to the php
function?
Meaning, am I to define the function as:
function somephpfunction ($passingArray) {}
or as:
function somephpfunction ($a,$b) {}
ThanksI'm using AS3 to connect to a mySql database using Zend Amf. I was wondering how to send (post) variables to the database.
I found on www.gotoandlearn.com had us using the .call() to connect from AS3 to a php bootstrap that allowed us access to our db.
Sooo, in a long winded way I was trying to collect AS3 variables to be able to post to the db through Zend Amf.
I'd found some posts about using the extra parameters I just was getting errors in my php when I used them. So I thought I might be on the wrong path. -
Differences between NetConnection.call() and RemoteObject
I need to make a call from a Flash client to a server. I figured out that I can either make a remote call using NetConnection.call() or RemoteObject. Can anyone tell me what are the differences between the two? Is there another way to make remote call?
Explain the purpose of the call? You could use xml.load() or even LoadVars() to make calls to servers.
-
Problem while sending ByteArray from as3 client through netconnection call method to red5 server
Hi to all,
I'm trying to send from as3 client a ByteArray of more or less 3 MB using NetConnection's call method but I am unable to do it, cause I get a timeout on the server and the client get disconnected (I have also increased the timeout limit in red5.properties but nothing changed). If I try to send a smaller ByteArray I don't have problem, even if the trasfer is really slow.
Any solution?
thanksput it in code tags so it's readable
CLIENT
public void sendLoginData(String data)
int c=0;
byte loginData[]=new byte[data.length()];
loginData=data.getBytes();
try
out.write(loginData);
System.out.println(client.isClosed());
// here i want 2 receive the 1 byte data whch i hv sent frm server's RUN() method
//following code is not working :( it gets hanged
while((c=in.read())!=-1)
System.out.print(c);
System.out.print("hi");
catch(Exception e)
System.out.println("Caught:" + e);
finally
out.close();
}SERVER
public void run()
boolean flag;
try
flag=verifyLoginData(ID); //this function verifies the login data by connecting to DB
System.out.println(flag);
if(flag==true)
//send login valid
bos.write(1);
bos.close();
else
//send login invalid
bos.write(0);
bos.close();
catch(Exception e)
System.out.println("caught " + e);
} -
I have built an AIR app using ColdFusion 8.01 as the backend. I am getting this error occasionally on Remote Object calls. My suspicion is that the Channel being used by the RemoteObject is timing out. I'm not bothering to configure the Channel separately, I'm just going with the default that is part of the RemoteObject.
I'm using Cairngorm, with a ServiceLocator and my thought is that I could separately define my channel from the RemoteObject declaration and listen for timeout events on the Channel and refresh the Channel if it times out.
I'd be really interested in anyone's feedback on this issue.
JeffHi,
Can you please try tracing the FaultEvent.fault.rootCause
object and see if there is any error message. Usually exceptions
thrown from the server is available in this rootCause object.
Hope this helps. -
NetConnection .call() what is a parameter?
AS3
Hi, I'm trying to send variables to php 5 using the .call() but not sure how to send a variable, can anyone help?
from the manual:
myNetConnection.call(methodName, [resultObj, p1, ..., pN])
but I dont know what this part means. Can someone clarify? Can this be a variable?
p1, ..., pN Optional parameters that can be of any ActionScript type, including a reference to another ActionScript object. These parameters are passed to the methodName specified above when the method is executed on the remote application server.
thanks for any help..I'm using AS3 to connect to a mySql database using Zend Amf. I was wondering how to send (post) variables to the database.
I found on www.gotoandlearn.com had us using the .call() to connect from AS3 to a php bootstrap that allowed us access to our db.
Sooo, in a long winded way I was trying to collect AS3 variables to be able to post to the db through Zend Amf.
I'd found some posts about using the extra parameters I just was getting errors in my php when I used them. So I thought I might be on the wrong path. -
NetConnection.Call.Failed with IE8
I believe the bug has been logged: http://bugs.adobe.com/jira/browse/SDK-21005
But does anyone know of a workaround or fix? I've tried caching changes to the HTML and to the services-config file and nothing has worked.
Flash remoting basically does not work at all with IE 8 per my tests...Russell, it sounds like you might have already tried this, but this helped me out. Now it works better (most of the time)...
http://jake.cfwebtools.com/2009/02/26/flex-channelconnectfailed-error-netconnectioncallfai led-http-status-200/
Let me know if that helps...
Maybe you are looking for
-
When I am looking over an email and want to open a webpage, nothing happens when I click the link
-
Lync 2013 mobility and external access not working
Hi all. I installed and configured Lync Server 2013 Front End and Lync Server 2013 Edge on Windows Server 2012 R2. Internal lync clients (not mobile) can successfully connect to server and everything works fine for them. External users can connect on
-
Hello ! I have a problem .... A few days ago I installed AdobePhotoshop CS5 on my computer.But I immediately noticed that I do not have the option of 3D tools.Does someone can tell me how to solvethis problem ????
-
Company code 1000's witholding tax reference number is missing
Hello All, We are running the report RFIDYYWT / t.code S_P00_07000134 for the first time to file tax returns in the US. And we see the following errors; 27 Company code 1000's witholding tax reference number is missing 28 EDI identifier for com
-
Does hplip actually require foomatic-db?
Hi, I struggled for an hour to set up an HP Deskjet 3050 J610a connected via WiFi. I had hplip installed, but http://localhost:631/admin gave the cryptic message "Unable to get list of printer drivers: Success". Finally I ran `sudo pacman -Rdd foomat