Too Many Arguments

I upgraded my application server to 10.1.2.0.2. My DB is 9.2.0.6.
My application is developed using web tool kit and deployed in mod_plsql. On a page i see the error
"Too many arguments passed in. Got 5103. Upper limit is 2000"
Can anyone help me resolving this issue? i dont see this error if application is run using application server 9i.
Regards

You need to move that column alias out of the nvl call. Try
select
g.group_name, nvl(p.first_name ||' '|| p.last_name, u.username) as "Name"
from
groups g, users_profiles p, users u
where
g.group_id = u.user_id
and
u.user_id = p.user_id

Similar Messages

  • Consistenly "too many arguments" when OCR any scanned PDF file in Adobe Acrobat 9.2

    Hi,
    plz see attached file for a 2 page sample. I have purchased AA9 to get better OCR (clearscan). Before, we were using AA6, which sometimes crashed, but not consistently.
    However, AA9 (9.2.0) now always crashes with the same error "too many arguments" after finishing of the OCR. All pages turn completely white. Saving them causes the contents to be gone permanently and even happened with batch OCR.
    OCRing on http://www.cvisiontech.com/online-conversion/general/main.html works fine, but that product we have not yet purchased.
    Does anyone have an idea what might cause this and how to resolve it?
    The PDF-s have been generated by HP Digital Sender and Canon scanner/printer MF9170. Both types of scans give the same result.
    Regards,
    Guido

    There is no virus protection or spy protection on this PC. It runs the following:
    Windows Server 2003 x64 SP2
    The file gives the error both on my local disk and on my (Samba) network disk.
    As far as tested all scans give the same error at the end of the scanning process. Might it be related to x64 handling from a x32 program?

  • Mod_plsql: /pls/apex/wwv_flow.accept HTTP-400 Too many arguments passed in.

    Hi All ,
    I want one solution i have a report which fectches the ppt that r stored in db,If i search more results it errors out so i have reduced the results and it was working fine.Now i see it is giving the same error(as below) althorugh it was working fine by reducing results in query.Can anybody please help me in this.
    the error is
    Bad Request
    Your browser sent a request that this server could not understand.
    mod_plsql: /pls/apex/wwv_flow.accept HTTP-400 Too many arguments passed in. Got 3250 parameters. Upper limit is 2000
    Oracle-Application-Server-10g/10.1.3.1.0 Oracle-HTTP-Server Server at insightapps.oraclecorp.com Port 80

    Section 1.10 of the Oracle HTTP Server mod_plsql User's Guide states the following
    The total number of name value pairs that can be passed to a PL/SQL procedure is 2000.
    mod_plsql limits the total number of parameters that can be passed to a single procedure to 2000.
    mod_plsql limits the size of a single parameter that can be passed to a procedure to 32000 bytes.
    It would be helpful to know how each of these apply in the APEX context
    Varad

  • HTTP-400 Too many arguments passed error

    I am getting the following error when using a multiselect list item to select/update data in the tabular form.
    Bad Request
    Your browser sent a request that this server could not understand.
    mod_plsql: /pls/otn/wwv_flow.accept HTTP-400 Too many arguments passed in. Got 2346 parameters. Upper limit is 2000
    Oracle-Application-Server-10g/10.1.2.3.0 Oracle-HTTP-Server Server at apex.oracle.com Port 80
    I have built this prototype application on the Oracle’s hosted apex.oracle.com site.
    The application page has three sections. Section 1 is an HTML region with the multiselect list. Section 2 is an HTML region with 20 text items. Section 3 has the tabular form with 25 columns that are used to update the data. The tabular form pagination values “Number of Row” and “Maximum Row Count” are set to 500.
    Up until now, the multiselect list in the Section 1 was just a simple select list and I never had any issues. I guess the number of arguments passed was low. Per our customer requirement, I had to change the simple select list to a multiselect list. Now, If I select multiple values in the select list, I get the above mentioned error. But, it does not seem to happen all the time. For example, the first time I select 3 values in the multiselect list, the page renders fine, and I am able to enter/save data in the tabular form. Then, I select two other values in the multiselect list, I would get the error.
    I am getting this error on the Oracle’s hosted apex.oracle.com site where my prototype application exists. And, according to the error oracle is using 10g/10.1.2.3.0. Is there any way to circumvent this issue so I can demo my application to the customer using the multiselect list?
    I found several threads on this forum regarding the same error and it seems that there was a bug in the older versions of Oracle Application server. Also, there were discussions about setting the PlsqlMaxParameters.
    Our dev/test/prod environment would be set up using the Oracle Application Server-10g/10.1.3. The question is would we need to add a line to set the PlsqlMaxParameters value in the plsql.conf file? In addition, what is the maximum value that it can be set to?
    Please forgive me for the longwinded description and the question - only way I could describe the situation.
    Thanks,
    DP

    Varad and Sc0tt,
    Thank you both for your responses.
    Varad – Yes, I can/will reduce the amount of data so it does not cause the tabular form to go over the 2000 field limit. If that is not possible, I will at least make the users aware of this issue. Since the same data is used for the other pages in the application, the users might want to keep all the data.
    Sc0tt – thanks for providing the information for your environment and settings. To plan for the future, we will have to set the value to something high also, around 8-10K range, and adjust later if we have to.
    Thank you both, I will mark both of your answers as helpful and the question as being answered.
    DP
    (Have either of you used the jquery datepicker solution? If yes, can you please take a look at my thread: Thread: Jquery Datepicker calendar problem with page scrolling
    Jquery Datepicker calendar problem with page scrolling

  • HTTP-400 Too many arguments passed

    Hello There,
    I installed the fresh 10g and applied patchset 2 on it. I get following error:
    HTTP-400 Too many arguments passed upper limit is 2000
    Please help

    Hello Qiang,
    Little more detail for your reference.
    README for 3355915
    MODPLSQL VERSION 9.0.2.6.0A ONE-OFF PATCH
    Date: January 6, 2004
    o What is in this patch?
    -> FIXES FOR:
    Bug#3355915 : BACKPORT BUG#3329645
    Bug#3116388 : TASK: MOD_PLSQL DOES NOT ALLOW PASSING MORE THAN 2000 PARAMETERS
    Bug#3024540 : NON-SUCCESS CODES WITH NO CONTENT SHOULD SERVE OHS ERRORDOCUMENT
    Bug#2023253 : NLS:FILE IS NOT PROPERTY UPLOADED IF IT'S FILENAME CONTAINS 0X5C
    Bug#3329645 : MODPLSQL IS UNABLE TO PASS PARAMETER LESS THAN 32K BYTES
    Bug#3264502 : DOC PATH REQUEST WITH PERPACKAGE AUTH CALL WRONG AUTH FUNCTION
    Bug#2802064 : ORA-01036 ILLEGAL VAR NAME/NUMBER USING VARIABLE NAMED P_ARRAY
    o What version can I apply this patch on?
    -> iAS 9.0.2.x.x

  • ORA-00939: too many arguments for function using Timezones in xquery

    Running on Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    CREATE TABLE "ORT"."SAMPLE"
       ( "THEDATE" DATE,
    "THETIMESTAMP" TIMESTAMP (6),
    "STARTTIMESTAMP" TIMESTAMP (6) WITH LOCAL TIME ZONE,
    "ENDTIMESTAMP" TIMESTAMP (6) WITH LOCAL TIME ZONE
    REM INSERTING into SAMPLE
    SET DEFINE OFF;
    Insert into SAMPLE (THEDATE,THETIMESTAMP,STARTTIMESTAMP,ENDTIMESTAMP) values (to_date('13-06-10 14:07:52','RR-MM-DD HH24:MI:SS'),to_timestamp('13-06-19 14:27:52.000000000','RR-MM-DD HH24:MI:SS.FF'),to_timestamp('13-06-19 10:34:04.586000000','RR-MM-DD HH24:MI:SS.FF'),to_timestamp('13-06-19 15:05:38.805000000','RR-MM-DD HH24:MI:SS.FF'));
    following query raises ora-00939
    SELECT XMLQUERY('for $v in fn:collection("oradb:/ORT/SAMPLE")
    let $date1 := $v/ROW/STARTTIMESTAMP/text()
    let $date2 := $v/ROW/ENDTIMESTAMP/text()
    return if ($date1 < $date2) then (concat($date1," date is less than ", $date2)) else (concat($date1," date is greater than ", $date2)) ' returning content) from dual;
    ORA-00939: too many arguments for function
    00939. 00000 -  "too many arguments for function"
    *Cause: 
    *Action:
    any ideas?

    Hi Odie,
    Not too familiar with XQuery rewrite, but i suspect by providing this hint, Oracle cannot optimize the query whatsoever.... tried this hint in my actual query and basically hangs.... I will attempt at opening an SR with Oracle...
    the other option i'm looking at is checking the date ranges outside of xquery, and using a mix of xmltable, xmlexists and the SQL XML functions to reconstruct my xml.

  • HTTP-400 Too many arguments passed - Upper Limit is 4000

    Hi,
    I have encountered this problem with Apex 3.0.1 on Oracle 10g and unfortunately I am not able to increase the PlsqlMaxParameters value of 4000 due to business rules. With regards to this and workarounds, I have the following queries:
    1) Can someone suggest possible workarounds for this problem - I am basically presenting the user with a checkbox response and sometimes this may involve over 400 records sometimes - alot I know but users would like to see everything on a single page - no pagination. This is calling the HTTP-400 error - any suggestions for workaround(s) or do I need to rewrite the page with pagination or something else?
    2) Would using APEX_COLLECTIONS assist in breaking down on the number of parameters sent to mod_plsql?
    3) Would increasing the PlsqlMaxParameters to say 10000 cause any performance issues?
    Any other help on this would be much appreciated.
    Thanks.
    Tony.

    Hi,
    It is indeed a valid work around
    http://iadvise.blogspot.com/2008/05/apex-http-400-too-many-arguments-passed.html
    It can have some performance effect.
    But test this for your situation.
    Kind regards,
    Iloon

  • Too many arguments in method call

    I want to make a call to a method which has a lot of arguments which dont fit on one line.
    And if i try to bring them all on one line, I'll loose all readability.
    So, after a particular argument ends, I hit the return (enter) key.
    And the whole set of arguments has to be included in a string.
    Something like this..
    callmethod("argument1
    argument2
    argument3");
    I get the error as string not closed.
    Now, is there any escape sequence like / or \ which will help me fix this?
    Help will be appreciated.
    Thanks.

    You can create a bean (a simple java Object) that encapsulates all the params. Then pass this bean as a single argument to your method.
    BTW: you should rewrite the method you want to call so that it accepts a bean instead of the many arguments.
    If you would like to keep your program as is, so you have to format your code manually, like the following:
         public void method(Object arg1, Object arg2,
                             Object arg3, Object arg4,
                             Object arg5, Object arg6)
         }

  • Too many arguments for stored procedure call

    I have a stored procedure with 34 arguments, including the return value. I am trying to call it from java using JDBC thin drivers (jdk11, oracle815), but I get the "wrong number or types of arguments" error message. JDBC-OCI fails also. I saw a reference in this discussion group to there being a limit of 32 arguments for stored procedure calls from jdbc (posted 6/29/99). Is there such a limit? If so, is there a fix or workaround? If there is not a limit, how can I determine which argument is causing the problem?
    Many thanks.
    Mike
    java.sql.SQLException: ORA-06550: line 1, column 13:
    PLS-00306: wrong number or types of arguments in call to 'PUT_CHECK'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java)
    at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.jav
    a)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithBatch(OracleStatement
    .java)
    at oracle.jdbc.driver.OracleStatement.doExecute(OracleStatement.java)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
    nt.java)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePrepar
    edStatement.java)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStat
    ement.java)
    at metris.quickcheck.database.DS1.main(DS1.java:79)
    null

    I must confess I still don't understand your problem. By rows ...
    I have an sql that recodes a column and has 1450 rows. This doesn't work
    although when I use the same with less rows 40-60 it works.... do you mean rows in the table or elements in the CASE() statement ?
    From the 9i SQL Reference:
    " The maximum number of arguments in a CASE expression is 255, and each WHEN ... THEN pair counts as two arguments. To avoid exceeding the limit of 128 choices, you can nest CASE expressions. That is return_expr can itself be a CASE expression."
    According to the 10g docs the limit is the same there.
    Cheers, APC

  • Amazon S3 Organizer add-on gives an exception error when downloading: "Too many arguments"

    When I try to download any file from the S3 server to my PC, the above exception error comes up. "[Exception... "Not enough arguments [nslWebBrowserPersis.saveURI]" nsresult: 0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)" location "JS frame......" (much more that is not copied here). Interestingly, if I try to download a bucket, it will create a folder on the PC but it hangs on the files inside. I have uninstalled and reinstalled Firefox as well as the add-on S3 Firefox Add-on 0.7. Doesn't help.

    Start '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Firefox in Safe Mode]''' {web Link} by holding down the '''<Shift><br> ''(Mac Options)'' ''' key, and then starting Firefox. Is the problem still there?
    Contact tech support for that program for help.

  • /etc/rc.sysint: line 302: [: too many arguments [SOLVED]

    That is the message I get when I boot arch. Sometimes it makes the start stop, sometimes I get it and it just keeps on going. The line is
    if [ "$TIMEZONE" != "" -a -e /usr/share/zoneinfo/$TIMEZONE ]; then
    and the overall section
    stat_busy "Configuring System Clock"
    if [ ! -f /var/lib/hwclock/adjtime ]; then
    echo "0.0 0 0.0" > /var/lib/hwclock/adjtime
    fi
    if [ "$TIMEZONE" != "" -a -e /usr/share/zoneinfo/$TIMEZONE ]; then
    /bin/rm -f /etc/localtime
    /bin/cp /usr/share/zoneinfo/$TIMEZONE /etc/localtime
    fi
    if [ "$HARDWARECLOCK" = "UTC" ]; then
    /sbin/hwclock --directisa --utc --hctosys
    else
    /sbin/hwclock --directisa --localtime --hctosys
    fi
    stat_done
    I have tried just changing /etc/rc.conf to UTC but it didn't fix it.
    Last edited by Reasons (2008-03-17 13:44:51)

    Thanks, I fixed this so it won't error like that again.
    http://projects.archlinux.org/git/?p=in … cb1d419dd5

  • Sunstudio: line 293: [: too many arguments -- Gentoo AMD64

    I've untarred the Sun Studio Express 2 download into the /opt directory -- from there everything goes where it should into /opt/sun/ ...
    I've updated my environment/path to include the necessary bin directories i.e. -- /opt/sun/sunstudiomars/bin
    when trying to launch sunstudio (which is nothing more than a shell script) -- I get the error in the subject line followed by:
    Error: client VM not supported
    Is one related to the other?
    The error in the subject line occurs on the line in the shell script that contains:
    if [ ! -d $USERDIR/system/Modules ]
    I even tried setting a USERDIR environment variable -- and it didn't change anything.
    I'm running Gentoo AMD64 with the latest kernel: 2.6.17-gentoo-r4.
    Any help/ideas/suggestions would be greatly appreciated. Thanks!

    Okay, after looking around in the sunstudiomars script again -- I found the following list of available options:
    Options can be:
         -D prog [ core | pid] Immediately start a debug session
         -E prog [ args... ]     Immediately start debugging prog
         -C core[:prog]     Immediately start debugging core
         -A pid[:prog]     Immediately start debugging pid
         -J<jvm-options>     Pass <jvm-options> to the JVM at startup
         -?               Show usage information (same as --help)
         -V               Emit version information (same as --version)
         --fontsize <size>       Use <size> as the point size of the font
         --locale <language[:country[:variant]]>
                        Use specified locale information
         --nosplash            Do not show splash screen at startup
         --jdkhome <path>       Path to Java 2 SDK installation
         --userdir <path>       Path of user settings directory
         --open <path>       Open a file in the IDE at startup
         --help            Show usage information (same as -?)
         --version            Emit version information (same as -V)
         The following options pertain to changing look and feel:
         --ui <ui-class>       Use given UI class as the IDE's Look & Feel
         --ui-classpath <path> Append <path> to the IDE's classpath
    I specified the userdir like you advised and also specified the jdkhome path (pointing it to the Sun JDK 1.5 location) and the IDE fired right up. I haven't had a chance to mess with it much beyond that -- but that's a first big step.
    Thanks for the help and the patience!

  • An embarrassment of riches - too many tablets! Should I consolidate and get an iPad Air?

    Currently I have the following tablets:
    - Nexus 7 2013 wifi only
    - iPad 2 32 GB wifi + cellular, but no longer in contract
    - iPad 1 wifi + cellular, no longer in contract
    - an extra iPad 1, also wifi + cellular, not in contract that I got for free for helping somebody with some computer stuff
    That same friend who gave me the iPad 1, wants to upgrade from his iPad 4th generation to an iPad Air, and he want to give me his 4th G iPad for free. It is a 64 GB wifi only model.
    The reason I never upgraded beyond the iPad 2 was because all the later models got thicker and heavier, and I thought my iPad 2 was already too heavy, which is why I got my Nexus 7. I hardly touch my iPad 2 these days. They are both within arm's reach, but the Nexus 7 is easier to hold, and allows voice input, which I often find convenient, and most of the time I reach for it. I like the voice input on my iPhone 5 too, and I feel like something is "missing" when I pick up my iPad 2. Plus it feels like it weighs a ton next to the Nexus 7.
    Well, anyway I have too many tablets. And soon I'll have the iPad 4th G. So I was thinking of selling the iPad 2, the two iPad 1s and the iPad 4 and getting an iPad Air, wifi + cellular with a data sharing plan with my iPhone 5. After all, compared to the iPad 2, the iPad Air is (1) lighter, (2) has Siri, (3) has a retina display, (4) has much better specs and (5) now the cellular model is universal, so if I take a trip to the U.S. it would be easier to use there.
    Yet there are things I now prefer about my Nexus 7 with Android 4.4 over iOS 7. Like it has better sharing features, the ability to send all kinds of attachments, more customization, better "hooks" into the UI from 3rd party apps, the ability to choose your own default mail apps and browsers. It seems just more flexible overall. And the Facebook app runs "smoother" than on my iPad 2.
    But I like iOS 7 too.
    I wonder if I would use an iPad Air any more than I do my iPad 2 since it is lighter than the recent iPads. The screen being larger might make reading magazines and news sites easier. And Siri is still better than the Android voice dictation in my opinion. Or will the weight and size actually keep driving me back to the Nexus 7?
    I guess I still haven't found the right place in my life for using a tablet for anything other than casual use. I don't want to get into a religious argument about whether tablets are production devices versus consumption devices, but basically I am in the camp that does not see them as true productivity devices. My iMac is for that.
    Conundrums, conundrums. I do have too many "devices" right now though. Within an arm's reach I can count 12 computers, tablets and phones all on wifi! Who needs that much stuff?!
    And if I do get the iPad Air, do I need 128 GB? The way they sell here in Japan, you don't put any cash down at all, and basically get an interest-free loan for 2 years. So "for just a few hundred yen more a month" you can go from the 32 GB model to the 64 GB model. And then "for just a few hundred yen more a month" you can go to the 128 GB model. It seems a waste not to get the 128 GB model. But in my current iPad 2 I only use a little more than half the current 32 GB.
    Decisions, decisions. Any thoughts?
    doug

    The weight is somewhat of an issue for me. I find the iPad 2 irritatingly heavy whenever I pick it up, and the iPad 4th generation is heavier even than my iPad 2.
    But for the amount I use it I could get used to that. That option is certainly the least headache, contract-wise, and I would avoid the ever-present possibility of dealing with AppleCare if something is "not perfect" (which it never is).
    I guess the only "practical" reason would be that I would be getting rid of all my iPads with a cellular option. So if I did make a trip to the U.S. in the spring, it would be harder to use the iPad 4. Here, in Japan, of course I could use the free tethering option on my iPhone 5.
    So I guess it is just the cellular option I'm giving up that is in the back of my mind.
    doug

  • TOO many OPEN CURSORS during loop of INSERT's

    Running ODP.NET beta2 (can't move up yet but will do that soon)
    I don't think it is related with ODP itself but probably on how .Net works with cursors. We have a for/next loop that executes INSERT INTO xxx VALUES (:a,:b,:c)
    statements. Apparently, when monitoring v$sysstat (current open cursors) we see these raising with 1 INSERT = 1 cursor. If subsequently we try to perform another action, we get max cursors exceeded. We allready set open_cursor = 1000, but the number of inserts can be very high. Is there a way to release these cursors (already wrote oDataAdaptor.dispose, oCmd.dispose but this does not help.
    Is it normal that each INSERT has it's own cursor ? they all have the same hashvalue in v$open_cursor. They seem to be released after a while, especially when moving to another asp.net page, but it's not clear when that happens and if it is possible to force the release of the (implicit?) cursors faster.
    Below is a snippet of the code, I unrolled a couple of function-calls into the code so this is just an example, not sure it will run without errors like this, but the idea should be clear (the code looks rather complex for what it does but the unrolled functions make the code more generic and we have a database-independend datalayer):
    Try
    ' Set the Base Delete statement
    lBaseSql = _
    "INSERT INTO atable(col1,col2,col3) " & _
    "VALUES(:col1,:col2,:col3)"
    ' Initialize a transaction
    lTransaction = oConnection.BeginTransaction()
    ' Create the parameter collection, containing for each
    ' row in the list the arguments
    For Each lDataRow In aList.Rows
    lOracleParamters = New OracleParameterCollection()
    lOracleParameter = New OracleParameter("luserid", OracleDbType.Varchar2,
    _ CType(aCol1, Object))
    lOracleParamters.Add(lOracleParameter)
    lOracleParameter = New OracleParameter("part_no", OracleDbType.Varchar2, _
    CType(lDataRow.Item("col2"), Object))
    lOracleParamters.Add(lOracleParameter)
    lOracleParameter = New OracleParameter("revision", OracleDbType.Int32, _
    CType(lDataRow.Item("col3"), Object))
    lOracleParamters.Add(lOracleParameter)
    ' Execute the Statement;
    ' If the execution fails because the row already exists,
    ' then the insert should be considered as succesfull.
    Try
    Dim aCommand As New OracleCommand()
    Dim retval As Integer
    'associate the aConnection with the aCommand
    aCommand.Connection = oConnection
    'set the aCommand text (stored procedure name or SQL statement)
    aCommand.CommandText = lBaseSQL
    'set the aCommand type
    aCommand.CommandType = CommandType.Text
    'attach the aCommand parameters if they are provided
    If Not (lOracleParameters Is Nothing) Then
    Dim lParameter As OracleParameter
    For Each lParameter In lOracleParameters
    'check for derived output value with no value assigned
    If lParameter.Direction = ParameterDirection.InputOutput _
    And lParameter.Value Is Nothing Then
    lParameter.Value = Nothing
    End If
    aCommand.Parameters.Add(lParameter)
    Next lParameter
    End If
    Return
    ' finally, execute the aCommand.
    retval = cmd.ExecuteNonQuery()
    ' detach the OracleParameters from the aCommand object,
    ' so they can be used again
    cmd.Parameters.Clear()
    Catch ex As Exception
    Dim lErrorMsg As String
    lErrorMsg = ex.ToString
    If Not lTransaction Is Nothing Then
    lTransaction.Rollback()
    End If
    End Try
    Next
    lTransaction.Commit()
    Catch ex As Exception
    lTransaction.Rollback()
    Throw New DLDataException(aConnection, ex)
    End Try

    I have run into this problem as well. To my mind
    Phillip's solution will work but seems completey unnecessary. This is work the provider itself should be managing.
    I've done extensive testing with both ODP and OracleClient. Here is one of the scenarios: In a tight loop of 10,000 records, each of which is either going to be inserted or updated via a stored procedure call, the ODP provider throws the "too many cursor errors at around the 800th iteration. With over 300 cursors being open. The exact same code with OracleClient as the provider never throws an error and opens up 40+ cursors during execution.
    The applicaation I have updates a Oracle8i database from a DB2 database. There are over 30 tables being updated in near real time. Reusing the command object is not an option and adding all the code Phillip did for each call seems highly unnecessary. I say Oracle needs to fix this problem. As much as I hate to say it the microsoft provider seems superior at this point.

  • "java.io.IOException: Too many open files"  in LinuX

    Hi Developers,
    * I am continiously running and processing more than 2000 XML files by using SAX and DOM.....
    * My process is as follows,
    - Converting the XML file as Document object by DOM....
    - And that DOM will be used while creating log file report, that log file will be created after executing all XML files..
    * After processing approx 1000 files, it throws *"java.io.IOException: Too many open files" in LinuX system* ....
    * I have googled more and more in all sites including sun forum also, but they are telling only to increase the system config by ULIMIT in linux....If i increase that its executing well without exception........
    * My question is, Is it possible to do it by JAVA code itself or any other VM arguments like -Xms512m and -Xmx512m.....
    * Please let me know , if you have any idea.....
    Thanks And Regards,
    JavaImran

    Doh! I forgot to post my little code sample...
    package forums.crap;
    import java.io.*;
    import java.util.*;
    public class TooManyFileHandles
      private static final int HOW_MANY = 8*1024;
      public static void main(String[] args) {
        List<PrintWriter> writers = new ArrayList<PrintWriter>(HOW_MANY);
        try {
          try {
            for (int i=1; i<=HOW_MANY; i++ ) {
              writers.add(new PrintWriter("file"+i+".txt"));
          } finally {
            for (PrintWriter w : writers) {
              if(w!=null)w.close();
        } catch (Exception e) {
          e.printStackTrace();
    }... and the problem still isn't OOME ;-)
    Cheers. Keith.

Maybe you are looking for

  • Unable to Customize SharePoint 2013 Discussion Board

    Hi, We are trying to customize SharePoint 2013 Discussion Board app and are unable to modify existing Flat, Subject, and Threaded views or create new views.  Following are the error messages we are getting: *** Error message when creating new views b

  • IPod Classic no longer works with 2011 Nissan Rogue

    The iPod itself works fine, but suddenly -- not after a sync or anything -- when connected to the USB interface of the stereo in my Nissan Rogue, the radio just displays "Reading files." It sees the iPod, but I can't browse the device or listen to mu

  • Use of explain Plan

    Hi I am using explain plan for query.How can i optimize query to see result of explain plan. Thanx

  • Line-in not working with new driv

    Has anyone else had issues with the line-in jack not working with new drivers? Is there a way to get it to work??Very frustrated. Is there a link to the beta drivers, they worked better for me then the new one.

  • How to group data based on date

    In my program the internal table is returning several values based on date. for example for the first pernr in the image below  there are four records. i need to delete the first record which is between the dates 20 and 30 . and also i need to get th