[STATEMENT] XDO Servlet shutdown complete

Hi,
What is the root cause of this error??
[STATEMENT] XDO Servlet shutdown complete
[042511_035257283][][STATEMENT] Total time used: 7953ms for processing XSL-FO
[042511_035257799][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Helvetica closed.
[042511_035257799][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Helvetica-Bold closed.
[042511_035257799][oracle.apps.xdo.common.font.FontFactory][STATEMENT] truetype.D:\OraHome_1\jdk\jre\lib\fonts\ALBANWTJ.ttf closed.
[042511_035257799][][STATEMENT] FO+Gen time used: 8469 msecs
[042511_035257799][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) is called.
[042511_035257799][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) done. All inputs are cleared.
[042511_035257799][oracle.apps.xdo.template.FOProcessor][STATEMENT] End Memory: max=508MB, total=175MB, free=87MB
[042511_035257799][][STATEMENT] PublicReportService::generateReport FINISH and Return BIPReportResponse --- Time Elapse = 11875
[042511_040113098][][STATEMENT] XDO Servlet shutdown complete.
Thanks,

Hi,
Just a quick questions.
1. How did you determine the 1536MB heap size?
2. Does this error coming from the xdo.log means that we should increase the memory size?
3. If the heap size is increase and still got the same issue, can you recommend us other options to fix this issue?
Thanks, :)

Similar Messages

  • [STATEMENT] XDO Servlet shutdown complete in oc4j log

    Hi,
    This one is related in my previous thread but this time, the logs are coming from oc4j logs.
    Whenever we run a big report, BIP cannot generate report in Apps but with small reports, the reports are generated as espected. With the logs below, is it possible that it is an environment issue?
    ++++[042711_051122471][][STATEMENT] PublicReportService::generateReport FINISH and Return BIPReportResponse --- Time Elapse = 213340
    - java.io.IOException:
    com.evermind.server.http.HttpIOException: An established connection was aborted by the software in your host machine
         at com.evermind.server.http.EvermindServletOutputStream.write(EvermindServletOutputStream.java:210)
         at org.apache.axis.utils.ByteArray.writeTo(ByteArray.java:375)
         at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:265)
         at org.apache.axis.Message.writeTo(Message.java:539)
         at org.apache.axis.transport.http.AxisServlet.sendResponse(AxisServlet.java:902)
         at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:777)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:351)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    11/04/27 17:45:05 Shutting down...
    - Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutting down.
    - Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED paused.
    - Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutdown complete.
    [042711_054508213][][STATEMENT] XDO Servlet shutdown complete.
    Thanks,

    Hi,
    Actually, we only encounter this issue in Production.
    If we run a report with a minimal records/plans, the report is generated successfully but with a multiple records/plans (like 25 plans or more), BIP failed to generate a report in Production.
    We also replicate this issue in our dev environment and the report is successfully generated.
    Also, our report template is fine since we can generate a report in Production.
    Do you have any idea why this is happening in Production?
    Thanks,

  • Java.lang.NullPointerException oracle.apps.xdo.servlet.GlobalContext.getPro

    Hi,
    We have installed BI Publisher as part of OBIEE 10.1.3.4.1. Our J2EE Application Server is Apache Tomcat 5.5.2.7
    After manually deploying the xmlpserver.war in Tomcat and doing the changes to xmlp-server-config.xml
    When i am trying access the URL, its resulting into following Tomcat Error:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    java.lang.NullPointerException
         oracle.apps.xdo.servlet.GlobalContext.getProperty(GlobalContext.java:182)
         oracle.apps.xdo.servlet.security.SecurityFilter.handleSSO(SecurityFilter.java:318)
         oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:108)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.27 logs.
    Before doing the changes, when i tried to access via URL, it was showing up BI Publisher Login Screen.
    Any idea whats wrong?
    I have also copied the fonts to the JRE/lib/fonts folder.
    Thanks,
    Shalabhsneha

    I went through Tomcat Logs & found following full trace in catalina.out
    - Servlet.service() for servlet jsp threw exception
    java.lang.NullPointerException
    at oracle.apps.xdo.servlet.GlobalContext.getProperty(GlobalContext.java:182)
    at oracle.apps.xdo.servlet.security.SecurityFilter.handleSSO(SecurityFilter.java:318)
    at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:108)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
    at java.lang.Thread.run(Thread.java:595)

  • My Apple TV states that it cannot complete my purchase, but all my account info is correct, etc.

    My Apple TV states that it cannot complete my purchase (of a movie), and yet all my account info is correct.

    I did more than that - I reset the Apple TV so that I had to get back in as if I were setting it up for the first time.  I actually used my iPad to do this by just touching it the Apple TV with it.  That all worked fine.  I had to verify my password again and my credit card information.  When the Apple rebooted with all of this and I tried to order the same or other movies, the same response came up.
    If Apple doesn't contact me soon, I will simply get the movies from some other service on my smart TV and just use the Apple TV to stream photos or whatever from my iPad or iPhone.  This is ridiculous.
    Thanks again for trying.

  • Is Mac MINI support WOL after shutdown completely

    In PC environment,when the computer completely shutdown but connecting the power ,the lan card still have signal so that we can use the magic packet wake up
    Is Mac MINI support WOL after shutdown completely?

    No. The Wake on Network Access (WOL for PC terminology) only works if the Mac is sleeping, napping or hibernating.
    Ity does not work for a shutdown state

  • What is the request state value to shutdown VM using hyper-v?

    As we know request state value 3 is used to turnoff VM , what is the request state value to shutdown hyper-v VM ? Is there any different ways to shutdown hyper v VM using C# wmi?
    Regards
    Venki

    This forum is for Windows Embedded Standard 8. Please post to the hyper-V forum is here:
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverhyperv
    www.annabooks.com / www.seanliming.com / Book Author - Pro Guide to WE8S, Pro Guide to WES 7, Pro Guide to POS for .NET

  • Oracle.apps.xdo.servlet.CreateException: Report definition not found

    We're running xml publisher under Oracle AS 10.1.3.4 on RHEL 5 against an Oracle 11.1.0.7 database. The problem we have is that scheduled reports fail intermittently with the following error "oracle.apps.xdo.servlet.CreateException: Report definition not found" even though the report does exist and there are no privilege issues. Oracle support suggested increasing the Java memory parameters in opmn.xml which we did and documnet # 333862.1 on MOS recommended increasing the Apache timeout. This also had no effect.
    Does anyone have any ideas what might cause this and how to fix it?
    This is the error stack
    Failed
    System Message oracle.apps.xdo.servlet.scheduler.ProcessingException: oracle.apps.xdo.servlet.CreateException: Report definition not found:/00. PRACTICE/AU/P42 - Internal/Drive usage report/Drive usage report.xdo
         at oracle.apps.xdo.servlet.scheduler.XDOJob.generateReport(XDOJob.java:983)
         at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:418)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    Caused by: oracle.apps.xdo.servlet.CreateException: Report definition not found:/00. PRACTICE/AU/P42 - Internal/Drive usage report/Drive usage report.xdo
         at oracle.apps.xdo.servlet.ReportException.fillInStackTrace(ReportException.java:124)
         at java.lang.Throwable.<init>(Throwable.java:196)
         at java.lang.Exception.<init>(Exception.java:41)
         at oracle.apps.xdo.servlet.ReportException.<init>(ReportException.java:36)
         at oracle.apps.xdo.servlet.CreateException.<init>(CreateException.java:18)
         at oracle.apps.xdo.servlet.ReportRepository.getReport(ReportRepository.java:74)
         at oracle.apps.xdo.servlet.scheduler.XDOJob.generateReport(XDOJob.java:972)
    Edited by: 889485 on 21/06/2012 18:07

    Hi Tim,
    Thanks a lot.......
    To find solution for this i tried this options all are failed:
    1) I created a user,this user can schedule and view but he cant edit report. I scheduled from this user, also it failed some day.
    2)I copied all the reports in to new folder from that i scheduled but no luck.
    one more point... i am having 9 reports to schedule run daily between 11AM to 11.45AM.Is this will b any problem for scheduling.
    In all the above cases i am getting same errors as posted above.
    here i am showing one pic the report failed when it is in that sequence of 9 reports but success when it is scheduled run immediate.
    !http://img263.imageshack.us/img263/6343/errorh.jpg!
    Its urgent for me......pls help me.
    Thanks,
    KSS

  • Keep having isues trying to download music...Message states we could not complete Itunes Store request. The Itunes store is temporarily unavailable Please try again later. It has now been 3 days. Anybody know what the fix is..Cheers

    Keep having isues trying to download music...Message states we could not complete Itunes Store request. The Itunes store is temporarily unavailable Please try again later. It has now been 3 days. Anybody know what the fix is..Cheers

    Hi, bradley158. 
    Thank you for visiting Apple Support Communities. 
    Here are a the best troubleshooting articles when experiencing issues download content from the iTunes Store. 
    Apple software on Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    Cheers,
    Jason H. 

  • Oracle.xdo.servlet.CreateException: Data Model definition not found

    Hie,
    I have installed 11.1.1.6 version BI and put patch on that.Copied the files from OIM and located them into specified location.
    Now Iam going to User Summary report and clicking on Open and Iam getting error as "oracle.xdo.servlet.CreateException: Data Model definition not found:/Oracle Identity Manager/User Reports/User Summary.xdm" .
    I was able to create sql query and a report.BUt unable to generate report for this predefined reports.
    Please give me the reason

    Has anyone faced this issue before? Is there a kix page for Drop 7 related issues?

  • WMI Writer :: State: [5] Waiting for completion

    How do I get 'System Writer' and 'WMI Writer' out of "State: [5] Waiting for completion"?
    C:\Users\username>vssadmin list writers
    vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
    (C) Copyright 2001-2005 Microsoft Corp.
    Waiting for responses.
    These may be delayed if a shadow copy is being prepared.
    Writer name: 'System Writer'
       Writer Id: {e8132975-6f93-4464-a53e-1050253ae220}
       Writer Instance Id: {c9762bc0-1a4e-441d-9287-1bf398649219}
       State: [5] Waiting for completion
       Last error: No error
    Writer name: 'SqlServerWriter'
       Writer Id: {a65faa63-5ea8-4ebc-9dbd-a0c4db26912a}
       Writer Instance Id: {2fe91d80-b228-435f-9fa4-c583866db232}
       State: [1] Stable
       Last error: No error
    Writer name: 'ASR Writer'
       Writer Id: {be000cbe-11fe-4426-9c58-531aa6355fc4}
       Writer Instance Id: {9635656d-b908-4e41-bea1-a454e19e5f6b}
       State: [1] Stable
       Last error: No error
    Writer name: 'BITS Writer'
       Writer Id: {4969d978-be47-48b0-b100-f328f07ac1e0}
       Writer Instance Id: {3a810b02-25ae-4f81-a375-bfe20a1205a7}
       State: [1] Stable
       Last error: No error
    Writer name: 'Shadow Copy Optimization Writer'
       Writer Id: {4dc3bdd4-ab48-4d07-adb0-3bee2926fd7f}
       Writer Instance Id: {dce1819f-65ff-4106-bbcf-71ebc75fc635}
       State: [1] Stable
       Last error: No error
    Writer name: 'WMI Writer'
       Writer Id: {a6ad56c2-b509-4e6c-bb19-49d8f43532f0}
       Writer Instance Id: {a9b527c7-375a-44b3-bc40-48e4d3d38150}
       State: [5] Waiting for completion
       Last error: No error
    Writer name: 'Registry Writer'
       Writer Id: {afbab4a2-367d-4d15-a586-71dbb18f8485}
       Writer Instance Id: {3fad1a53-2860-44bd-9f4c-4acf7b3a7aab}
       State: [1] Stable
       Last error: No error
    Writer name: 'COM+ REGDB Writer'
       Writer Id: {542da469-d3e1-473c-9f4f-7847f01fc64f}
       Writer Instance Id: {c826425d-c7a0-4c1d-9a03-68973ed78f43}
       State: [1] Stable
       Last error: No error

    Hi,
    Thank you for update. I suggest we try the steps below to narrow down the cause:
    1. Open elevated CMD, run "net stop vss && net start vss", press Enter. If there is prompt that VSS service is not started, try "net start vss && net stop vss" press Enter. Run " vssadmin list writers" again, does the same issue occur?
    2. Try to backup VM using Windows Server backup, is there any error message? If so, please let us know the detailed error message?
    3. Restart this server and check if there is any difference.
    4. If the same problem occurs, please help to collect MPS report:
    1) Download proper MPS Report tool from the website below.
    Microsoft Product Support Reports
    http://www.microsoft.com/downloads/details.aspx?FamilyID=CEBF3C7C-7CA5-408F-88B7-F9C79B7306C0&displaylang=en
    2) Double-click to run it, if requirement is not met, please follow the wizard to download and install them. After that, click Next, when the "Select the diagnostics you want to run" page appears, select "General", "Server Components", click Next.
    After collecting all log files, choose "Save the results", choose a folder to save <Computername>MPSReports.cab file. upload the file to Windows Live SkyDrive (http://www.skydrive.live.com/). If you would
    like other community member to analyze the report, you can paste the link here, if not, you can send the link to
    [email protected] (with this thread title or link in the email. Please don’t share documents with this address).
    Thanks.
    This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your
    question. This can be beneficial to other community members reading the thread.

  • My iPhone adobe reader for iOS6 is stuck in update state and will not complete updating any ideas?

    My iPhone 4 adobe reader for iOS6 is stuck in update state and will not complete updating should I uninstall and reinstall the app?

    The update process is handled entirely by iOS and unfortunately, there isn't anything the Reader can do during this process to prevent "stuck updates". Generally, we don't recommend uninstalling unless you have to because uninstalling will delete all of the PDF's in your documents!
    Here are some steps that work for most users:
    1.       Make sure wifi and/or cellular data are turned on       
    2.       Test to be sure your internet connection is working by opening safari and browsing to a website (like www.adobe.com).
    3.       Single tap the app’s icon on the home screen and it will pause the download. Now go back to the iTunes Apps store, switch to the “Updates” screen and click “Update” to resume the download.
    4.       If this doesn't work,  go to Settings -> iTunes & App Stores and tap the Apple ID to sign-out. Restart the iPad, go back to Settings -> iTunes Apps Store and sign-in. Tap the waiting icon to update the app.
    Please let me know if this helps!

  • 'Bank Statement Loader Execution Report ' completed with errors.

    Dear Friends,
    While I try to call seeded concurrent program 'Bank Statement Loader Execution Report ' its completed with error.log file details:
    Enter Password:
    REP-0004: Warning: Unable to open user preference file.
    REP-3000: Internal error starting Oracle Toolkit.
    REP-3000: Internal error starting Oracle Toolkit.
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-3000: Internal error starting Oracle Toolkit.
    Earlier everthing is working fine.I am unable to find cause for the error occurrence.
    Any one please help me..

    REP-0004: Warning: Unable to open user preference file.
    REP-3000: Internal error starting Oracle Toolkit.
    REP-3000: Internal error starting Oracle Toolkit.
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-3000: Internal error starting Oracle Toolkit.Please see old threads for similar discussion -- http://forums.oracle.com/forums/search.jspa?threadID=&q=REP-3000&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • SQL statement in servlet

    public synchronized Product GetProductItem (int productid) throws CategoryException
        Statement stmt  = null;
          stmt = conn.createStatement();
          ResultSet rs = stmt.executeQuery("select c.CategoryName, p.ProductName from category_product cp inner join category c on cp.CategoryID = c.CategoryID inner join product p on cp.ProductID = ?");
            Product p = new Product();
            p.setCategoryName(rs.getString("CategoryName"));
         p.setProductName(rs.getString("ProductName"));
      }How can I make the SQL statement to get the int parameter productid? As I want to show the particular product with it's own id.
    And, how can I display the product detail for that product? How can I show it as an object?

    I don't think your code will work. Don't you have to call next() on the ResultSet to advance the cursor to the first row? What if your query returns more than one row?
    In either case, I think your code should look more like this:
    ResultSet rs = ...;
    List products = new ArrayList();  // Or something else
    while (rs.next())
       Product p = new Product();
       // Set the values from the ResultSet
       products.add(p);
    rs.close();
    statement.close();Once you've got those, you can either pass Product to a JSP and have it display the values or you can write the HTML response to the browser from the servlet. I'd go with JSP myself. - MOD

  • SQL statement in servlet giving error

    Please let me know if I need to post this on a different forum, but I thought it was applicable to here.
    First, let me preface this post by saying I've inserted hardcoded values at the DB (Oracle) level and it worked just fine, so most of the statement is sound. All the values inserted properly when testing it that way. Also, I've printed the SQL statement to the console and all looks ok there, too.
    Out of this, I'm getting an error citing the following:
    java.lang.ArrayIndexOutOfBoundsException
    also occasionally getting the following error:
    java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid cursor state
    In my servlet, I'm attempting the following:
    prior to the insert statement, I'm retrieving the last row number to start the increment from as in:
    Statement stmt = connection.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY);
    ResultSet rst = stmt.executeQuery("select CHANGE_CTRL_ID from CHANGE_CONTROL_USER order by CHANGE_CTRL_ID");
         rst.last();
         int lastRowNum = Integer.valueOf(rst.getString("CHANGE_CTRL_ID")).intValue();
         rst.close();
         stmt.close();
    ------------ then ------------------------------------------------
    String preparedQuery = "INSERT ALL " +
    "INTO CHANGE_CONTROL_USER " +
    "(CHANGE_CTRL_ID,REQUESTOR_NAME,REQUESTOR_EMAIL,BUS_CONTACT,DEPT,LOCATION,PHONE_NUM,DATE_REQ," +
    "BUSVP,VP_PHONE,VP_DATE,BRANCH,PRIORITY,OPS_MAN_CHG,OPS_MAN_PPCHAP,TRAIN_REQ," +
    "EXIST_SYS_FLD_CHG,BUS_RULES_CHG,NEW_CODING,NEW_BUS_RULE,NEW_SYS_FIELD,REQ_TYPE_OTHER,REQ_OTHER_SPECIFY,IMPACT_RE_COLL," +
    "IMPACT_DEF_LM,IMPACT_DEF_REC_NRE,IMPACT_AUDIT,IMPACT_PERS_COLL,IMPACT_DEF_FCL,IMPACT_BUS_TECH,IMPACT_LEGAL,IMPACT_PRIV_COLL," +
    "IMPACT_DEF_BKRUP_RE,IMPACT_DEC_SUPT,IMPACT_RISK_MGT,IMPACT_DEF_REO,IMPACT_DEF_BKRUP_NRE,IMPACT_QUALSVCS,IMPACT_INTERNAL_CTRL,IMPACT_DEF_WKFL," +
    "IMPACT_DEF_WKOUT,IMPACT_TRAIN_TPI,IMPACT_OTHER,IMPACT_DEF_MGT,IMPACT_DEF_TAX,IMPACT_VEND_MGT,IMPACT_DEF_CTRL,IMPACT_DEF_REC_RE," +
    "IMPACT_BUS_ADMIN,IMPACT_OTHER_SPECIFY,CHANGE_IN_KPMG,CHANGE_IN_OTS,CHANGE_IN_NFR,CHANGE_IN_ARR,CHANGE_IN_BRR, CHANGE_IN_PROC_IMP," +
    "CHANGE_IN_INT_CITI_POL,CHANGE_IN_OTHER,CHANGE_IN_OTHER_SPECIFY, CHANGE_INIT_DETAILS,REQ_INFO_DESCRIPT,REQ_INFO_EXPLAIN_CURRBUS,REQ_INFO_EXPLAIN_PROPOSED,REQ_BEN_PROP_BENEFIT,REQ_BEN_FIN_IMPLEMENT," +
    "REQ_BEN_OPS_IMPLEMENT,YES_FORM,VULN_ASSESS, CBA_CHG, RISK_ACCEPT,MARSITEM, GCCRFP, APP_COMPL_QUES,CAP_EXPEND)" +
    " VALUES (changecontrol_user_seq.nextval,?,?,?,?,?,?,to_date(?,'YYYY-MON-DD HH:MI:SS'),?,?,to_date(?,'YYYY-MON-DD HH:MI:SS'),?,?," + "?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,"
    + "?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)"
    + "INTO CHANGE_CONTROL_ADMIN "
    + "(AID,CHANGE_CTRL_ID,ADMNAME,CLOSEDATE,ACTIVE)"
    + "VALUES (changecontrol_admin_seq.nextval, changecontrol_user_seq.currval,NULL, NULL, -1)"
    + "SELECT object_name AS REQUESTOR_NAME FROM all_objects where rownum <= 1;";     
    also I've declared all the respective strings for the PreparedQuery statement.
    If you need to see those, here they are:
    PreparedStatement pstmt = connection.prepareStatement(preparedQuery);
                   // stmt = connection.stmt("INSERT INTO RMIS_USER VALUES (?,?,?,?,to_date(?,'YYYY-MON-DD HH:MI:SS'),?,?,?,?,to_date(?,'YYYY-MM-DD HH:MI:SS')");
              pstmt.setInt(1,++lastRowNum);
              pstmt.setString(2,reqName);
              pstmt.setString(3,reqemail);
              pstmt.setString(4,buscont);
              pstmt.setString(5,reqDept);
              pstmt.setString(6,reqLocale);
              pstmt.setString(7,phone_num);
              pstmt.setDate(8,dtreq);
              //pstmt.setCalendar(8,rtnow);
              pstmt.setString(9,busvp_email);
              pstmt.setString(10,vpphone);
              pstmt.setDate(11,dt);
              pstmt.setString(12,branch);
              pstmt.setString(13,priority);
              pstmt.setString(14,opsmanchg);
              pstmt.setString(15,opsmanppchap);
              pstmt.setString(16,train_req);
              pstmt.setString(17,reqexist_sys_fld_chg);
              pstmt.setString(18,reqbus_rules_chg);
              pstmt.setString(19,reqnew_coding);
              pstmt.setString(20,reqnewbus_rule );
              pstmt.setString(21,reqnew_sys_fld);
              pstmt.setString(22,reqother);
              pstmt.setString(23,req_other_specify);
              pstmt.setString(24,imp_recoll);
              pstmt.setString(25,imp_deflm);
              pstmt.setString(26,imp_defrecnre);
              pstmt.setString(27,imp_audit);
              pstmt.setString(28,imppers_coll);
              pstmt.setString(29,imp_deffcl);
              pstmt.setString(30,imp_bustech);
              pstmt.setString(31,imp_legal);
              pstmt.setString(32,imp_privcoll);
              pstmt.setString(33,imp_defbkre);
              pstmt.setString(34,imp_decsupt);
              pstmt.setString(35,imp_riskmgt);
              pstmt.setString(36,imp_defreo);
              pstmt.setString(37,imp_defbknre);
              pstmt.setString(38,imp_qualsvc);
              pstmt.setString(39,imp_intlctrl);
              pstmt.setString(40,imp_defwkfl);
              pstmt.setString(41,imp_defwkout);
              pstmt.setString(42,imp_trtpi);
              pstmt.setString(43,impact_other);
              pstmt.setString(44,imp_defmgt);
              pstmt.setString(45,imp_deftax);
              pstmt.setString(46,imp_vendmgt);
              pstmt.setString(47,imp_defctrl);
              pstmt.setString(48,imp_defrecre);
              pstmt.setString(49,imp_busadm);
              pstmt.setString(50,impact_other_specify);
              pstmt.setString(51,change_in_kpmg);
              pstmt.setString(52,change_in_ots);
              pstmt.setString(53,change_in_nfr);
              pstmt.setString(54,change_in_arr);
              pstmt.setString(55,change_in_brr);
              pstmt.setString(56,change_in_proc_imp);
              pstmt.setString(57,change_inter_citpol);
              pstmt.setString(58,change_in_other);
              pstmt.setString(59,change_in_other_specify);
              pstmt.setString(60,change_init_details);
              pstmt.setString(61,req_info_descript);
              pstmt.setString(62,req_info_explain_currbus);
              pstmt.setString63,req_info_explain_proposed);
              pstmt.setString(64,req_ben_prop_benefit);
              pstmt.setString(65,req_ben_fin_implement);
              pstmt.setString(66,req_ben_ops_implement);
              pstmt.setString(67,projyes);
              pstmt.setString(68,vulnass);
              pstmt.setString(69,cbachg);
              pstmt.setString(70,riskacc);
              pstmt.setString(71,marsitem);
              pstmt.setString(72,gccrfp);
              pstmt.setString(73,applcomp);
              pstmt.setString(74,capexpend);
              pstmt.executeUpdate();
    if anyone sees anything flawed here, please let me know!
    Thanks!
    Message was edited by:
    bpropes20
    Message was edited by:
    bpropes20
    Message was edited by:
    bpropes20

    What a mess. First off, the line pstmt.setInt(1,++lastRowNum); just needs to go away. You're already using a sequence to set the value for the primary keys, you don't need to add a mistake like this.
    I then count 73 question marks (you can verify, I'm not counting again.) That would mean that your indices are off by one, and the ArrayIndexOutOfBounds is probably coming from pstmt.setString(74,capexpend); Dump the ++lastRowNum line, change all of your indices (after verifying the bind count!) and try it again.
    You can see an inherent weakness in the PreparedStatement clauses - one change means manually rewriting all of the indices. A solution is dumping all of your bind values into a List, then loop through the list to do your setXXX statements. If all binds are not of the same type, you can bind the values to some object that identifies type and use those objects in the list instead of the values. A little more complex, but easier to maintain in my opinion.

  • Problem w/ portion of SQL statement in servlet

    Hi folks,
    Don't know if this was one that should go under JDBC, but it's not so much of a connection problem as it is returning -- or not in this case -- a small result set I'm trying to make.
    I've got an INSERT statement up above this code that handles all of the data input from a form, but what I'm trying to accomplish is verification of the nextval ID into the Oracle db. By the way, this is nothing I'll keep in the servlet long term, just to test and then see what way's best to pass that thru an email with a link to an approval page.
    So at the end of the insert statement, I've got these lines:
    Statement stmto = connection.createStatement();
    ResultSet rsltst = stmto.executeQuery("SELECT MAX(CHANGE_CTRL_ID) FROM CHANGE_CONTROL_USER");
    String chgid= rsltst.getString(1);
    System.out.println("Change ID is" +chgid);
                I get an invalid cursor error from this. Any idea why?
    Any feedback would be appreciated.
    Thanks.
    Message was edited by:
    bpropes20

    Statement stmto = connection.createStatement();
    ResultSet rsltst = stmto.executeQuery("SELECT MAX(CHANGE_CTRL_ID) FROM CHANGE_CONTROL_USER");
    if (rsltst.next()) {
        String chgid= rsltst.getString(1);
        System.out.println("Change ID is" +chgid);
    } else
       System.out.println("No value!");BTW: Check if oracle (I've never worked with these DBM) has any function to retrieve the generated ID, it will be a bit more acurated ;)
    null

Maybe you are looking for

  • OSX 10.6.8 to Mavericks

    Hello, I am using a late 2009 Macbook Pro (2.93 GHz Intel Core 2 Duo; 4GB) currently running OSX 10.6.8.  I'm trying to get Mavericks to download and having troubles, which seem similar to other people.  Once Mavericks is downloaded, it returns "this

  • Lumia 520 DNS & Wifi problem

    Hey, SInce my ISP told me to shut off my DNS Proxy from my router, the Wifi on my Lumia doesn't work anymore. My 520 automatically selects the wrong DNS and I can't change it from the phone. My router is the TeleWell EAV510. I have tried to change th

  • Problem with Exchange rate upload using BAPI_EXCHANGERATE_CREATE

    Dear Abaper, I have a problem using BAPI_EXCHANGERATE_CREATE in my program. I have a currency pair USD to VND (vietnam) which is 1 : 21025. Bapi is not allowing the value more than four degits. it will allow only 4 digits and 5 decimals eg : 9999.999

  • Downloading films is neverending

    We try to download a film, but it never end.

  • Missing cRIO dependencies due to inheritance

    Hello, I use LVOOP on a RT target where following dependencies are missing: Class A{   b: class B In this case, a class C inheriting from B is not among the dependencies, unless C used explicitely. This can cause to error, for example, if an instance