Hi All,
Can any one tell me how to integrate ATG and Flex using Blazeds.
Hi All,
Can any one tell me how to integrate ATG and Flex using Blazeds.
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
--sachin
Hi All,
I have a flex application which has been built using flex 3.2 and Blazeds. Its working fine in the test server(and also in local machine), but getting following error when i uploaded it to production server.
Fault handler error:
Channel.call.failed error NetConnection.Call.Failed:HTTP:Status 504
Above error popups only on particular action(its connecting to backend and configuration in remoting-config.xml also correct). I checked the log in tomcat server for exception, there is nothing.
Configuration in services-config.xml for channel definition is as below:
<channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
<endpoint url="http://localhost:8080/blazeds_Sample/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
</channel-definition>
Please suggest me a solution.
Thanks,
Suchithra
Hi,
Has anybody tried to set up Database authentication and BlazeDS though JBoss 7?
I've performed steps I previously used with other versions but still getting the usual error;
'There was an unhandled failure on the server. flex/messaging/security/TomcatLoginHolder'
The truth is I feel like I'm stubbling around in the dark because JBoss 7 is so different to previous versions.
Any help would be appreciated
Revision: 24027
Revision: 24027
Author: rohitk@adobe.com
Date: 2012-07-31 06:09:32 -0700 (Tue, 31 Jul 2012)
Log Message:
***********
Removing weblogic.jar as it cannot be open sourced.
Removed Paths:
*************
blazeds/branches/4.6_Apache/modules/opt/lib/weblogic.jar
Revision: 24056
Revision: 24056
Author: nagpal@adobe.com
Date: 2013-05-28 03:31:12 -0700 (Tue, 28 May 2013)
Log Message:
***********
Added changelog for donation to Apache.
Modified Paths:
**************
blazeds/branches/4.6_Apache/modules/proxy/src/flex/messaging/services/http/httpclient/Eas ySSLProtocolSocketFactory.java
blazeds/branches/4.6_Apache/modules/proxy/src/flex/messaging/services/http/httpclient/Eas yX509TrustManager.java
Good afternoon,
I realized a Client-Server application. Server is Java-based. Client is Flex. Server services are accessible through Blaze DS.
Now I have some Java clients that need to access server services. Blaze DS permits to do it simply but I don't know how to map java objects as I do using [RemoteClass(alias.....)] construct at Actionscript side.
For example, server sends a MyObjectType and client receives an ASObject.
Is there a way to map java MyObjectType automatically at destination?
Thank you for help and sorry for poor english.
Regards, Francesco
If I let the consumer idle for at least half an hour and then try to send a message, the server will receive request(Channel endpoint my-streaming-amf received request) but cannot connect back de consumer and the consumer doesn't receive anything.
my channel settings:
<idle-timeout-minutes>0</idle-timeout-minutes>
<max-streaming-clients>100</max-streaming-clients>
<invalidate-session-on-disconnect>true</invalidate-session-on-disconnect>
<server-to-client-heartbeat-millis>5000</server-to-client-heartbeat-millis>
How can this be addressed?
Is there a way to stop <mx:RemoteObject> from dumping all the debug and info traces to my logging TraceTarget? They're drowning out my own debug and info traces.
I've tried changing the services-config.xml in my blazeds folder on Tomcat, but it doesn't have an effect, and I still see all those traces in my FlexBuilder console whenever the remoting object makes a request.
Here the logging portion of my services-config.xml in the (Tomcat server)/webapps/blazeds/WEB-INF/flex/) folder
<logging>
<target class="flex.messaging.log.ConsoleTarget" level="Error">
<properties>
<prefix>[BlazeDS] </prefix>
<includeDate>false</includeDate>
<includeTime>false</includeTime>
<includeLevel>false</includeLevel>
<includeCategory>false</includeCategory>
</properties>
<filters>
<pattern>Endpoint.*</pattern>
<pattern>Service.*</pattern>
<pattern>Configuration</pattern>
</filters>
</target>
</logging>
Thanks for any thoughts or suggestions.
( Sorry if this question has been asked before but there's no obvious way on the Forums site to search a forum :-( )
- Daniel
Santa Cruz, CA
All,
I'm looking for some information about the feasibility of connecting a Flash application built in AS2 to BlazeDS.
Is this possible? Are there any tutorials/overviews to help me get started?
Many thanks in advance for any insights or advice.
Hello all
I desperately need some help on this error
[FaultEvent fault=[RPC Fault faultString="Didn't receive an acknowledge message" faultCode="Server.Acknowledge.Failed" faultDetail="Was expecting mx.messaging.messages.AcknowledgeMessage, but received null"] messageId="344B0ECA-F06A-5549-06E7-461D547A1727" type="fault" bubbles=false cancelable=true eventPhase=2]
I've managed to narrow down the problem to a single remote object call. However, there is no change to this piece of code at all. (There are other changes to the same file, but not this method)
any suggestions are welcome
thank you
I am connecting to Java backend(filenet 4.5.1), and I am checking the session in a filter configured to intercept the blazeds calls for MessageBrokerServlet. When the session timesout after 30 mins, the session is invalidated and the blazeds logging shows that the session is invalidated. It disconnects the channel between flex client and blazeds. When I am invoking remote call, since there is no channel, remote call is not going to the server, and the fault handler method is invoked with Client.Error.RequestTimeout after the default timeout for that particular call. How to detect whether channel is there or not? How to detect session timeout and throw message on the client.
I recently came into a situation when sending a nested object from Java to Flex via a HashMap the Objects were null. More precisely:
final Map<Integer, List<String>> tempMap =newHashMap<Integer, List<String>>();
would send the keys as integers but the values were all null.
But when sending the same with String keys:
final Map<String, List<String>>tempMap=newHashMap<String, List<String>>();
the objects came thru.
Are there any restrictions in BlazeDS serialization when using complex types as keys?
Hi!
I have some session data in a Java session that I want to share with the Session created by Flash.
Here is wat I want to do.
A SAML authentication filter (FEIDE login) puts the userID and user attributes in session attributes (Session A)
I want this userID ad the user attributes to be available in the Flash application.
Previously we only needed the userID. We put the userId in the flashvars array.
Now we need more user attributes. that are available in the java session (Session A).
The Flash application has its own session (Session B). There is no obvious way of sharing data between Session A and Session B.
The solution I came up with is:
Now my question. Is there a more elegant way of doing the same thing?