NIO bug? selector doesn't return

Hello,
I have a strange problem with my server. When a number of concurrent connections became more than 1000 the server hangs up.
I use NIO API to manage connections. The server logic is IRC-style, it broadcasts a large number of small messages. In one moment it may disconnect all the users and doesn't accept anymore incoming connections in spite of the java runtime continue working. I wrote a daemon that periodically makes thread dump to log file. When the server works normally the selector thread looks like this:
IOManager:
    sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
    sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(Unknown Source)
    sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(Unknown Source)
    sun.nio.ch.WindowsSelectorImpl.doSelect(Unknown Source)
    sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source)
    sun.nio.ch.SelectorImpl.select(Unknown Source)
    ioserver.IOManager.run(IOManager.java:143)But when it doesn't respond appear two new "hepler" threads and the dump looks like:
IOManager:
    java.lang.Object.wait(Native Method)
    java.lang.Object.wait(Unknown Source)
    sun.nio.ch.WindowsSelectorImpl$FinishLock.waitForHelperThreads(Unknown Source)
    sun.nio.ch.WindowsSelectorImpl$FinishLock.access$600(Unknown Source)
    sun.nio.ch.WindowsSelectorImpl.doSelect(Unknown Source)
    sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source)
    sun.nio.ch.SelectorImpl.select(Unknown Source)
    ioserver.IOManager.run(IOManager.java:143)
Thread-600:
    java.lang.Object.wait(Native Method)
    java.lang.Object.wait(Unknown Source)
    sun.nio.ch.WindowsSelectorImpl$StartLock.waitForStart(Unknown Source)
    sun.nio.ch.WindowsSelectorImpl$StartLock.access$2400(Unknown Source)
    sun.nio.ch.WindowsSelectorImpl$SelectThread.run(Unknown Source)
Thread-599:
    java.lang.Object.wait(Native Method)
    java.lang.Object.wait(Unknown Source)
    sun.nio.ch.WindowsSelectorImpl$StartLock.waitForStart(Unknown Source)
    sun.nio.ch.WindowsSelectorImpl$StartLock.access$2400(Unknown Source)
    sun.nio.ch.WindowsSelectorImpl$SelectThread.run(Unknown Source)The selector thread never returns from select operation. I don't know what is the cause of this behavior but I think that a problem is not in my java code. What can I do to solve the problem?
P.S.
The hardware isn't so powerful (2 CPUs Pentium III 500) thus it always has 50%-80% of load. Operating system is Windows 2003 Server for Small Business Server (without SPs). JRE: 1.5.0_09 Server VM. Socket receive buffer size: 1024, send buffer size: 4096.
Ant�n

Now having looked at the code and where the helper threads are and the main selector thread it seems that they are in a deadlock. From the code it seems very unlikely, since the timing has to be just right.
As an example,
Assumptions:
1) we do a select and because of the number of keys we select on, we need to create 3 helper threads. (so we have the main thread and 3 helpers = 4 total)
2) The system is quite busy and we are doing 100's of selects / minute and we also wakup the selector for adding and removing keys (cancelling keys etc.)
Event sequence:
1) We call select which calls the WindowsSelectorImpl
2) It creates 3 helper thread (also sets threadsToFinish = 3)
3) First thread gets created and waits on startLock
4) Other 2 helper threads get pre-empted out before they can wait on startLock
5) main thread wakes up everyone waiting on startLock (so one gets started, the other 2 don't)
6) Main thread enters poll and exits pol
7) 1st helperThread that was started goes into poll and finishes, calls wakeup on other threads (but they are not waiting yet)
8) 2 remaining helper threads now get to wait on startLock (not sure if this part can take that long)
9) main thread now checks threadsToFinish and sees 1 thread is finished and doesn't call wakeup, goes to code where it waits for the helper threads, but they are waiting and missed all the wakeup calls because they took "long" to start.
So there is a couple of things that need to fall in place for this to happen:
1) lots of calls into doSelect
2) relatively busy system (so some of the helpers take long to start)
3) a key in the main thread and a key in the 1st started helper triggers almost immediately
Seems that there is a need in the main thread to check if there are any helpers that might have missed the notification to start on startLock, if so, it might need to call it again ??
Reinier
PS: The funny thing though is that at the time I only had 1023 keys in the selector, yet there are 2 helper threads that suggest 1024 (main) + 1024 (helper 1) + 1024 (helper 2) = 3072 channels / keys ?
Edited by: rbezuide on Apr 2, 2008 11:09 AM

Similar Messages

  • UIComponent.getAttributes() doesn't return a proper Map?

    I am finding that the 'Map' returned by UIComponent.getAttributes() doesn't obey the entire Map contract:
    - containsKey() always returns false
    - new HashMap<String, Object>(event.getComponent().getAttributes()) doesn't return a filled-in Map, which suggests that the iteration facilities of the underlying Map don't work either.
    Is this a known problem/limitation/feature?
    JSF 1.2 and JSF 2.0.

    ejp wrote:
    I don't really care about the iterators as that was just a non-working workaround for the other problem. The case I'm interested in is where the attribute is set via <f:attribute>. These don't show up via containsKey(). In certain places I have a test to ensure all the required f:attributes are being set in the page, to avoid NPEs later on, and these aren't showing up via containsKey() - but they do via get().Well as noted in the spec quote, if the attribute you are setting is a JavaBean property then containsKey() is supposed to return false. Otherwise, it sounds like a bug.

  • Bug: IconUIResource doesn't paint an animated ImageIcon

    I was recently playing with Icons and found that javax.swing.plaf.IconUIResource doesn't paint an ImageIcon that contains an animated GIF. Found the reason in these bug fixes.
    [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4215118]
    [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4215118]
    From that, I could arrive at a workaround: extend ImageIcon to implement the UIResource marker interface and use this class instead of wrapping an ImageIcon in a IconUIResource. Interestingly, NetBeans autocomplete revealed the existance of sun.swing.ImageIconUIResource which I determined to be a direct subclass of ImageIcon, with two constructors that take an Image and byte[] respectively.
    Test SSCCE: import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.MalformedURLException;
    import java.net.URL;
    import javax.swing.Icon;
    import javax.swing.ImageIcon;
    import javax.swing.JOptionPane;
    import javax.swing.UIManager;
    import javax.swing.plaf.IconUIResource;
    import javax.swing.plaf.UIResource;
    public class IconUIResourceBug {
      public static void main(String[] args) {
        try {
          URL imageURL = new URL("http://www.smiley-faces.org/smiley-faces/smiley-face-rabbit.gif");
          InputStream is = imageURL.openStream();
          ByteArrayOutputStream baos = new ByteArrayOutputStream();
          int n;
          byte[] data = new byte[1024];
          while ((n = is.read(data, 0, data.length)) != -1) {
            baos.write(data, 0, n);
          baos.flush();
          byte[] bytes = baos.toByteArray();
          ImageIcon imageIcon = new ImageIcon(bytes);
          Icon icon = new IconUIResource(imageIcon);
          UIManager.put("OptionPane.errorIcon", icon);
          JOptionPane.showMessageDialog(null, "javax.swing.plaf.IconUIResource", "Icon not shown",
                  JOptionPane.ERROR_MESSAGE);
          icon = new ImageIconUIResource(bytes);
          UIManager.put("OptionPane.errorIcon", icon);
          JOptionPane.showMessageDialog(null, "ImageIconUIResource", "Icon shown",
                  JOptionPane.ERROR_MESSAGE);
          icon = new sun.swing.ImageIconUIResource(bytes);
          UIManager.put("OptionPane.errorIcon", icon);
          JOptionPane.showMessageDialog(null, "sun.swing.ImageIconUIResource", "Icon shown",
                  JOptionPane.ERROR_MESSAGE);
        } catch (MalformedURLException ex) {
          ex.printStackTrace();
        } catch (IOException ex) {
          ex.printStackTrace();
    class ImageIconUIResource extends ImageIcon implements UIResource {
      public ImageIconUIResource(byte[] bytes) {
        super(bytes);
    }I can't see any alternative fix for the one carried out in response to the quoted bug reports, so have held off on making a bug report. Any ideas?
    Thanks for reading, Darryl
    I'm also posting this to JavaRanch for wider discussion, and shall post the link here as soon as possible. I'll also keep both threads updated with all significant suggestions received.
    edit [http://www.coderanch.com/t/498351/GUI/java/Bug-IconUIResource-doesn-paint-animated]
    Edited by: DarrylBurke

    Animated gif is working fine for me.
    You can check the delay time between the images in the gif, to see that it's not too short.
    Here's a simple example:import java.net.URL;
    import javax.imageio.ImageIO;
    import javax.imageio.stream.ImageInputStream;
    import javax.swing.ImageIcon;
    import javax.swing.JDialog;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import com.sun.imageio.plugins.gif.GIFImageMetadata;
    import com.sun.imageio.plugins.gif.GIFImageReader;
    public class AnimatedGifTest {
        public static void main(String[] args) {
            try {
                JFrame frame = new JFrame();
                frame.setDefaultCloseOperation(JDialog.EXIT_ON_CLOSE);
                URL url = new URL("http://www.gifanimations.com/action/SaveImage?path=/Image/Animations/Cartoons/~TS1176984655857/Bart_Simpson_2.gif");
                frame.add(new JLabel(new ImageIcon(url)));
                frame.pack();
                frame.setVisible(true);
                // Read the delay time for the first frame in the animated gif
                GIFImageReader reader = (GIFImageReader) ImageIO.getImageReadersByFormatName("GIF").next();
                ImageInputStream iis = ImageIO.createImageInputStream(url.openStream());
                reader.setInput(iis);
                GIFImageMetadata md = (GIFImageMetadata) reader.getImageMetadata(0);           
                System.out.println("Time Delay = " + md.delayTime);
                reader.dispose();
                iis.close();
            } catch (Exception e) {e.printStackTrace();}
    }

  • SQL Query (PL/SQL Function Body returning SQL query) doesn't return any row

    I have a region with the following type:
    SQL Query (PL/SQL Function Body returning SQL query).
    In a search screen the users can enter different numbers, separated by an ENTER.
    I want to check these numbers by replacing the ENTER, which is CHR(13) || CHR(10) I believe, with commas. And then I can use it like this: POD IN (<<text>>).
    It's something like this:
    If (:P30_POD Is Not Null) Then
    v_where := v_where || v_condition || 'POD IN (''''''''||REPLACE(''' || :P30_POD || ''', CHR(13) || CHR(10), '','')||'''''''''')';
    v_condition := ' AND ';
    End If;
    But the query doesn't return any rows.
    I tried to reproduce it in Toad:
    select * from asx_worklistitem
    where
    POD IN (''''||REPLACE('541449200000171813'||CHR(13) || CHR(10)||'541449206006341366', CHR(13) || CHR(10), ''',''')||'''')
    ==> This is the query that does't return any rows
    select (''''||REPLACE('541449200000171813'||CHR(13) || CHR(10)||'541449206006341366', CHR(13) || CHR(10), ''',''')||'''')
    from dual;
    ==> This returns '541449200000171813','541449206006341366'
    select * from asx_worklistitem
    where pod in ('541449200000171813','541449206006341366');
    ==> and when I copy/paste this in the above query, it does return my rows.
    So why does my first query doesn't work?
    Doe anyone have any idea?
    Kind regards,
    Geert
    Message was edited by:
    Zorry

    Thanks for the help.
    I made it work, but via the following code:
    If (:P30_POD Is Not Null) Then
    v_pods := REPLACE(:P30_POD, CHR(13) || CHR(10));
    v_where := v_where || v_condition || 'POD IN (';
    v_counter := 1;
    WHILE (v_counter < LENGTH(v_pods)) LOOP
    v_pod := SUBSTR(v_pods, v_counter, 18);
    IF (v_counter <> 1) THEN
    v_where := v_where || ',';
    END IF;
    v_where := v_where || '''' || v_pod || '''';
    v_counter := v_counter + 18;
    END LOOP;
    v_where := v_where || ')';
    v_condition := ' AND ';
    End If;But now I want to make an update of all the records that correspond to this search criteria. I can give in a status via a dropdownlist and that I want to update all the records that correspond to one of these POD's with that status.
    For a region you can build an SQL query via PL/SQL, but for a process you only have a PL/SQL block. Is the only way to update all these records by making a loop and make an update for every POD that is specified.
    Because I think this will have a lot of overhead.
    I would like to make something like a multi row update in an updateable report, but I want to specify the status from somewhere else. Is this possible?

  • IDoc Transport Acknowledge doesn't return to PI 7.0 automatically

    Hi all,
    I realized an Integration scenario in which PI 7.0 generates custom IDocs messages (like MBGMCR) and send them to a SAP system (4.6 C). In particular there are the scenario steps:
    1. BPM -> IDoc msg
    2. IDoc msg transport ACK -> BPM
    3. BPM -> JDBC updating
    When SAP receive IDocs must send back to PI the related Transport Acknoledgement in order to complete the Integration Scenario with JDBC updating.
    So I observe that, if I don't refresh IDoc messages on SXMB_MONI, the Transport ACK doesn't return back from SAP to PI and the BPM remains pending.
    Any ideas?
    Thanks in advance,
    GB

    Hi Gaurav,
    could you please tell me which are these parameters:
    - partner number (for the receiver)
    - partner type (for the receiver)
    - partner role  (for the receiver)
    In my scenario PI 7.0 sends IDocs to R/3 so the receiver (written in the point 3 of the link you sent me) should be R/3.
    It's right?
    I'm unable to find the Parner Role. In which transaction can I found it?
    Thanks,
    GB

  • XI doesn't return an xml file

    Hi,
    I've made a scenario using XI 3.0. I use a file adapter with an inbound synchronous interface to send a xml file to XI. XI consumes a function from CRM using a RFC adapter and an outbound synchronous interface. I've setted "Best Effort" as quality of service too.
    The xml file arrives correctly to CRM and CRM returns the BAPI result to XI correctly too. The problem is XI doesn't return the xml file which it should, that's to say, the xml file sent by XI isn't in the specified target directory (using an inbound synchronous interface and a XI adapter).
    Could someone explain me what happens?
    Thanks in advance,
    Samantha.

    Hi Samantha,
    bad news: File Adapter is always asynchronous, cant get any response. And if you use an interface to send data it is an outbound interface.
    To realize your business logic you must use BPM like
    file (outbound asynchronous) -> BP (abstract asynchronous)
    BP (abstract synchronous) <-> CRM (inbound synchronous)
    BP (abstract asynchronous) -> file (inbound asynchronous)
    Regards,
    Udo

  • Doesn't return true value .........

    Hi All,
    please check the following code.
    password (originalPassword) from the database is : xyz
    password (password) from the login page is : xyz
    when I try for equality for the password :
    if(originalPassword.equalsIgnoreCase(password)) {
    it doesn't return true value while the password is same that is : xyz ?
    I an stuck in the problem.
    Please look into the code and solve my problem.
    Thanks
    public boolean verifyPassword(String username, String password) {
            String originalPassword=null;
            try {
                Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
               Connection con = DriverManager.getConnection("jdbc:microsoft:sqlserver://sqlserver:1433","harish","harish");
               PreparedStatement pstmt = con.prepareStatement("select password from registration where username='"+username+"'");          
               //ResultSet rs = pstmt.getResultSet();
               ResultSet rs = pstmt.executeQuery();
               if(rs.next()) {
                   originalPassword=rs.getString(1);              
               pstmt.close();
               if(originalPassword.equalsIgnoreCase(password)) {
                              return true;
               } else {
                   return false;
           } catch (Exception e){
               System.out.println("Exception: verifyPassword="+e);
               return false;
         Harish Pathak

    Are you sure there's no space before or after "xyz"? Try adding some debug output to your code:
    if(originalPassword.equalsIgnoreCase(password)) {
      //foo
    } else {
      System.out.println("<" + password + "> does not match <" + originalPassword + ">");
    }

  • Query with subquery containing group clause doesn't return any rows - WHY ?

    Hi,
    My query doesn't return any values :
    select g1.NTRX from gtrx g1
    where exists
    (SELECT b.cfunctrx, b.cpro1trx, b.nmsgitrx, b.nmrc, b.ncrd, b.namtstrx,
    b.dltimtrx, b.nrtrftrx,count(*)
    FROM gtrxacq a, gtrx b
    WHERE a.ntrx = b.ntrx AND a.acq_bus_date = (SELECT curr_bus_date -1
    FROM gmbr
    WHERE nmbr = 0)
    and g1.NTRX=b.NTRX
    GROUP BY b.cfunctrx,
    b.cpro1trx,
    b.nmsgitrx,
    b.nmrc,
    b.ncrd,
    b.namtstrx,
    b.dltimtrx,
    b.nrtrftrx
    HAVING COUNT (*) > 1);
    but such query returns some number of rows :
    SELECT b.cfunctrx, b.cpro1trx, b.nmsgitrx, b.nmrc, b.ncrd, b.namtstrx,
    b.dltimtrx, b.nrtrftrx,count(*)
    FROM gtrxacq a, gtrx b
    WHERE a.ntrx = b.ntrx AND a.acq_bus_date = (SELECT curr_bus_date -1
    FROM gmbr
    WHERE nmbr = 0)
    /*and g1.NTRX=b.NTRX*/
    GROUP BY b.cfunctrx,
    b.cpro1trx,
    b.nmsgitrx,
    b.nmrc,
    b.ncrd,
    b.namtstrx,
    b.dltimtrx,
    b.nrtrftrx
    HAVING COUNT (*) > 1
    AND when i put results from query above into query :
    select g1.NTRX from gtrx g1
    where
    g1.CFUNCTRX= 200 and g1.CPRO1TRX= 000 and g1.NMSGITRX= 1240 and
    g1.NMRC= '000000000000675' and g1.NCRD= 405671**********
    and g1.NAMTSTRX=14.26 and g1.DLTIMTRX=to_date('07/08/2008 15:07:02','MM/DD/YYYY HH24:MI:SS')
    and g1.NRTRFTRX= '000414598393';
    it returns values.
    what is wrong ?
    Best Regards Arkadiusz Masny

    but such query returns some number of rows :
    /*and g1.NTRX=b.NTRX*/Add b.NTRX into group by and recheck.

  • Click on a cell in formula doesn't return value, only text. why?

    When doing a simple formula like =c4-c5 in one of my sheets, when i click on the cell, it doesn't return the value, only text.
    What setting do i have enabled/disabled?
    thanks
    hamdog

    HI Hamdog,
    What you are seeing is the formula that is in that cell.
    The setting you have turned on is the first one in the bottom section of the General page of Numbers Preferences. In the English versions, it looks like this:
    With the checkbox unchecked (as mine is), the formula would read:
    =L10-P10
    Column L is labeled "Tips", Column P is labeled "Lenka", Row 10 is labeled "9. 2. 2013"
    To Copy and Paste the result, 462, click (once) on the cell and Copy, then click (once) on the cell where you want to paste the result and go Edit > Paste Values. This should be the seventh item (not including the separator line) in the Edit menu.
    Regards,
    Barry
    Regards,
    Barry

  • The same selection doesn't return the same result in 2 identical systems

    Hi,
    After a copy we have 2 systems with same data.
    In a program the same selection doesn't returns the same result, it seems that the sort is different.
    I have checked indexes but they are ok in both systems.
    Here is the selection:
    SELECT but000~partner
    INTO TABLE lt_partner
    *UP TO 50 ROWS
    FROM but000
    JOIN but020
      ON but020partner = but000partner
    JOIN adrc
      ON adrcaddrnumber = but020addrnumber
    JOIN but100
      ON but100partner = but000partner
      WHERE but020~addr_valid_from LE '20100727000000'
      AND   but020~addr_valid_to   GE '20100727000000'.
    Is there a customizing point to define how the database must be sorted ?
    Thanks.
    Edited by: julien schneerberger on Jul 27, 2010 4:18 PM

    Hi,
    Thank you for your answer.
    Result is the same and I don't sort data after the selection.
    Do you think the system copy has "broke" the records order in database ?
    If it is the case it will be impossible to reproduce the same sort, is it right ?
    Edited by: julien schneerberger on Jul 27, 2010 5:19 PM
    Edited by: julien schneerberger on Jul 27, 2010 5:20 PM

  • Disco Report doesn't return data for a responsibilty

    Hi Guys,
    We have a report, we have shared with XXX Tax Manager. When we login through XXX Tax Manager, it doesn`t return data. But when we do similer with XXX Payables Manager, report runs fine and return data?
    Can any one help me on this.
    Note: Both Responsibility have access to the Business Area.
    Thanks,
    Nick

    Please find the below query:
    SELECT /*+ NOREWRITE */
    o101613.expense_account_num AS e264170,
    o271954.description AS e271961, o271954.po_number AS e272013,
    o271954.project AS e272033, o271954.task AS e272035,
    o271954.expenditure_type AS e272036, o272183.amount AS e275461,
    (o272183.gl_date) AS e275566, (o272183.invoice_date) AS e275578,
    o272183.invoice_id AS e275580, o275448.invoice_id AS e275581,
    o272183.invoice_number AS e275584,
    o272183.self_assessed_flag AS e275674,
    o272183.ship_to_location_code AS e275681, o272183.state AS e275685,
    o272183.tax_amount AS e275695,
    o272183.tax_jurisdiction_code AS e275698,
    o272183.tax_rate AS e275700, o272183.vendor_name AS e275720,
    o272183.vendor_number AS e275723, (o278494.gl_date) AS e278500,
    o278494.liability_account AS e278501
    FROM apfg_ap_invoices o101612,
    apfg_ap_invoice_distributions o101613,
    apps.ap_invoice_lines_v o271954,
    (SELECT ap.invoice_id, aps.vendor_name, aps.segment1 vendor_number,
    ap.invoice_num invoice_number, ap.invoice_date, ap.gl_date,
    apl.amount amount, zxl.tax_amt tax_amount,
    zxr.percentage_rate tax_rate, zxl.tax_jurisdiction_code,
    apl.ship_to_location_code, zxl.self_assessed_flag,
    hzg.geography_element2_code state, apl.line_number
    FROM ap.ap_suppliers aps,
    ap.ap_invoices_all ap,
    zx.zx_lines zxl,
    apps.ap_invoice_lines_v apl,
    zx.zx_rates_b zxr,
    zx.zx_jurisdictions_tl zxj,
    zx.zx_jurisdictions_b zxb,
    ar.hz_geographies hzg
    WHERE aps.vendor_id = ap.vendor_id
    AND ap.invoice_id = zxl.trx_id
    AND zxl.trx_id = apl.invoice_id
    AND zxl.trx_line_number = apl.line_number
    AND zxl.entity_code = 'AP_INVOICES'
    AND zxl.event_class_code = 'STANDARD INVOICES'
    AND zxl.self_assessed_flag = 'Y'
    --AND zxr.tax_rate_code         = zxl.tax_rate_code
    AND zxr.tax_rate_id = zxl.tax_rate_id
    AND zxj.tax_jurisdiction_id = zxl.tax_jurisdiction_id
    AND zxb.tax_jurisdiction_id = zxj.tax_jurisdiction_id
    AND zxb.zone_geography_id = hzg.geography_id
    AND zxl.tax_amt <> 0
    AND apl.line_type_lookup_code IN
    ('ITEM', 'FREIGHT', 'MISCELLANEOUS')
    AND apl.line_source IN
    ('HEADER MATCH',
    'MANUAL LINE ENTRY',
    'IMPORTED',
    'CHRG ITEM MATCH'
    AND ap.cancelled_date IS NULL
    ORDER BY aps.vendor_name, ap.invoice_num) o272183,
    apps.ap_invoices_v o275448,
    (SELECT xte.source_id_int_1 invoice_id, gcc.code_combination_id,
    xte.transaction_number, xal.accounting_date gl_date,
    gcc.segment1
    || '.'
    || gcc.segment2
    || '.'
    || gcc.segment3
    || '.'
    || segment4
    || '.'
    || segment5
    || '.'
    || segment6
    || '.'
    || segment7 liability_account
    FROM xla.xla_transaction_entities xte,
    xla.xla_ae_headers xah,
    xla.xla_ae_lines xal,
    gl.gl_code_combinations gcc
    WHERE 1 = 1
    AND xte.entity_id = xah.entity_id
    AND xte.application_id = xah.application_id
    AND xah.ae_header_id = xal.ae_header_id
    AND xal.accounting_class_code = 'SELF_ASSESSED_TAX_LIAB'
    AND xal.code_combination_id = gcc.code_combination_id) o278494
    WHERE ( (o101612.invoice_id = o101613.invoice_id(+))
    AND ( o101613.invoice_id = o271954.invoice_id
    AND o101613.invoice_line_number = o271954.line_number
    AND ( o272183.invoice_id = o271954.invoice_id
    AND o272183.line_number = o271954.line_number
    AND (o272183.invoice_id = o275448.invoice_id)
    AND (o278494.invoice_id = o275448.invoice_id)
    AND (o101613.dist_line_type_code IN
    ('ITEM', 'FREIGHT', 'MISCELLANEOUS'')')
    AND (o101612.invoice_number = :"Invoice Number ")
    AND ((o272183.gl_date) <= :"Ending GL DATE")
    AND ((o272183.gl_date) >= :"Beginning GL DATE")
    ORDER BY o271954.project ASC, o272183.invoice_number ASC;
    It does not contain any security profiles, only contains view that might be not returning data.
    thanks

  • Entering URL in address bar causes spinning beach ball...doesn't return

    entering URL in address bar causes spinning beach ball. Safari then doesn't return and I have to force quit. This happens every time I try to type a url. It only
    does this on one account on the computer and not another on same computer.
    Under library preference I dragged the internet pref pane into trash. This did not help. I also dragged the system user perference pane com.apple.safari.plist as well into the trash but also did not fix the problem.
    I can not drag the internet pref pane from the trash back to the library folder. Will this cuase any problems?

    Glad you took the next step. My next suggestion was going to be the History file, which too is in the Safari folder. Sounds like that was the culprit.
    Thanks for the and Aloha from Big Island.

  • When I open Firefox, it doesn't return me to where I was before.

    When I open Firefox, it doesn't return me to where I was before and when it crashes, i don't get get a dialog box asking me to return to your previous page or to start a fresh one.
    What can I do?

    What do you have set in Options > General > When Firefox starts:? Do you have multiple sessionstore files in the profile? If so, it would be best to delete all of them and start over with collecting tabs.

  • OCIStmtExecute doesn't return

    I'm using Ora 9.2.0.1.0 (both server and client the same version)
    When i'm calling OCIStmtExecute (with an INSERT command, 1 row, no threading) the function doesn't return. It causes about 30% cpu usage on the client. I've already checked all parameter handles - they're all ok. It insn't the first sql command in my app, all previous calls of OCIStmtExecute were successfull.
    Any ideas / hints, how to find the reason for this ?
    Thanks,
    Daniel

    Hi Adrian,
    executing the inserts manually is a difficult task, because there are about 4000 rows inserted before the error occurs ... ;-) But the behaviour is really reproducible.
    I'm using Keeptool's Hora 5 to maintain the db, so now I can't say the source of this information. But when I take a look into the 'Sessions' tab during the hanging OCIStmtExecute, the concerned session's status (event waits) is something like 'SQL*Net break/waiting for reset' or something like this. I don't now the meaning of this message. Tommorow I will post the exact message. But as mentioned before, I don't know the view which Hora takes this message from.
    Daniel

  • LoadNibNamed doesn't return

    Hi! I have applications with couple of windows (in separate .nib files). When I try to call loadNibNamed... , the method doesn't return. My code is like this:
    NSLog(@"trying to load nib");
    [NSBundle loadNibNamed:@"MyNib.nib" owner:self];
    NSLog(@"nib loaded");
    When I run my app I can see "trying to load nib" in console, but window doesn't show up and I don't see "nib loaded".
    Any ideas what's going on?

    Solved. I tried to call loadNibNamed in child process (after using fork() ). Not very good idea . After calling the method in parent process, everything is OK.

Maybe you are looking for

  • Suggestion for a much needed app

    I am a volunteer firefighter. I am dispatched to calls via a Motorola Monitor voice pager. Since approximately 84% of firefighters in the U.S. are volunteers, and the vast majority of them use the same system that my department does, an app that woul

  • How to install master cam in macbook pro version 10.9.2

    i want to instal master cam ,creo and some other designing softwares in my mac.is it possible to install these software in my mac?

  • Audio drop out while playing DVD

    I import a quick time file from Final Cut Pro into DVD Studio Pro. I burn my DVD and it plays just fine in my MacPro. However, when I play it in my home DVD player (and other people's home DVD player), the audio drops real low when there are not two

  • Collective Invoice Posting for Direct Materials

    Hi , We have extended classic scenario with R/3 backend and we are posting Collective Invoices for multiple POs for direct materials ( order type ECDP).Invoices fail to transfer to backend.BD87 /WE02 log in R/3 indicates the following error -->Acct a

  • Sproxy

    Hi Everyone,               I started practicing IDoc Scenario.I executed t-code sproxy in R/3 system.After executed message was "No Connection to Integration Builder(Only Generic data is visible)".how to solve this?thanks in advance Regards VinayPI