Spry.Utils.loadURL Check Inet Connection

We have a customer that uses a flakie internet connection
(GPRS Connection). I'm trying to use spry to see if the connection
has dropped, then display a DIV tag in their current webpage. I
think you can do it with the "errorCallback" but I can't seem to
get it to work.
Any suggestions, or should I use a different function?
quote:
---- PseudoCode ----
<!-- Loop the below code every 30 seconds to check for a
connection -->
function MySuccessCallback(req)
item.style.display = "none";
function MyErrorCallback(req)
// Display error message on screen.
item.style.display = " ";
var req = Spry.Utils.loadURL("GET", "
http://myserver/mypage.cfm",
true, MySuccessCallback, { errorCallback: MyErrorCallback });

This worked for me in IE, but throws an error in Firefox when
the internet connection fails.
Firefox Error:
quote:
[Exception... "Component returned failure code: 0x80040111
(NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]" nsresult:
"0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame ::
http://myserver/myfolder/1.3/includes/SpryData.js
:: anonymous :: line 123" data: no]
http://myserver/myfolder/1.3/includes/SpryData.js
Line 123
Code works in IE:
quote:
function doLoad(){
setTimeout( "autorefresh()",
<cfoutput>#session.metarefresh#</cfoutput>*1000 );
function autorefresh(){
var ts = new Date();
var pageLoad = 'menu.cfm?' + ts;
var req = Spry.Utils.loadURL("GET", pageLoad, true,
MySuccessCallback, { errorCallback: MyErrorCallback });
doLoad();
function MySuccessCallback(req){
ID = document.getElementById('iConnection');
ID.style.display = "none";
function MyErrorCallback(req){
ID = document.getElementById('iConnection');
ID.style.display = "";
<span id="iConnection" style="display:none;">Internet
Connection Down</span>

Similar Messages

  • Spry.Utils.loadURL - IE7

    I built a pre-loader that uses loadURL to complete 35 tasks.
    After a task completes it updates the screen asynchronously with
    the % completed. It works in Firefox every time, but always fails
    in IE7 at 84%. In other words, after a specific amount of time IE7
    seems to bail. When IE7 bails all unfinished tasks trigger the
    error callback, but req.xhRequest.statusText is empty.
    For the sake of debugging all tasks are the same. If I reduce
    the number of tasks it will complete in IE7.
    So it seems quite clear there are no specific code issues.
    The debugger shows no errors. Basically, in IE7 after a certain
    amount of time the connections are just lost.
    I have such a huge time investment in this software that this
    is a huge nightmare. I didn't notice the problem until after
    everything was done.
    Does any know if there is a client side timeout in IE7? Its
    seems that is what is happening. I would appreciate to hear anyones
    ideas.

    This is what my test case looks like:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>LoadURL Test 01</title>
    <link href="../samples.css" rel="stylesheet"
    type="text/css" /><br />
    <script type="text/javascript"
    src="../../Spry/includes/xpath.js"></script>
    <script type="text/javascript"
    src="../../Spry/includes/SpryData.js"></script>
    <script type="text/javascript">
    var dsStates = new
    Spry.Data.XMLDataSet("../../Spry/data/states/states.xml",
    "/states/state");
    function DoTest()
    var context = new Object;
    context.data = dsStates.getData();
    context.index = -1;
    LoadNextURL(context);
    var gLock = 0;
    function LoadNextURL(context)
    var rowIndex = ++context.index;
    var count = context.data.length;
    var row = context.data[ rowIndex ];
    if (rowIndex >= count)
    Spry.$("status").innerHTML = "Done";
    return;
    var url = "../../Spry/data/states/" + row.url;
    Spry.$("status").innerHTML = "Loading (" + (rowIndex + 1) +
    " of " + count +") " + url + " ...";
    if (gLock)
    Spry.Debug.trace("WARNING: Re-entering lock! " + gLock);
    ++gLock;
    if (Spry.$("forceAsync").checked)
    setTimeout(function() { Spry.Utils.loadURL("GET", url, true,
    LoadCallback, { userData: context, errorCallback: LoadErrorCallback
    }); }, 0);
    else
    Spry.Utils.loadURL("GET", url, true, LoadCallback, {
    userData: context, errorCallback: LoadErrorCallback });
    --gLock;
    function UpdateProgressBar(percent)
    var ele = Spry.$("progressBar");
    var width = ele.offsetWidth * percent;
    ele.getElementsByTagName("*")[ 0 ].style.width = percent +
    function LoadCallback(req)
    var context = req.userData;
    var currentIndex = context.index;
    var count = context.data.length;
    UpdateProgressBar(((currentIndex+1) / count) * 100);
    LoadNextURL(context);
    function LoadErrorCallback(req)
    var context = req.userData;
    Spry.$("errors").innerHTML += "Failed to load " +
    context.data[ context.index ].url + "<br />";
    LoadNextURL(context);
    </script>
    <style type="text/css">
    .ProgressBar {
    width: 200px;
    height: 16px;
    border: solid 1px black;
    padding: 0px;
    position: relative;
    margin: 4px;
    overflow: hidden;
    .ProgressBarStatus {
    position: absolute;
    height: 16px;
    width: 0px;
    background-color: #3399FF;
    </style>
    </head>
    <body>
    <div spry:region="dsStates">
    <p spry:state="loading">Loading states.xml file
    ...</p>
    <div spry:state="ready">
    <p>Total of {ds_RowCount} rows loaded. <input
    type="button" value="Start Test" onclick="DoTest();" />
    <label>Force Async Requests: <input type="checkbox"
    id="forceAsync" /></label></p>
    <div id="progressBar" class="ProgressBar"><div
    class="ProgressBarStatus"></div></div>
    <div id="status"></div>
    </div>
    <div>
    <p id="errors"></p>
    </div>
    </div>
    </body>
    </html>
    --== Kin ==--

  • Spry.Utils.loadURL headers problem

    I am posting a request with the loadURL function.
    I am getting two values from a form :
    - a WYSIWYG texarea editor which id is 'elm1'
    - an input text field 'contentfilename'
    In my textarea, I wrote a phone number that have the
    following cars : +33
    My PHP script that receive the posted data ($_POST variables)
    don't receive the '+' cars.
    Why is that ??
    Here is my save function :
    function saveEditorContent() {
    var dataString = "elm1="+
    tinyMCE.getInstanceById('elm1').getHTML()
    + "&contentfilename=" +
    document.getElementById('contentfilename').value
    var options = {
    postData: dataString,
    headers: {"Content-Type":
    "application/x-www-form-urlencoded; charset=ISO-8859-1" },
    errorCallback: saveEditorError
    var url = "editorAction.php?action=savecontenteditor";
    var req = Spry.Utils.loadURL( "POST", url, true,
    saveEditorSucess,options );
    removeMCE('elm1');
    spEditor.showPanel( 2 ) ;
    function saveEditorSucess(req) {
    Spry.Utils.setInnerHTML('statusMessageBox',
    'SUCCESS<br/>'+req.xhRequest.responseText );
    Thank you
    Corentin

    Hello,
    You miss a step in this code. You'll have to URI encode every
    value you will send to the browser. In your situation the + in the
    phone has a special meaning in the URI encoding and will be treated
    as a blank space.
    Please modify the following line:
    var dataString = "elm1="+
    tinyMCE.getInstanceById('elm1').getHTML()
    + "&contentfilename=" +
    document.getElementById('contentfilename').value
    with this one:
    var dataString = "elm1="+
    encodeURIComponent(tinyMCE.getInstanceById('elm1').getHTML())
    + "&contentfilename=" +
    encodeURIComponent(document.getElementById('contentfilename').value);
    Regards,
    Cristian

  • Spry.Utils.loadURL problem with IE7

    Hello there. First of all sorry for my english.
    I have a problem with Spry.Utils.loadURL function in Internet
    Explorer 7 only. In firefox works fine.
    So i have an asp file that returns a string with some stuff.
    I load this asp file with Spry.Utils.loadURL like this.
    function ReLoadExtras() {
    var req = Spry.Utils.loadURL("GET",
    "ControlExtras.asp?type=get&id=50", true, MySuccessCallback);
    function MySuccessCallback(req) {
    Spry.Utils.setInnerHTML('Extralist',
    req.xhRequest.responseText);
    In interner explorer works fine only at the first page load.
    I have a button that fires the ReLoadExtras() function. But if i
    hit it again to reload the div's content return nothing or returns
    the same string. The string that ASP file returns is a value from
    database but if i change this value on the database and hit the
    button again i get the previus value. I think that something is
    going wrong with the internet explorer's cache. I'm going crazy
    because in firefox works without any problem.
    Anynone who can help :-)

    Finally i fixed this problem. The problem was Internet
    Explorer's cache. Every time that i call the asp file i have to
    make the url unique. So i create a function that creates a unique
    url.
    function ReLoadExtras() {
    var url =
    "ControlExtras.asp?ControlExtras.asp?type=get&id=50";
    var req = Spry.Utils.loadURL("GET", MakeUniqueQuery(url),
    true, MySuccessCallback);
    function MySuccessCallback(req) {
    Spry.Utils.setInnerHTML('Extralist',
    req.xhRequest.responseText);
    function MakeUniqueQuery(x) {
    var temp = Math.random() * 3;
    var tempurl = x + "&sid=" + temp;
    return tempurl;
    }

  • Spry.Utils.loadURL problem

    I'm having trouble with the last parameter of
    Spry.Utils.loadURL.
    I know I need more info in the last argument but I cannot
    find good documentation on this. I can work out how to do it with
    form data, but not with data passed as a simple variable parameter.
    ANY help appreciated!
    In the code snippet below I am trying to pass a value to
    Spry.Utils.loadURL that will them be passed to resfunc as request.
    But I cannot work out how to do this.
    The function that calls Spry.Utils.loadURL works ok., I test
    that it is receiving the correct value by using alert(value). But
    how do I get this value into the argument list of
    Spry.Utils.loadURL so I can display it?
    function doFormPost(url,photoId,resfunc) {
    formData = encodeURI(photoId);
    Spry.Utils.loadURL('POST', url, true, resfunc,
    {"Content-Type": "application/x-www-form-urlencoded;
    charset=UTF-8"});
    function resFunc(request) {
    var mydiv = document.getElementById("foo");
    var result = request.xhRequest.responseText;
    $("result").innerHTML = "Result was: " + result ;
    mydiv.innerHTML = result;
    function HandleThumbnailClick(id, photoId)
    StopSlideShow();
    doFormPost('moon.cfm', photoId,resFunc);
    dsPhotos.setCurrentRow(id);
    ShowCurrentImage();

    Hi Kate,
    I think what you are trying to do is this:
    function doFormPost(url,photoId,resfunc) {
    // URL encode the photoId value.
    formData = encodeURI(photoId);
    // Build the headers object *outside* of the loadURL call to
    reduce *visual* confusion.
    // All we want to do here is to make sure that when we make
    the request, that the browser also
    // tell the server that the data we are sending in postData
    is url encoded.
    headers = {};
    headers['Content-Type'] = "application/x-www-form-urlencoded;
    charset=UTF-8";
    // Send the post request, making sure to pass the content
    type header and formData in the options object.
    Spry.Utils.loadURL('POST', url, true, resfunc, { headers :
    headers, postData: formData });
    The 5th argument loadURL is an options object. You can
    specify the named properties on this object that you want, for
    example "headers" and "postData". The names of the option
    properties you can specify are:
    username - String that specifies the username on the server
    to use when making the request.
    password - String that specifies the password to use when
    making the request.
    postData - URL encoded string of name value pairs. Used when
    the request is made with "POST".
    errorCallback - Function to call if an error comes back from
    the server after the request is made.
    headers - Object that allows the caller to send additional
    HTTP headers with the request. The properties on this object are
    the named after the HTTP property. The value for the property is
    the value to send. For example if you wanted to send this HTTP
    property as part of the request header:
    Content-Type: application/x-www-form-urlencoded;
    charset=UTF-8
    You would add this to your options object:
    headers: { "Content-Type":
    "application/x-www-form-urlencoded; charset=UTF-8 }
    userData - This is anything you want to pass into loadURL. It
    will be stored on the request object so that when your
    successCallback/errorCallback is triggered, you can access it. For
    example:
    var myString = "This is a test!";
    function myCallback(request)
    alert(request.userData); // Alerts with the string "This is
    a test!"
    Spry.Utils.loadURL("POST", url, true, myCallback, { headers:
    headers, postData: formData, userData: myString });
    I realize this is annoying that it isn't documented
    extensively. We are working on it.
    --== Kin ==--

  • Spry.Utils.loadURL  userData

    is it possible (and how) to get the userData property back to
    my success-script?
    Spry.Utils.loadURL("GET",
    "/updater.cfm?"+formfield+"="+encodeURIComponent(fieldcontent),
    false, checkstatus, {userData: "4711"});
    function checkstatus(request) {
    var fieldcontent = request.xhRequest.responseText;
    var userdata = ?????
    herbert

    Hi Kate,
    I'm guessing this is related to your validation function
    post, so I'm going to give an example with that assumption:
    function MyValidationFunction(value, options)
    // Call loadURL() to validate the username synchronously.
    Notice
    // that I passed a false for the 3rd arg to force the
    request to be
    // processed synchronously.
    var request = Spry.Utils.loadURL("POST",
    "userExists.cfm?name=" + encodeURIComponent(value), false);
    // The assumption here is that the server is going to reply
    // with the word "true" (Content-Type: text/plain) if the
    name
    // already exists, or "false" if it doesn't already exist.
    If
    // you want to get fancy and return a response wrapped in
    XML,
    // or some other format, you'll have to parse it out
    yourself.
    // Since this validation function needs to return "true" if
    the
    // name doesn't exist, we need to make sure we don't get a
    "true" value back!
    return request.xhRequest.responseText != "true";
    --== Kin ==--

  • Spry.Utils.LoadURL Help

    I've set up a form:
    <form>
    <input id="question" type="hidden">
    <input id="answer" type="text" onblur="checkAnswer();">
    <span id="response"></span>
    <input id="submit" type="button" value="submit">
    </form>
    using spry.utils.loadurl successfully pass the question and
    answer to a php page that verifies that the question and the answer
    are found in the database... it then returns a "Valid answer" or
    "invalid answer" to the span below the form.
    it is successfully returning the correct response...but it
    doesn't prevent the user from submitting the form...any
    ideas?

    I've set up a form:
    <form>
    <input id="question" type="hidden">
    <input id="answer" type="text" onblur="checkAnswer();">
    <span id="response"></span>
    <input id="submit" type="button" value="submit">
    </form>
    using spry.utils.loadurl successfully pass the question and
    answer to a php page that verifies that the question and the answer
    are found in the database... it then returns a "Valid answer" or
    "invalid answer" to the span below the form.
    it is successfully returning the correct response...but it
    doesn't prevent the user from submitting the form...any
    ideas?

  • Canceling  Spry.Utils.loadURL request

    Hi, i have posted a thread a few days ago concerning variables and Spry.Utils.loadURL and i wish to thank V1 i for the solution.
    Now i wish to ask is it possible to cancel (or ignore) Spry.Utils.loadURL request while it is running.
    By canceling i mean not the server side code, but the Spry.Utils.loadURL request.
    Here is example of the problem:
    I have some button that sens requests to the server. It is up to the complexity of every request how long it will take to responde (sometimes a minute).
    So it is sometimes the case when a user sends some request and without waiting for the result sends another one.
    Now i have multiple requests running in paralell and due to their asynchronous behaviour i do not know which one will display first (they use asame update panel).
    So it will be good if i can tell the Spry.Utils.loadURL to cancel the "thread" he is running and only after that to start the new one.
    Parallel possible solutions are disabling the button until the request responds, which is my very last undesired solution since i do not want to tye the users hand ....
    Best regards:
    Venelin

    Spry.Utils.loadURL returns Spry's request object, so you could use that to cancel the running XHR request.
    example;
    var request = Spry.Utils.loadURL('GET','url.php',callback,true);
    // abort the request:
    request.xhRequest.abort();

  • Spry.Utils.loadURL(... failure

    This code works properly in local:
    var request_URL
    ="/petitions/client/remote/authenticate.cfm?username="+uName+"&password="+uPass;
    Spry.Utils.loadURL("GET", request_URL, false, authBack);
    Once I upload, I add "
    http://wconti.com... :
    var request_URL ="
    http://wconti.com/petitions/client/remote/authenticate.cfm?username="+uName+"&password="+u Pass;
    Spry.Utils.loadURL("GET", request_URL, false, authBack);
    I get the following error:
    Exception caught while loading
    http://wconti.com/petitions/client/remote/authenticate.cfm?username=contiw&password=italia :
    The download of the specified resource has failed.
    Just starting with Spry, please bear with me.
    Thank You

    This code works properly in local:
    var request_URL
    ="/petitions/client/remote/authenticate.cfm?username="+uName+"&password="+uPass;
    Spry.Utils.loadURL("GET", request_URL, false, authBack);
    Once I upload, I add "
    http://wconti.com... :
    var request_URL ="
    http://wconti.com/petitions/client/remote/authenticate.cfm?username="+uName+"&password="+u Pass;
    Spry.Utils.loadURL("GET", request_URL, false, authBack);
    I get the following error:
    Exception caught while loading
    http://wconti.com/petitions/client/remote/authenticate.cfm?username=contiw&password=italia :
    The download of the specified resource has failed.
    Just starting with Spry, please bear with me.
    Thank You

  • Spry.Utils.loadURL and https

    Hi,
    I'm using Spry's loadURL to send and recieve a response from
    a PHP script. using a "relative" url path.
    when the page is loaded in https Spry give me a
    quote:
    Error: uncaught exception: Security Error: Content at
    https:// may not load data from '
    http://'
    if the page was loaded via https why does Spry loadURL from
    http when the url path is set to relative?

    the php script simply "prints $response;" if ajax requests
    were in https is it safe to assume that the print response would be
    https as well?

  • Cache of Spry.Utils.updateContent data?

    So I have a need for a Tab system that pulls data from other
    files to load into the tabs. Any links in those files will trigger
    the file to load into the tab (think like an iframe, but no
    iframes). If the link is to an external site it will work as
    normal. The links in my outside files don't need any js, id or
    class in them. Just normal html. With some help from the yahoo
    event and dom library I was able to detect clicks and redirect
    everything very nicely. Did I need to use YUI to do the event
    listener? Not sure, it made it pretty easy and I am no JS expert. I
    didn't see anything within spry to help in that regard.
    Example Here:
    http://dev.besavvy.com/Spry_P1_4_1214/samples/tabbedpanels/tabbed_panel_sample.htm
    My trouble comes with caching of the files. It seems FF
    caches my .html files but not .cfm ones. IE caches both. I can use
    the cfheader tags to prevent the cache I am sure, but that doesn't
    fix .html files. I know I can work around it but I wanted to check
    here as I am not clear if there is an optional attribute or another
    direction I should take. It would be very handy to have a :cache
    true :cache false type of solution.

    Try:
    Spry.Utils.updateContent('apDiv1',elTarget,null,{method:'POST'});
    which I believe will cause it to use the browsers post
    mechanism which never caches.
    Or:
    var ts = new Date();
    Spry.Utils.updateContent('apDiv1',elTarget+'&TS='+ts.toString());
    which will add a unique date string to the end of the url
    being requested making the browser believe it is a new page
    Oh if the page doesn't already have a query string change +
    '&TS=' to + '?TS='
    Regards,
    Chris Phillips
    Senior Application Developer
    www.dealerpeak.com

  • Web Services problem - Connection error. Check Internet connection. - 1102w

    Hello!
    When i try to enable Web Services Setup i get  "Connection error. Check Internet connection." error message. I tried to do manual and automatic IP Address Configuration.
    Picture:
    If you have any idea what should i do, please help me!
    Thank you!
    Benyke

    I did the firmware update utility.  Says my firmware is up to date.  Still get error.

  • I tring to create new agent and then checking test connection it will show

    i tring to create new agent and then checking test connection it will show error like below plz help us
    oracle.odi.runtime.agent.invocation.InvocationException: ODI-1424: Agent host or port cannot be reached using http://localhost:29010/oraclediagent.
         at oracle.odi.runtime.agent.invocation.RemoteRuntimeAgentInvoker.reThrowAgentErrorAsInvocation(RemoteRuntimeAgentInvoker.java:932)
         at oracle.odi.runtime.agent.invocation.RemoteRuntimeAgentInvoker.invoke(RemoteRuntimeAgentInvoker.java:291)
         at oracle.odi.runtime.agent.invocation.RemoteRuntimeAgentInvoker.invokeIsAlive(RemoteRuntimeAgentInvoker.java:427)
         at oracle.odi.ui.action.SnpsPopupActionTestAgentHandler.actionPerformed(SnpsPopupActionTestAgentHandler.java:65)
         at oracle.odi.ui.SnpsActionControler.handleEvent(SnpsActionControler.java:75)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:884)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)
         at java.awt.Component.processMouseEvent(Component.java:6263)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6028)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4630)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2475)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

    after using this link it will show error like below plz help
    C:\oracle\Middleware\Oracle_ODI1\oracledi\agent\bin>agent -NAME=OracleDIAgent
    OracleDI: Starting Agent ...
    2011-03-28 19:14:12.930 ERROR ODI-1131 Agent OracleDIAgent encountered an error:
    ODI-1400: Agent OracleDIAgent start failure: JDBC connection error occurs while
    connecting to the master repository.
    ODI-1441: Unable to connect to the master repository at JBDC URL=jdbc:oracle:thi
    n:@01hw175334.india.tcs.com:1521:orcl with USER=sh.
    Caused By: java.sql.SQLException: Exception occurred while getting connection: o
    racle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasourc
    e
    at oracle.ucp.util.UCPErrorHandler.newSQLException(UCPErrorHandler.java:
    541)
    at oracle.ucp.jdbc.PoolDataSourceImpl.throwSQLException(PoolDataSourceIm
    pl.java:587)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.j
    ava:668)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.j
    ava:613)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.j
    ava:607)
    at oracle.odi.Agent.validateConnectionProperties(Agent.java:398)
    at oracle.odi.Agent.doGetDataSource(Agent.java:390)
    at oracle.odi.Agent.main(Agent.java:471)
    Caused by: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection fr
    om Datasource
    at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(U
    CPErrorHandler.java:421)
    at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(U
    CPErrorHandler.java:389)
    at oracle.ucp.jdbc.DriverConnectionFactoryAdapter.createConnection(Drive
    rConnectionFactoryAdapter.java:133)
    at oracle.ucp.common.UniversalConnectionPoolImpl$UniversalConnectionPool
    Internal.createOnePooledConnectionInternal(UniversalConnectionPoolImpl.java:1570
    at oracle.ucp.common.UniversalConnectionPoolImpl$UniversalConnectionPool
    Internal.access$600(UniversalConnectionPoolImpl.java:1378)
    at oracle.ucp.common.UniversalConnectionPoolImpl.createOnePooledConnecti
    on(UniversalConnectionPoolImpl.java:445)
    at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnectionWithout
    CountingRequests(UniversalConnectionPoolImpl.java:302)
    at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnection(Univer
    salConnectionPoolImpl.java:129)
    at oracle.ucp.jdbc.JDBCConnectionPool.borrowConnection(JDBCConnectionPoo
    l.java:119)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.j
    ava:655)
    ... 5 more
    Caused by: java.sql.SQLException: ORA-01017: invalid username/password; logon de
    nied
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.ja
    va:70)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:1
    33)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :206)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:406)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399)
    at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth(T4CTTIoauthentica
    te.java:799)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:368)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:
    508)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:203)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtensio
    n.java:33)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
    at oracle.ucp.jdbc.DriverConnectionFactoryAdapter.createConnection(Drive
    rConnectionFactoryAdapter.java:129)
    ... 12 more
    C:\oracle\Middleware\Oracle_ODI1\oracledi\agent\bin>

  • Bug in Spry.Utils.setOptions?

    v1.4 Spry.Utils.setOptions, in the snippet below,
    shouldn't it be
    ... && obj[optionName] == undefined
    instead?
    fyi.
    ============
    for (var optionName in optionsObj)
    if (ignoreUndefinedProps && optionsObj[optionName]
    == undefined)
    continue;
    obj[optionName] = optionsObj[optionName];

    Hello,
    Actually the current implementation is how the function was
    intended to work. There are places into Spry where the options
    object gets passed around. We needed a way of saying don’t
    copy this value if the key exists and its value is undefined
    otherwise valid values already there would be destroyed.
    In your case you want only a predefined list of entries from
    the target array to be checked and overwritten by the entries
    existing in the source array. The rest of the source keys should be
    ignored. In this situation you should make sure however that all
    the entries that you need are already defined otherwise problems
    will appear.
    You may create your own static function
    Spry.Utils.setOnlyExistingOptions that should achieve your goal.
    Regards,
    Cristian MARIN

  • Is anyone else having trouble setting up messages with the new mountain lion software? I keep getting a notification that i cant sign in and it is saying, check network connection and try again, but i have full wifi bars, thanks, Justin

    is anyone else having trouble setting up messages with the new mountain lion software? I keep getting a notification that i cant sign in and it is saying, check network connection and try again, but i have full wifi bars, thanks, Justin

    Install this to get X11 functionality back in 10.8
    http://xquartz.macosforge.org/landing/
    Worked great for me and others.
    Jerry

Maybe you are looking for