AJAX request fail with "no transport.

Hello

I have the following call:

$.ajax
({
    type: "POST",
    crossDomain: true,
    url: "http://domain.net:2000/login_check.php",
    dataType: "text",
    data: {user: username, pass: password},
    success: function(data)
    {
        if (data.trim() == "S")
        {
            window.location="profile.html";
        }
        else
        {
            window.location="index.html";
        }
    },
    error:function (xhr, ajaxOptions, thrownError)
    {
        alert(xhr.status);
        alert(thrownError);
    }
});

It works in a normal browser, and even in the emulator of ripple (isn't that the emulator ripple supposed to imitate and not just be a wrapper of chrome?), but on the device, the call fails. thrownError returns "no transport.

Did I miss something in my file config.xml?





http://www.w3.org/ns/widgets"
        xmlns:rim="http://www.blackberry.com/ns/widgets"
    version="1.0.0.0">

  Launch Lawyer

  
      Launch Lawyer
  

  http://opensource.org/licenses/alphabetical">
  

  
  
  
  
  
  
  
  
  
  
  
  
  

  
  
  

  
  

  
  

  
    
  

  


in your config.xml file, try to add this element:


TCP_WIFI
BIS-B
TCP_CELLULAR
MDS
WAP2
WAP

or configure this depends on you internet connection transport you use in the camera.

Tags: BlackBerry Developers

Similar Questions

  • Build request failed with the message: error: ENOENT, untie

    I use emulator ripple to package the application for Blackberry os 7...
    But when I press the button package it gives me error as follows:

    Oh, Snap! Build request failed with the message: error: ENOENT, remove the link "C:\Documents and Settings\AtikJ\RippleSites\AgriQuote\packaged\AgriQuoteApp.zip".

    Duplicate of:
    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/error-while-packaging-the-app-us...

  • Oh, Snap! Build request failed with the message: [ERROR] CAP exception has occurred

    Hello. Pls I just got the error "Oh Snap!" "Build request failed with the message: [ERROR] CAP exception occurred" when I tried a test package ' Helloworld ' procedure follwing illustrated app on "http://developer.blackberry.com/bbos/html5/documentation/creating_hello_world.html."

    I need your help pls.

    Hello!

    Thank you for your response. I uninstalled "jdk-7u25-windows-i58" and got 'jdk-6u35-windows-i586', and his work well at the moment. I hope that I have no problem to use an older version.

  • Error of the ripple: Oh Snap! Build request failed with the message: CreateProcessW

    Hello

    I installed the Mobile Emulator 0.9.1 ripple with SDK for Tablet 2.2.0.5 WebWorks, following the instructions exacly on a Windows 7 64-bit machine.

    If I try to package virtually any application (HelloWorld, weather, examples, something more complex, whatever), I get the following error:

    Oh Snap! Build request failed with message: CreateProcessW: The system cannot find the file specified.
    

    I tried a lot of things. I'm guessing that it's a mistake with the SDK, since I can enter any path to any folder that exists on my HD as the path to the SDK and I get the same error.

    Path SDK: SDK for Tablet 2.2.0.5 WebWorks c:\RIM\BlackBerry

    The project root: c:\Users\Username\RippleSites\AppName

    Archive name: AppName

    Output folder: c:\

    I tried different paths for the foregoing, moving my code and by reinstalling the SDK.

    I'm at my wits end - about to renounce WebWorks.  Any ideas? 

    It seems %SystemRoot%/system32 and any % were missing from my path variable. All good - too bad!

    Land

  • Build request failed with the message: helloWorld/Dokumente / is not a valid path

    Hello

    Unfortunately ripple does not work under Windows 7, so I tried on Mac. On Mac, I have the following parameters in the ripple:
    SDK path: / Developer/SDKs/Research in Motion/BlackBerry WebWorks SDK 2.3.1.5
    The project root: / Dokumente/helloWorld
    Archive name: helloWorld
    Output folder: / Dokumente/BlackBerryOutput

    There is the file config.xml and index.html file in the helloWorld file

    I have for this site:

    https://bdsc.webapps.BlackBerry.com/HTML5/documentation/ww_getting_started/creating_an_app_1885567_1...

    When I try to pack in ripple, I get:
    Build request failed with the message: helloWorld/Dokumente / is not a valid path

    There is a message ' no simulators found "on the bottom of the settings, too." '

    I tried different paths, one of my localhost in Apache, but nothing works. What's wrong??

    Well, the path was not "consistent". I hate the f... Mac: / Users/Valentina/Documents/helloWorld to the project root and/Users/Valentina/Documents/BlackBerryOutput was necessary.

    Just in case somebody stumbles on the same problem.

  • Ripple packaging error: Oh, Snap! Build request failed with the message: zip i/o error: no zip file or directory error: could not create output file

    I am trying to package and sign an application with ripple and I get this error: Oh, Snap! Build request failed with the message: zip i/o error: no zip file or directory error: could not create output file

    What can possibly be the problem here?

    Solved!

    I had the field output folder of the same value as the name of the archive

  • error packaed and launch: Oh, Snap! Build request failed with the message: [ERROR] an archive or directory does not exist in the specified path:

    Hello

    I get this error when you try to run the sample of cards on the corrugation Simulator:

    Oh, Snap! Build request failed with the message: [ERROR] an archive or directory does not exist in the specified path: "/ Users/Calgacos/Library/Application Support/Google/Chrome/Default/Extensions/cnijnnaimeaacneklcndcafbnkeicckh/0.9.16_0/services/node/node_modules/rbd/Packaged/Maps.zip".

    The .../rbd/Packaged folder is writable and the Maps.zip will be created in the folder ~/RippleSites/Maps/Packaged.  With the help of Mac, the latest versions of everything.  The application runs in undulation ok, but I can't throw on the SIM BB10.

    Someone else have this error and know why?

    PS the Maps.zip does not get created (or copied) in specified folder, of course, but why?

    PS try another application and it worked but is too has not put its zip file into the folder... rbd/Packaged.  I guess it should not but leaves me clueless as to whats wrong with cards.

    Thank you

    The two directories (in the extensions directory and maps project directory) have permissions to 777.

    But you gave me an idea...

    It turns out that simply by putting

    "Packages".

    in setting output wasn't enough, I need the full path

    for example: "/ Users/username/RippleSites/Maps/packed."

    and presto, now it works!

    Thank you!

  • Cisco TMS 14.4 "Ajax request failed...". »

    Hi Experts,

    I installed Cisco TMS 14.4, installing all makes them very well, but at the first connection, I had error in Pop - Up The Ajax request failed...

    TMS ERRORCOOKIE {FF44A030-7F95-461C-8065-615FCE335F7B} var TMSError = {toggle: function (tableId) {var errorTable = $(tableId); errorTable.style.display = 'block';}} TMSElement.positionCenter (tableId); $('InfoTable').style.display = 'none '; }} Stop_Wait();   An error has occurred!
    Please click the back button on your browser to return to the previous page or click here to go to the front page of TMS. If the problem persists, contact your administrator to TMS.

    You can see the image

    Can someone help me

    Thank you

    Hello

    It should be a more specific error message in the log - web.txt, located in the \data folder in the MSDS on your server installation directory. What did he say?

    Kind regards
    Kjetil

  • Oh, Snap! Build request failed with the message: error

    Hello!

    I am working on an app for BlackBerry Playbook with WebWorks.  When I try to package it I get the error in the subject (Oh Snap! Application of Build failed with the message: error).  There is no more information.  I googled but can't find anyone else with this particular problem.

    Is there a log somewhere that I can read to see what is happening?  Everyone knows this?

    Thanks for any help!

    Oh, I almost forgot.  When I go into the output folder, the .zip file is there, but not the .bar file.

    Ok.  I finally found the code in command line to compile applications.  Here it is for others and reference later: first move the location of the bbwp directory, then run the command bbwp.

    CD "C:\Program Search SDK for Tablet \bbwp Motion\BlackBerry WebWorks"

    bbwp 'C:\myapp.zip '.

    Here is the link where I got the information of: https://bdsc.webapps.blackberry.com/html5/downloads/sdk, then click on "how to get running.

    For those looking to sign their application from the terminal, it is also possible.  First set up your computer, as described here: https://bdsc.webapps.blackberry.com/html5/documentation/ww_publishing/signing_setup_tablet_apps_1920...

    Then go into the same directory 'bbwp' as we did above.  Finally, run this command:

    bbwp g - buildId o

    This information can be found here: https://bdsc.webapps.blackberry.com/html5/documentation/ww_publishing/signing_your_tablet_app_191966...

    Sorry for that write when it is already available elsewhere on the web, but I feel like I should post the complete response for those who come across this message later.  I hope it can help someone who has the same problem as me.

  • SaveConference TMS booking API request fails with concurrentModificationException

    Hello

    I can't request a saveConference using the TMS v15 and Cisco TMS 14.6 booking API

    1. I do a backup Conference request without a session client because there is nothing first. I get an error 'ClientSessionErrorMessage_SessionBlank' and a session id is provided as planned.

    Request:

    http://www.w3.org/2003/05/soap-envelope' xmlns:env ='http://www.w3.org/2003/05/soap-envelope">http://tandberg.net/2004/02/tms/external/booking/" >15http://tandberg.net/2004/02/tms/external/booking/ ">722 .TMS meeting 4212015-04-25 13:00:00Z 2015-04-25 13:15:00Z 7 Win-lrb4bsm6uhe\apiuser-Domain1 API user Org = Domain1 [email protected] / * / one button to push 8B / 512 Kbps continuous Presence If Possible No. AutomaticBestEffort fake 18666543210 * 57101613 16TMS6B / 384 Kbps8B / 512 KbpsUSNotSaved0

    Answer:

    "http://www.w3.org/2003/05/soap-envelope" xmlns:env ="http://www.w3.org/2003/05/soap-envelope" container ="http://www.w3.org/2001/XMLSchema" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" >SOAP: SenderClientSessionErrorMessage_SessionBlankhttp://10.251.4.15/tms/external/booking/bookingservice.asmx <> xmlns = "http://tandberg.net/2004/02/tms/external/exception/" >-2147218247http://tandberg.net/2004/02/tms/external/exception/ "> falsehttp://tandberg.net/2004/02/tms/external/exception/" > 92e0bfd3-e2a8-4f66-bbbb-423d44adbdfb .

    2. I use this sessionid to make the same request to saveConference, but with this the client session id this time. I get an error "the booking changed before your update was introduced. Ensure that you have the latest version of the reservation and try again. "How to fix this?

    Request:

    http://www.w3.org/2003/05/soap-envelope' xmlns:env ='http://www.w3.org/2003/05/soap-envelope">http://tandberg.net/2004/02/tms/external/booking/" >1592e0bfd3-e2a8-4f66-bbbb-423d44adbdfbhttp://tandberg.net/2004/02/tms/external/booking/ ">722 .TMS meeting 4212015-04-25 13:00:00Z 2015-04-25 13:15:00Z 7 Win-lrb4bsm6uhe\apiuser-Domain1 API user Org = Domain1 [email protected] / * / one button to push 8B / 512 Kbps continuous Presence If Possible No. AutomaticBestEffort fake 18666543210 * 57101613 16TMS6B / 384 Kbps8B / 512 KbpsUSNotSaved0

    Answer:

    «http://www.w3.org/2003/05/soap-envelope"xmlns:env ="http://www.w3.org/2003/05/soap-envelope"container ="http://www.w3.org/2001/XMLSchema"xmlns: xsi ="http://www.w3.org/2001/XMLSchema-instance">SOAP: Senderthe amended booking before your update was presented.» Ensure that you have the latest version of the reservation and try again. http://10.251.4.15/TMS/external/booking/bookingservice.asmx " <> xmlns ="http://tandberg.net/2004/02/tms/external/exception/">-2147218248http://tandberg.net/2004/02/tms/external/exception/" > falsehttp://tandberg.net/2004/02/tms/external/exception/ "> 30fe0343-b04f-4a47-a94c-45d1a0d47c60 '.

    Try to use getConferenceById to retrieve the object of the Conference you want to change. I suspect that the revision id is set to 0 when you use getDefaultConference. See the description of the attribute 'version ':

    Revision number of conference together, incremented and returned by Cisco MSDS with each record. By default, 0 if not included by the client. If the client tries to update a version which is not the
    later in the database, Cisco TMS will throw an exception.

  • How to solve the Oh Snap! Build request failed with the message: [ERROR] error: Please enter a valid application with ripple version

    Hi all

    "" I use ripple to package and sign my application, but it shows the error "[ERROR] error: Please enter a valid application version.

    I search the Web but I don't get any resolution.

    anyone here help me out? Thank you

    Whenever you sign an application, it gets a version number. This version number is incremented by one every time that you sign. The message indicates that you are trying to sign an application with a version that has already been signed. Try the following

    ripple in 1) will build-->--> number of set parameters and set the number manually. Make sure a number that has not yet been signed. If you know the value to 100 or 300 according to the number of times that you have signed the application.

    (2) otherwise, go to your config file and change the version of the application of the version = "1.0.0.0" version = "1.0.1.0.

    Hope this helps

  • Automatic failover with Transport and apply Lag fails with ORA-16798

    Hello
    I configured a physical database maximum Performance, accelerated failover mode standby. I set FastStartFailoverLagLimit to 3 hours (10800 seconds).

    If I understand the Oracle documentation, Fast-Start failover should work with Max Performance, as long the Transport timeout is whithin the FastStartFailoverLagLimit.


    So I started a few scripts, generated some loading, so I have a Transport and apply the shift of 3-4 Minutes.
    Then I killed pmon to cause an automatic failover.

    Failover failed with ORA-16798.

    I know, there is Note 846087.1 , which describes the problem, but I thought that automatic failover should work in this configuration.
    Is this a bug or am I wrong?

    Thank you very much in advance.


    Configuration Data Guard standby:
    -----------------------------------------------

    Role: STANDBY PHYSICS
    State of destination: apply
    Transport delay: 3 minutes 3 seconds (calculated two seconds ago)
    Apply the Lag: 3 minutes 26 seconds (calculated 0 seconds ago)
    Apply the rate: 23,52 MB/s
    Real-time query: OFF
    Occurrence (s):
    ...

    Properties:
    ...
    LogXptMode = "async".
    DelayMins = '0'
    Binding = "optional."
    MaxFailure = '0'
    MaxConnections = '1'
    ReopenSecs = "300"
    NetTimeout = "15"
    RedoCompression = "DISABLE."
    ...

    State of the database:
    SUCCESS

    Fast failover configuration:
    -----------------------------------------------

    Fast-Start Failover: ENABLED

    Threshold: 180 seconds
    Target: < Targetname >
    Observer: < servername >
    Offset limit: 10800 seconds
    Primary closure: TRUE
    Auto-Rétablir: TRUE
    Reconnection of the observer: (none)
    Substitution of the observer: FALSE

    ...


    Messages of the DG - Log:
    -----------------------------------------------
    FAILOVER TO < DB >
    Starting failover to the < DB > database
    Notifying Oracle Clusterware to disassembly for the FAILOVER database
    02/02/2015-13:38:04
    Error running SQL = 604, sql = [ALTER DATABASE RECOVER MANAGED STANDBY DATABASE FI
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-00283: cool cancelled due to errors
    ORA-16171: RECOVER... FINISHING not allowed away for thr 1, seq 34-37
    Failed to retrieve Terminal.
    Database error resource SetState (16798)
    02/02/2015-13:38:08
    Command FAILOVER < DB > completed with error ORA-16798


    The FastStartFailoverLagLimit property specifies the amount of data, in seconds, during which the standby database target can

    delay on the main database on the recovery plan applied. If again applied Eve point database notes that many

    seconds of the primary database redo point generation, accelerated tipping is allowed.

    Errors show a gap for sequences 34-37, which is not optimal for a fast failover.

    Even if FastStartFailoverLagLimit is set to 3 hours, there is too much data loss for the standby site because newspapers are not available on the backup server and the Broker cannot activate the Pb of the day before.

    I recommend to to lean on increase the bandwidth network.

    Concerning

  • AJAX request works just with a Wi - fi Blackberry Widget

    I'm doing an Ajax request to're RESTful WebService. When I run the Simulator everything works fine, but when I install the widget for blackberry on my device (9800) applications works when I'm using the Wifi connection...

    It's my config.xml file:

    
    http://www.w3.org/ns/widgets" xmlns:rim="http://www.blackberry.com/ns/widgets" version="0.2.0.0">
      bbbb
      bbbb
      
      
      
      
      
      
      
      
      
      
        
        
        
        
        
        
        
        
        
      
      
      
      
        TCP_WIFI
        MDS
        BIS-B
        TCP_CELLULAR
        WAP2
        WAP
      
      
      
    
    

    Why this is happening?

    Finally! I found it! I have no why, but it works only on .com, .net o .org domains

    I made the request to a .mobi domain.

  • Execution of a declarative elements AJAX requests

    HI guys,.

    We are building an ADF based portal application and design involves the creation of a declarative component which will be 'built' in the jspx parent page. This declarative component, during rendering, you must call an AJAX JavaScript application, based on the attributes that have been passed into the constructor of declarative components highlighted below. Essentially, we need to take the value of the ss_Email field and use it in a custom js function (defined in the declarative component) to call an AJAX request to an external resource and view the results online in the component. The reason why this component must call the AJAX code is our end point expects a connection token that is generated from the browser. The call of the declarative component is defined as follows:

    < af:form id = "f1" >
    < af:panelGroupLayout id = "pgl1" layout = "vertical" >
    < ss:ssConsumer id = "sc1" ss_Email = "[email protected]" ss_LastName = "Pradhan" / >
    < / af:panelGroupLayout >
    < / af:form >

    What I did in my component declarative is to set the value of the attributes of elements in a field of entry as follows:

    < af:inputText label = "email" id = "inputEmail" value = "#{ss_Email}. uploading" columns = "40" clientComponent = "true" >

    It works and I can see the correct value passed into the component. I have a problem with is hang what component text input, such that I can call a method of Javascript that I can read my af:inputText value in a method and begin my AJAX call. I tried to attach an af:ClientListener but it does not help because there is no interaction of the user within that component, that is why none of the types of events (mouseover, blur, click, etc.) are useful. I need actually an event 'onload' for the declarative component, but of course, this does not exist. To solve this problem, I used a block of standard script to force the component to call my js method that is

    < script language = "javascript" reporter = 'reporter' >
    getTextValue();
    < /script >

    The problem I am facing now, is that I'm not sure that ADF JS API will give me the value of my input text. I tried the methods AdfPage.PAGE and tried to retrieve the correct value, but have so far failed.

    var label = AdfPage.PAGE.findComponent('dc_pgl1:dc_pfl2:inputEmail').getValue();)
    var Label2 = AdfPage.PAGE.findComponentById('dc_pgl1:dc_pfl2:inputEmail').getValue();)
    var Label3 = document.getElementById('dc_pgl1:dc_pfl2:inputEmail').value;

    I guess because it is a declarative component and not in the Page, I can't use these methods. Are there alternatives that should I try or pointers to other ADF JS method calls that I should try to get the value of my javascript input text.

    Many thanks in advance,

    Sanjay

    Hello

    as far as I know, all Trinidada component trh:script did the same thing as

  • (KB2378111, 12.0 MB, published 12/10/10) for Windows Vista security update failed with error 800b0100.

    Update of security (KB2378111, 12.0 MB, published 12/10/10) for Win Vista failed with the error 800b0100. Failure of several attempts, power, played external parser M.S., downloaded System Update Readiness Tool, saved the file on the desktop to install proxy server disabled by bike. Nothing has worked.

    Start a help tickethttp://support.microsoft.com/common/international.aspx?rdpath=1&gprid=9860>

    See the section "How to get help" of http://support.microsoft.com/kb/2378111

    Visit the Microsoft Solution Center and antivirus security for resources and tools to keep your PC safe and healthy. If you have problems with the installation of the update itself, visit the Microsoft Update Support for resources and tools to keep your PC updated with the latest updates.

    Or you can...

    Start a free Windows Update support incident email request:https://support.microsoft.com/oas/default.aspx?gprid=6527

    Buying to meet problems installing Microsoft security updates also can visit the following page for assistance:https://consumersecuritysupport.microsoft.com/

    OPTION has:

    For more information about how to contact your local Microsoft subsidiary for security update support issues, visit the International Support Web site:http://support.microsoft.com/common/international.aspx

Maybe you are looking for