During table import, program get hang! please help

parameter file is like:
FILE=C:\xxxxx.DMP
LOG=C:\IMPORT.LOG
FROMUSER=ABC
TABLES=(xxxxx)
GRANTS=n
INDEXES=n
ROWS=y
CONSTRAINTS=n
no import is done. no error, no termination message. any idea? thanks

What may appear to be a hang, could just be import building indexes, constraints or other db objects. To check, use the following parameters:
rows=y
indexes=n
constraints=n
if this is successful, then you can immediatly do another import with
rows=n
indexes=y
constraints=y
Please note, that both imports will import any procedures, functions or packages. (IMP really needs a code=n parameter).

Similar Messages

  • Database get hang  please help to resolved the issue.

    Hi,
    we are getting below error at that time db not allowed user to connect database.please help to resolved the issue.
    db version is 10.2.0.3
    Errors in file /oracle/oradata/bdump/pmspr_j002_1593486.trc:
    ORA-12012: error on auto execute of job 42597
    ORA-27468: "EXFSYS.RLM$SCHDNEGACTION" is locked by another process
    Tue Jan 3 10:21:55 2012
    Errors in file /oracle/oradata/bdump/pmspr_j003_1347686.trc:
    ORA-12012: error on auto execute of job 42596
    ORA-27468: "EXFSYS.RLM$EVTCLEANUP" is locked by another process
    Tue Jan 3 10:21:55 2012
    Errors in file /oracle/oradata/bdump/pmspr_j004_1995004.trc:
    ORA-12012: error on auto execute of job 42596
    ORA-27468: "EXFSYS.RLM$EVTCLEANUP" is locked by another process
    Tue Jan 3 10:21:55 2012
    Process OS id : 2064550 alive after kill
    Errors in file /oracle/oradata/udump/pmspr_ora_1572972.trc
    Tue Jan 3 10:21:55 2012
    Errors in file /oracle/oradata/bdump/pmspr_j005_1617988.trc:
    ORA-12012: error on auto execute of job 42597
    ORA-27468: "EXFSYS.RLM$SCHDNEGACTION" is locked by another process
    Tue Jan 3 10:21:55 2012
    Errors in file /oracle/oradata/bdump/pmspr_j007_1523820.trc:
    ORA-12012: error on auto execute of job 42596
    ORA-27468: "EXFSYS.RLM$EVTCLEANUP" is locked by another process
    Tue Jan 3 10:21:55 2012
    Errors in file /oracle/oradata/bdump/pmspr_j009_1933354.trc:
    ORA-12012: error on auto execute of job 42596
    ORA-27468: "EXFSYS.RLM$EVTCLEANUP" is locked by another process
    Tue Jan 3 10:21:55 2012
    Errors in file /oracle/oradata/bdump/pmspr_j006_1536044.trc:
    ORA-12012: error on auto execute of job 42597
    ORA-27468: "EXFSYS.RLM$SCHDNEGACTION" is locked by another process
    Thanks

    I think the following Oracle two note looks interesting:
    Note: 330725.1 Scheduler Job has Been Locked For Days Ora-27468
    Note: 731678.1 Scheduled jobs do not run as expected after 10.2 upgrades
    HTH -- Mark D Powell --

  • Not getting Result please Help

    Hi All
    query_string VARCHAR2(2000);
    query_string are EMPNO,ENAME
    for rec1 in (SELECT query_string FROM p_table_name ) loop
    utl_file.put_line(v_file, rec1.result1);
    END LOOP;
    not getting Result please Help
    Regards

    You may look at this:
    michaels>  DECLARE
       cur            sys_refcursor;
       query_string   VARCHAR2 (2000) := '';
       p_table_name   VARCHAR2 (30)   := UPPER ('emp');
       p_stmt         LONG;
    BEGIN
       FOR c IN (SELECT ROWNUM rn, column_name, COUNT (*) OVER () cnt
                   FROM user_tab_cols
                  WHERE table_name = p_table_name AND hidden_column = 'NO')
       LOOP
          query_string :=
             query_string || c.column_name
             || CASE
                WHEN c.rn != c.cnt
                   THEN ' || ''|'' || '
             END;
       END LOOP;
       p_stmt := 'select ' || query_string || ' FROM ' || p_table_name;
    -- DBMS_OUTPUT.put_line (p_stmt);
       OPEN cur FOR p_stmt;
       FOR rec1 IN (SELECT EXTRACTVALUE (t.COLUMN_VALUE, '/ROW//text()') result1
                      FROM TABLE (XMLSEQUENCE (cur)) t)
       LOOP
          /*  replace with utl_file in case ... */
          DBMS_OUTPUT.put_line (rec1.result1);
       END LOOP;
       CLOSE cur;
    END;
    7369|SMITH|CLERK|7902|17-DEC-80|800||20
    7499|ALLEN|SALESMAN|7698|20-FEB-81|1600|300|30
    7521|WARD|SALESMAN|7698|22-FEB-81|1250|500|30
    7566|JONES|MANAGER|7839|02-APR-81|2975||20
    7654|MARTIN|SALESMAN|7698|28-SEP-81|1250|1400|30
    7698|BLAKE|MANAGER|7839|01-MAY-81|2850||30
    7782|CLARK|MANAGER|7839|09-JUN-81|2450||10
    7788|SCOTT|ANALYST|7566|19-APR-87|3000||20
    7839|KING|PRESIDENT||17-NOV-81|5000||10
    7844|TURNER|SALESMAN|7698|08-SEP-81|1500|0|30
    7876|ADAMS|CLERK|7788|23-MAY-87|1100||20
    7900|JAMES|CLERK|7698|03-DEC-81|950||30
    7902|FORD|ANALYST|7566|03-DEC-81|3000||20
    7934|MILLER|CLERK|7782|23-JAN-82|1300||10
    PL/SQL procedure successfully completed.

  • Photoshop Elements 8. "Could not use Clone Stamp Tool because of a program error."  Please help.

    Photoshop Elements 8.  "Could not use Clone Stamp Tool because of a program error."  Please help.

    Try this:
    Open your picture file
    Access the clone stamp tool
    Hold down the ALT key on the keyboard and left click on the area from which you wish to clone, then release the ALT key, and click to place the pixels at the destination
    TIPS:
    It is a good idea to open a blank layer at the top in the layers palette, and do the cloning on this layer. Be sure that "sample all layers" at the top is checked. You can change the layer opacity if necessary
    Use the bracket keys next to the letter p on the keyboard to increase & decrease the size of the cursor
    Let us know  how you make out with the error message now.

  • Hi, i just updated my iphone 3gs to iso5 now it will not activate ive ''try again'' alot but not getting anywere please help!!

    hi, i just updated my iphone 3gs to iso5 now it will not activate ive pressed ''try again'' alot but not getting anywere please help! i need my phone for work not had it too long and really annoyed lol thanks,

    Sorry, but Apple does not provide a downgrade path for iOS.
    Because downgrading is unsupported by Apple we cannot discuss it on these forums, but you can use Google to find information on how to install an older version of iOS on any device.
    Note that you will void the warranty and loose official support by Apple.
    Feel free to let Apple know at http://www.apple.com/feedback
    Anyway, give a try resetting all your settings:
    Settings > General > Reset > Reset All Settings

  • Wat is wrong in this decode function, it doesn get executed,please help me

    wat is wrong in this decode function, it doesn get executed,please help me
    decode(DVI.COMPANY||'.')||
                                            DECODE(DVI.COST_CENTRE||'.')||
                                            DECODE(DVI.ACCOUNT||'.')||
                                            DECODE(DVI.LOCATION||'.')||
                                            DECODE(DVI.PRODUCT||'.')||
                                            DECODE(DVI.FUTURE)company_id,

    Hi,
    I could not understand what you are trying to do with decode here.
    The standard way of using the decode is like :
    SQL>SELECT DECODE (1 , 1 ,'TRUE','FALSE') FROM DUAL;
    DECO
    TRUE
    1 row selected.
    1* SELECT DECODE (1 , 0 ,'TRUE','FALSE') FROM DUAL
    SQL>/
    DECOD
    FALSE
    1 row selected.
    Please explain what you want to do with DECODE ?
    Regards

  • Hello Since yesterday evening. My itunse program does not work my mobile. Note  I update the program to ios7 Please help me Thank you

    hi
    Hello
    Since yesterday evening. My itunse program does not work my mobile.
    Note
    I update the program to ios7
    Please help me
    Thank you

    I found this strange glitch that wouldn't let me open my iTunes Store. I tried all the reset options and still iTunes would close a second after it opened. I fixed this. Instead of using the iTunes Store icon on your home page to open it. Go into music and click on store. It will say "Cannot Connect To Store". Just tap ok. Then tap on "featured" on the bottom of the screen. That will take you to the store front page. After that is loaded. Back out and the icon for iTunes Store on the home page should work just fine. Hope that helps.

  • Sir when i am using print my program get hanged

    when i oppen tally or any other program my program gets hanged and i cant use my print options

    Answer the call using the bluetooth device instead of swiping to answer on the phone. If you swipe to answer on the phone, it assumes you intend to use the phone instead of the bluetooth headset.

  • I recently downloaded Adobe Premiere Element after testing the trial version...now I am having difficulty registering the program...please help...

    I recently downloaded Adobe Premiere Element after testing the trial version...now I am having difficulty registering the program...please help...

    Premiere Elements is not part of the Cloud, I will move this to that forum
    Premiere Elements Forum http://forums.adobe.com/community/premiere_elements
    Select a topic, then click I STILL NEED HELP to start Premiere Elements Online chat
    -http://helpx.adobe.com/contact.html?step=PRE

  • Hi, I don't have sound on my MacBook Air and the Mail program never respond, please help me out!

    Hi, I don't have sound on my MacBook Air and the Mail program never respond, please help me out!

    Hi Mr. Shahid,
    Thanks for visiting Apple Support Communities.
    Start with the troubleshooting tips in this article if you don't hear sound from your MacBook Air:
    OS X Mavericks: If you can’t hear sound from your speakers
    http://support.apple.com/kb/PH13841
    Best,
    Jeremy

  • When i want delete music in my ipad i make sync in itunes without music but the music not remove from ipad i get problim please help me my email

    when i want delete music in my ipad i make sync in itunes without music but the music not remove from ipad i get problim please help me my email

    hi i think you can used itools is very esye for add and delete eny thing that is link http://www.itools.cn/multi_lang_pc_download.htm

  • Delete 70,000,000 records from a Table .... Please help

    I am new to Oracle database. please help on
    Oracle9i Enterprise Edition Release 9.2.0.1.0
    We have one master table with 15,243,350 records and a child table 71,447,235 records in our Oracle database and the slow performance has been hitted our daily operation so bad recently. The two tables has quite intensive update during the day (around 60000 records a day)
    I exported the whole database and import the database to a virtual machine for test.
    I use the below statement to delete the record and it ran for around 20 hours (as this is on the test enviorment, there is no update activity during the delete process), it still takes quite long to delete.
    delete from child_table where child_table.id in (select id from master_table where child_table.id=master_table.id and date <= to_date('01/08/2009 00:00:00','dd/mm/yyyy hh24:MILSS'))
    Is that ok when I issue the same comment to delete the records in LIVE environment or please adivse other method(s) to do it....
    BTW, do I need to rebuild the indices after deletion or Oracle will do it for me automatically ?

    Hi,
    I can think 2 ways to do it.
    If you are deleting more than 80% (or I would say, a big chunk) of the data from the table. Lets say the original table is T1 (71 million rows). Create a table T2 whith the records you want to 'keep'. Rename T1 to T_old and rename T2 to T1. You can drop/truncate T_old later, when you don't need it.
    All you have to manage here, are the foreign key constraints. You need to drop and re-create the foreign keys.
    Another way. If you will be doing this deletion operation after every few days, I would recommend you partition table T1 by range. With one partition for each day. For deleting data, you can simply truncate partitions. That will be really quick and won't generate any redo/undo (or generate very little).
    Regards

  • Premiere cc only importing audio .mov file, please help

    My friend sent me an .mov file, he has a mac I have a PC, when I import it to premiere cc, there is only sound. I can see the video on VLC player. I am not very technical. Please help!!! Any suggestions? thank you

    MOV is a wrapper, what is inside YOUR wrapper - Exactly what is INSIDE the video you are editing?
    Codec & Format information, with 2 links inside for you to read http://forums.adobe.com/thread/1270588
    Report back with the codec details of your file, use the programs below... A screen shot works well to SHOW people what you are doing
    http://forums.adobe.com/thread/592070?tstart=30 for screen shot instructions
    Free programs to get file information for PC/Mac http://mediaarea.net/en/MediaInfo/Download

  • Inventory Program Part 6 - Please Help

    My last assignment is due in about two hours and I am completely lost. I have been trying to figure out how to add functionality to my JButtons all week.
    I have added the following buttons but they do not work: save, delete, modify, save, search, add.
    I also need to add a company logo. I hope someone can please help me understand.
    Here is my current code:
    public class DVD {
         protected int itemNum;     // item number
         protected String name;     // item name
         protected int unit;          // number of units of the item
         protected double price;     // price of each unit
         public DVD() {}          // Default constructor
         public DVD(int itemNum, String name, int unit, double price) {
              // Constructor with input
              this.itemNum = itemNum;
              this.name = name;
              this.unit = unit;
              this.price = price;
         // Getter and Setter methods
         public void setItemNum(int itemNum) {
              this.itemNum = itemNum;
         public int getItemNum() {
              return itemNum;
         public void setName(String name) {
              this.name = name;
         public String getName() {
              return name;
         public void setUnit(int unit) {
              this.unit = unit;
         public int getUnit() {
              return unit;
         public void setPrice(double price) {
              this.price = price;
         public double getPrice() {
              return price;
         // Get the value of the inventory
         public double calculateInventory() {
              return unit * price;
         // Get the value of all inventory
         public static double calculateEntireInventory(DVD [] prod) {
              double sum = 0;
              for (int i = 0; i < prod.length; i++)
                   sum += prod.getUnit() * prod[i].getPrice();
              return sum;
         // Sort inventory by name
         public static Movie [] sortInventory(Movie [] prod) {
         boolean doMore = true;
    while (doMore) {
    doMore = false; // last pass over array
    for (int i=0; i<prod.length-1; i++) {
    if (prod[i].getName().compareTo(prod[i+1].getName()) > 0) {
    Movie temp = prod[i]; prod[i] = prod[i+1]; prod[i+1] = temp;
    doMore = true;
         return prod;
    public class Movie extends DVD{
         //instant variable
         protected String dvdTitle;
    public Movie(int itemNum, String name, int unit, double price, String dvdTitle) {
         super(itemNum, name, unit, price);
         this.dvdTitle = dvdTitle;
    public String getdvdTitle() {
              return dvdTitle;
         // Get the value of the inventory
         public double calculateInventory(DVD[] dvd) {
              double sum = 0;
              for (int i = 0; i < dvd.length; i++)
                   sum += 0.05* dvd[i].getUnit() * dvd[i].getPrice();
              return sum;
    public double calculateRestockFee(){
         return price*0.05;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.event.*;
    import java.text.DecimalFormat;
    import javax.swing.Icon;
    import javax.swing.ImageIcon;
    public class Inventory extends JApplet {
         private JLabel itemNumLabel = new JLabel("Item Number: ");
         private JTextField itemNum = new JTextField();
         private JLabel itemNameLabel = new JLabel("Category: ");
         private JTextField itemName = new JTextField();
         private JLabel unitLabel = new JLabel("Number of Units: ");
         private JTextField unit = new JTextField();
         private JLabel priceLabel = new JLabel("Unit Price: ");
         private JTextField price = new JTextField();
         private JLabel dvdTitleLabel = new JLabel("DVD Title: ");
         private JTextField dvdTitle = new JTextField();
         private JLabel rfLabel = new JLabel("Restocking Fee");
         private JTextField rfValue = new JTextField();
         private JLabel inventoryLabel = new JLabel("Inventory value: ");
         private JTextField inventoryValue = new JTextField();
         private JLabel totalValue = new JLabel();
         private JButton previous = new JButton("Previous");
         private JButton next = new JButton("Next");
         private JButton last = new JButton("Last");
         private JButton first = new JButton("First");
         private JButton add = new JButton("Add");
         private JButton delete = new JButton("Delete");
         private JButton modify = new JButton("Modify");
         private JButton save = new JButton("Save");
         private JButton search = new JButton("Search");
         private JLabel totalInventory = new JLabel();
         private Movie[] DVDArray = null;
         private int current = 0;
         private int total = 0;
         class ButtonListener implements ActionListener {
              public void actionPerformed(ActionEvent e) {
                   JButton button = (JButton) e.getSource();
                   if (button == previous) current = (current + total - 1) % total;
                   if (button == next) current = (current + 1) % total;
                   if (button == last) current = (current = 5) % total;
                   if (button == first) current = (current =0) % total;
                   if (button == modify) itemName.setVisible(true);
         private void display() {
              Movie movie = DVDArray[current];
              DecimalFormat df=new DecimalFormat("$#.00");
              itemNum.setText(movie.getItemNum()+""); itemNum.setEditable(false);
              itemName.setText(movie.getName()); itemName.setEditable(false);
              unit.setText(movie.getUnit()+""); unit.setEditable(false);
              price.setText(df.format(movie.getPrice())); price.setEditable(false);
              dvdTitle.setText(movie.getdvdTitle()); dvdTitle.setEditable(false);
              rfValue.setText(df.format(movie.calculateRestockFee())); rfValue.setEditable(false);
              inventoryValue.setText(df.format(movie.calculateInventory())); inventoryValue.setEditable(false);
              totalValue.setText("The total inventory value is " + df.format(DVD.calculateEntireInventory(DVDArray)));
         final JLabel label; // logo
    //JLabel constructor for logo
    Icon logo = new ImageIcon("C:/logo.jpg"); // load logo
    label = new JLabel(logo); // create logo label
    label.setToolTipText("Company Logo"); // create tooltip
         public void init() {
              DVDArray = new Movie [6];
              // Add DVD items into the list
              DVDArray[0] = new Movie (15, "Action", 65,12.00,"Frequency");
              DVDArray[1]= new Movie(33, "Comedy", 12, 21.00, "Norbit");
              DVDArray[2] = new Movie(13, "Disney",33,14.00,"Flubber");
              DVDArray[3] = new Movie(22, "Drama", 48, 18.00,"Citizens Kane");
              DVDArray[4] = new Movie(47, "Horror", 42, 19.00,"Pycho");
              DVDArray[5] = new Movie(26, "Sci-Fi", 27, 26.00,"The Abyss");
    total = 6;
    current = 0;
    ButtonListener buttonListener = new ButtonListener();
    previous.addActionListener(buttonListener);
    next.addActionListener(buttonListener);
    last.addActionListener(buttonListener);
    first.addActionListener(buttonListener);
    add.addActionListener(buttonListener);
    delete.addActionListener(buttonListener);
    modify.addActionListener(buttonListener);
    save.addActionListener(buttonListener);
    search.addActionListener(buttonListener);
    JPanel up = new JPanel();
    up.setLayout(new GridLayout(7,2));
    up.add(itemNumLabel); up.add(itemNum);
    up.add(itemNameLabel); up.add(itemName);
    up.add(dvdTitleLabel); up.add(dvdTitle);
    up.add(unitLabel); up.add(unit);
    up.add(priceLabel); up.add(price);
    up.add(rfLabel); up.add(rfValue);
    up.add(inventoryLabel); up.add(inventoryValue);
    display();
    JPanel middle = new JPanel();
    middle.setLayout(new FlowLayout());
    middle.add(previous); middle.add(next);middle.add(last);middle.add(first);
    middle.add(add);middle.add(delete);middle.add(modify);middle.add(search);
    middle.add(save);
    JPanel down = new JPanel();
    down.setLayout(new BorderLayout());
    down.add(BorderLayout.CENTER, totalValue);
    JPanel all = new JPanel();
    all.setLayout(new BoxLayout(all, BoxLayout.Y_AXIS));
    all.add(up);
    all.add(down);
    all.add(middle);
    Container cp = getContentPane();
    cp.add(BorderLayout.NORTH, all);
    public static void main(String args []) {
    JApplet applet = new Inventory();
    JFrame frame = new JFrame("DVD Inventory");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.setResizable(false);
    Container cp=frame.getContentPane();
    cp.add(applet);
    frame.setSize(600,330);
    applet.init();
    frame.setVisible(true);
    // Icon logo = new ImageIcon(getResource( "logo.gif" ) );
    } //end main
    } // end class Inventory                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Your code has some good spots and some bad spots or problems, and I'll try to hit on some of the more obvious problems (the ones that I can see immediately) so that you can try to fix it.
    1) Your DVD class overall looks pretty good until we get to the end. The method public static double calculateEntireInventory(DVD[] prod) shouldn't be part of the DVD class since it has nothing to do with an individual DVD (which is what this class is all about) and everything to do with a collection of DVDs. You should move this to another class, a non-GUI Inventory class.
    2) The method public static Movie[] sortInventory(Movie[] prod) also shouldn't be in your DVD class for the same reason as noted above, and also because it deals with Movie objects which are objects that descend from DVD. The parent really shouldn't have to depend on the child class to function, and leaving this in would likely break your code at some time or another. Again, put this in a non-GUI Inventory class. You probably should use a DVD parameter, not a Movie parameter. Another option is to have your DVD and Movie classes implement the Comparable interface, since if you do this, sorting any collection of these is a breeze by using Arrays.sort(...) or Collections.sort(...).
    3) Again (starting to sound like a broken record) the method public double calculateInventory(DVD[] dvd) shouldn't be part of the Movie class for the very same reasons noted above.
    4) You need to create a non-GUI Inventory class, shoot, you can call it NonGuiInventory if you'd like (though I'd call it Inventory and call the GUI class GuiInventory) that has all the important functionality that the GUI will display. This class holds a collection of DVDs (or Movies), has an int index that points to the current Movie of interest, has a next() method that advances this index and returns the next Movie in the collection (or the first if you're at the last), has a previous() method that does the opposite, has a first() method that sets the index to zero and returns the first Movie in the collection, a last() method that advances the index to the size of the collection - 1 and returns this Movie, and has a sort method that sorts the collection. You can even have add(Movie) and a remove(Movie) methods here. By separating this functionality from the GUI, you are able to simplify your task by dividing and conquering.
    5) Finally you can display all this with your InventoryGUI class that uses the above class as its model, displaying the current Movie that is pointed to by the Inventory's index, that when the next() method is called gets the Movie returned by it and displays it.
    Note that if you go this route, you'll need to do some major re-writes of the GUI class, but it will improve your program greatly.
    HTH and good luck

  • Error while loading program...Please help.. :)

    Hello All,
    Have written a HTMLB program (DBConnect.java) which takes data from database and retrieves it in TableView.
    But it does not work.
    Get this error:
    Caused by: java.lang.NoClassDefFoundError: com/sapportals/portal/htmlb/page/PageProcessorComponent
    Loader Info -
    ClassLoader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@1e72d6]
    Parent loader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@9cf322]
    References:
       not registered!
    No resources !
    The error occurred while trying to load "com.sap.sample.database.DBConnect".
         at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:389)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:219)
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:228)
         ... 30 more
    I have also included the PageProcessorComponent class file in my project properties.
    Please help....Whatz wrong.
    Awaiting Reply.
    Thanks and Warm Regards,
    Ritu R Hunjan

    Hi Ritu,
    Change the PrivateSharingReference to SharingReference in the xml
    <application-config>
        <property name="SharingReference" value="com.sap.portal.htmlb"/>
      </application-config>
    ==========
    Change your xml to
    <?xml version="1.0" encoding="utf-8"?>
    <application>
    <application-config>
    <property name="SharingReference" value="com.sap.portal.htmlb"/>
    </application-config>
    <components>
    <component name="DBConnect">
    <component-config>
    <property name="ClassName" value="com.sap.sample.database.DBConnect"/>
    </component-config>
    <component-profile>
    <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld" />
    </component-profile>
    </component>
    </components>
    <services/>
    </application>

Maybe you are looking for