RPC Fault in IE

I've got a very complex ~9k lines of code front and back end
that I've been developing over the past two months. I've done all
of my development work using Firefox, and today when I went to show
the client - guess what!
[RPC Fault faultString="Send failed"
faultCode="Client.Error.MessageSend"
faultDetail="Channel.Connect.Failed error
NetConnection.Call.Failed: HTTP: Status 200"]
at mx.rpc::AbstractInvoker/
http://www.adobe.com/2006/flex/mx/internal::faultHandler()[C:\dev\enterprise_gmc\framework s\mx\rpc\AbstractInvoker.as:192
at
mx.rpc::Responder/fault()[C:\dev\enterprise_gmc\frameworks\mx\rpc\Responder.as:56]
at
mx.rpc::AsyncRequest/fault()[C:\dev\enterprise_gmc\frameworks\mx\rpc\AsyncRequest.as:107]
at
mx.messaging::ChannelSet/mx.messaging:ChannelSet::faultPendingSends()[C:\dev\enterprise_g mc\frameworks\mx\messaging\ChannelSet.as:962]
at
mx.messaging::ChannelSet/channelFaultHandler()[C:\dev\enterprise_gmc\frameworks\mx\messag ing\ChannelSet.as:710]
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.messaging::Channel/mx.messaging:Channel::connectFailed()[C:\dev\enterprise_gmc\framewo rks\mx\messaging\Channel.as:736]
at
mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingChannel::connectFailed ()[C:\dev\enterprise_gmc\frameworks\mx\messaging\channels\PollingChannel.as:203]
at
mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFChannel::statusHandler()[C:\de v\enterprise_gmc\frameworks\mx\messaging\channels\AMFChannel.as:294]
This is the first time I have run as complex an application
as this in IE. The application uses a ColdFusion back end via
RemoteObject method calls. As I've stated the compiled swf's run
fine under Firefox, but I get the above error in IE.
Anyone have any thoughts?

It appears from reading your error message that the file is
linked to a fixed location
Flex can't access local file system resources so you're going
to have to either supply a URL to the file or move it so it is in
the same directory as the Flex files and remove the filepath to the
file.

Similar Messages

  • [RPC Fault faultString="HTTP/1.1 415 Unsupported Media Type" faultCode="Server.Proxy.Request.Failed"

    Hi,
    Posting in the 'General' forums as well. Did not yet get any response for the topic posted in the 'Configuration and Getting Started Discussion' forum.
    I am having nightmares to call the POST method of a REST service thru Flex. Initially tried with the HTTPService without any proxy server. Wasn't able to call POST, though the GET method was successfully called. Please see the post here (http://www.flexdeveloper.eu/forums/actionscript-3-0/how-to-acces-post-method-of-rest-web -service-thru-flex/)
    b THEN I tried with BlazeDS
    , but with the same results!
    I have set up BlazeDS with the integrated Tomcat option. I have also set up the Flex project as mentioned in the instructions. It is working fine when I run the sample projects.
    But the problem is that
    i when I try to access a
    b POST for a REST service,
    i I get the "HTTP/1.1 415 Unsupported Media Type" fault.
    b The complete fault I'm getting is: [RPC Fault faultString="HTTP/1.1 415 Unsupported Media Type" faultCode="Server.Proxy.Request.Failed" faultDetail="HTTP/1.1 415 Unsupported Media Type"]
    at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev \3.1.0\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:218]
    at mx.rpc::Responder/fault()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\rpc\Responder.as:53 ]
    at mx.rpc::AsyncRequest/fault()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\rpc\AsyncRequest .as:103]
    at HTTPMessageResponder/resultHandler()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\messagin g\channels\HTTPChannel.as:871]
    at HTTPMessageResponder/completeHandler()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\messag ing\channels\HTTPChannel.as:940]
    at ChannelRequestLoader/callEventCallback()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\mess aging\channels\HTTPChannel.as:1155]
    at ChannelRequestLoader/completeHandler()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\messag ing\channels\HTTPChannel.as:1191]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()
    I have added correct entry to the policy-config.xml (I know this because the GET for the same REST service is working).
    b Only the POST thing is giving me the fault!
    Appreciate any inputs. (am in need of 'em badly)
    thanks
    BJG

    My guess is that the Server/Rest service doesn't like the content type of the request. HTTPService uses a content type of application/x-www-form-urlencoded by default. Maybe the Rest service is expecting the request to be XML? If that's the case, you need to set the contentType property of the HTTPService to application/xml.
    Sometimes an HTTP sniffer/proxy such as Charles can be useful for debugging these kinds of issues. If my suggestion doesn't help, capture the HTTP request and response using a HTTP sniffer like Charles and post back to this thread with it and someone will take a look at it for you. Thanks.
    -Alex

  • RPC Fault at Transport level?

    One of our Flash programmers is receiving the following error in Flex when connecting to an external MS-SQL DB server.
    "[RPC Fault faultString="A Transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 -- The specified network name is no longer available.)"  faultCode="Server.Processing" faultDetail="null"]
    Apparently my googlefu is no good today as I've not found anything remotely close yet.  Any assistance would be greatly apparectiated.
    Thanks

    Please see attached images which I have got,
    I am using:
    Latest BlazeDS + Flex 3.0 plugin.
    Server JBoss 4.0.2
    I am not getting exactly why this is working so?

  • RPC Fault faultString="HTTP request error"

    Hi I built a project from an existing fxp file.. But when I try to run it I receive tthis error.. What is wrong??
    [RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032:
    I am sure that the fxp file is correct as I tested it to another computer.....
    Please it is urgent!!
    the whole error is this
    [RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: http://localhost:8888/*/Applications/MAMP/htdocs/*/php/get_course.php"]. URL: http://localhost:8888/*/Applications/MAMP/htdocs/V3_tutor_for_CODE_2/php/get_course.php"]
              at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[C:\autobuild\3.x\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:290]
              at mx.rpc::Responder/fault()[C:\autobuild\3.x\frameworks\projects\rpc\src\mx\rpc\Responder.a s:58]
              at mx.rpc::AsyncRequest/fault()[C:\autobuild\3.x\frameworks\projects\rpc\src\mx\rpc\AsyncReq uest.as:103]
              at DirectHTTPMessageResponder/errorHandler()[C:\autobuild\3.x\frameworks\projects\rpc\src\mx \messaging\channels\DirectHTTPChannel.as:368]
              at flash.events::EventDispatcher/dispatchEventFunction()
              at flash.events::EventDispatcher/dispatchEvent()
              at flash.net::URLLoader/onComplete()

    Maybe the URL you are accessing is not available from that computer.

  • RPC fault when calling a CFC from flex

    Hello there,
    I'm having some startup problems getting Flex and Colfusion 8
    to play nice with FDS. I'm using Flexbuilder 2.0.1 and Coldfusion 8
    developer edition on IIS on a windows box (XP professional).
    I use a very simple test CFC in my coldfusion site with just
    one function called 'getstring' which, surprise, surprise returns a
    string. I want to show this string on a label in my Flex frontend
    by using <mx:remoteobject>, the whole thing compiles
    perfectly, I use this mxml:
    <mx:RemoteObject id="TestService"
    source="cfc.DataTest"
    destination="ColdFusion"
    concurrency="multiple"
    makeObjectsBindable="true"
    showBusyCursor="true">
    <mx:method name="getString"
    result="doResult(event.result)" fault="doFault(event.fault)"/>
    </mx:RemoteObject>
    but after calling the remote method I get this error back:
    [RPC Fault faultString="coldfusion.xml.rpc.CFCServlet cannot
    be cast to coldfusion.runtime.CFPage" faultCode="Server.Processing"
    faultDetail="null"]
    Which is the same type of error I get when I call a CFC
    directly through the address bar in my browser, for example
    http://localhost/cfc/datatest.cfc
    I tried googling the error message but so far found nothing
    that indicated what I'm doing wrong...
    I'd really appreciate some help here, if you need more info
    let me know...
    thanx in advance

    Ok, nevermind, I figured out what I was doing wrong. I had
    accidentally setup my application.cfc in a wrong way, I had set all
    of the onrequest en onapplication event handlers to
    access="package" instead of "public", this generated an error
    ofcourse...
    I'll just go bang my head against a wall for a while
    now....

  • RPC Fault

    I built a simple RPC web service, deployed successfully on
    Tomcat/Axis2-1.3. I tested it and it is working.
    I built a "SimpleWeatherClient.mxml" that seems to send the
    request to the server, receive a response, but fail to process the
    result. I've attached the error message, the source code for the
    client, and the WSDL. Is this a bug?
    Error message:
    [RPC Fault faultString="Cannot find definition for type '
    http://data.pojo.sample/xsd::Weather'"
    faultCode="DecodingError" faultDetail="null"]
    at mx.rpc.soap::Operation/
    http://www.adobe.com/2006/flex/mx/internal::processResult()
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::resultHandler()
    at mx.rpc::Responder/result()
    at mx.rpc::AsyncRequest/acknowledge()
    at private::DirectHTTPMessageResponder/completeHandler()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/flash.net:URLLoader::onComplete()
    at [io]

    Any chance you could try out a nightly build of the Flex 3
    SDK Beta from Adobe Labse?
    http://labs.adobe.com/technologies/flex/sdk/flex3sdk.html
    If you're using Flex 2.0.1, some fixes have been backported
    to the Flex 2.0.1 branch and are also available through the night
    builds on Labs:
    http://labs.adobe.com/technologies/flex/sdk/flex2sdk.html

  • RPC fault in HTTPService.

    I have successfully deployed my application on a server that
    hosts Flex Data Services. However during a HTTPService call from my
    application I get the following error. Please can someone throw
    some light as what needs to be done. I know am missing a link to
    define a channel for RPC call. However I am not sure how to
    configure that.
    [RPC Fault faultString="Send failed"
    faultCode="Client.Error.MessageSend"
    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 mx.rpc::Responder/fault()
    at mx.rpc::AsyncRequest/fault()
    at mx.messaging::ChannelSet/::faultPendingSends()
    at mx.messaging::ChannelSet/channelFaultHandler()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at
    mx.messaging::Channel/mx.messaging:Channel::connectFailed()
    at
    mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingChannel::connectFailed ()
    at
    mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFChannel::statusHandler()
    TIA
    ~Shishir

    Hi Pete,
    Thank for your reply. I have tried to answer the queries you
    have put in as your reply.
    >> In your HTTPService tag, have you set
    useProxy="true"?
    Yes,
    >>If so, are you using your own destination, or are you
    relying on the default destination for the proxy service, i.e.
    >>DefaultHTTP?
    Not Sure, but I guess the defualt destination , coz I have
    not created any of my own destinations.
    >>Have you looked at the default channels defined for
    the proxy service (these are used if you have not explicity
    referenced >> any channels in your destination)? Or perhaps
    you do have channels referenced in your destination's config?
    Am confused. :(. I have not defined anything of my own. No
    channels, destinations, or end points.
    >>Either way, these references point to a channel
    definition in the top level /WEB-INF/flex/services-config.xml. Do
    any of >>these channel definition enpoint uris have a
    {context.root} token in them? If so, did you specify a
    --context-root=/flex >>command line argument to the mxmlc
    compiler or flex builder compiler when building your SWF? Did you
    also specify a
    >>--services=c:/path/to/your/services-config.xml command line
    argument when compiling so that the channel definitions
    >>make it into the SWF?
    How do I specify these command line arguments to the compiler
    , while compiling from within the flex builder.
    >>Can you test browsing to the channel endpoints and
    check they're alive?
    No idea, how to do that.
    >>Have you got the debug version of the Flash Player?
    If so, have you tried adding a <mx:TraceTarget level="0" />
    to ensure >>all connectivity information is reported in the
    trace output?
    No , I dont think I have the debug version, I just downloaded
    the file available from the site.
    >>Perhaps you're making changes to the configuration
    files and forgetting to restart the server? Or perhaps Flex Builder
    >>isn't really recompiling your SWF? Can you try forcing a
    clean and recompile?
    I have not made any changes to any of the config files, and
    therefore I dont need to restart the server I guess. How do I know
    if the Flex Builder is really compiling my SWF.
    Even more so , with all these hindrances, I am really
    baffeled by the fact that when I run my application directly from
    the flex builder, the application can access the URLs and retrieve
    data. However when I deploy the same onto my OC4J app server (which
    has FDS) I start getting this errror. Can you please clarify why
    this is so, that my application fails to access internet when I run
    it from the server and also how different it is to run the
    application from the flex builder than to run it from an
    application server with FDS(flex data services).
    In anticipation of your reply.
    Thanks,
    Shishir

  • Error #1009: RPC Fault - (Really strung out here!)

    Did some searches on this but can't seem to find anything
    definitive. I have an ASP.NET Web Service that I have test via IE
    and it is working. I have FB2 and FDS, but just trying to call a
    simple WebService direcly like (extracts of the code below):
    ============================================
    <mx:WebService id="srv"
    useProxy="false"
    wsdl="
    http://localhost/RM_Starter/Find_Patterns.asmx?wsdl"
    >
    <mx:operation name="ShowMyPatterns" >
    <mx:request>
    <param1>
    param1
    </param1>
    <param2>
    param2
    </param2>
    </mx:request>
    </mx:operation>
    </mx:WebService>
    ================================
    And I fire off the send from a button like this. I know this
    gets fired off and works and I see IIS log the GET for it:
    private function initBtn():void
    srv.ShowMyDayPatterns.send();
    =======================================================
    But when that fires I get the following error message:
    [RPC Fault faultString="Error #1009: Cannot access a property
    or method of a null object reference." faultCode="EncodingError"
    faultDetail="null"]
    at mx.rpc.soap::Operation/
    http://www.adobe.com/2006/flex/mx/internal::invokePendingCall()[C:\dev\enterprise_gmc\fram eworks\mx\rpc\soap\Operation.as:582
    at mx.rpc.soap::Operation/
    http://www.adobe.com/2006/flex/mx/internal::invokeAllPending()[C:\dev\enterprise_gmc\frame works\mx\rpc\soap\Operation.as:428
    at
    mx.rpc.soap::WebService/mx.rpc.soap:WebService::unEnqueueCalls()[C:\dev\enterprise_gmc\fr ameworks\mx\rpc\soap\WebService.as:861]
    at mx.rpc.soap::WebService/
    http://www.adobe.com/2006/flex/mx/internal::wsdlHandler()[C:\dev\enterprise_gmc\frameworks \mx\rpc\soap\WebService.as:667
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at
    mx.rpc.soap::WSDLParser/dispatchEvent()[C:\dev\enterprise_gmc\frameworks\mx\rpc\soap\WSDL Parser.as:788]
    at
    mx.rpc.soap::WSDLParser/mx.rpc.soap:WSDLParser::parseCompleted()[C:\dev\enterprise_gmc\fr ameworks\mx\rpc\soap\WSDLParser.as:305]
    at mx.rpc.soap::WSDLParser/
    http://www.adobe.com/2006/flex/mx/internal::httpResultHandler()[C:\dev\enterprise_gmc\fram eworks\mx\rpc\soap\WSDLParser.as:181
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    IT WASN"T THIS HARD BEFORE! Is there something in the FDS
    files that have to be configured? What am I missing here?

    FlashPlayer 9.0.124 has increased restrictions with its
    security model.
    For URL based access (FlashLoader) you need the
    crossdomain.xml in the server root. For socket based access you
    need a socket policy file and a policy file server (assumingly).
    I haven't been able to get the latter working. See my cry for
    help here:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60&catid=585&threadid =1360744
    Adobe has more info here:
    http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.html

  • RPC Fault - remote Object / cfc

    Hi,
    I have had a problem for a long time now. It happens when I  run applications from Flex Builder 3 that call remoteObjects that  again calls coldFusion cfc-files. The first time I run the applications after I have started Flex Builder, it always works ok. But after 5 - 10 minutes  of using Flex Builder without running the application in the browser… if I then run the appication, I get an error after the browser has loaded the swf-file. If I refresh the browser after the error occur , it works fine.
    This error only happens on my local coldFusion development server (built in). When I deploy the applications, everything works fine all the time.
    The error I get is as follows:
    An ActionScript error has occurred:
    [RPC Fault faultString="java.lang.NullPointerException" faultCode="Server.Processing" faultDetail="null"]
    at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[C:\autobuild\3.2.0\frameworks\p rojects\rpc\src\mx\rpc\AbstractInvoker.as:220]
    at mx.rpc::Responder/fault()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\Responder .as:53]
    at mx.rpc::AsyncRequest/fault()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\AsyncR equest.as:103]
    at NetConnectionMessageResponder/statusHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\ src\mx\messaging\channels\NetConnectionChannel.as:569]
    at mx.messaging::MessageResponder/status()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx \messaging\MessageResponder.as:222]
    Can anybod help me on this one?
    Thanks

    Ok, nevermind, I figured out what I was doing wrong. I had
    accidentally setup my application.cfc in a wrong way, I had set all
    of the onrequest en onapplication event handlers to
    access="package" instead of "public", this generated an error
    ofcourse...
    I'll just go bang my head against a wall for a while
    now....

  • I am getting  "RPC Fault" at Debugging

    I have attached the followings:
    1- My Flex src code
    2- My .xml data file code
    3- The RPC Fault exception that I am getting whenever I
    debug.
    I am incapable of sorting this out on my own. I need
    help.

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute"
    initialize="ilungaService.send()">
    <mx:Script>
    <![CDATA[
    import mx.rpc.events.ResultEvent;
    private function resultHandler(event:ResultEvent):void
    var test:XMLList = new XMLList();
    test = event.result.ilungas;
    ]]>
    </mx:Script>
    <mx:HTTPService id="ilungaService"
    url="c:\testfromweb.xml"
    result="resultHandler(event)" resultFormat="e4x" />
    </mx:Application>
    you need a path... that worked... once i set that..
    2.. if your doing xml give your returned format a "e4x"
    3.. you should have some fault handler....

  • Cairngorm - RPC Fault Error

    I am calling a web service to update. If I click the very
    first time everything works fine. If I then click again I get the
    error below. All I am doing is passing one AS VO object and
    poulating it with fields from a page. Since this works the first
    time, I feel the issue is with the web service. I'm using the
    Cairngorm framework but based on the message it looks more like a
    RPC error than anything. Can anyone help?
    [RPC Fault faultString="Array of input arguments did not
    contain a required parameter at position 2"
    faultCode="Client.Input" faultDetail="null"]
    at
    mx.rpc.soap::Operation/mx.rpc.soap:Operation::createFaultEvent()
    at mx.rpc.soap::Operation/
    http://www.adobe.com/2006/flex/mx/internal::invokePendingCall()
    at mx.rpc.soap::Operation/send()
    at Function/
    http://adobe.com/AS3/2006/builtin::apply()
    at mx.rpc.soap.mxml::Operation/send()
    at Function/
    http://adobe.com/AS3/2006/builtin::apply()
    at mx.rpc::AbstractService/
    http://www.adobe.com/2006/actionscript/flash/proxy::callProperty()
    at aware.business::AwareDelegate/SaveGeneralUser()
    at aware.commands.user::UpdateGeneralUserCommand/execute()
    at
    carirngorm.control::FrontController/adobe.cairngorm.control:FrontController::executeComma nd()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at
    adobe.cairngorm.control::CairngormEventDispatcher/dispatchEvent()
    at
    aware.view.user::PreferencesViewViewHelper/updateAllGeneralUserInfo()
    at aware.view.user::PreferencesView/___Button1_click()

    I have not figured this out yet. I have searched everywhere
    and event posted the same question here
    http://renaun.com/blog/2007/01/20/178/
    This guy has the Cairngorm store example using web services,
    data services, etc. His code is the exact same as mine. He uses a
    Coldfusion web services though.
    Are you using the exact setup as me? Jrun 4 and calling the
    Axis web service from Flex? Surprised this issue hasnt been solved
    since there seems to be a lot of people building flex applications.
    Hopefully someone will help soon.
    thanks for responding

  • RPC Fault String

    Hai All
    I tried to Integrate Flex with Java Code .Will calling Java
    Method this type of Error throws . I am very New to Flex
    I dont knw why this type of Error Occurs . I am Using Flex 3
    and Tomcat Server 5.5
    [RPC Fault
    faultString="com/emc/documentum/fs/rt/ServiceInvocationException"
    faultCode="Server.Processing" faultDetail="null"]
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev\3.0.x\frameworks\project s\rpc\src\mx\rpc\AbstractInvoker.as:216
    at
    mx.rpc::Responder/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Responder.as:49 ]
    at
    mx.rpc::AsyncRequest/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AsyncRequest .as:103]
    at
    NetConnectionMessageResponder/statusHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx \messaging\channels\NetConnectionChannel.as:523]
    at
    mx.messaging::MessageResponder/status()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messa ging\MessageResponder.as:222]
    Thanks
    Madhu

    Hi,
    I have the similar problems as you have had, and although I
    don't know Java enough to tell you what problems you have, I can
    tell you that when you see RPC errors, it is usually nothing to do
    with Flex issues.
    There are some errors in your Java code, and you might want
    to debug it again to make sure that it is running properly without
    Flex. That is how I solved mine when I was running into this kind
    of problem using PHP.
    Does this help?
    Alice

  • RPC Fault faultString

    Hi ..
    I createad a simple test application with LCDS, and when I
    run the application with Tomcat 6 as target webserver from Eclipse,
    I am getting the following exception.
    I copied JTOM libraries into Tomcat/lib folder and defined
    the below line in application context.xml under META-INF folder
    <Transaction
    factory="org.objectweb.jotm.UserTransactionFactory" timeout="60"
    />
    I also defined the default channel on destination-config.xml
    with <channel ref="my-rtmp"/>
    [RPC Fault faultString="There was an unhandled failure on the
    server. javax/transaction/SystemException"
    faultCode="Server.Processing" faultDetail="null"]
    at mx.data::ConcreteDataService/
    http://www.adobe.com/2006/flex/mx/internal::dispatchFaultEvent()
    at DataListRequestResponder/fault()
    at mx.rpc::AsyncRequest/fault()
    at NetConnectionMessageResponder/statusHandler()
    at mx.messaging::MessageResponder/status()
    Please let me show some light where I am missing,
    Thanks
    V

    Hi
    I'm working withHi
    I get the same error and I don't know how fix it.
    I'm working with Tomcat 5.5.17 and LCDS using the following
    configuration:
    - JOTM libraries in myApp\WEB-INF\lib;
    - carol.properties file in myApp\WEB-INF\classes with the
    following properties:
    # JNDI (Protocol Invocation)
    carol.protocols=jrmp
    # Local RMI Invocation
    carol.jvm.rmi.local.call=true
    # do not use CAROL JNDI wrapper
    carol.start.jndi=false
    # do not start a name server
    carol.start.ns=false
    # Naming Factory
    carol.jndi.java.naming.factory.url.pkgs=org.apache.naming
    - context.xml file in myApp\META-INF like this:
    <Context reloadable="true" crossContext="true">
    <Resource name="jdbc/myDB" auth="Container"
    type="javax.sql.DataSource"
    factory="org.objectweb.jndi.DataSourceFactory"
    driverClassName="com.mysql.jdbc.Driver"
    username="root" password="openview"
    url="jdbc:mysql://localhost:3306/prova"/>
    <Transaction name="UserTransaction" auth="Container"
    type="javax.transaction.UserTransaction"
    factory="org.objectweb.jotm.UserTransactionFactory"
    jotm.timeout="60"/>
    </Context>
    - and the myApp\WEB-INF\flex\data_management_config.xml as
    follow:
    <?xml version="1.0" encoding="UTF-8"?>
    <service id="data-service"
    class="flex.data.DataService">
    <default-channels>
    <channel ref="my-rtmp"/>
    </default-channels>
    <destination id="dm_anagrafica">
    <adapter ref="java-dao"/>
    <properties>
    <source>openview.sn.AnagraficaAssembler</source>
    <scope>application</scope>
    <metadata>
    <identity property="codid"/>
    </metadata>
    <network>
    <session-timeout>30</session-timeout>
    <paging enabled="true" pageSize="50"/>
    <throttle-inbound policy="ERROR" max-frequency="500"/>
    <throttle-outbound policy="REPLACE"
    max-frequency="500"/>
    </network>
    </properties>
    </destination>
    <adapters>
    <adapter-definition id="actionscript"
    class="flex.data.adapters.ASObjectAdapter" default="true"/>
    <adapter-definition id="java-dao"
    class="flex.data.adapters.JavaAdapter"/>
    </adapters>
    </service>
    Please try to help me.
    Thanks

  • Problem uploading Array with RPC

    Hi to everyone,
    I developed my flex application for Glasfish. Glasfish
    webservices are in document litteral format.
    Now I need to deploy on Jboss which webservices are in rpc
    litteral format.
    That is what flex application logs when i try to send a
    variable like Array:
    [RPC Fault faultString="HTTP request error"
    faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent
    type="ioError" bubbles=false cancelable=false eventPhase=2
    text="Error #2032: Errore di flusso. URL:
    http://localhost:9090/FarmaConfigure/InserimentoDati"
    URL:
    http://localhost:9090/FarmaConfigure/InserimentoDati"
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::faultHandler()
    at mx.rpc::Responder/fault()
    at mx.rpc::AsyncRequest/fault()
    at ::DirectHTTPMessageResponder/errorHandler()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/flash.net:URLLoader::redirectEvent()
    Have you any ideas of what to do?
    Thank you, Arturo.

    Hi
    Do you have SpeedDownload or iGetter installed in your system? If so, either uninstall or upgrade to a Safari 4 compatible version.
    Post back

  • RPC Calls to Java with Spring

    Hi,
    I have a java J2ee project, with spring integrated. I have
    set up the project so that I can make calls from flex mxml files to
    spring managed objects. This works as expected.
    My project deploys so that I have the following folder and
    file hierarchy.
    MyProj (folder) - MortgageCalc.mxml file (this contains code
    to make the remote calls)
    |- Web-INF
    |- classes (compiled Java classes)
    |- flex (containing my services-config, remoting-config)
    |- lib (all my jars)
    My MortgageCalc.mxml file is very simple; it looks like this
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml">
    <mx:RemoteObject id="ro"
    destination="mortgageService"/>
    <mx:TextInput id="amount"/>
    <mx:Button label="Calculate"
    click="ro.calculate(Number(amount.text))"/>
    <mx:TextInput id="monthlyPayment"
    text="{ro.calculate.lastResult}"/>
    </mx:Application>
    MyProj sits under tomcat/webapps.
    What I would like to do is move my flex code into a new
    folder under tomcat, as a separate web app.
    So my set-up would be
    tomcat/webapps/MyProj (containing all my Java code)
    tomcat/webapps/MyFlexApp (with my flex app)
    I have tried and failed, I get the following error message :
    [RPC Fault faultString="[MessagingError message='Unknown
    destination 'mortgageService'.']" faultCode="InvokeFailed"
    faultDetail="Couldn't establish a connection to 'mortgageService'"]
    I have very crudely just copied over the Web-INF/flex folder
    into MyFlexApp , crossed my fingers and hoped. Can somebody let me
    know what folders belong where to get this working? Or if it's even
    possible at all? Or maybe I need to change services-config, or
    remoting-config?
    Thanks,
    Matt

    user8730639 wrote:
    I realized that the problem isn`t my bat file. I made tests calling another jar files and then all the lines of the batch file were executed. So, the jar file called on my previous bat is finnishing the execution. I verified and the jar apps worked without error.
    I would like to know if exists any command in Java that can cause this effect (close a batch), to modify the open source code of the application.Not that I know of.
    Is prism a bat file?
    If you are invoking bat files from your bat file without using call that would explain it
    :: mymain.bat file
    :: call the first bat file
    call prism.bat arg1 arg2 arg3
    :: call the other bat file
    call prism.bat arg4 arg5 arg6
    ::

Maybe you are looking for