Compare Error

Hi;
I have a problem. I tried using pointbase db which is built inside sun app server when I tried running my servlet it compares fine when I do system.out however my servlet wont work properly and somehow it wont validate the values correctly and instead it travers to an error page if the input was wrong? but I know the input is correct. What do you think is the problem ?
My friend said that it may be the encoding type that I used in the pointbase db in creating the table but I tried both and all wont work? if I try a different db instead of pointbase everything works fine. Here is the snippet of my codes :
          try {
               String user = request.getParameter("fld1");
               String pass = request.getParameter("fld2");
               System.out.println(user + " " + pass + " ");
               if(user.equals("") && pass.equals("")) {
                    response.sendRedirect("index.jsp");
               // PointBase Server Direct Connection
               Class.forName("com.pointbase.jdbc.jdbcUniversalDriver").newInstance();
               con = DriverManager.getConnection("jdbc:pointbase://localhost:9092/Users","admin","Jms070102");
               stmt = con.createStatement();
                        query = "SELECT * FROM Account WHERE Login = '"+user+"'";
               rs = stmt.executeQuery(query);
               while(rs.next())
                    String val1 = rs.getString(4);
                    String val2 = rs.getString(5);
                                // This shows that everything is okay.
                                System.out.println(val1 + user);
                                System.out.println(val2 + pass);
                         if (val1.equals(user) && val2.equals(pass)) {
                              HttpSession session = request.getSession(true);
                              session.setAttribute("SOME_KEY", user);
                              RequestDispatcher rd = request.getRequestDispatcher("home.jsp") ;
                              rd.forward(request, response) ;               
                         else {
                              out.println("<html>");
                              out.println("<title>::: Accenter :::</title><body>");
                              out.println("Sorry Wrong Login !");
                              out.println("</body></html>");
               stmt.close();
               out.close();
          }

would like to know hows your catch clause looks like?Nothing :D I was hoping to catch one but if your asking how it looks its fairely simple I'm at home now and I cant probobly say it all its just the normal sql, instantation & so-on catch clauses. I think you guys might probobly solved it If im not mistaken I've used char hehehe, thanks I'll fix it thanks.

Similar Messages

  • Microsoft office pro vol 2013 database compare error unhanding message

    Microsoft office pro vol 2013 database compare error unhanding message my operating system windows 8.1 ? but last qus and give a answer looking not my operating system not support Microsoft .NET Framework 2.0Microsoft Report Viewer Redistributable 2008.
    this application pls help as me? error stop?

    mscorlib
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34003 built by: FX45W81RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    DatabaseCompare
        Assembly Version: 5.5.0.5
        Win32 Version: 5.5.0.5
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Office/Office15/DCF/DATABASECOMPARE.EXE
    System.Windows.Forms
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System.Drawing
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    System
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34003 built by: FX45W81RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    System.Configuration
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    System.Xml
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    Accessibility
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    Common.FileUtils
        Assembly Version: 5.5.0.5
        Win32 Version: 5.5.0.5
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Office/Office15/DCF/Common.FileUtils.DLL
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer

  • Adobe 9 Pro Document Compare Error

    Hello Folks,
    I have a user with Adobe 9 Pro and he is attempting to do a document compare between 2 pdf docs. It looks like it does the compare but he then gets an error "Acrobat could not create the report document!". I have gone ahead and completely uninstalled and re-installed the application but that did not help. Others in his department with the same app and set up are able to do the compare with no problems. Any assistance would be greatly appreciated. If you need further info, let me know.

    Hi trout777777,
    Kindly post this query in Acrobat forum:Acrobat
    Regards,
    Florence

  • Implements Comparable error

    Hi,
    I've got code like that:
    import java.lang.Comparable;
    import java.util.*;
    * @author Adam
    public class Person implements Comparable { //this line causes error
        /** Creates a new instance of Person */
        public Person() {
        }I've got also another class DataBase, where I have ArrayList of Person, I would like to sort them by surname, in clas person I have also methods like that:
            public boolean equals(Object o)
            if (!(o instanceof Person))
                return false;
            Person n = (Person)o;
            return n.surname.equals(surname);
            public int compareTo(Person n)
             int lastCmp = surname.compareTo(n.surname);
             return (lastCmp != 0 ? lastCmp :
                    surname.compareTo(n.surname));
              public int hashCode()
               return 31*surname.hashCode();
              }My Error is: Person is not abstract and does not override abstract method compareTo(java.lang.Object) in java.lang.Comparable
    But class Person shouldn't be abstract, te line which causes the error is: public class Person implements Comparable, I don't know why. Can enyone help me?

    So I'll try to create abstract class with different
    name.
    But here->http://www.onjava.com/lpt/a/3286 they don't
    have any problems with implementing this.
    Message was edited by:
    snakeomwhy do you think you want an abstract class??
    you've got a perfectly good tutorial right there, that tells you exactly what you need to do. just follow that. read your code again and see if there's anything in your first class that does any comparing (clue: there isn't)

  • JDev CVS integration Compare error

    I have successfully integrated JDev 10g 9.0.5.0.0.1375 with a CVS server. When I attempt to compare two different versions in the history of an XML file using the "Compare...." option, the following class cast exception is thrown and the compare fails.
    Comparing 2 versions of any other type of file eg .java, .jsp works without errors.
    Any ideas?
    Many thanks
    Steve
    java.lang.ClassCastException: oracle.scm.diffmerge.result.impl.CompareResultElementImpl
         at oracle.scm.client.ui.components.compare.tree.CompareTreeComponent.install(CompareTreeComponent.java:211)
         at oracle.scm.client.ui.components.compare.tree.CompareTreeControl.install(CompareTreeControl.java:72)
         at oracle.jdeveloper.compare.CompareEditor.compare(CompareEditor.java:385)
         at oracle.jdeveloper.compare.CompareEditor.open(CompareEditor.java:318)
         at oracle.ideimpl.flateditor.EditorState.openEditor(EditorState.java:237)
         at oracle.ideimpl.flateditor.EditorState.createEditor(EditorState.java:141)
         at oracle.ideimpl.flateditor.EditorState.getOrCreateEditor(EditorState.java:87)
         at oracle.ideimpl.flateditor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java)
         at oracle.ideimpl.flateditor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:206)
         at oracle.ideimpl.flateditor.TabGroupState.createSplitPaneState(TabGroupState.java:113)
         at oracle.ideimpl.flateditor.TabGroup.addTabGroupState(TabGroup.java:230)
         at oracle.ideimpl.flateditor.FlatEditorManager.createEditor(FlatEditorManager.java:1174)
         at oracle.ideimpl.flateditor.FlatEditorManager.createEditorInFrame(FlatEditorManager.java:1147)
         at oracle.ideimpl.flateditor.FlatEditorManager.openEditorInFrame(FlatEditorManager.java:1078)
         at oracle.jdeveloper.compare.CompareAddin.showCompare(CompareAddin.java:157)
         at oracle.jdevimpl.vcs.cvs.op.CVSOperationDiff.compareRevisionsIntegrated(CVSOperationDiff.java:153)
         at oracle.jdevimpl.vcs.cvs.op.CVSOperationDiff.compareRevisions(CVSOperationDiff.java:137)
         at oracle.jdevimpl.vcs.cvs.op.CVSOperationDiffAgainst.doHistoryCompare(CVSOperationDiffAgainst.java:132)
         at oracle.jdevimpl.vcs.cvs.op.CVSOperationDiffAgainst.doitImpl(CVSOperationDiffAgainst.java:140)
         at oracle.jdeveloper.vcs.util.ClientAbstractCommand.doit3(ClientAbstractCommand.java:262)
         at oracle.jdeveloper.vcs.util.ClientAbstractCommand.access$2000071(ClientAbstractCommand.java:37)
         at oracle.jdeveloper.vcs.util.ClientAbstractCommand$1.run(ClientAbstractCommand.java:233)

    Hi Stephen,
    This is a known bug in the preview. You can either wait a few days for the production release, or download the following unofficial patch for preview:
    http://www.dubh.org/jdevpatches/905preview/patch3115078.zip
    (just extract the jar file contained in the above zip into your ${jdev.home}/jdev/lib/patches directory.
    Cheers,
    Brian
    JDev Team

  • Ho scollegato l'iphone durante un aggiornamento, ora ho provato a fare il ripristino numerose volte ma non riesco ad arrivare alla fine e riattivare il telefono mi compare errore n.3014 come faccio a risolvere questa situazione?

    Ho scollegato l'iphone durante un aggiornamento, ho provaro più volte a fare il ripristino ma continua a non arrivare alla fine dicendomi che c'è un errore il numero 3014. Come faccio a risolvere questo problema?

    Buongiorno,
    vorrei segnalare all'attenzione di qualcuno della Apple che il vostro caro iOS8 sta dando problemi a molti iPhone 4s. Non avevo sentito di questi problemi finchè ieri sera non è capitato anche a me, mi spiego meglio: ieri sera dopo aver lasciato il telefono fermo per circa 1 ora e 30 minuti l'ho ripreso in mano e ho inviato un messaggio, dopo l'invio l'ho appoggiato due minuti e prendendolo in mano ho notato che non dava segni di vita e ha continuato così fino al mattino seguente quando mi ha segnalato essere scarico anche se, appena successo il fatto, lo avevo collegato subito alla corrente. dopo averlo collegato alla corrente magicamente ha ripreso a funzionare normalmente, non credo che sia normale e sono molto scocciata per questa cosa, soprattutto quando vengo a sapere che a molti iPhone 4s sta succedendo, mi chiedo: il mio telefono ha 2 anni e l'ho pagato 700€ è possibile che lo debba GIA' cambiare per colpa di un bug di iOS8???? insomma se mettete un software per un telefono fate in modo che non sia uno schifo completo. ho sempre amato i telefoni della apple ma ultimamente, direi dalla morte di Steve Jobs, è uno schifo!
    E vorrei sottolineare che dato che molti hanno il 4s sarebbe una bella cosa farlo funzionare adeguatamente non credete? 
    rimango in attesa di una risposta o di un chiarimento sperando che non risucceda di nuovo, intanto provvederò a fare un backup completo del telefono ogni giorno ma non credo che sia una soluzione ottimale.
    rimango molto scocciata e sto consigliando a tutti di non aggiornare a iOS8 per non incappare nel mio stesso errore, inoltre vi faccio i complimenti per aver tolto il downgrade a iOS7 visto che quello almeno andava decentemente.
    credo che se il mio prossimo telefono dovrà essere un iPhone nuovamente lo vorrei comunque MOLTO migliore di quello che è diventato un gioiellino come il 4s con iOS8.

  • HSDIO conditionally fetch hardware compare sample errors (script trigger to flag whether or not to wait for software trigger)

    I am moderately new to Labview and definitely new to the HSDIO platform, so my apologies if this is either impossible or silly!
    I am working on a system that consists of multiple PXI-6548 modules that are synchronized using T-CLK and I am using hardware compare.  The issue I have is that I need to be able to capture ALL the failing sample error locations from the hardware compare fetch VI... By ALL I mean potentially many, many more fails than the 4094 sample error depth present on the modules.
    My strategy has been to break up a large waveform into several subsets that are no larger than 4094 samples (to guarantee that I can't overflow the error FIFO) and then fetch the errors for each block.  After the fetch is complete I send a software reference trigger that is subsequently exported to a scriptTrigger that tells the hardware it is OK to proceed (I do this because my fetch routine is in a while loop and Labview says that the "repeated capbility has not yet been defined" if I try to use a software script trigger in a loop).
    This works fine, but it is also conceivable that I could have 0 errors in 4094 samples.  In such a case what I would like to do is to skip the fetching of the hardware compare errors (since there aren't any) and immediately begin the generation of the next block of the waveform.  That is, skip the time where I have to wait for a software trigger.
    I tried to do this by exporting the sample error event to a PFI and looping that PFI back in to generate a script trigger.  What I thought would happen was that the script trigger would get asserted (and stay asserted) if there was ever a sample error in a block, then I could clear the script trigger in my script.  However, in debug I ended up exporting this script trigger back out again and saw that it was only lasting for a few hundred nanoseconds (in a case where there was only 1 injected sample error)... The sample error event shows up as a 1-sample wide pulse.
    So, my question is this:  is there a way to set a flag to indicate that at least one sample error occurred in a given block  that will persist until I clear it in my script?  What I want to do is below...
    generate wfmA subset (0, 4094)
    if scriptTrigger1
      clear scriptTrigger1
      wait until scriptTrigger0
    end 
    clear scriptTrigger0
    generate wfmA subset (4094, 4094)
    I want scriptTrigger1 to be asserted only if there was a sample error in any block of 4094 and it needs to stay asserted until it is cleared in the script.  scriptTrigger0 is the software trigger that will be sent only if a fetch is performed.  Again, the goal being that if there were no sample errors in a block, the waiting for scriptTrigger0 will not occur.
    I am probably going about it all wrong (obviously since it doesn't work), so any help would be much appreciated!

    Please disregard most of my previous post... after some more debug work today I have been able to achieve the desired effect at slower frequencies.  I did straighten out my script too:
    generate wfmA
    if scriptTrigger1
      clear scriptTrigger0
      wait until scriptTrigger0
    end if
    generate wfmA
    scriptTrigger1 = sample error event flag
    scriptTrigger0 = software trigger (finished fetching error backlog in SW)
    However, I am still having a related issue.
    I am exporting the Sample Error Event to a PFI line, looping that back in on another PFI line, and having the incoming version of the Sample Error Event generate a script trigger.  My stimulus has a single injected sample error for debug. For additional debug I am exporting the script trigger to yet another PFI; I have the sample error event PFI and the script trigger PFI hooked up to a scope.
    If I run the sample clock rate less than ~133MHz everything works... I can see the sample error event pulse high for one clock period and the script trigger stays around until it is consumed by my script's if statement.
    Once I go faster than that I am seeing that the script trigger catches the sample error event occasionally.  The faster I go, the less often it is caught.  If I widen out the error to be 2 samples wide then it will work every time even at 200MHz.
    I have tried PFI0-3 and the PXI lines as the output terminal for the sample error event and they all have the same result (this implies the load from the scope isn't the cause).
    I don't know what else to try?  I can't over sample my waveform because I need to run a true 200MHz. I don't see anything that would give me any other control over the sample error event in terms of its pulsewidth or how to export it directly to a script trigger instead of how I'm doing it.
    Any other ideas?

  • CVS JDev 9.0.3.4 compare

    I am trying to compare a local modified Java source file with the latest release of the file in the repository with the command :
    right clic -> source control -> compare with previous version
    and I have this CVS error :
    unable to perform cvs file difference check
    If I try the command :
    compare
    error : unable to access CVS repository file log
    any urgent idea ?
    CVS server version : CVS NT Service 1.11.1.3 (Build 57a)
    CVS Client : http://www.cvshome.org version 1.12.9
    Thx

    the cvs log <filename> is working :
    sample of result in command line
    RCS file: d:/Cvs_repository/ifp/CVSROOT/cvswrappers,v
    Working file: cvswrappers
    head: 1.1
    branch:
    locks: strict
    access list:
    symbolic names:
    keyword substitution: kv
    total revisions: 1; selected revisions: 1
    description:
    revision 1.1
    date: 2004/09/13 12:35:38; author: Administrateur; state: Exp;
    initial checkin
    =============================================================================
    AND there are message on the CVS Client window of JDev
    So What's happen ?

  • InDesign Extraction Error

    I have downloaded the InDesign_8_LS16.7z file twice using the alternate down load method, I will not use that virus of a Akami downloader. Both copies of the 7z file compare exactly the same.
    05/16/2012  11:33 PM       921,324,758 InDesign_8_LS16.7z
    However when I run the EXE to extract the file, once it reaches 100% complete I receive the following dialog:
    "A Problem occurred while extracting some files. Check available space on your computer and the write privledges on the destination folder."
    I have done this on two separate x64 computers (Win7 & Vista) logged in as a user with administrative rights. I don't have these types of errors installing or extracting any other software (for instance the trial version of Photoshop CS6).
    Both computers have adequate space to extract the files. However in the created folders I see alot of zero byte files, for instance like this:
    Directory of C:\Users\AUser\Downloads\CS6\Adobe InDesign CS6\Adobe InDesign CS6\payloads\AdobeCameraRaw7.0All
    05/16/2012  10:13 PM    <DIR>          .
    05/16/2012  10:13 PM    <DIR>          ..
    04/06/2012  12:41 AM                 0 AdobeCameraRaw7.0All.boot.xml
    04/06/2012  12:41 AM                 0 AdobeCameraRaw7.0All.proxy.xml
    04/06/2012  12:41 AM                 0 Assets1_1.sig
    04/06/2012  12:41 AM        17,208,900 Assets1_1.zip
    04/06/2012  12:41 AM                 0 Install.db
    04/06/2012  12:41 AM                 0 Install.sig
    04/06/2012  12:41 AM                 0 media.sql
    04/06/2012  12:41 AM                 0 Media_db.db
                   8 File(s)     17,208,900 bytes
                   2 Dir(s)  89,268,310,016 bytes free
    Both computers compare the same for the extracted number of Adobe InDesign CS6 files, and bytes:
    589 MB (618,496,815 bytes)
    521 Files, 110 Folders
    Clearly data is being dropped and not extracted without error until the end of the process, Any ideas on how to solve this problem ?

    I can't understand why space should be an issue when I have 90GB free.
    Winzip does not appear to open the file for me, so I'll have to assume I need a newer version to do so.
    The issue appears to be that the Alternate download file is not valid. I've downloaded it twice with the same results AND both downloaded files compare ok. In otherworks byte for byte they are exactly the same.
    However when I used a different non-production computer and installed that virus like Akami Download Manager, the main downloaded (878.64 MB) files do not compare exactly the same:
    C:\Users\AUser\Downloads>comp InDesign_8_LS16.7z .\CS6\InDesign_8_LS16.7z
    Comparing InDesign_8_LS16.7z and .\CS6\InDesign_8_LS16.7z...
    Compare error at OFFSET 18EB75EC
    file1 = A2
    file2 = A0
    Compare more files (Y/N) ? n
    In other words there's a slight difference between those two file methods available for me to download. One InDesign_8_LS16.7z download file works correctly to extract all the files for installation, and one does not.
    Is there some place to report this more directly to Adobe ? I'm convinced with all the effort I've gone to have this work, that their posted Alternate Download file is not valid.

  • Can i do hardware compare using hsdio when the generation and acq clock rate are different

    Hi there
    my application should generate a digital stream in clock rate A with bus width (number of bits) very from 1 to 4 bits
    The DUT will response always on on bit but with clock rate B.
    1. can i use the hardware compare mechanism of the hsdio boards.
    2. if answer is YES is there any sample that can help me getting started.
    Thanks for advance
    Gabel Daniel
    Solved!
    Go to Solution.

    Hi,
    One good example to use as a starting point can be found in the NI Example Finder.  Navigate to "Hardware Input and Output" >> "Modular Instruments" >> NI-HSDIO >> Dynamic Acquisition and Generation >> Hardware Compare - Error Locations.vi.  You'll need to explicitly wire in your new rate into the "niHSDIO Configure Sample Clock.vi" on your response task.
    There is also a portion of this code that warns if the stimulus and response waveforms are not the same size.  This is not necessary, and could be deleted from the program. You are allowed to have different size stimulus and response waveforms.
    Jon S
    Applications Engineer
    National Instruments

  • How to compare two cursors

    Hi all,
    I have two different cursors of same recors.
    create table temp_emp as select * from emp;
    cursor cr_emp IS
    select * from emp;
    cursor cr_tmp IS
    select * from temp_emp;
    how to compare these two cursors.
    Im trying to learn comparing cursors variables. I have oracle 11g, windows Vista.
    Initially, I tried to compare only ename coloum:
    create or replace procedure compare
    IS
    cursor cr_emp IS
    select * from emp;
    cursor cr_temp IS
    select * from temp_emp;
    v_cr_emp cr_emp%rowtype;
    v_cr_temp cr_temp%rowtype;
    emp_rownum integer;
    tmpy_rownum integer;
    V_CODE NUMBER;
    V_ERRM VARCHAR2(64);
    BEGIN
    select MAX(rownum) into emp_rownum from emp;
    select MAX(rownum) into tmpy_rownum from tmpy_emp;
    open cr_emp;
    open cr_temp;
    FETCH CR_EMP INTO v_cr_emp;
    FETCH CR_TEMP INTO v_cr_temp;
    for emp_rownum in cr_emp
    loop
    for tmpy_rownum in cr_tmpy
    loop
         if(v_cr_emp.ename = v_cr_temp.ename)
         then
         dbms_output.put_line('equal');
         else
         dbms_output.put_line( 'not equal');
         end if;
    end loop;
    end loop;
    EXCEPTION
    WHEN OTHERS
    THEN
    V_CODE := SQLCODE;
    V_ERRM := SUBSTR(SQLERRM,1,64);
    DBMS_OUTPUT.put_line ('ERROR CODE' || V_CODE || ':' || V_ERRM);
    close cr_emp;
    close cr_tmpy;
    END;
    SQL> start rain.sql
    Procedure created.
    SQL> exec compare
    ERROR CODE-6511:ORA-06511: PL/SQL: cursor already open
    PL/SQL procedure successfully completed.
    Edited by: user10676396 on Apr 16, 2009 7:50 PM

    Hi user10676396,
    Hope this helps you understand the Nested loop, which I assumed you are trying to do in you program.
    Note : Code not compiled and tested.
    create or replace procedure compare
    IS
    cursor cr_emp IS
    select * from emp;
    cursor cr_temp IS
    select * from temp_emp;
    v_cr_emp cr_emp%rowtype;
    v_cr_temp cr_temp%rowtype;
    emp_rownum integer;
    tmpy_rownum integer;
    V_CODE NUMBER;
    V_ERRM VARCHAR2(64);
    BEGIN
    select MAX(rownum) into emp_rownum from emp;
    select MAX(rownum) into tmpy_rownum from tmpy_emp;
    FOR REC IN cr_emp LOOP
         dbms_output.put_line('For Ename in EMP : '||REC.ename ');
    -- In FOR loops demo concept of nested loops
      FOR TREC in cr_temp LOOP
         if(REC.ename = TREC.ename)
         then -- only output when you found a record in Temp
         dbms_output.put_line('....EQUAL rec found in Temp : ' ||TREC.ename');
         else
           null ; -- Don't output if it is not equal
         end if ;
      END LOOP;
    END LOOP;
    EXCEPTION
    WHEN OTHERS
    THEN
    V_CODE := SQLCODE;
    V_ERRM := SUBSTR(SQLERRM,1,64);
    DBMS_OUTPUT.put_line ('ERROR CODE' || V_CODE || ':' || V_ERRM);
    close cr_emp;
    close cr_tmpy;
    END;
    /Sanjay

  • Errore ricarica applicazioni

    salve, andando sul pannello creative cloud sul mio mac, tab app, compare errore download ed il tasto per ricaricare applicazioni.... clicco ma dopo 1 secondo mi ritorna su errore.... sono giorni che non funziona.

    Creative Cloud chat support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html

  • Harddisk dying (in Paris) - advice please

    I reported elsewere (http://episteme.arstechnica.com/groupee/forums/a/tpc/f/8300945231/m/839000967731) on a problem on my RevB PB's internal Toshiba MK8026GAX drive, and how I dealt with it.
    Despite the resolution of this bad sector problem, the disk keeps showing what I will describe as narcistic (sp?) behaviour: active doing something, not directly related to any process running on the CPU, but provoking frequent delays in anything requiring disk access. Which turns out to be amazingly frequent. It also started making a soft but noticeable and quite annoying (because abnormal) drone. Like a noisy CD being read, though much softer.
    So I did some stress testing today, notably a complete surface scan in the TechTool version I got with my AppleCare. Before, I had done a full defrag on the boot volume, which completed without any apparent errors.
    DiskWarrior refused to compare the newly optimised directory with the original because the original was too damaged. I didn't notice any problems with it before running DW, but it took an incredibly long time to write the new directory - even on the small (5Gb) partition. Both partitions were not mounted when I started the rebuilding process.
    TechTool found no errors. The full scan took at least an hour, but I suppose that's about normal for a 80Gb 5400rpm disk
    However, during the 1.5 scans I had it do (I accidentally cancelled the 1st halfway :(), the SMART RawRead_ErrorRate dropped from the original 100 to 76 (eek! the threshold is 50!). The Raw value remains at 0, though...
    This is the clearest but only true indication I have that my disk is slowly failing.
    So, some questions, that I hope someone can answer.
    1- Is it possible that DiskWarrior gives a 'won't compare' error when and because a disk being rebuilt is not mounted?
    2- How do I proceed from here? I'm booted off an external no, so I can't assess the access-delay issue, but other than that, there are clearly no direct issues with the disk. Suppose I decide to attempt an AppleCare repair, will they accept my current, rather geeky proof? Or will I have to wait until the SMART tests tell the disk is failing?
    3- In fact, would I be looking at a zero-cost repair/exchange? My original warranty expired some 7 months ago, and the AppleCare contract is not clear to me on this point. As a Toshiba drive is not Apple-branded, can I expect to be charged Apple's asking price for a similar disk? If the part (drive) is replaced no-cost, can I request a specific model to be used, possibly paying for the price difference (see 6)
    I can't really miss my computer for the 2 weeks I guess a repair (exchange) will take: the only other computer here is my GF's PB. I've also heard a few too many stories about computers coming back in worse state than they were sent (and mine has been pampered!). So I'm leaning heavily towards changing the disk myself, for something maybe bigger, maybe faster. So:
    4- Carry-in, on-the-spot swapping of a harddisk, does that exist with Powerbooks? In Paris? If so, where?
    5- What will changing the disk myself do to my AppleCare? Void it? Again, the contract mentions only unauthorised modifications, but I have no document forbidding me to change my harddisk...
    6- Finally, what would you suggest as a replacement disk? I'm not sure I'm willing to pay for a >=80Gb 7200rpm disk, but I am willing to pay more for recognised quality and reliability. My previous Dell laptop had an IBM DARA, which still works fine after 6 years. Do these function in Macs? Should I avoid the Toshiba drives, if possible?
    Looking forward to your answers...!
    Thanks,
    René

    Hi, my HD buying experience...
    I ordered a Hitachi Travelstar 7200rpm 40gb from
    http://www.dabs.com/
    When the 7200 one I was after wasn't available
    immediately they didn't take payment but kept the order running & were very helpful. I hung on for over a week then cancelled & found one available (apparently) at
    http://www.cclonline.com/
    who took the money straight away then in a few days told me they didn't have one either. Rather than wait or shop around more I settled for the 5400/60 from them seeing as how it was about the same price.
    Lack of free space on a drive, can cause many problems & the extra speed has made a huge difference to my computing experience.
    Hitachi travelstar drives are quiet & a higher speed such as 5400rpm is brilliant.
    My 60gb 5400 one was about £90. the 40/4800 was about £65.
    By the way the firewire 2.5 enclosures from here
    http://www.storagedepot.co.uk/
    are great! ...lightweight & you can pop drives into these between computers & using cloning software NEVER loose your data.
    I would recommend dabs.com for a drive & have bought from them before with delivery the next day.
    Cheers,
    Steve
    iBook G3 dual USB ,1 F/W Mac OS X (10.2.x)  

  • Writing a function to that sorts any object

    I am trying to write a function that sorts any type of array of objects. For example, I want to call
    NewArray = exampleclass.sort(ObjectOfAnyType).
    The sort function has to return a new array. I have run into two errors, however.
    Error #1
    as3.java [21:1] cannot resolve symbol
    symbol : variable Object
    location: class as3
    if (Object instanceof Comparable)
    ^
    Error #2
    as3.java [25:1] incompatible types
    found : java.lang.Object
    required: java.lang.Object[]
    Object [] rtn = obj.clone();
    *** Below is my source code ***
    import java.*;
    public class as3 {
    /** Creates new as3 */
    public static Object sort(Object [] obj)
         if (Object instanceof Comparable)
         if (Object instanceof Cloneable)
         Object [] rtn = obj.clone();
    for (int i = 0; i<obj.length-1; i++)
    for (int j=i+1; j<obj.length; j++)
    if (rtn.compareTo(rtn[j]) == 1)
    Object [] tmp = rtn[i];
    rtn[i] = obj[j];
    rtn[j] = tmp;
    else
    throw new ObjectIsNotComparableException("Object not comparable");
    Any help appreciated. Thanks!

    Changing from "Object" to the name "obj" fixed the
    statement:
    if (obj instanceof Cloneable) but not if (obj
    instanceof Comparable).
    I don't know what's causing this one yet... worry about that in a sec
    I am also getting one new error now:
    as3.java [28:1] cannot resolve symbol
    symbol : method compareTo (java.lang.Object)
    location: class java.lang.Object
    if (rtn[ i].compareTo(rtn[j])
    This one is because rtn[ i] (and rtn[j]) is an Object, which has no method compareTo. Try casting it to a Comparable...
    I think I just worked out why it let you go with the cloneable, but not with the comparable. obj is an array, and sure an array is cloneable, but how could you compare an array? Sure you can compare the elements in the array... So either check if obj[0] instanceof Comparable, or drop the test all together.
    Note: checking obj[0] will give you an exception if someone asks you to sort an array of 0 length (no elements)
    Hope this helps,
    Radish21

  • Statistical forecast

    Dear Experts:
    I created master profile and a univariate profile as per the building block instructions.  In the planning view, when I click on the Stat button, i am taken to a different screen with different planning view.  I noticed the same history is copies into the forecast keyfigure row.  I  tried using different models (with different alfa values for exp models and moving average etc).  I get the same figures in the forecast key figure row.  Also the green arrow on the top which is supposed to take me back to my planning view is not active.  What am i doing wrong?
    Thanks
    Steve

    Hi Steve,
                     Did you compare the forecast errors? are they same with all the different values? You can check forecast errors by clicking on the icon with two downward arrows. Which forecasting model are you using? May be the values you are entering for alpha are not making much difference. Another check would be to use different forecast models and compare errors. Here is a  document with formulas for [statistical models|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7a4025f8-0a01-0010-0fb2-b7ab22597675]
    Try using one of the models and with the help of formula for that model, see if your values make sense.
    Hope this help.

Maybe you are looking for

  • How to load a java class at server start-up

    Hi, I have one custome java class that is being referenced by all the applications deployed in OC4J container. How can I load that class automatically and be evailable in the path at server start-up time. Is there an option available to give the clas

  • Designing the Business Model diagram issue

    I need help from the experts. We have many tables in the physical layer but for our scenario consider only Dim 1, Dim 2, Fact 1, Fact 2, Fact 3. Fact 2, Fact 3 are the lowest granularity and relationship b/w Fact 1 ---> Fact 2 is one-to-many Fact 1 -

  • As3 event flow, and a rant

    ok, more rant than help, if i dont find the answer here ill probably think of something in the morning but at least i get to vent some. the geniuses of adobe tried to to an event handling closer to traditional programming, only different in every asp

  • I have to keep restarting AirPort Extreme to get it to connect!

    I have the AirPort Base Station and for some reason, it keeps disconnecting and wont show up in list of networks. The only way to get it back up is to unplug it and plug it back in. I have to do this multiple times a day now. Is this a problem for an

  • TableModel refresh problem!

    I am new to Java so any reply to put me in the right direction is appreciated. I have inquired on New to Java, but the solutions received unfortunely did not help. I believe the I need some help with the CellRenderer, but not sure. I have a TableMode