Problems with DUPLICATE

Hi,
I was trying to duplicate a database. In the docs I found that I need to use STARTUP NOMOUNT in the auxiliary instance, but, when I do that I can´t connect to it.
And another problem is that the I´m trying to duplicate the ORCL in the target to the ORCL in the auxiliary, and it alredy exist.
How can I solve that?
Thank you.

Hi,
I have diferentt servers.
I installed de oracle one more time, but I gave de name 'oracle' to database in the installation. In the another server the name is 'orcl'. But I can´t duplicate yet.
The problem I´m thinking is because this database I´m trying to duplicate is the Installation database (orcl: global database), and I´m trying to duplicate to another server that have another global database (oracle). Can be that ?
Thank you.

Similar Messages

  • Reinstalling iTunes, problem with duplicates

    I have an iMac 2GHZ running OS X v10.5.7 which is having multiple longstanding problems with freezing/errors and no significant problems show up after running disc utilities (repairing permissions etc..) or Tech Tool. Also my itunes music folder is full of duplicates that don't show up on my i tunes duplicate or "Dupin" duplicates list. iTunes library shows 43 GB space used and iTunes Music folder shows 95 GB space used.
    I would like to start from scratch, reformat my hard drive and reinstall iTunes to see if it solves most of the problems. I am using Time Machine for backup but also can make a bootable clone with Super Duper. I wonder if it would be better to restore my iTunes from an iPod since none of the duplicates exist there.
    Suggestions?
    Thanks,
    B

    a lot of people are having similar problems
    a temporary solution i discovered is desribed on this thread
    http://discussions.apple.com/thread.jspa?threadID=658807&tstart=15

  • RECENT PROBLEMS WITH DUPLICATE CONTACTS

    I have an IPhone. All has been well for months until 2 days ago (possibly after the update I did on IPhone).
    Since then my contacts - which are getting synced via ICal - have duplicated - both in Entourage and Plaxo.
    I have run the "De-duper" in Plaxo and get back to single set.
    Yesterday I painstakingly manually deleted almost 700 contacts from Entourage.
    I reset "Sync Services".
    But this morning the duplicates are all back.
    In my ITunes/IPhone Info tab, it does not show where the contacts are coming from - just says Personal.
    On the calendars, I see 3 calendars that are synching - Home, Work & Personal.
    Plus - and this may be unrelated - it seemed to have chnaged the default email address for some contacts in Entourage.
    Help !!!!
    I am afraid to sync my IPhone for fear I will end with duplicates in my contacts & on my calendar.
    How do I stop this madness?
    Thanks.

    I had the same problem after 1.1.3. I'm on Windows XP using Outlook. I need something to clear the dups off the iPhone.

  • Problem with duplicate files being created

    I'm having a problem with PSE7 copying files from my camera card to my computer.
    It will copy over all new jpg files fine but once it gets to the NEF (RAW)  files it will not only copy the new files from today but recopy all  those NEF files from other days that are already downloaded so that I end up with files like this:
    DSC_2200.NEF
    DSC_2200-1.NEF
    DSC_2200-2.NEF and so on.  It's very annoying and I have to repeatedly  delete all the duplicate files and this takes up time. I do use the  global search function in Windows to delete them but would prefer they  don't do this in the first place. They do eat up a lot of space.
    I have the settings set to only copy over new files in PSE so why is it copying over older files? Does anyone have any clues?

    You can set up a scan when you create a new device in System Preferences:
    go to System Preferences --> FCSVR Pref pane --> Devices Pane and then choose create new device ("+" sign and the Device Assistant will appear. You choose the type and then you can set up a Full or Add only Scan here.)
    Other option is to set up a Scan via the Administration window in the Java Client:
    This is not as easy since there is no Device Assistant.
    go to Admin window in Java Client --> Response and then create a new 'Scan' response on the device you want to scan. 'Scan Productions' is something different, maybe you want that instead, I don't know. Depending on how you set it up, it can create a Production in FCSVR catalogue for each folder or subfolder and that media will be scanned and placed into that Production in FCSVR catalogue.
    Anyways, once you create the Scan Response, go to Admin pane --> Schedule. Create a new schedule and add the 'Scan' response you just created to the "Response List" section. Don't forget to check "Enabled"...can't tell you how many times I created the response but then forgot to enable it.
    Once you scan the assets, they are in the FCSVR catalogue with clip proxies, thumbnails and posterframes. If you have existing FCP projects that use this media, you will want to make sure the media in the FCP project is connected to that same media that was scanned. When you upload the FCP project, it will not dup the assets, just add the FCP project to it, unless you didn't set the EIP device correctly. If you look in Search All Jobs, the only thing that should be generated at this point it Edit Proxies (if you enabled them) and Elements.
    Now my question to you is the same as Chris' question here http://discussions.apple.com/thread.jspa?messageID=9147105#9147105. How did you set things up so far? What is your workflow? Where is your media?

  • Problem with Duplicate Movie Clip which is tracked in an Array

    I have a problem with my inventory code using Shared Objects.
    What i did was to track the collected items in an array. Each time
    the user collects an item, the original iconMC is duplicated and
    loads a picture of the item (function loadImage). However, my
    problem is that this retains the original array so even if I
    already added new items into the inventory, the newest item doesn't
    show. original array length = 2, new array length = 3; the last
    item doesn't show. If I reload my flash, its the only time that
    this shows. Now if I get an item and lessen the inventory, it still
    retains the original length and doubles (or triples, depending on
    how many items i lessened) the last item.
    var so:SharedObject = SharedObject.getLocal("lakbayUser",
    var i:Number = so.data.currentUserIndex;
    var ctr = 0;
    var iconCtr;
    var iconArray: Array; //temporary storage of items placed
    inside icon
    function selectIcon(num){
    eval("iconMC"+num)._alpha = 0;
    so.data.users
    [15][0] = true;
    so.data.users[15][1] = iconArray
    //loads the next icon
    function setNextIconMC(itemCtr, iconCtr){
    if(iconCtr > 0) {
    newName = "iconMC" + iconCtr;
    newPos = 130 * iconCtr;
    _root.itemaHolderMC.iconHolderMC.iconMC0.duplicateMovieClip(newName,iconCtr+1);//does
    not duplcate if unloadMovie is called
    this[newName]._x = newPos;
    this["iconMC"+iconCtr].enabled = true;
    this["iconMC"+iconCtr]._alpha = 100;
    loadMovie("gamit/icon"+itemCtr+".jpg",_root.itemaHolderMC.iconHolderMC[newName]);
    trace(_root.itemaHolderMC.iconHolderMC[newName]);
    else {
    iconMC0.enabled = true;
    iconMC0._alpha = 100;
    loadMovie("gamit/icon"+itemCtr+".jpg",_root.itemaHolderMC.iconHolderMC.iconMC0);
    //loads all the icons into the container
    function loadImage(){
    iconCtr=0;
    iconArray = new Array();
    for(itemCtr = 0; itemCtr < so.data.users
    [14].length; itemCtr++){
    if(so.data.users[14][itemCtr] == true){
    iconArray[iconCtr] = itemCtr;
    setNextIconMC(itemCtr,iconCtr);
    iconCtr++;
    if(iconCtr==0){
    iconMC0._visible = false;
    else iconMC0._visible = true;
    loadImage();
    so.flush();
    stop();

    hey there yenniie - each time you update the array you must
    also call 'flush' to update the SharedObject. also please use the
    'attach code' button to post code, as you can see what happened in
    your post with the ' i ' value. So assuming I'm interpreting the
    the missing characters correctly the method should be:

  • Problems with duplicate persistence units

    I suppose that Weblogic 10.3 do not support some locations of persistence.xml.
    For example. On Jboss server I can succesfully deploy ear with this structure
    -services-ejb.jar
    -services-ws.jar
    -/APP-INF/lib
    -/APP-INF/lib/services-jpa.jar with persistence.xml i META-INF
    -/META-INF/application.xml
    But on Weblogic 10.3 it is impossible. Weblogic got an error with duplicate PU in the same location...
    <2009-06-04 16:06:18 CEST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.management.DeploymentException:
    at weblogic.application.internal.flow.JpaFlow.prepare(JpaFlow.java:59)
    weblogic.deployment.EnvironmentException: duplicate persistence units with name servicesJPA in scope services-ear.
    First PU location: file:D:/apache/bea10.3/wlserver_10.3/samples/domains/wl_server/servers/examplesServer/tmp/_WL_user/services-ear/skzpn4/APP-INF/lib/services-jpa.jar.
    Second PU location: file:D:/apache/bea10.3/wlserver_10.3/samples/domains/wl_server/servers/examplesServer/tmp/_WL_user/services-ear/skzpn4/APP-INF/lib/services-jpa.jar
    My application.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5">
    <description>services ear</description>
    <display-name>services-ear</display-name>
    <module>
    <ejb>services-ejb.jar</ejb>
    </module>
    <module>
    <web>
    <web-uri>services-ws.war</web-uri>
    <context-root>/services-ws</context-root>
    </web>
    </module>
    <library-directory>APP-INF/lib</library-directory>
    </application>
    Is any solution to keep persistence in library directory?

    Edwin,
    I have tried the same thing that you describe in question one in the attached VI. If you change the data ranges and then run the VI, you will note that the numeric value will only ba allowed in the new range. (If the current value is outside of the range that you have set, then you will need to change the value of the cotrol to be in the new range before the new range properties will take effect.)
    As for your second question, can you expand upon this? I am not sure that I understand what you mean. Is an example VI possible? Thanks
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask
    Attachments:
    Data_Range_with_Units.vi ‏22 KB

  • Problems with DUPLICATE DATABASE when datafile was added after full backup

    Hi,
    I'm facing a problem when performing database duplication with the RMAN duplicate database command on a 10g database. If I preform the duplication from a full backup that is missing a datafile which was added to the database after the full backup, I get the following error message:
    Starting restore at 10-10-2009 18:00:38
    released channel: t1
    released channel: t2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 10/10/2009 18:00:39
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06100: no channel to restore a backup or copy of datafile 43The redo log which was CURRENTat the time of the datafile's 43 creation is also available in the backups. It seems like RMAN can't use the information from the archived redo logs to reconstruct the contents of datafile 43. I suppose that because the failure is reported already in the RESTORE and not in the RECOVER phase, so the archived redo logs aren't even accessed yet. I get the same message even if I make a separate backup of datafile 43 (so a backup that is not in the same backupset as the backup of all other datafiles).
    From the script the duplicate command produces, I guess that RMAN reads the contents of the source database's controlfile and tries to get a backup which contains all the datafiles to restore them on the auxiliary database - if such a backup is not found, it fails.
    Of course if I try to perform a restore/recover of the source database it works without problems:
    RMAN> restore database;
    Starting restore at 13.10.09
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    creating datafile fno=43 name=F:\ORA10\ORADATA\SOVDEV\SOMEDATAFILE01.DBF
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to F:\ORA10\ORADATA\SOVDEV\SYSTEM01.DBF
    .....The datafile 43 is recreated and then redo is applied over.
    So, does anyone know if duplicate database can't use archived redo logs to recreate the contents of a datafile as a normal restore/recover does? If it's so, then it means it's necessary to perform a full database backup before every run of duplicate database if a datafile was added after such a backup.
    Thanks in advance for any answers.
    Regards,
    Jure

    Hi Jure,
    I have hit exactly the same problem during duplication.
    Because we backup the archive logs every 6 hours with rman I added an extra run block to this script.
    run
    backup incremental level 0
    format 'bk_%d_%s_%p_%t'
    filesperset 4
    database not backed up;
    (I also than hit a bug in the catalog which was solved by patching up the catalog dbs from 11.1.0.6 to 11.1.0.7.)
    This will narrow down the datafile not being part of any rman backup to 6 hours while skipping datafiles for which a backup already exists.
    Regards,
    Tycho

  • Problem with duplicate and/or outlined fonts in Macintosh

    If you are using Frame for Macintosh and you find you have duplicate Arial and/or Times New Roman fonts, or, if these fonts show up on the screen as outlines, the problem may be that you have the 2.9x versions of these fonts, the latest as of this writing (31 August).
    You can find older 2.60 versions on the Apple OS 9.2 Install CD, deep in a Microsoft Internet Explore install folder (a Sherlock search will find them).
    DEAD LINK, LEFT HERE FOR HISTORICAL PURPOSES: In case you're interested, you can find the 2.9x versions at http://www.microsoft.com/mac/download/office2001/fontsupdate.asp. The page says "New Apple Macintosh versions of Times New Roman (2.91) and Arial (2.90) This update includes a fix for a problem that prevented certain characters from being printed on PostScript level 3 printers", so I'm hesitant to say that you should not use these newer fonts at all.

    i had been running the program inside Netbeans.
    Running the jar using the command line outside
    Netbeans i have no more problems... Does Netbeans use
    it's own JVM?Depends how you set it up, but look under the options. There are settings for the compiler and jvm that it uses.

  • Problem with duplicate entries in a structure.

    Hi,
    I am creating a custom structure by including 2 structures in it as DRSEG and COBL_MRM_D.
    Now both the structures have many common fields and hence it gives an error on check.
    Is there any workaround to create the structure in DDIC by including both the above structures.
    Pls help with your ideas.
    Thanks,
    stock.

    Hi
    Create a DDIC structure which has all the common fields. Include this structure only once .
    Then include the fields which are not common from both the structure into the created structure . so that no duplicates entries are present
    OR
    Include the first structure then dont include the second structure include only the fields which are not common to both . this also eliminates the duplicates

  • Problems with duplicate fonts

    The other day I was looking into "Font Book.app" and notice I had a few duplicates so I removed them. Now I have a few applications that don't work, like Zino (Magazine reader) it unexpectedly quits. So I contact Zino and they ask me to send them the first part of the report that generates an application when it unexpectedly quits. And they notice I had no Arial font activated. The problem is that I do have the Arial font in my "Font Book" application but I guess is the duplicate Arial font that the application is looking for. My question is how can I get this duplicate fonts back?
    Blue skies and happy new year!
    Jerry

    how did you deactivate those fonts? did you use Font Book or did you manually delete the fonts? if the former, then reboot once in safe mode. reboot and hold shift at the chime. once you boot in safe mode reboot again and log in normally. this will clear your fonts cache and all you inactive fonts will be reactivated.

  • Problem with duplicates record

    I have created an SAP_DataMart Fixed Query in SAP MII but I am getting duplicates records.
    Also, in my parameters settings I have  - PARAM.20 - 20140601  and PARAM.21  - 20140615 for dates
    Yet, I have the dates only displaying for 20140601 to 20140608?
    Please see attached part of a screenshot.
    Thank you.

    Hi Amr,
    It probably looks like an issue with the query itself. I suggest you verify the query by executing it directly in the source data system e.g in SAP using SQ01 and see if you get the same results.
    If yes, then it is a query join issue.
    Regards,
    Saumya Govil

  • Backup Itunes to External HD, Problems with duplicate filenames

    Seems, basic enough.  I have my iTunes library and media files located on my home media server, and I would like to make a backup on an external hard drive for safe keeping.  However, I have a problem just copying the iTunes media folder over to the hard drive.
    First off, yes I let iTunes organize and consolidate my media, so it is all contained in the normal iTunes media folder.  The problem comes with media which has the same name.  For example, movies are all orgnaized by itunes into subfolders for each movie.  So I have say "The Karate Kid" (orginial) and "The Karate Kid" (newer version).  I
    So when iTunes organized the files it allows two folders with the same name "The Karate kid" in the iTunes Media, Movies folder.  Thus, when I go to merely copy the library over to the new drive I get hung up because of the  error, there already is a folder/file of that name existing once the first is copied.. 
    This isn't a big deal for movies since there are not as many to deal with and I can work around it, but when goign through thousands of songs, that may have same names, album and live versions, or that fact that itunes somehow created two folder for the same album if the typing case was different between one or the other (i.e. Back In Black,  and back in black)
    I can't find any report of people experiencing this same problem, is there any simple backup programs for Macs that would allow me just to export, or back up this libray to the external drive and get around the naming conventions of the folders that prevents me from simply copying the whole folder over to the drive?

    Mirrock wrote:
    Seems, basic enough.  I have my iTunes library and media files located on my home media server, and I would like to make a backup on an external hard drive for safe keeping.  However, I have a problem just copying the iTunes media folder over to the hard drive
    You need to copy the entire /Music/iTunes/ folder, not just the iTunes media folder

  • Problem with duplicate target database from active database

    Hi all,
    i try duplicate database from active database
    - I have von target and auxiliary the same SYS Password
    - tnsping wogks in both directions fine
    - sqlplus to target and auxilairy works from both server
    - Metalink Solution 1056174.1 not help
    but in the Rman log become this error:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at
    RMAN-05501: aborting duplication of target database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on a1 channel at
    ORA-17629: Cannot connect to the remote database server
    ORA-17629: Cannot connect to the remote database server
    i do do :
    rman target sys/PASSWD@TARGET auxiliary sys/PASSWD
    run
    ALLOCATE CHANNEL a1 DEVICE TYPE DISK;
    ALLOCATE AUXILIARY CHANNEL d1 DEVICE TYPE DISK;
    duplicate target database to XXXXX
    from active database
    DB_FILE_NAME_CONVERT ('/XXXX/XXXX/XXXXXX','/XXXXX/XXXXXX/XXXXX/')
    spfile
    parameter_value_convert '/XXXX/','/XXXXX/'
    set log_file_name_convert '/XXXXX/','/XXXXX/'
    any Idea ?
    Best Regards

    Don't know if this will help, but I use the connect string below to connect, then run the command below. This is, of course, after the rman backup from the prod system has been copied to the flash_recovery_area of the aux database. All file paths are the same between the two systems. Works like a charm most nights. The local tnsnames file on the rman catalog server has working entries for @SDPROD, @rman and @SDSTB.
    [Connect String]
    rman TARGET SYS/xxxxx@SDPROD CATALOG rman/xxxxx@rman AUXILIARY SYS/xxxxx@SDSTB cmdfile D:\cladmin\Scripts\DuplicateSD.rcv LOG=D:\cladmin\Logs\DuplicateSD.f
    [Command file block]
    RUN{
    ALLOCATE AUXILIARY CHANNEL aux1 DEVICE TYPE DISK;
    DUPLICATE TARGET DATABASE TO DATABASENAME
    NOFILENAMECHECK;
    Edited by: user522620 on Jun 27, 2011 6:36 PM

  • Problem with duplicate records..

    Hi..I am trying to insert the records to the database based on a button click from a Swing frame..I have succeeded in that...But when i try to insert a duplicate record it is showing com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '1' for key 1
    My code is
    import java.awt.event.*;
    import java.sql.*;
    public class BarcodeReader extends javax.swing.JFrame implements ActionListener {
        static Connection con;
        static String url = "jdbc:mysql://localhost:3306/";
        static String db = "mynewdatabase";
        static String driver = "com.mysql.jdbc.Driver";
        static String user = "uname";
        static String pass = "pwd";
        static Statement stmt;
        /** Creates new form BarcodeReader */
        public BarcodeReader() {
            initComponents();
            nb.addActionListener(this);
        public static Connection getConnection(){
            try{
                Class.forName(driver);
                con = DriverManager.getConnection(url + db, user, pass);
                stmt=con.createStatement();
                System.out.println("jdbc driver for mysql : " + driver);
                System.out.println("Connection url : " + url + db);
                }catch (Exception ex)
                   ex.printStackTrace();
            return con;
    private void ActionPerformed(java.awt.event.ActionEvent evt) {                                
            Connection con=getConnection();
            String t=newtxt.getText();
            int t1=Integer.parseInt(t);
            try{
                PreparedStatement p=con.prepareStatement("INSERT INTO machine(barcode) values(?)");
                ResultSet rs=stmt.executeQuery("SELECT * FROM MACHINE");
                while(rs.next()){
                    String s=rs.getString("barcode");
                   if(s.equals(t))
                      System.out.println("this id exists....");
                        rs.last();
                   p.setInt(1, t1);
                   p.executeUpdate();
                   new NewJFrame().setVisible(true);
            }catch(Exception e){
                e.printStackTrace();
    public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new BarcodeReader().setVisible(true);
        }When i insert a new record is ok, but when i am inserting the same record again it shows the following exception..
    jdbc driver for mysql : com.mysql.jdbc.Driver
    Connection url : jdbc:mysql://localhost:3306/mynewdatabase
    this id exists....
    com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '1' for key 1
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
            at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
            at com.mysql.jdbc.Util.getInstance(Util.java:381)
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1015)
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3536)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3468)
            at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1957)
            at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2107)
            at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2648)
            at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2086)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2371)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2289)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2274)
            at project.BarcodeReader.ActionPerformed(BarcodeReader.java:276)
            at project.BarcodeReader.access$000(BarcodeReader.java:17)
            at project.BarcodeReader$1.actionPerformed(BarcodeReader.java:138)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
            at java.awt.Component.processMouseEvent(Component.java:6263)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
            at java.awt.Component.processEvent(Component.java:6028)
            at java.awt.Container.processEvent(Container.java:2041)
            at java.awt.Component.dispatchEventImpl(Component.java:4630)
            at java.awt.Container.dispatchEventImpl(Container.java:2099)
            at java.awt.Component.dispatchEvent(Component.java:4460)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
            at java.awt.Container.dispatchEventImpl(Container.java:2085)
            at java.awt.Window.dispatchEventImpl(Window.java:2475)
            at java.awt.Component.dispatchEvent(Component.java:4460)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)Thanks.

    shelton141 wrote:
    Hi..I am trying to insert the records to the database based on a button click from a Swing frame..I have succeeded in that...But when i try to insert a duplicate record it is showing com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '1' for key 1Of course it is. That is what it is suppossed to do.
    Try inserting the same record twice, manually, and see what happens.
    There is however, if I remember right, an "IGNORE" "clause/option/whatever" that you can use on INSERT statements in MySQL. Check the manual, if that is what you really want.

  • Java.util.set: problem with duplicate keys

    Hello, everybody,
    i have implemented a custom class C with its own equals()-method. I have two instances I1 and I2 of C with
    I1.equals(I2) = true
    if I add I1 and I2 to a set
    Set S = new HashSet();
    S.add(I1);
    S.add(I2);
    there are two elements I1 and I2 in the set. How is this possible?

    You must override the method hashCode() of your class C to be consistent with the comparison by equals() method.
    http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#hashCode()

Maybe you are looking for

  • How to reinstall only the missing loops?

    When installing Logic, I accidentally interrupted(cancelled) one of the installers. (Audio Content 2). When I tried to reinstall logic, after inserting disc1, it asked me for Audio content 3. As a result, I do not know whether the loops installed pro

  • System identifica​tion for open loop unstable plant?

    Hello, I have been trying to use system identification on labview. My problem is that my plant is open loop unstable and none of the tutorials or examples I have found seem to cover this so I cannot get it to work. Does anyone have any suggestions as

  • Anyone got 11.1.2.0.0 HFM working on 2008 SR2?

    Hi, I have a distributed install with - all the web apps on a Win2008SR2 VM with 4GB of RAM - SQLServer2005 and Essbase 32 bit on a Windows2003EE VM with 3GB of RAM - R&A Framework, FM Service and FDM Server on a Windows 2008SR2 installation with 2GB

  • Ethernet network printing- Can't find printers where's bonjour??

    Hi i am attempting to set up two printers to connect to my network of apple computers (an imac a mini server, and a macbook air) through ethernet but none of the computers can find them. I know that you used to be able to find them using bonjour but

  • ClassCastException with t:datatable

    Hi I am using apache myfaces and trying to use its datatable with preserveDataModel=true attribute. I get the following exception when I click on a command link inside the datatable - [Servlet Error]-[Faces Servlet]: java.lang.ClassCastException: jav