Row Not Found from executeQuery

Statement sql = con.createStatement();
ResultSet rs = sql.executeQuery("select * from emp);
How do you know if the executeQuery has returned any rows ? How do you test for row not found.
thanks

I'm a bit unclear on what this topic is about . Are you trying to prove a point that you could write a driver that works the way you say and still be within JDBC specs, or are you actually having a problem? I've used JDBC Drivers from many vendors and the code I gave you would work with all of them as described. The following was cut and pasted from the online docuementation and would appear to is is from the Java Doc for the ResultSet Interface and it seems to validate that the code I gave you is correct (assuming that a null ResultSet cannot be returned when using executeQuery).
"A ResultSet object maintains a cursor pointing to its current row of data. Initially the cursor is positioned before the first row. The next method moves the cursor to the next row, and because it returns false when there are no more rows in the ResultSet object, it can be used in a while loop to iterate through the result set. "
Here is the online documentation that states that a ResultSet will NEVER be null when invoking executeQuery:
executeQuery
public ResultSet executeQuery(String sql)
throws SQLExceptionExecutes the given SQL statement, which returns a single ResultSet object.
Parameters:
sql - an SQL statement to be sent to the database, typically a static SQL SELECT statement
Returns:
a ResultSet object that contains the data produced by the given query; never null
Throws:
SQLException - if a database access error occurs or the given SQL statement produces anything other than a single ResultSet object
So, I would reiterate that this is not a code problem. If you are getting an Exception, then the problem lies elsewhere.

Similar Messages

  • ImportTextData fails with an error: row not found

    In am using Acrobat XI.  In a js script in an action wizard the statement this.importTextData("mypath", 0) continues to return a 3 "error: row not found".  I have checked the path and it is correct.  The text file was created by Access 2013 and is tab delimitated.  What am I doing wrong?  The top row in the txt file is the column names and there are 3 rows of data. 

    What happens when you try to import from the data file manually?
    If you have a field named "A.0" as you said, you have to have a matching column header, but you said you just have "A", "B", and "C".

  • DM 10.0 "Row not found or changed." error on Data Cache Update

    Hi everyone,
    I'm trying to send data from FC to DM Data Cache.
    Tasks on the FC side are running fine. On the DM side, task engine always has the "Failed" Status:
    and when I check the logs, only explanation I find is "Row not found or changed". :
    I tried many things yet the error persists:
         -I tried sending data from different systems. (test & production)
         -I checked the CPU and Memory consumption on the server and there seem to be no peak.
         -I unchecked the parallel processing option on excel workbook.
    Can anyone help on the issue? Any ideas?

    Hi Folu,
    Yes it points the TaskEngine and I've already followed the steps in note: 2014782 and the error message in the logs does not give any explanation to me.
    Log is like this:
    16-01-2015 09:42:32.4284 [6] [ERROR] ==>
    -------- Begin --------
    ErrorID: 6a344894-5a11-4392-9537-ec9ec2b496fe
    Message: Row not found or changed.
    -------- End --------
    And the trace log is as follows:
    16-01-2015 09:42:32.4284 [6] [ERROR] ==>
    -------- Begin --------
    ErrorID: 6a344894-5a11-4392-9537-ec9ec2b496fe
    Error in path: Unknown
    Raw url: Unknown
    Message: Row not found or changed.
    Source:
    System.Data.Linq
    Stack trace:    at System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode)
       at System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode)
       at SAP.DM.TaskEngine.Context.ImportData.ImportDataContextRepository.Save(StagingAreaImportRequestItem item)
       at SAP.DM.TaskEngine.Context.ImportData.ImportDataContext.ProcessTask(ITask task)
       at SAP.DM.TaskEngine.Core.TaskDispatcherBase.Dispatch(ITask task)
       at SAP.DM.TaskEngine.Core.TaskManager.ProcessTask(ITask task)
    -------- End --------
    The other notes do not apply to our case.
    Do you have any clue about where to look for the cause?
    BR.
    Mehmet.

  • Fail to Abend when Row Not Found for Update?

    I'm using Coldfusion 9 against a IBM mainframe DB2 database.  I have a condition that when a row is not found for update in a cfquery, execute an insert cfquery.  Sounds logical and easy, right?  Not so!  Error trapping is failing to return an error condition when the row was not found for update! 
    Here's the code:
    <cftry>
         <cfinclude template="qry_update_table.cfm">
         <cfcatch type="any">
              <cfinclude template="dsp_errorInformation.cfm">
              <cfabort>
         </cfcatch>
    </cftry>
    <cfdump var=#tmec04_result#><cfabort>
    The Query code is:
    <cflock timeout="15" name="UpdateTUID04Lock" type="exclusive">
         <cfquery datasource="#APPLICATION.DB2_DSN#" name="update_tuid04" result="tmec04_result">
              UPDATE #APPLICATION.SQLID#.TUID04
                   SET   MON_BEG_TIME  = <cfqueryparam value = #NEW_MON_BEG# cfsqltype="cf_sql_time">
                          , MON_END_TIME  = <cfqueryparam value = #NEW_MON_END# cfsqltype="cf_sql_time">
              WHERE  USER_ID    = <cfqueryparam value = #NEW_USER_ID# cfsqltype="cf_sql_varchar">
         </cfquery>
    </cflock>
    There is no row for the NEW_USER_ID, so I would expect an error condition.  No such luck.  The dump of temc04_result just shows me the SQL, the record count (0), the execution time (0), and the cached status (false).  No SQL code.  And a dump of CFCATCH shows that all is well.  I expected to get cfcatch.nativeerrorcode = 100 (Row not found).  Nope.  Got a zero.
    Any suggestions.

    Regarding this:
    There is no row for the NEW_USER_ID, so I would expect an error condition.
    Your expectation is incorrect.  What actually happens is that the query executes and no rows get updated.
    What has to happen is that you have to see whether or not the record is there, and if not, insert it.  There are lot's of ways to do that.  I think the simplest is an insert query,
    insert into yourtable
    (field1, field2, etc)
    select distinct value1, value2, etc
    from some small table
    where not exists (something)
    Followed by the update query.

  • UCM Log in error : Error 404--Not Found From RFC 2068 Hypertext Transfer Pr

    i am not able to get ucm login page , admin and manage server is up and there is no error in logs . but iam getting below error in login page
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.

    Hi ,
    This is an indication that ECM cs.ear deployment has failed for some reason . To get the exact reason either check ucm_server1.log or start the server from command line and there the errors will be shown.
    Copy the core part and post it .
    Thanks
    srinath

  • Error "Application not found" from SICF while trying to test WD service

    Hi All,
    I am getting an error as "Application not found" when i am trying to test my web dynpro component service from SICF.
    This service is active as well.
    But when i copied the same URL and pasted it in browser then my web dynpro component opened.
    And i am able to open my web dynpro compoent from SE80 also.
    Regards,
    Amar

    Hi All,
    Is is related to browser, because i am using IE8.
    But the only doubt i have is when i am pasting the URL in IE8 then it is loading the WD page.
    Regards,
    Amar

  • 404 Page Not Found from the Page Definition

    Version 1.6
    I'm trying to run my app by clicking on the stop light on the Page Definition screen and I'm now getting a 404 Page Not Found error. There is NO entry in the Apache Error log, however, there is an entry in the Access log which is:
    htmldb_public_user [03/Oct/2005:15:02:52 -0500] "GET /pls/htmldb/f?p=110:1:4702644663970887147::::: HTTP/1.1" 404 326
    Obviously, the 404 is the Page Not Found code, but what is the 326?
    Can someone help with this?
    Thanks,
    Joe

    Sorry forgot to add back the details.
    Note: 295550.1 Says its still around in 10.1.0.3 but not 10gR2.
    Symptoms
    After ugrading database to 9.2.0.6 : GET /pls/htmldb/wwv_flow.accept HTTP-404 ORA-06502
    WHEN CONNECTING TO HTMLDB
    Cause
    This problem was reported in Bug 4015165 10.1.0.3 PLSQL 10.1.2.0.0 PRODID-11 PORTID-453
    Abstract: REGRN:SCALAR VARCHAR2 IN BINDS WITH DIFFERENT SIZE RANDOMLY FAILS WITH ORA-6502
    Solution
    Install the following patch from metalink Patch 4015165.

  • Error 404--Not Found From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:

    I installed 9.1 HCM with peopletools 8.52.
    Everything was working fine - I sat up the process schedulers and reports were posting ,I built few pages ,menu etc and registered them and inserted data etc.
    Then I decided to setup the Integration broker.
    First I ran datamover script - appmsgourgeall.dml to clear the application messaging queue.
    and I renamed the local node from PSFT_HR to YACINE_PC_HCM
    and I configured the gateway
    http://yacine-pc:8000/PSIGW/PeopleSoftListeningConnector
    and the status was active.
    then loaded the connectors successfully.
    In the final step I went to the gateway propreties and I put the app server url //yacine-pc:9000.
    user name:PS and pass:PS etc
    and added the new node name - I clicked on Ping and it failed but I saved it anyway.
    and from there the PIA stopped working .
    I restarted the app server the PIA and I even reinstalled the PIA but it always gives me the same error
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.

    For the record
    I did fix this error shortly after posting this Thread.
    I edited integrationgateway.propreties and I removed the node definition then I redid the setup of the node by adding authentication to it.
    Removed lines
    #ig.isc.HCM_YACINE_PC.serverURL=//yacine-pc:9000
    #ig.isc.HCM_YACINE_PC.userid=PS
    #ig.isc.HCM_YACINE_PC.password={V1.1}swDhibXvfL0=
    #ig.isc.HCM_YACINE_PC.toolsRel=PT8.52

  • Employees from Organizational assignment were not found from BP Relations

    Hello Friends,
    I have problem here.
    When an employee is assigned to multiple positions in the same organization  in the Organizational structure (PPOMA_CRM) and one such assignment is deleted at a later point of time, it will not be found from the BP relations i.e.. neither in the "Is Employee of" relationship of Employee BP nor in the "Has Employee for" relationship of the Organization BP.    Steps to Reproduce:    1) Assign Employee to Position i.e. 'Sales Rep1' (General Attribute (CRM) Change)   2) Save   3) Validate from the BP of this Organisation that the Employee is in the 'Relationships' list.   4) Assign the same Employee to another Position i.e. Sales rep 2 in the same organisation   5) Save   6) Validate from the BP of this Organisation that the Employee is in the 'Relationships' list.   7) Delete Assignment from 'Sales Rep1'   8) Check Relationship of the BP. RESULT: Employee does not exist. So, if the Employee is assigned to multiple positions in the same organisation and then deleted from one of the positions, then Relationship in BP (both Organisation and Employee) is deleted.     
    Any one knows what is going wrong here.
    Thanks a lot in advance
    Rashit

    Hello Frank
    I've been careful regarding that as well, following some recommendations from this link: http://technology.amis.nl/2009/07/06/create-deploy-and-consume-an-adf-task-flow-with-adf-business-components-inside/
    The class/package structure is different and unique for each application, "Main", "Employees" and "Departments". On a paranoid attempt while being aware of the situation you mentioned, I renamed the DataBindings.cpx (outside JDeveloper) to EmployeesDataBindings.cpx and DepartmentsDataBindings.cpx in each respective application, while refactoring the adfm.xml files to point to the new names.
    I've also chosen the option to store only the name of the database connection for the deployment of each ADF Library Jar
    Still, the problem persits... *cry*
    One thing I didn't mention in my initial post is... I do have ADF Security (form-based) enabled on the "Main" application, with the appropriate roles assigned to the Main.jspx page and even to the bounded task flows that come from the ADF Library JARs (there's an option in the the Resource Grants section of the jazn-data.xml file when the resource type is "Task Flow" that says "Show task flows imported from ADF libraries"), without which the region in the Main.jspx page would not even try to render (I guess it would fail internally with an unauthorized error but it doesn't actually display any error in the user interface)... Could this be the root of the problem? I don't see any option to grant permissions to DataControls or AppModules tho...
    Thanks again. Regards,
    - Tiago Vidigal

  • Class not found - from jsp sub-directories

    Hello:
    Main-Issue:
    - I have some java-class files in the \<my-web-app>\web-inf\classes directory. These classes do not belong to any packages.
    - I have some jsps in the \<my-web-app>\ directory and also in some sub-directories in the \<my-web-app>\ directory. Example: \<my-web-app>\test\index1.jsp.
    - The jsps in the \<my-web-app>\ directory can invoke the classes in the \<my-web-app>\web-inf\classes directory with no issues. But, the jsps in the sub-directories CANNOT see the classes in the \<my-web-app>\web-inf\classes directory. I get a "class not found" error. (this is just in oc4j).
    First of all, just a background to the issue:
    - I am trying to port a web application from JRUN to OC4J.
    - I want to do this with minimal changes to the existing code.
    - The application has been running on JRUN for a while. I only see the above mentioned error (class not found) error when trying to run it on oc4j.
    - As a test, I created my own test application to verify:
    (-) I wrote a simple java class (test.class) with no package and placed it in the web-inf\classes directory
    (-) I wrote a jsp file (index.jsp) to invoke test.class. I placed the jsp at the top-level directory of the web-app.
    (-) I wrote another jsp file (index1.jsp) to invoke test.class as well. I placed that jsp file in a sub-directory in the top-level directory of the web-app.
    (-) index.jsp worked without any problems. index1.jsp gave the "class not found" error.
    (-) As another test, I then modified the class to be in a package (com.benny). I then changed the jsps to call "com.benny.test" rather than just "test". This time, both index.jsp and index1.jsp worked fine.
    So, I guess my question is, do these classes have to be in a package? I am trying to avoid having to make a lot of changes to the app. If they do have to be in packages, then I have re-compile a lot of class files, add import statements to jsps, etc.
    Any help/suggestion would be appreciated.
    Thanks,
    Benny

    So, I guess my question is, do these classes have to be in a package?Answer: yes.
    As of Java1.4, classes in the "unnamed" package were no longer accessible.
    What version of java were you running with JRun?
    What version are you running with OC4J?
    Read all about it here:
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4361575
    If you have to repackage the classes, the IDE Eclipse has excellent support for refactoring, and wil let you put classes into packages with a minimum of fuss.

  • [SOLVED] error: target not found: from multiple applications

    I wanted to install skype on my fresh arch OS. I tried with
    sudo pacman -S skype
    but I got:
    error: target not found: skype
    . Even though I can find skype here: https://www.archlinux.org/packages/mult … _64/skype/ on the arch website, I can't find it with pacman -S. This would be also a question ...
    I downloaded the x86 package for my system, and used
    sudo pacman -U skype-4.2.0.11-3-x86_64.pkg.tar.xz
    , but ... I got this:
    loading packages...
    resolving dependencies...
    warning: cannot resolve "lib32-qt4", a dependency of "skype"
    warning: cannot resolve "lib32-alsa-lib", a dependency of "skype"
    warning: cannot resolve "lib32-libxss", a dependency of "skype"
    warning: cannot resolve "lib32-libxv", a dependency of "skype"
    warning: cannot resolve "lib32-libxcursor", a dependency of "skype"
    warning: cannot resolve "lib32-v4l-utils", a dependency of "skype"
    :: The following package cannot be upgraded due to unresolvable dependencies:
    skype
    :: Do you want to skip the above package for this upgrade? [y/N]
    I said ... ok, I will probably install pidgin, and install some kind of skype plugin, but now ... I tried to install teamviewer from AUR, with this command
    sudo yaourt teamviewer
    I choosed the second package which is the original teamviewer package not some kind of plugin, but ... I got this:
    ==> Edit teamviewer.install with: nano
    ==> Continue building teamviewer ? [Y/n]
    ==> ------------------------------------
    ==>
    ==> Building and installing package
    ==> Install or build missing dependencies for teamviewer:
    error: target not found: lib32-freetype2
    error: target not found: lib32-alsa-lib
    error: target not found: lib32-zlib
    error: target not found: lib32-libxdamage
    error: target not found: lib32-gcc-libs
    error: target not found: lib32-libxtst
    ==> Restart building teamviewer ? [y/N]
    I am pretty sure there is a solution for this ... because I don't want to sit all day, trying to install an application.
    Waiting for your suggestions guys.
    PS: I've also tried to install for example, for skype, the lib32-qt4 library, but it's already installed, don't know what's happening.
    Last edited by icebox (2013-09-27 09:36:47)

    multilib is enabled from /etc/pacman.conf, but it's still the same. Also, as mentioned I got this error also with teamviewer not only skype, and I will probably get it another 1000 of times, since I tried to install only 5 applications until now
    This is the /etc/pacman.conf file:
    # /etc/pacman.conf
    # See the pacman.conf(5) manpage for option and repository directives
    # GENERAL OPTIONS
    [options]
    # The following paths are commented out with their default values listed.
    # If you wish to use different paths, uncomment and update the paths.
    #RootDir = /
    #DBPath = /var/lib/pacman/
    #CacheDir = /var/cache/pacman/pkg/
    #LogFile = /var/log/pacman.log
    #GPGDir = /etc/pacman.d/gnupg/
    HoldPkg = pacman glibc
    #XferCommand = /usr/bin/curl -C - -f %u > %o
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    #CleanMethod = KeepInstalled
    #UseDelta = 0.7
    Architecture = auto
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    #IgnorePkg =
    #IgnoreGroup =
    #NoUpgrade =
    #NoExtract =
    # Misc options
    #UseSyslog
    #Color
    #TotalDownload
    CheckSpace
    #VerbosePkgLists
    # By default, pacman accepts packages signed by keys that its local keyring
    # trusts (see pacman-key and its man page), as well as unsigned packages.
    SigLevel = Required DatabaseOptional
    LocalFileSigLevel = Optional
    #RemoteFileSigLevel = Required
    # NOTE: You must run `pacman-key --init` before first using pacman; the local
    # keyring can then be populated with the keys of all official Arch Linux
    # packagers with `pacman-key --populate archlinux`.
    # REPOSITORIES
    # - can be defined here or included from another file
    # - pacman will search repositories in the order defined here
    # - local/custom mirrors can be added here or in separate files
    # - repositories listed first will take precedence when packages
    # have identical names, regardless of version number
    # - URLs will have $repo replaced by the name of the current repo
    # - URLs will have $arch replaced by the name of the architecture
    # Repository entries are of the format:
    # [repo-name]
    # Server = ServerName
    # Include = IncludePath
    # The header [repo-name] is crucial - it must be present and
    # uncommented to enable the repo.
    # The testing repositories are disabled by default. To enable, uncomment the
    # repo name header and Include lines. You can add preferred servers immediately
    # after the header, and they will be used before the default mirrors.
    [archlinuxfr]
    Server = http://repo.archlinux.fr/$arch
    #[testing]
    #Include = /etc/pacman.d/mirrorlist
    [core]
    Include = /etc/pacman.d/mirrorlist
    [extra]
    Include = /etc/pacman.d/mirrorlist
    #[community-testing]
    #Include = /etc/pacman.d/mirrorlist
    [community]
    Include = /etc/pacman.d/mirrorlist
    # If you want to run 32 bit applications on your x86_64 system,
    # enable the multilib repositories as required here.
    #[multilib-testing]
    #Include = /etc/pacman.d/mirrorlist
    [multilib]
    Include = /etc/pacman.d/mirrorlist
    # An example of a custom package repository. See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #SigLevel = Optional TrustAll
    #Server = file:///home/custompkgs

  • When a site is not found from a main bar entry (not searchbar) how to change search engine

    If you type 'not found item' into the main url address bar (not into the search bar), then firefox defaults to google.com and shows you the entry there. How can I change the search engine used by default there? - It is not related to the 'top' search engine you set for the search bar...so I am hoping there is somewhere else it is set rather than hard-coded?
    Thanks

    See [[Location bar search]] for details of how to change this.

  • Gifs not found from jhall.jar in java webstart

    hello everybody,
    i've implemented javahelp in my application which is working fine but when i try the same thing in webstart it works fine as far as functionality part is concerned but does not display the gifs for menus like index,toc,previous,next etc.instead it dispalys unknown at that place.
    i'm getting the error of getIcon not found in java console.which looks for these images in my jdk1.3/jre/ext/lib/jhall.jar but these gifs are present there.
    can somebody help me?

    i forgot to mention the error
    GetIcon
    name: images/index.gif
    klass: class javax.help.plaf.basic.BasicIndexNavigatorUI
    URL is jar:file:/C:/jdk1.3/jre/lib/ext/jhall.jar!/javax/help/plaf/basic/images/index.gif
    ImageIcon is null
    thanks

  • Object not found from dead lock graph

    Hi,
    I am frequently getting ora--00060 error. And in all the trace files i see
    Deadlock graph:
                           ---------Blocker(s)--------  ---------Waiter(s)---------
    Resource Name          process session holds waits  process session holds waits
    TX-00080021-00002b64       109     546           X       88     545           S
    TX-00210021-0000142d        88     545     X             72     547           S
    TX-00080021-00002b64        72     547     X            109     546           X
    session 546: DID 0001-006D-000104E8     session 545: DID 0001-0058-00051514
    session 545: DID 0001-0058-00051514     session 547: DID 0001-0048-0005384F
    session 547: DID 0001-0048-0005384F     session 546: DID 0001-006D-000104E8
    Rows waited on:
    Session 545: obj - rowid = 0000B0FD - AAALkXAAAAAAAAAAAA
      (dictionary objn - 45309, +*file - 0, block - 0, slot - 0*)+
    Session 547: obj - rowid = 0000B0FD - AAALkXAAAAAAAAAAAA
      (dictionary objn - 45309, file - 0, block - 0, slot - 0)
    Session 546: obj - rowid = 000031E1 - AAADHhAAFAAACjwAEc
      (dictionary objn - 12769, file - 5, block - 10480, slot - 284)When i do
    select dbms_rowid.rowid_object( 'AAALkXAAAAAAAAAAAA' ) from dual;
    It returns 47383
    Then again
    select * from all_objects where object_id = 47383;
    Returns no rows.
    And i can not undersand (dictionary objn - 45309, file - 0, block - 0, slot - 0)+
    as it is pointing to FILE 0, BLOCK 0 and SLOT 0.
    Could any one give some pointers please
    Thanks
    Edited by: EBSDBA on Mar 6, 2012 12:50 AM

    Hi,
    Mr.Jonathan, I am a fan of your posts and replies.
    Deadlock graph:
                           ---------Blocker(s)--------  ---------Waiter(s)---------
    Resource Name          process session holds waits  process session holds waits
    TX-003a0002-00000002       196     468           X      224     607           S
    TX-000e002c-00006097       224     607     X            113     616           S
    TX-003a0002-00000002       113     616     X            196     468           X
    session 468: DID 0001-00C4-00000002     session 607: DID 0001-00E0-00000004
    session 607: DID 0001-00E0-00000004     session 616: DID 0001-0071-0005E56A
    session 616: DID 0001-0071-0005E56A     session 468: DID 0001-00C4-00000002
    Rows waited on:
    Session 607: obj - rowid = 0000B0FD - AAALkXAAAAAAAAAAAA
      (dictionary objn - 45309, file - 0, block - 0, slot - 0)
    Session 616: obj - rowid = 0000B0FD - AAALkXAAAAAAAAAAAA
      (dictionary objn - 45309, file - 0, block - 0, slot - 0)
    Session 468: obj - rowid = 000031E1 - AAADHhAAFAAACjtAA9
      (dictionary objn - 12769, file - 5, block - 10477, slot - 61)
    Information on the OTHER waiting sessions:
    Session 607:
      application name: frmweb.exe, hash value=854945150
      Current SQL Statement:
      SELECT MS_MESSAGES.MSG_SEVERITY FROM GENCDE.MS_MESSAGES   WHERE MS_MESSAGES.MSG_CODE =  :1  
    Session 616:
      application name: xxxxxxx.exe, hash value=2799981571
      Current SQL Statement:
    INSERT INTO ACCCDE.GLVODMF (VD_BRANCH, VD_OFFICE, VD_VOH_TYPE, VD_VOH_YEAR, VD_VOH_NO, VD_SRL, VD_ACC, VD_CURR, VD_CEXCH, VD_SIDE, VD_FAMT, VD_LAMT,VD_STATUS) VALUES (:B13 , :B12 , :B11 , :B10 , :B9 , :B8 , :B7 , :B6 , :B5 , :B4 , :B3 , :B2 ,NVL(:B1 ,1))
    End of information on OTHER waiting sessions.
    Current SQL statement for this session:
    SELECT AVS_NEXT_NO FROM ACCCDE.ACC_VOH_NO WHERE AVS_BRANCH = :B4 AND AVS_OFFICE = :B3 AND AVS_VOH_TYPE = :B2 AND AVS_VOH_YEAR = :B1 FOR UPDATEMany a times, we also see the following
    Deadlock graph:
                           ---------Blocker(s)--------  ---------Waiter(s)---------
    Resource Name          process session holds waits  process session holds waits
    TX-000f0015-00005fa0        68     429     X            101     639           S
    TX-0018000c-0000496b       101     639     X             68     429           S
    session 429: DID 0001-0044-00172927     session 639: DID 0001-0065-0000DA9A
    session 639: DID 0001-0065-0000DA9A     session 429: DID 0001-0044-00172927
    Rows waited on:
    Session 639: obj - rowid = 0000B0FD - AAALkXAAAAAAAAAAAA
      (dictionary objn - 45309, file - 0, block - 0, slot - 0)
    Session 429: obj - rowid = 0000B0FD - AAALkXAAAAAAAAAAAA
      (dictionary objn - 45309, file - 0, block - 0, slot - 0)
    Information on the OTHER waiting sessions:
    Session 639:
      application name: frmweb.exe, hash value=854945150
      Current SQL Statement:
      SELECT SYSDATE  FROM SYS.DUAL  
    End of information on OTHER waiting sessions.
    Current SQL statement for this session:
    INSERT INTO ACCCDE.GLVODMF (VD_BRANCH, VD_OFFICE, VD_VOH_TYPE, VD_VOH_YEAR, VD_VOH_NO, VD_SRL, VD_ACC, VD_CURR, VD_CEXCH, VD_SIDE, VD_FAMT, VD_LAMT,VD_STATUS) VALUES (:B13 , :B12 , :B11 , :B10 , :B9 , :B8 , :B7 , :B6 , :B5 , :B4 , :B3 , :B2 ,NVL(:B1 ,1))
    SQL> desc ACCCDE.GLVODMF
    Name                                      Null?    Type
    VD_MVD_REC_ID                             NOT NULL NUMBER(9)
    VD_BRANCH                                 NOT NULL NUMBER(2)
    VD_OFFICE                                 NOT NULL NUMBER(2)
    VD_VOH_TYPE                               NOT NULL NUMBER(2)
    VD_VOH_YEAR                               NOT NULL NUMBER(4)
    VD_VOH_NO                                 NOT NULL NUMBER(6)
    VD_SRL                                    NOT NULL NUMBER(4)
    VD_VOH_NATURE                             NOT NULL NUMBER(1)
    VD_VOH_DT                                 NOT NULL DATE
    VD_VALUE_DT                               NOT NULL DATE
    VD_ACC                                    NOT NULL NUMBER(16)
    VD_CURR                                   NOT NULL NUMBER(3)
    VD_CEXCH                                  NOT NULL NUMBER(9,6)
    VD_BEING_FOR                              NOT NULL NUMBER(3)
    VD_COST_CENTER                                     NUMBER(3)
    VD_SIDE                                   NOT NULL NUMBER(1)
    VD_FAMT                                            NUMBER(17,3)
    VD_LAMT                                   NOT NULL NUMBER(17,3)
    VD_MAMT                                            NUMBER(17,3)
    VD_STATUS                                 NOT NULL NUMBER(1)
    VD_STATUS_DT                              NOT NULL DATE
    VD_RELATED_REC_ID                                  NUMBER(9)
    VD_REMARKS                                         VARCHAR2(255)
    VD_USER_NO                                NOT NULL NUMBER
    VD_REC_DT                                 NOT NULL DATE
    VD_REC_ID                                 NOT NULL NUMBER(9)
    VD_CLEAR_FLAG                                      NUMBER(1)
    VD_CUST_NO                                         NUMBER(8)
    VD_LINE_OF_BUSINESS                                NUMBER(3)
    SQL> DESC ACCCDE.ACC_VOH_NO
    Name                                      Null?    Type
    AVS_BRANCH                                NOT NULL NUMBER(2)
    AVS_OFFICE                                NOT NULL NUMBER(2)
    AVS_VOH_TYPE                              NOT NULL NUMBER(2)
    AVS_VOH_YEAR                              NOT NULL NUMBER(4)
    AVS_CURR_NO                               NOT NULL NUMBER(6)
    AVS_NEXT_NO                               NOT NULL NUMBER(6)
    SQL>
    select do1.owner,do1.object_name,do1.object_type,di.index_type,di.uniqueness,di.table_name,di.table_type
    from dba_objects do1, dba_indexes di
    where object_id=45309
    AND DI.INDEX_NAME=DO1.OBJECT_NAME
    OWNER,  OBJECT_NAME,     OBJECT_TYPE,   INDEX_TYPE, UNIQUENESS, TABLE_NAME, TABLE_TYPE
    ACCCDE, ACC_VD_SIDE_IDX, INDEX,         BITMAP,     NONUNIQUE,  GLVODMF,     TABLEThanks

  • Create additional installer error code -12 file not found from device driver cd

    I'm trying to build an installer for a project that includes several NI drivers - specifically NI-DMM. NI-SCOPE, NI-SWITCH, NI-845x, and a few others (MAX, DAQ, etc). When I build the software standalone (and only include the run-time engine), it works fine. However, when I try to build the installer with the additional installers (mentioned above), the build prompts me for device driver cds, and then fails. Specifically, it fails on the February 2006 Device Driver cd. The error is attached below.
    I have tried
     - repairing all the installations of the software mentioned
     - using a new project and re-adding the files
     - building the additional installers seperately (no source code installed)
     - copying the driver cds to the harddrive and referencing them there when needed
    The next step will be to reinstall all of those drivers from scratch, but I really would prefer not to. Does anyone have any ideas (or solutions) regarding this problem?
    CDK_CreateNewWizard_Invoke.vi.ProxyCaller >> CDK_CreateNewWizard_Invoke.vi >> CDK_InstallerConfiguration_Editor.vi >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CDK_Engine_Build.vi >> CDK_Engine_PromptForMissingDist.vi >> NI_MDF.lvlib:MDFDistCopyList_CopyItem.vi
    Loading product deployment information
    Loading product deployment information
    Loading product deployment information
    Adding files to installer
    Done adding files
    Preparing to build deployment
    Copying products from distributions
    Copying distribution 'NI-845x Software 1.0.1' from: C:\National Instruments Downloads\NI-845x\1.0.1\ to: C:\PTF\Builds\**********************<edited out>
    Copying distribution 'National Instruments Device Drivers - February 2006, Disk 1' from: C:\National Instruments Downloads\DCD-Feb06-1\ to: C:\Program Files\National Instruments\Shared\ProductCache\
    *** Error: Windows SDK function returned an error. (Error code -12)
    The system cannot find the file specified.
    *** End Error Report
    Done building deployment

    I have had this happen a lot espescially with LV 8.0 -8.20. What I had to do was take the device drivers CD and copy it to the and run the installation of the software from the copy on the hard disk.
    When you build an exe with additional installers it looks at the last place that  you installed the drivers from. Anyway it worked for me so it might work for you.
    Joe.
    "NOTHING IS EVER EASY"

Maybe you are looking for