Trouble transferring and authorizing- In an Infinite loop

I am stuck in an infinite loop. Upon transferring from iphone to my laptop it says I need to authorize computer, my old username comes up, i enter the correct one and it says computer is already authorized and it loops back around.

have the reading loop in a different class which will have its own Thread running aside from the main program's thread. This way your application will do both at once :)

Similar Messages

  • Listeners, load a class on startup and creating threads in infinite loop

    This is an identical post to the one I made in the jsp forum. I do this as I know, being a regular here, that there are equally good people(in j2ee web application development) in both these forum, but many of them stick to their particular forums of choice - jsp / servlets.
    I was wondering if there is any means by which I could launch my own class when tomcat starts (in the same jvm).
    1. I need one or more Thread/TimerTask because the requirement is such that the application would have continous data drops (in the form of logs) which has to be picked up, parsed and pushed into a db. Another part of the application reads the data from the db on requests (http) and displays it over the web. The thread has to poll for arrival of new logs and then hand it over to a framework for parsing and inserting the parsed data to a db.
    2. I know that I can possibly use a servlet with a load-on-startup value greater than 1 and code my requirement into the init method. However, using a servlet for a functionality different from servicing http requests has me worried. (valid ?), not to mention the fact that Iam very uneasy about creating threads from within Servlets.
    3. I googled hard and found that I could probably use a tomcat specific context lifecycle listener.
    4. I could also possibly use the servlet api - the ServletContextListener.
    5. I have rejected #2 and settled on either #3 or #4 - the ServletContextListener or Tomcat specific Lifecycle Listener, though the later, as I said binds me to Tomcat (which is ok for me). Are there any other specific (dis)advantages of using either especially when I have to create threads from within them (on context startup)? Other than memory leaks, killing the thread objects & associated resources on context shutdown, is there anything else that I need to watch out for while using threads.
    6. I wonder is there is there a plain startup hook available in tomcat (rather than listeners) - from where I can launch a class that starts a thread in the same jvm as tomcat's ?
    Thanks In Advance,
    Ram.

    Anybody ? Sorry for bumping up.
    Thanks,
    Ram.

  • PL/SQL Function in an infinite Loop, how to destroy?

    Hi,
    My Apex is using a PL/SQL function and there is an infinite loop. How can I stop it so I can recompile the PL/SQL again? Thanks.

    the less obvious is whos session exactly.
    I had the same problem - wrong thinking, wrong loop , visible effects of infinitive loop (statistics of the db) . I was trying to kill sessions of the : user , who owns DAD and a user in who's schema runs nasty plsql code - without efect. Kill was confirmed but there was no change. I was made to reboot my server. Probably there is more efective way to do solve this (in my case - I have solved loop-problem after reebot).
    Would it be better to kill apache session under OS ? (restart it)
    Restart oracle's listner under OS ?
    Some ideas ?

  • ShowDataEffect infinite loop

    Ok, for some reason my charting app has started displaying some really weird behavior.  It draws fine on the initial load, but if the user hit's reload (to look at a different time frame for example, it seems to redraw itself over and over again.  If I disable the showDataEffect animation, there is no noticeable effect, but if I leave it in, it just draws itself over and over in an infinite loop.  I used data binding to detect changes in the underlying data and those are what should be triggering the change animation.  In earlier versions, the animations were working and not exhibiting this strange loop behavior, but I can't seem to get it to go away now.  Here is some of the code.  Can anyone please help me fix this bizarre behavior? 
    // Actionscript
    var genericChart:LineChart = new LineChart();
    var axisList:ArrayCollection = chart.getAxisList();
                var renderers:ArrayCollection = new ArrayCollection();
                var seriesArray:ArrayCollection = new ArrayCollection();
                var hAxis:DateTimeAxis = new DateTimeAxis();
                // define each axis
        for (var i:int=0; i<axisList.length; i++) {
        var axis:AxisObject = axisList.getItemAt(i) as AxisObject;
        if (axis.getID() == "x Axis") { 
    // set to hours, weeks, etc.
    hAxis.labelUnits = axis.getAxisUnits().toLowerCase();
    hAxis.labelFunction = fullTimeLabelFunction;
            // more formating of the horizontal axis
        var ar:AxisRenderer = new AxisRenderer();
        ar.axis = hAxis;
        ar.setStyle("canDropLabels", "true");
        genericChart.horizontalAxisRenderers = [ar];
        genericChart.horizontalAxis = hAxis;
        else {
    // Define vertical axis
            var vAxis:LinearAxis = new LinearAxis();
            vAxis.baseAtZero = false;
                vAxis.title = axis.title;
    // more formatting of the axis
            var axr:AxisRenderer = new AxisRenderer();
        axr.axis = vAxis;
        // flip left axis
        if (axis.getLocation() == "left") {
        axr.setStyle("verticalAxisTitleAlignment", "vertical");
        axr.setStyle("canDropLabels", "true");
        axr.setStyle("tickPlacement", "none");
        var colRatio:Number = 1.0/axis.getSeriesList().length;
        if (colRatio == 1.0) colRatio = 1.1;
        if (axisList.length == 2) genericChart.setStyle("gutterRight", 30);
            for (var j:int=0; j<axis.getSeriesList().length; j++) {
            var ser:SeriesObject = axis.getSeriesList().getItemAt(j) as SeriesObject;
            var col:uint = new uint(new Number(ser.getColor()));
            var stroke:Stroke = new Stroke();
            stroke.color = col;
            var columnSeries:ColumnSeries = new ColumnSeries();
         // when I reload, I set oldData.pointlist = newData.pointlist
            BindingUtils.bindProperty(columnSeries, "dataProvider", ser, "pointList");
            columnSeries.columnWidthRatio = colRatio;
            columnSeries.verticalAxis = vAxis;
            columnSeries.displayName = ser.name;
            stroke.weight = 1;
            columnSeries.setStyle('stroke', stroke);        
            columnSeries.setStyle("fill", stroke.color);
            columnSeries.xField="point1";
            columnSeries.yField="point2";
            columnSeries.setStyle("showDataEffect", slideLeft);
            seriesArray.addItem(columnSeries);
            renderers.addItem(axr);
        genericChart.series = seriesArray.toArray().reverse();
        genericChart.verticalAxisRenderers = renderers.toArray();
        genericChart.percentWidth = 100;
    genericChart.seriesFilters = [];  
       genericLegend.dataProvider = genericChart;
    genericLegend.direction = "horizontal";
       genericLegend.setStyle("direction", "horizontal");
       genericChart.showDataTips = true;
       chartPanel.title = chart.getName();
       chartPanel.horizontalScrollPolicy = "off";
    chartPanel.addChild(genericChart);
    if (chart.getChartOptions().getShowLegend()) {
    var legendBox:HBox = new HBox();
    chartPanel.addChild(genericLegend);
    BindingUtils.bindProperty(genericLegend, "width", genericChart, "width");
    <!-- mxml data animation definition -->
    <mx:SeriesSlide
        duration="1000"
        direction="up"
        minimumElementDuration="200"
        elementOffset="30"
        id="slideUp"  />

    Ok, I found out what the problem is.  I had recently switched to compile this project under 3.4.  I switched it back to 3.3 and it draws fine just like it used to.  So definitely a bug with 3.4.  Hope this gets fixed in the future!

  • Infinite loop in a catch {} statement, should be simple

    Hi, I'm trying to take integer input from the console using a Java Scanner object, and I enter an infinite loop if there is an IO error inside the catch statement. Please let me know if you know what I'm doing wrong:
    do
    try
    Problem = false; //this is a bool
    start = Input.nextInt(); // Input is a Scanner, start is an Intenger
    catch (Exception IOException) {
         Problem = true;
         System.out.println("Bad value.\n");
         //The infinite loop is inside this statement.
    while (Problem == true);
    This code block is intended to take integer input, then, if there's an IO error, try to do it again, indefinitely, until it has successfully given Start a value. As it stands, if executed, if there is not an IO error, it works; if there is an IO error it enters an infinite loop in the catch statement. Please forgive my incompetence, any help is appreciated :)

    Hi, thanks for the advice to both of you, your suggestion that it is stuck seems to be correct.
    I add to the catch statement:
    Input = new Scanner(System.in);
    To reset it, and it works now. This is probably not the best way to do things, but I'm just a student and it's for a homework assignment that does not require try / catch / for so it works for this, thank you for the help! :)

  • Need help with infinite loop in recovery mode in Creative Zen 20

    hi,
    I'm having this problem with my Creative Zen 20 GB:
    When I turned it on, it goes immediately to the rescue/recovery mode. Not sure why. Will do that even when I reset the device.
    So, I selected cleanup. After cleanup, it remained showing the menu of the recovery mode. I selected reboot. After reboot, it went back to the rescue/recovery mode. And it goes on and on like an infinite loop.
    Finally, I decided to do a formatAll. Again, it remained in the recovery mode menu after the formatAll action. After reboot, it again went back to the rescue/recovery mode.
    I have never updated the firmware. So, I thought maybe that will help. However, when I connected the device to my PC, the device went to rescue/recovery mode and the PC could not detect the device connected via USB. In short, I am currently not able to do anything at all with the device except charging it.
    Would appreciate help/advise.
    Tks in advance.

    huggiebear wrote:
    I connected the device to the PC and after the PC tried to load the library, it said "Player is not connected".
    What library are you loading? After you have run that reload os option, you need to connect the player to the computer and run the firmware update software. If you haven't download that, you can go to the download section and download it. If all else fail, the player is probably faulty and you would need to get in contact with Customer Support then.
    Jason

  • [svn] 4870: TextView with textAlign="justify" causes infinite loop and eventual RTE.

    Revision: 4870
    Author: [email protected]
    Date: 2009-02-05 15:33:52 -0800 (Thu, 05 Feb 2009)
    Log Message:
    TextView with textAlign="justify" causes infinite loop and eventual RTE. Vellum sometimes returns width and/or height larger than the request width/height due to rounding error. This triggers a contentWidth/Height change event which triggers the scroller which comes back in to TextView updateDisplayList, etc.
    QE Notes:
    Doc Notes:
    Bugs: SDK-19144
    Reviewers: Gordon
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-19144
    Modified Paths:
    flex/sdk/branches/i10/frameworks/projects/flex4/src/mx/components/TextView.as

  • I am having trouble transferring files from an old MacBook (2007) to a MacBook Air over a wireless network.  The connection was interrupted and the time was over 24 hours.  Is there a better way to do this?  I'm using Migration assistant.

    I am having trouble transferring files from an old MacBook (2007) to a MacBook Air over a wireless network.  The connection was interrupted and the time was over 24 hours.  Is there a better way to do this?  I'm using Migration assistant.  The lack of an ethernet port on MacBook air does not help.

    William ..
    Alternative data transfer methods suggested here > OS X: How to migrate data from another Mac using Mavericks

  • My Macbook Pro will not boot up. I can hear the sound that it has started and then goes into an infinite loop.

    My Macbook Pro will not boot up. I can hear the sound that it has started and then it goes into an infinite loop.

    What model MBP and which version of OS X? Sounds as if the hard drive may have failed. If you have an installation disc, try booting with it. If your machine came with Lion or Mountain Lion, try booting to the Recovery partition - Command and R keys held down while booting.
    Clinton

  • I'm having trouble transferring the songs on my ipod to my HP computer. Everytime i authorize the computer to allow the songs to go on, it doesn't do anything. Then I authorize it again and still nothing has changed. Any suggestions?

    I'm having trouble transferring the songs on my ipod to my HP computer. Everytime i authorize the computer to allow the songs to go on, it doesn't do anything. Then I authorize it again and still nothing has changed. Any suggestions?

    Was the content purchased from iTunes?  If not, it will not transfer.

  • REDO scanning goes in infinite loop and Too much ARCHIVE LOG

    After we restart DATABASE, capture process REDO scanning goes in infinite loop and Too much ARCHIVE LOG being generated.
    No idea whats going on.... otherwise basic streams functionality working fine.

    What's your DB version

  • E payment should be enabled so that the user could make payment directly from SAP and after the payment is verified ,approved and authorized by the concerned users responsible the payment should be electronically transferred to the payee's bank account th

    E payment should be enabled so that the user could make payment directly from SAP and after the payment is verified ,approved and authorized by the concerned users responsible the payment should be electronically transferred to the payee’s bank account through our bank.

    Thanks,
    I usually use the OS connection option. So as you suggest, connect without the ISP connection software.  Doing so does not by-pass the sudo command being active in Activity Monitor however. 
    On reading my post I see my failure to link the concerns of the laptop purchase with the sudo and modem. My thought here is of an intersection of known vulnerability with this widely used modem/software (via permanent sudo process activated) and that vulnerability then being known and utilised by another party(s).
    I am pursuing the issue in part with consideration to a broader possible issue of vulnerability.
    Thanks again for your thoughts and suggestions. Valued.

  • How to obtain data from a device and display that data in an infinite loop

    I'm trying to run an infinite loop where I'm testing a robot for thermal insulation.
    I send the robot a command to run infinitely (using VISA communication)..., the robot starts running.
    At the same time I obtain the temperature data from its motors (through sensors) and want to display it. The data should be refreshed at regular itervals but I only get broken display of the data at various instances of time during the robot's test-run.
    I fear that there is a problem with the time synchronization. But having tried many permutations of time delays at various points in the program, I can not find the fault.
    Any help is much appreciated.
    Cheers
    Rajat

    We really need screen shots (*png format/NOT .bmp!) or attached code to see what might be the problem. There are an infinite number of mistakes that can be made (or nearly so), depending on how a program is written.
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • A few selection of websites after fully loading become blank and start an infinite loop of loading. I reinstalled firefox once already and the problem persists. What can I do?

    A few selection of websites after fully loading become blank and start an infinite loop of loading. I reinstalled firefox once already and the problem persists. What can I do?

    Sorry I do not know what the problem may be. <br />
    If no-one comes up with better ideas of what causes this then my questions and suggestions:
    What do you mean by an infinite loop ? <br />
    The page loads and then goes blank. What exactly happens next, does the page fully load and fully display again before going blank, and repeat this cycle endlessly in the same tab.
    You do say the problem persisted in safe-mode and you had looked at the basic troubleshooting article. Buy that you can stop the problem by disabling javascript.
    * did you disable all plugins - and did you still get the problem then ?
    As you mention disabling javascript stops the problem, have you tried with<br /> Java script enabled but
    * block popups ON
    * load images automatically OFF
    * advanced options - ALL OFF<br /> What happens do you get the problem then or not.
    While on this firefox site if I look at the error console Ctrl+Sift+J or Tools -> Error console If I clear the console content and reload the webpage the error console shows only a couple of messages. YouTube home page give a lot of yellow triangle warnings about 200, but no red warnings, do you get red warnings.
    You could also try on the problem sites eg YouTube changing the permissions with tools -> Page Info | Permissions
    Did you try the Basic Troubeshooting suggestion of making a new profile. (Heeding the warning not to delete settings, otherwise you loose all bookmarks etc) did that help ?

  • HashMap, HashSet and infinite loop

    hi,
    our code ended up in an infinite loop while parsing the entries of a HashMap with this code:
            Iterator it = myHashMap.entrySet().iterator();
            while (it.hasNext()) {
                field = (Map.Entry) it.next();
                // code that access content of "field"
            } as the loop creates some kind of objects, the JVM terminated with a out-of-memory. luckily we got a heap-dump file and that shows:
    - the hash-map has 325 entries
    - the loop was iterated more than 3 million times
    - the iterator "it" has a current and a next field pointing at the same element of the HashMap
    a snapshot of the heap-analysis of the iterator can be seen at
    http://www.sbox.tugraz.at/home/a/archmage/hashset/EntryIterator.html
    maybe the HashMap was accessed concurrently, but then there should be a ConcurrentModificationException.
    we are using
    > java -version
    java version "1.4.2_12"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03)
    Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode)for me, this looks like a JVM bug, but i cannot really believe that (and i could not find a bug stating this behaviour).
    is there anything i did not notice during using hashmaps/hashsets/iterators?
    regards, werner

    there should be aConcurrentModificationException.
    Not necessarily. The iterators cannot always detectConcurrentModificationException.
    api-docs of HashMap say:
    A structural modification is any operation that adds
    or deletes one or more mappings
    if the map is structurally modified at any time after
    the iterator is created, in any way except through
    the iterator's own remove or add methods, the
    iterator will throw a
    ConcurrentModificationException.
    for me, that means, the iterator should detect any
    "add" or "delete" operation like map.put(...). am i
    wrong? or are the docs wrong here?Immediately AFTER the paragraph you quoted, it says
    Note that the fail-fast behavior of an iterator cannot be guaranteed as it is, generally speaking, impossible to make any hard guarantees in the presence of unsynchronized concurrent modification. Fail-fast iterators throw ConcurrentModificationException on a best-effort basis.
    http://java.sun.com/j2se/1.5.0/docs/api/java/util/HashMap.html
    Furthermore, did you READ what I said after that?
    It's FAR MORE LIKELY to be a result of data corruption, rather than multiple simultaneous iterators.

Maybe you are looking for

  • Error while running JSP Page on Desktop Client PDA

    Hi Experts, I am trying to run MI Project on my local desktop. But it is not able to start. Browser gives the following error: java.lang.ExceptionInInitializerError      at com.model.CalibModel.getUomList(CalibModel.java:75)      at com.jspjava.Order

  • Returning a FIOS TV Box

    I apologize if this is the wrong forum.  Would like to return 1 of my FIOS boxes.  I only use 2.  Will returning the unused box  lower my bill?  Thanks in advance for the assist. Solved! Go to Solution.

  • HT frequency, what is it?

    I dont really understand this bios feature and the manuals explanation doesnt help either.  I tried searching the forum but all I found were lots of threads where people having lockups and that they should use the -/+ keys instead. I also found this

  • Merge columns in an ALV Table

    Hi colleagues, is it possible to merge two or more columns in ALV Table (like ColSpan in the Matrix-Layout) to write a text over more than one column? I haven't found any solution for it until now. Best regards Stefan

  • Logon language and title

    Hello all there, I need to adjust the logon screen of the portal and I have some minor issues I can't find an answer for. First of all, how do I change the logon language. It should always be English, no matter what the users, browser, ... locale is.