Server java trace error while updating bulk records from AIX to Oracle 10g

Hi
I am getting an error in TCL (Tool Command language) script that updates the records in a database table i.e around 2500 records are to be updated. I am using update statement with bind variables to insert the data.
SQL "insert into netuser.visit_temp (FP_FROM,FP_TO,HOPS,FP_FROM_ID) values (:SN,:EN,:HP,:FPID)" [list SN $startnode EN $endnode HP $hops FPID $fpId]
However, after processing 900 or so records (takes around 8 hours) I get the following error:
environment variable "SERVER_JAVA_TRACE" undefined
while executing
"getenv SERVER_JAVA_TRACE"
invoked from within
"dotransaction {
     logm "Processing $fp"
     set value [SQL $query3 [list FP $fp]]
     logm "Found value $value"
     set fpid [Koplingspunkt quer..."
    ("foreach" body line 3)
    invoked from within
"foreach fp $cmd2 {
     UtilityObject cleanCache
     dotransaction {
         logm "Processing $fp"
         set value [SQL $query3 [list FP $fp]]
     logm "Found v..."
Could anyone please suggest the possible cause of error?

Not a Java question. Locking.

Similar Messages

  • Getting timeout error while updating a record from c#

    Hi,
    I have around 30k records in a tables. When I update that record inside the Transaction (Enterprise Data Library, c#) , it takes long time and throws timeout error.
    But I am able to update the same record via Toad.
    In the morning I tried same updating the record, it works without any change in the code or script.+
    is it due table lock or db related issue? please adivse, how to resolve if occurs again.
    anand

    Code:
    private static void Save()
    using (DBTransactionManager dbTransactionManager = new DBTransactionManager())
    try
    DataTableDAL.Instance.ExecuteDML("Update Voyage SET BallastBonus = 30000 WHERE ID = 'AE53B610BEA743EC8AFBAED0C8349BF8';");
    //commit database
    dbTransactionManager.Commit();
    catch
    dbTransactionManager.RollBack();
    throw;
    Table
    Column Name     ID     Pk     Null?     Data Type     Default     Histogram     Encryption Alg     Salt
    ID     1     1     N     NVARCHAR2 (32)          None          
    CALCNUMBER     2          N     NUMBER (10)          None          
    CURRENCYID     3          N     NVARCHAR2 (32)          Frequency          
    CALCTYPE     4          N     NUMBER (5)          Frequency          
    ESTIMATEDESCRIPTION     5          Y     NVARCHAR2 (200)          None          
    ESTIMATEGROUPDESCRIPTION     6          Y     NVARCHAR2 (200)          None          
    BALLASTBONUS     7          Y     NUMBER (12,2)          None          
    BALLASTBONUSCOMMPCT     8          Y     NUMBER (6,3)          None          
    ISESTIMATE     9          N     NUMBER (1)          None          
    ADDITIONALSTEAMVALUE     10          Y     NUMBER (8,4)          None          
    ISADDITIONALSTEAMPCT     11          Y     NUMBER (1)          None          
    ADDITIONALPORTVALUE     12          Y     NUMBER (8,4)          None          
    ISADDITIONALPORTPCT     13          Y     NUMBER (1)          None          
    CREATEDBY     14          N     NVARCHAR2 (32)          Frequency          
    CREATEDDATE     15          N     DATE          None          
    UPDATEDBY     16          Y     NVARCHAR2 (32)          None          
    UPDATEDDATE     17          Y     DATE          None          
    LUMPSUMCARGOCOST     18          Y     NUMBER (1)          None          
    BUNKERPRICEMETHOD     19          Y     VARCHAR2 (30 Byte)          None          
    INCCONTCALCRESULT     20          Y     NUMBER (1)          None          
    FINAL_EST     21          Y     NUMBER          None          
    SPOT_VOYAGE     22          Y     NUMBER (1)          None          
    ISRUNCOSTEDIT     23          Y     NUMBER (1)          None          
    Index
    Table doesnt have any index, except primary key index.
    Total Records
    35,000
    Hope this input might sufficient to help me.

  • Error while retrieving bulk data from mdm in staging server

    I am getting an error while retrieving bulk data from MDM. The error goes like this "NiRawReadError: An error occured when reading data from socket.".
    Could anyone please suggest me about the possible cause of this error. Please reply soon.
    Moderator message: network error, relation to ABAP development unclear, please search for available answers, check with system administrators, consult SAP service marketplace.
    Edited by: Thomas Zloch on Nov 22, 2010 5:16 PM

    Can you elaborate the thing... I don't think  /*+ APPEND */ this is working for me ,still I am getting same error.
    If you have any other suggestion,I would like to hear.
    Should i not put commit after some 500 records inserted ? As i am putting commit once after whole data gets inserted.

  • Error while updating the records through a DB link

    Hi ,
    I am getting the below error while updating around 15 thousands records, i suspect it to be timeout but not sure.Please can you let me know what solutions needs to be taken.
    Not Found
    The requested URL /pls/htmldb/wwv_flow.show was not found on this server.
    Not Found
    The requested URL /pls/htmldb/wwv_flow.show was not found on this server.
    Oracle-Application-Server-10g/10.1.2.0.0 Oracle-HTTP-Server Server at htmldb.oraclecorp.com Port 80
    Object Type TABLE Object GWB_GRN_GRP_COUNTRIES_LU
    Table Column Data Type Length Precision Scale Primary Key Nullable Default Comment
    GWB_GRN_GRP_COUNTRIES_LU NAME Varchar2 720 - - - - - -
    ALIAS Varchar2 720 - - - - - -
    ACTIVE Varchar2 3 - - - - - -
    REGION Varchar2 300 - - - - -
    1 - 4
    Thanks & Regards,
    Ramu

    Hi Sangu,
    See if the following notes help you:
    Error when calling API from SQL*Developer, eg. ORA-01403 in API OE_ORDER_PUB.PROCESS_ORDER (Doc ID 1054295.1)
    Cancellation Of Transfer Orders Is Not Possible - ORA-01403: no data found in Package OE_Order_PVT Procedure Process_Order (Doc ID 391307.1)
    Thanks &
    Best Regards,

  • Error while updating EP6.0 from SP09 to SP27

    Hi All,
    I am getting the following error while updating the Enterprise portal 6.0 from SP09 to SP27.
    WARNING    2011-05-19 16:50:09
               CJSlibModule::writeWarning_impl()
    Execution of the command "C:\j2sdk1.4.2_13-x64/bin/java.exe '-classpath' 'C:\Program Files\sapinst_instdir\PATCH\ORA/install/sharedlib/launcher.jar;.' '-Xmx512m' 'com.sap.engine.offline.OfflineToolStart' 'com.sap.engine.configtool.batch.BatchConfig' 'C:\Program Files\sapinst_instdir\PATCH\ORA/install/lib;C:\Program Files\sapinst_instdir\PATCH\ORA/install/sharedlib' 'C:\Program Files\sapinst_instdir\PATCH\ORA/getSafeMode.xml'" finished with return code 31415. Output:
    Can not get DB connection. Batchconfig will only be able to execute offline tasks.
    ERROR      2011-05-19 16:50:09
               CJSlibModule::writeError_impl()
    CJS-20076  Error while retrieving the mode of the Java engine. SOLUTION: See output of logfile C:\Program Files\sapinst_instdir\PATCH\ORA/getEngineMode.log: 'Can not get DB connection. Batchconfig will only be able to execute offline tasks.
    TRACE      [iaxxejsbas.hpp:384]
               handleException<ESAPinstJSError>()
    Converting exception into JS Exception EJSException.
    ERROR      2011-05-19 16:50:09
               CJSlibModule::writeError_impl()
    CJS-20076  Error while retrieving the mode of the Java engine. SOLUTION: See output of logfile C:\Program Files\sapinst_instdir\PATCH\ORA/getEngineMode.log: 'Can not get DB connection. Batchconfig will only be able to execute offline tasks.
    Please hel me to resolve this issue.
    Regards
    Karthik Ravoori

    > Execution of the command "C:\j2sdk1.4.2_13-x64/bin/java.exe '-classpath' 'C:\Program Files\sapinst_instdir\PATCH\ORA/install/sharedlib/launcher.jar;.' '-Xmx512m' 'com.sap.engine.offline.OfflineToolStart' 'com.sap.engine.configtool.batch.BatchConfig' 'C:\Program Files\sapinst_instdir\PATCH\ORA/install/lib;C:\Program Files\sapinst_instdir\PATCH\ORA/install/sharedlib' 'C:\Program Files\sapinst_instdir\PATCH\ORA/getSafeMode.xml'" finished with return code 31415. Output:
    > Can not get DB connection. Batchconfig will only be able to execute offline tasks.
    You'r JDK is really old, AFAIK the first one officially released for x86_64 on Windows was 1.4.2_17. I suggest you upgrade your JDK ot the latest one (1.4.2_30) and try again.
    Markus

  • Error while updating a record in MS Access

    Im new to coldfusion and am running into a problem while
    trying to update a record in a MS Access table.
    I have a MS Access table where the primary key is a
    auto-number long integer field named jobid.
    I have an edit form where info can be changed then saved. A
    hidden form field named jobid holds the records primary key field
    value for the record being edited. When submitted this is what
    happens:
    I use a basic SQL UPDATE statement but I get the error "Data
    type mismatch in criteria expression"
    Some code:
    <cfset nJobId=Int(Val(FORM.jobid))>
    *dont know if i need the above line but using #FORM.jobid#
    in the WHERE clause below didnt work either
    <cfquery datasource="lrs">
    UPDATE jobs SET
    status='#FORM.status#',
    offer='#FORM.offer#',
    postdate="#CreateODBCDate(FORM.postdate)#",
    jobtype=#FORM.jobtype#,
    jobtitle='#FORM.jobtitle#',
    ..etc...
    WHERE jobid=#nJobId#
    The WHERE clause is where the error occurs with "Data type
    mismatch in criteria expression"
    After a few times with that i changed the where clause to
    simply "WHERE jobid=1" as this record id does exist, but it has the
    same error.
    I then tried changing the where clause to
    WHERE jobid=<cfqueryparam cfsqltype="cf_sql_bigint"
    value="#FORM.jobid#">
    and there it "appears" to work, but the record is not
    actually updated. No changes are made to the table though no error
    is thrown.
    Im missing something here... why wont the record update
    ?

    The data type mismatch isn't necessarily in your where
    clause. I'm guessing that it's the quotes around the create
    odbcdate function.
    use of cfqueryparam will solve a lot of these problems for
    you.

  • Getting OOM error while retreive 2lakhs record from DB

    I have a java program with a simple Select query that fetches around 2lakhs record from DB and will display in a JSP Page.
    When I try to fetch huge amount of data the server causing OOM.
    I got few suggestions to add setFetchSize(1000) to my Statement.
    I am confused here, whether i need to setFetchSize() to Statement or to Resulset.
    Pls suggest me a asolution to retrieve all the records and to avoid OOM error.

    66bdf8de-2e37-445a-8436-0ad04a325040 wrote:
    Please find my answers below
      What is a lakh?
          A lakh or lac is a one hundred thousand
    someone looking at a JSP page really want to crawl through a result set that large    
         Yes, All the records will be displayed in a JSP Page and User will be navigating through all the records.
    Seriously?  Some human being is going to navigate through a page containing 200,000 records?  Seriously?
    I tested with both the scenario(setFetchSize() to Statement or to Resulset), it didnt work for me, still getting same OOM .
    Then it would appear that the answer to your question "whether i need to setFetchSize() to Statement or to Resulset" is .... "neither".

  • Error-Code: ora-4020 Deadlock error, while updating a record

    Hello!
    Is it possible to get a deadlock error when two or more users try to update the same record simultaneously? And what would be the best solution to circumvent this?
    Thanks
    Your help is appreciated.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by ( vidya):
    Hello Vidhya,
    Issue either Commit or Rollback without much delay once the statement(s) is/are executed.
    vmkrish
    [email protected]
    Is it possible to get a deadlock error when two or more users try to update the same record simultaneously? And what would be the best solution to circumvent this?
    Thanks
    Your help is appreciated.<HR></BLOCKQUOTE>
    null

  • I am getting ORA-02063 error while copying bulk data from DBLINK

    Hi all ,
    I am trying to copy data from DBlink ,whenever i am trying to pull more data ,The db link break down ,
    I have try to put /*+ APPEND */  (Hint) in insert statement.Below is the insert code from my procedure
    from where i am getting below error
    "Error in copy_data_pkg-3113 ORA-03113: end-of-file on communication channel
    ORA-02063: preceding line from TESTDBLINK"
    Insert code:
    INSERT /*+ APPEND */ INTO target_tab
    select
    col1,
    col2,
    col3,
    col4,
    col5,
    o_time
    FROM padmin.V_tab1@testdblink
        where
    trunc (sysmodtime) = trunc(sysdate)-1
    and O_time >= al_time
    and (CLEAR_TIME is null or  CLEAR_TIME >= occur_time)
        and (res_code is null or (UPPER(res_code) not LIKE '%TEST TT%' and UPPER(res_code) not LIKE '%TEST SITE%'))
        and ((UPPER(BRIEF_DESC) not like '%TEST TT%' and UPPER(BRIEF_DESC) not LIKE '%TEST SITE%'))
        and (o_time+(330/(24*60))) <= trunc(SYSDATE)-1/24/60/60
        and  catvar IN('POS')
      and UPPER(action_var) not like '%SC_NET%' and UPPER(action) not like '%ROAM_NET%' and UPPER(action) not like '%PUP_NET%';
      COMMIT ;
    Please suggest me ,why i am getting this error.

    Can you elaborate the thing... I don't think  /*+ APPEND */ this is working for me ,still I am getting same error.
    If you have any other suggestion,I would like to hear.
    Should i not put commit after some 500 records inserted ? As i am putting commit once after whole data gets inserted.

  • Error while Updating Inventory data from DTW

    I want to update the following fields in the Item Master data through DTW from Excel
    Witholding Tax - Yes/No
    Excisable - Yes / No
    Valuation Method - FIFO
    Set GL A/c By - Item Group
    Purchsing UOM
    Sales UOM
    Planning Method - Make / Buy
    Control A/c - Debtors / Creditors

    <Font Color='Red'>Valid Values for PlanningSystem
    </Font>
    bop_MRP
    bop_None
    <Font Color='Red'>Valid Values for ProcurementMethod
    </Font>
    bom_Buy
    Bom_Make
    <Font Color='Red'>Valid Values for GLMethod
    </Font>
    glm_WH
    glm_ItemClass
    glm_ItemLevel
    <Font Color='Red'>Valid Values for ItemType
    </Font>
    it_Items
    it_Labor
    it_Travel
    Valuation Method would be defined in the System Init > Company Details ....Basic Initialization TAB
    Default Valuation Method drop down
    Suda

  • Fatal Error while updating Curve 8310 from 4.2.2 to 4.5.

    So, I try to install the 4.5 on my phone...
    It connects, wipes the phone, installs new software...but whenever it starts to install modules, it fails towards the end of the first one.
    Always.
    Any help?
    It's a Curve 8310 on AT&T!

    hello, 507 has been discussed and solved many times on the forum. Please read the following discussions :
    http://supportforums.blackberry.com/rim/search?submitted=true&type=message&sort_by=score&advanced=tr...
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Updating test database from production in Oracle 10g

    What will be easiest way to have production database replicated to test database once a day basis? The 2 databases are on similar machines & same OS

    What sort of test system are you building? Are you building a reporting server so you can run reports on a snapshot of the data? Are you building a staging environment where you can test applying scripts and can simply reapply the DDL changes every day? Or do you have a real testing instance which will generally have slighly different table definitions/ objects/ etc than the production instance?
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • HT1222 Why are there error while updating my ipad

    Why are there error while updating my ipad from 5.1 to 7.1.1

    Because something is wrong...
    You can check here for troubleshooting information on specific error messages: http://support.apple.com/kb/ts3694

  • Error while updating the content in workflow

    Hi,
    I'm getting an error while updating the content in workflow thru the checkout option. i.e. contributor checks in the content - reviewer rejects the content - then contributor checks out and modifies the content as per the reviewer's remarks and while checking in the following error occurs
    Content Server Request Failed
    Unable to check in content item 'HO000128' for workflow. Unable to execute service method 'checkInUpdateRevByID'. (System Error: Runtime error: java.lang.NullPointerException
    at intradoc.server.DocServiceHandler.checkInRevByID(DocServiceHandler.java:248)
    at intradoc.server.DocServiceHandler.checkInUpdateRevByID(DocServiceHandler.java:240)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:617)
    at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:293)
    at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    at intradoc.server.Service.doCodeEx(Service.java:490)
    at intradoc.server.Service.doCode(Service.java:472)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1360)
    at intradoc.server.Service.doAction(Service.java:452)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1201)
    at intradoc.server.Service.doActions(Service.java:447)
    at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1071)
    at intradoc.server.Service.executeSubServiceCode(Service.java:3497)
    at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:942)
    at intradoc.server.Service.executeServiceEx(Service.java:3492)
    at intradoc.server.Service.executeService(Service.java:3476)
    at intradoc.server.DocServiceHandler.determineWorkflowCheckin(DocServiceHandler.java:3833)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:617)
    at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:293)
    at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    at intradoc.server.Service.doCodeEx(Service.java:490)
    at intradoc.server.Service.doCode(Service.java:472)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1360)
    at intradoc.server.Service.doAction(Service.java:452)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1201)
    at intradoc.server.Service.doActions(Service.java:447)
    at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1071)
    at intradoc.server.Service.executeSubServiceCode(Service.java:3497)
    at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:942)
    at intradoc.server.Service.executeServiceEx(Service.java:3492)
    at intradoc.server.Service.executeService(Service.java:3476)
    at intradoc.server.Service.doSubService(Service.java:3465)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:617)
    at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:279)
    at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:264)
    at intradoc.server.Service.doCodeEx(Service.java:507)
    at intradoc.server.Service.doCode(Service.java:472)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1360)
    at intradoc.server.Service.doAction(Service.java:452)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1201)
    at intradoc.server.Service.doActions(Service.java:447)
    at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1121)
    at intradoc.server.Service.executeActions(Service.java:433)
    at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:635)
    at intradoc.server.Service.doRequest(Service.java:1707)
    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:359)
    at intradoc.server.IdcServerThread.run(IdcServerThread.java:197))
    Please help to resolve.
    Thanks in advance
    Prasad

    I also get error while updating the content in workflow thru the checkout option as reviewer. i.e. contributor checks in the content - then reviewer either updates the metadata or checks out and modifies the content and while checking in the following error occurs
    Content Server Request Failed
    Unable to update the content item information for 'HO000128'.
    The content ID must be specified.
    Please help to resolve.
    Thanks in advance
    Prasad

  • Error while updating account dim

    I get the below error while updating the Outline Account Dim.This error occurs only when updating account dim. It does not happen with other dimensions. So it doesn't seem to be the connection being down. If we recycle the analytics server. But we are not able to find out the actual cause for this issue.
    Error message:
    Cannot build dimension. Analytic Server Error(1042017): Network error: The client or server timed out waiting to receive data using TCP/IP. Check network connections. Increase the NetRetryCount and/or NetDelay values in the ESSBASE.CFG file. Update this file on both client and server. Restart the client and try again
    Additional information
    Account is defined as dense dimesion with 1800 level 0 members. We are updating this using rules file.
    Potential Number of Data Blocks     :     27762609853440
    Number of Existing Data Blocks     :     2625360
    Index Cache: 40960
    Data cache : 20480
    I appreciate any help in resolving this issue

    There is probably something in your dim build source file that Essbase doesn't like and isn't giving you a good error message. Did this dim build work in the past and you recently added something to it?
    Try excluding certain columns like member properties and data storage just to see if you can get the members to load. Then slowly bring back in the other columns to see if you find the one that has the problem. Similarly try keeping all the columns but just try loading one record and see if it succeeds, this will help you start to narrow down if it is a load rule or source issue. Other option is to create a new load rule, perhaps there is something wrong with the one you are using.
    Unfortunately there is no magic bullet here, you just have to work through small samples to try and isolate what the problem is.

Maybe you are looking for

  • Oracle BI Publisher Report from OEM12c data is not getting refreshed...

    Hello, We've integrated BI Publisher with EM12c. I've developed a report which checks a given database extents information (initial, next, maxextents) at tablespace level. The dataset is chosen as EM repository. The report runs absolutely fine until

  • Having issues with WRT350n - "No internet Access"

    I am having issues with the WRT350n where I am getting an "No internet access" message. When I look at the wireless network connection I can see the wireless router and it says "connected" but when I scroll my mouse over the icon, it reads "No intern

  • Itunes won't sync to my iphone 4s, help!

    After the ios7 update, my entire music library showed up on my iphone.  I don't want most of these songs on my phone, so I tried to sync after unselecting the songs.  The sync seems like it had worked, but when I go to music on my phone, they are sti

  • Importing data from tab delimited file

    Hi everyone, This is my first question on here so I hope I am doing the right thing. I've searched online as much as I can to find an answer or a way to fix my problem but I have not been able to find a resolution. My issue is I'm trying to import na

  • Debugging of lsmw tool

    hello friends, can anybody tell me how to debug the lsmw at the point where i put a brakpoint in the actual program of transaction here main problem is i did the lsmw processing for one transaction i got all the records poping when i press the enter