Flex :: Connect UI To A Unix Backend Server?
Sep 23, 2011
Im working on a project with the following basic needs:
Need to invoke a Flex Webapp in a new Tab from another Webapp in Java/Jsp.This Flex UI must be connected to a unix backend to show the backend operations on the UI.The unix backend server has telnet operations and SSO
View 1 Replies
Similar Posts:
Jul 24, 2006
Can anyone answer the above question? (Is it possible to use a DataGrid as a small built-in DB in a Flash application thus avoiding the need to connect to a backend DB If so, does the DataGrid store the variables added to it even if the app. is switched off?
View 1 Replies
Apr 5, 2010
How do I restart FMS under unix? I tried./fmsmgr server restartbut it returnsServer:restart command:Server service restart not found. Exiting.
If i type ./fmsmgr server
it returns
Server:fms command:NPTL 2.5Usage: ./server {start|stop|restart}
[code]......
View 1 Replies
Feb 20, 2011
I made a custom server that accepts TCP connections on a certain port. I made a corresponding client that sends data to the server. The client writes to the socket and the server seems to accept it. In short, the server / client rig works. Now I want to re-create the client only this time, via Flex 4 / Flash Builder 4. How do I go about making my Flex 4 app connect to my custom server?
[code]...
With that type of approach, the server doesn't seem to be receiving any connections at all. And also, even though I set the requestTimeout to 5, my Flex app seems to continuously try to connect to the server because I rigged it so that the button when clicked will call this HTTPService also that certain button would get disabled and it will get enabled again after it the connection successfully connects, returned an error or if it timed out.
So with all these said, I want to ask you, what is the best approach to making my Flex app connect to my custom made server?
View 2 Replies
Feb 9, 2010
As far as In understand the Flex technology, a Flex client connects to a Flex server to retrieve business information. Is this the only allowed connection for the client, back to the originating server? Or can a Flex client also open a secondary connection to a different server wich runs BlazeDS for message exchange?(This might offer an option for load balancing and cross-platform development).
Update: I have found this page which links to the Cross-domain policy file specification:[URL]..
View 2 Replies
Oct 27, 2009
I'm developing a multi-player game and I know nothing about how to connect from one client to another via a server. Where do I start? Are there any whizzy open source projects which provide the communication framework into which I can drop my message data or do I have to write a load of complicated multi-threaded sockety code? Does the picture change at all if teh clients are running on phones?
View 4 Replies
Dec 20, 2010
I have a server with some simple java objects running. I want to build the client with Flex and connect to the server data with BlazeDS. The problem is the Flash Builder is not generating the Classes correctly. Just the properties are being generated, the inheritance are not being generates.
View 1 Replies
Mar 2, 2011
When I connect data services using blazeds I get following error message.
[Code]...
Why am not able to connect? But when specify remoteObject in the declaration tags and call the methods it works fine.
View 1 Replies
Jan 19, 2010
I am trying to develop a P2P conferencing application in flex using RTMFP. So I have to make connection to Adobe Stratus server for Id of Flash Player instance. I am a student and behind the http proxy. I have checked in NetConnection class but, didn't find anything related proxy configuration.So, How can I configure proxy settings for my flex application.
View 1 Replies
Apr 28, 2010
One server - is streaming server with Flash Media Interactive Server 3.5that host the application with asc files in FMS application directory.Second server - is the IIS web server that host thehtml,aspx,swf etc.. files.So basically i heve swf file on one server that have to connect to live streaming via rtmp on different server with different ip address.I did not find any clear explanation on this crossdomain rmtp issue.ys only HTTP can use crossdomain.xml policy filebut not rmtp.So what policy security procedure need to be done in order to enableswf file hosted on one server to connect and show rmtp live cam broadcasting from another server?
View 2 Replies
Jun 23, 2011
when i do this locally on tomcat server on local development machine it works fine when i brought it over to linux im getting this error.i dont know what to do anymore it should be straight forward but i'm having no luck. i do have a web.xml and i see a broker for my remote access so i just dont know what it could possibly be
View 1 Replies
Dec 5, 2011
I'm making a program in flash builder 4.5 using WebOrb 4 (which is fantastic, I might add). When I go to deploy, however, it gives me this error:
>There was an error during model deployment for xxxxProgram.
>
>The server returned the following message:
>
>Unable to contact the RDS Server "Data Services on Tomcat (localhost)."
>
>Connection refused: connect
>
>Do you want to continue launching your Flex application?
I've poked around online for a solution, but for the most part I either don't understand them (forum grammar can be somewhat obtuse) or the answer in the post doesn't apply.
View 1 Replies
Jul 7, 2009
I have installed the FMS 3.5 Server on a separate IP from our main Apache Server: The server is running Redhat Linux 2.6.18-128.1.10.el5
FMS 3.5 running on ***.***.**.138 using ports 1935, 8080 (Admin Server using port 1111)
Apache 2 running on ***.***.**.139 using port 80, 443. (several sites setup on this IP)
However, when accessing the fms_adminConsole.htm in the root directory of one of the domains on ***.***.**.139, all login attempts fail. I am connecting to localhost and using the assigned user and password set up in fms.ini. Using either IP fails as well. The FMS server is set up to listen to all hosts as no specific IPs were set.
/var/log/messages show that FMS and the Admin Server are up an running and listening:
Jul 7 12:15:37 228215-web1 Service[28196]: Server starting...
Jul 7 12:15:37 228215-web1 Service[28196]: Server started (/opt/adobe/fms/conf/Server.xml).
[Code]....
All other settings for FMS are default. This is my first time setting up FMS as a fresh install on a new unknown server and I am at a loss as to what settings to check or which files I may need to modify to get it to connect properly. It is a managed server is hosted by rackspace.com if that makes any difference.
View 5 Replies
May 19, 2010
How can i connect to my own server to watch my streaming video from another computer?
View 10 Replies
Jun 22, 2011
I am trying to set up DVR streaming using FLME. I'm following this tutorial: http:[url]........I'm up to Step 2,
I put in the following information into the FLME:
FMS URL: rtmp://222.222.222.222/dvrcast_origin
Stream: mp4:sample.f4v
Then click 'Connect' , but I get an error "Failure to connect to primary server verify that your server URL and application name are valid and that your internet connection is working and retry". My server is a 32-bit windows 2007 VPS , with FMS running.I don't know if I set up the DVR Cast application correct. All I did was copy the dvrcast_origin into the installationdirectory/applications, then I started a new instance of dvrcast_origin with _definst_...Also, I am running the trial version of FMS, and DVR needs FMIS. Is there a way I can just run FMIS?
View 16 Replies
Jan 14, 2011
I have installed FMS 4 on a remote host - Windows 2008. When I install it, I would prefer to install the Apache server and so I did. When I open the initial web page (file:///C: [url]...), the flash content loads and the panel says it is streaming from rtmp. Seems good. But when I try to conect to this from another Flash Media Live encoder, rtmp://ip address/live, where ip address is the address of my host, it won't connect (Failur to connect to pimary server).
When I try to connect to my server with a browser - http://ip address, it loads a web page but clearly it is loading from from IIS.So port 80 is being used by IIS even though I chose to install Apache. Web servers aren't a strong suit but I've found Apache usually fairly easy.Now, I had installed FMS on my notebook and I found I could connect without trouble to rtmp://localhost/live with Flash Media Live Encoder. I figured by installing it on the remote host and then replacing localhost with the ip address, I'd be ok.
I'm willing to use IIS if that is the best thing to do. Maybe that has nothing to do with it. Getting started with these things is usually the hardest part. I've used FMS in the past but haven't had to deal with installing it.
View 2 Replies
Oct 13, 2011
I am using osmf1.0 and am trying to connect to a server to do multibitratestreaming from a level3 FMS instance 3.5. The protocols osmf are rtmpe and rtmpte with 3 different ports 1935,443,80. All in all creating 6 different connections. It then goes and tries to connect to either of these connections asynchoneously (50ms separation between each attempt) which means a later attempt can succeed before an earlier one. The device I am using is an htc mobile running on android (user agent: Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16).The problem Typically, all attempts will fail (NetConnection.Connect.Failed) but occationally one does succeed but only over rtmpte but no specific port.In contrast, with Akamai it does work every single time.
View 4 Replies
Jul 9, 2009
What is the best way for flex frontend to communicate with backend writted in C#? The only communication channel in HTTP, so no custom sockets.I used SOAP in the past, but am concerned about performance since the large overhead of xml, and this application I'm currently working on will be pretty data intensive.Anything that supports easy setup and transparent marshaling/unmarshaling is OK.Is there something as BlazeDS for .net?
View 2 Replies
Apr 11, 2010
i have install a delveopment origin server for FMS testing, it can success steam VOD through internal ip, then we move on to test external ip steaming, but if fail to connect through external ip address, our firewall is using NAT mapping for the ip address, we have enable port 80 & 1935, did we need to change to edge server? i have try to change the vhost setting, but once i change the setting, internal & external will fail to conenct it, i have modfiled these setting in default vhost.xml, did any thing i need to change it? <Mode>remote</Mode> <Anonymous>false</Anonymous> <LocalAddress>all</LocalAddress>
View 1 Replies
May 19, 2010
We are running RedHat Enterprise Linux 5.5. I am told by the Adobe support department that only version 5.2 is supported. However, I have let them know this is basically impossible to do. You can't download 5.2 anymore and if you keep your system patched and updated you have to follow the 5.x branch.
We purchased brand new HP hardware for this server. It is a HP DL380-G6 Dual-Quad-Core Intel(R) Xeon(R) CPU E5540 @ 2.53GHz with 8GB of RAM. The fix at the moment is to restart the FMS system and everything clears itself up for some random amount of time. This this problems happens again.
[Code]...
View 2 Replies
Sep 26, 2009
We are developing an app with a Flex frontend and a C# backend, connected through web services. We are using the FLex Builder 3's Web Service Manager to autogenerate the webservice classes. The problem araise when Flex serialize our objects, for example, when we have a Number property with no value, this is serialized as NaN, and our backend doesn't know about NaN. Another example is when we serialize a cyclic reference, we get a stack over flow exception. I know in java, for example, you can configure the way xstream work with cyclic reference... So, the question is, can we change the way Flex serialize the objects so C# can work with this frontend? Is there any issue we should know about how flex serialize objects?
View 4 Replies
May 8, 2011
I have developed a Flex application. I have also developed a Java servlet program for an Access database using Tomcat. How can I use that servlet backend for my Flex application using HTTPService ?
View 1 Replies
Apr 11, 2011
I would like to know if it's possible to capture a users webcam in flash and directly upload it to YouTube without a backend server setup. Or if there are any third party providers that support this service. I see YouTube offers a live streaming API, but it seems it's only available for selected users.
View 1 Replies
Apr 4, 2011
How to get an Id of last inserted record from backend and display the same with success message as "RECORD INSERTED SUCCESSFULLY AS" +Id in flex...am using Toad for sql server.
View 1 Replies
Nov 24, 2010
My only experience with Flex is some limited reading over the web. What i am wondering is if i want to use Flex or some variant of it for generating reports, specifically Charts, coming off a Java/Oracle backend can i accomplish that in an environment where the streaming media (we cannot play videos on our systems at work) is turned off? Also, are there any other restrictions revolving around using Flex for reporting in the form of charts? Currently, we use Jfree Chart API to develop charts but just exploring an alternative.
View 2 Replies
Apr 20, 2011
How to show success message in frontend....when a record is inserted in backend.
View 2 Replies
Sep 6, 2011
My Flex 4.5 application has many users from Russia and Ukraine with poor internet connections and Socket connections often interrupt and have to be reconnected.
Currently I set currentState to "offline" on IOErrorEvent.IO_ERROR and Event.CLOSE events and display just 1 component in that state:
<mx:ProgressBar indeterminate="true"
horizontalCenter="0" verticalCenter="0"
label="Reconnecting..." labelPlacement="center"
[Code]....
View 2 Replies
Jul 13, 2010
I'm trying to implement a simple application which uses Flex on the front end and a Spring/Hibernate application on the back end, with communication between the two going over a BlazeDS channel.
I'm seeking direction as to the best and/or simplest way to approach this. I have the UI set up in such a way that the user is presented with a file chooser in which they pick the image file they want to upload. When this is chosen and submitted (as a form submission) then the server side should receive the image file data as well as some related metadata such as a description and date, then populate a Hibernate entity/POJO with the image file data and related metadata, and then persist the entity/POJO into the database.
I have found some examples of how you would do a file upload and download using servlets here and the FileReference class (here and here) but these don't appear to address the problem in a way which leverages BlazeDS and/or Spring/Hibernate. I want to put the image file data and related metadata (description, capture date, etc.) into a value object within the Flex application and then send this over BlazeDS to a service provided by my Spring/Hibernate application running on Tomcat. In this service I want to extract the image data (both the actual JPG/PNG/GIF data and the related metadata such as description, etc.) from the value object sent from the Flex app into an entity/POJO which is then persisted via Hibernate in my database.
Can this be done, and if so what's the best way to go about it? Am I mistaken in assuming that if I use BlazeDS then I am somehow bypassing the need to provide HTTP-based services such as servlets on the server side and instead I can use my Java services as "RemoteObjects"? Is there necessarily a one-to-one mapping between Java POJO/entity class and the Flex value object class when making this sort of transfer? If so is there a tool which creates corresponding Flex value objects from Java POJOs or vice versa.
Update: Some code to make this more clear:I have this as my value object in Flex:
package valueobjects
{
import flash.utils.ByteArray;
[Bindable]
[code]....
When I set a breakpoint in the method above and look at the image variable it looks to be empty, so I'm assuming that the transformation from the Flex value object to the Java POJO did not go as expected and that there's more to it than just adding a RemoteClass alias in the Flex value object class.
View 1 Replies
Jun 11, 2011
I tried to put a video on my site [URL] and it say "cannot connect..... blah"...... What should I do to make it work?
View 1 Replies
Feb 27, 2007
I have a menu designed in Flash which has to pull back database records, how do I go about that? Every tutorial seems to be different and none are exactly what I am looking for.
View 6 Replies