Urgent Help in Migration of 3.1I system

Hello,
I am in Data Import step running with R3SETUP -f DBMIG.R3S. My R3load process was ending with error after 80% of Installation and I have by mistake deleated all SAP*.logs and I am in big trouble now I am starting my R3SETUP again it is giving me error for all "ORA-00955: name is already used by an existing object" for all the STR files.
It is not possible for me to drop each and every table manually by drop statement.
If any other options available in this sitution please let me knwo ASAP.
Thanks in Advance
Bhushan

Okay, I see. The supported migration path from Reports 2.5 to 9i, is to first migrate to 6i & then to 9i/10g.
Please check this Metalink Note 90026.1 "Migrating Reports V2.5 --> V3.0 --> V6.0"
You might also be able to use rwconverter (in 6i I think the binary is called rwconv60) instead if Reports Builder:
rwconverter userid=scott/tiger@oracle batch=yes
source=<reportname> stype=rdffile DTYPE=REPFILE OVERWRITE=yes logfile=log.txt overwrite=yes
You can write a batch-file to convert all of your 350 Reports.
Regards,
Martin Malmstrom

Similar Messages

  • Urgent Help--Mass Migration of Reports to 10g

    Hi All,
    We have about 350 reports that we want to migrate to 10g. Is there a way to migrate them all using a batch program or some tool instead of opening them one by one in the reports developer?
    PLEASE HELP URGENT.
    Thank a lot in advance.

    Okay, I see. The supported migration path from Reports 2.5 to 9i, is to first migrate to 6i & then to 9i/10g.
    Please check this Metalink Note 90026.1 "Migrating Reports V2.5 --> V3.0 --> V6.0"
    You might also be able to use rwconverter (in 6i I think the binary is called rwconv60) instead if Reports Builder:
    rwconverter userid=scott/tiger@oracle batch=yes
    source=<reportname> stype=rdffile DTYPE=REPFILE OVERWRITE=yes logfile=log.txt overwrite=yes
    You can write a batch-file to convert all of your 350 Reports.
    Regards,
    Martin Malmstrom

  • Urgent Help Needed in Developing Pagewise Navigation System

    I have 500 records in the sql server 2000 then i query and retrieve them in a resultsets. and then i want to display 10 records per page having the facility to navigate to the Previous and Next Record also going to first and the last record.
    like we are using when we navigate from this forum
    FIRST PREVIOUS 1 2 3 4 5 6 7 8 9 10 NEXT LAST
    secondly if their is a possiblity their should be a search page to to specific page like this
    Go To this Page (Textfield)
    third thing when i am on first record the it shouldnt show PREVIOUS button and when it is in the last it should not show NEXT.
    this thing should be done by Using JSP , Servelets and Beans...
    and no Tag liabraries. i need pure and simple coding.

    Hi,
    Need to use a scrollable resultset and depending on the need to have a stateful connection or a stateless connection you may need to query the table for every request(for stateless connection) and use the same result set for(stateful connection). and depending on the no of records in a page and the page no do some simple arithmetic and move the resultset. Hope this helps.
    rajesh

  • Urgent help needed: RFC messages from R3 system are not arriving to the XI

    Hello,
    We have a RFC to RFC scenario in which when we execute a function module it sends a message to XI through a sender RFC communication channel but the message is not coming to XI.
    I checked the TCP IP connection between R3 and XI the test connection is working fine.
    This scenario was working fine so far but since yesterday we are facing this problem.

    Hi Rajeev,
    in r/3 in transaction sm58 see the entries and see what error is happening to your RFC entries.
    in XI in RWB in comm channel monitoring, just check your sender RFC adapter......i think your sender rfc comm channel is in error.........rectify this comm chnnel error in ID...........save and activate everything..............then from r/3 reexucute your SM58 entry for RFC.
    Regards,
    Rajeev Gupta

  • Urgent help needed! How do I use Time Machine to restore my System disc?

    I need urgent help. First I discovered that my Library folder was empty. When I tried to restore the library to an earlier version via Timemachine it would not let me because it said the system was in use. Trying to start-up from another system on another internal drive and using various disc repairs resulted in the whole volume to disappear.
    Question is how do I get the earlier system from my Timemachine backup drive? I have another Mac where I can attach the TIme machine HD to. Can I restore it from there and then copy the files over to my corrupted disc? All my programs are on there as well, which would take me days to re-install and then there are the other bits, emails, photos etc. Can anyone help?

    lightandmagic wrote:
    Thanks for your sympathy Pondini and the encouragement. You just reminded me that I will lose a whole working day restoring !!! Do you happen to know where the emails are kept on the system and the address book? I better nick those as well as my other life sustaining bits before its too late. I don't trust anything any more.
    I don't know what you mean by "nick those." Time Machine will put everything back the way it was at the time of the backup (unless you'd excluded things).
    Do you mean you want to restore things from the period after the backup you selected?
    For Address Book or Apple Mail, start the application, then +Enter Time Machine,+ navigate to your latest backup, and you'll have a prompt to restore. For Mail, you can restore an entire mailbox. When you exit from TM, you'll see a new folder in your Mail sidebar with the restored items, so you can sift through them and move, delete, or leave them as you wish.
    Other items, you'll have to locate and restore via the Finder > Time Machine.

  • Urgent Help! Errors in source system(RSM     340)

    Need urgent help. Issue in production.
    I added fields to the COPA datasource, by changing the operating concern. I recreated the datasource with the same name replicated into BW & ran delta again. The whole procedure worked fine in Dev & Quality but in production it gives me the below error. I thought its a delta issue so I deleted the data & try reload but still same issue. Below is the error. I checked the connection with R3. its an ok. All other loads work fine. Before deleting delta, it gives below error & when you rerun, it finishes with zero records. I also tried activating update, transfer & ods & cube in BW. I also asked functional guy to check operating concern & its active. kindly help
    Errors in source system     RSM     340
    Error message from the source system
    Diagnosis
    An error occurred in the source system.
    System Response
    Caller 09 contains an error message.

    Hi PK,
    caller 09 error mainly because of source(target system) and destination(bw system) not configured correctly.
    i think you get the error message as follows. file is in the client workstation as like.
    better you contact basis people. they will resolve this.
    hope this help you
    Regards
    Harikrishna N

  • What is system notice urgent (helps)

    I keep getting calls from ( system notice URGENT (HELP.S4
    PLEASE HELP.

    This is a phishing attempt.
    To avoid receiving any Calls like this, you can adjust your privacy to, Change Allow Callss from... "anyone" to "people on my Contact list only".
    http://community.skype.com/t5/Windows/Does-anyone-know-what-quot-sys-help-bn3-quot-is/m-p/967658#M71...
    You may also block and report the scammers.
    https://support.skype.com/en/faq/FA10488/how-do-i-block-or-report-a-contact
    Regards,
    Tamim
    Location - Dhaka | Bangladesh - Standard Time Zone: GMT/UTC + 06:00 hour
    If one of my replies has adequately addressed your issue, please click on the “Accept as Solution” button. If you found a post useful then please "Give Kudos" at the bottom of my post, so that this information can benefit others.

  • Urgent help required in migration

    Hello,
    I am stuck on 77% of r3load process my all 15/16 processes are finished successfully only one process has failed I have cut paste the log (SAPAPPL1.log) below of the same. Request your urgent help.
    DbSl Trace: Connecting via TNS_ADMIN=/oracle/F01/920_64/network/admin, tnsname=F01
    DbSl Trace: Got NLS_LANG=AMERICAN_AMERICA.US7ASCII from environment
    DbSl Trace: Now I'm connected to ORACLE
    DbSl Trace: Database instance F01 is running on e027pae0 with ORACLE version 9.2.0.7.0
    trying to restart import ###
    (RIM) INFO: table "BKPF" truncated
    restart finished ###
    #START: 20070530101004
    TAB: BKPF
    (RD) ERROR: missing last block number for table "BKPF" in directory file "/sapcd/EXPDIR/DATA/SAPAPPL1.TOC"
    #STOP: 20070530101004
    Thanks & Regards,
    Bhushan

    Did you split the files?
    It seems that export file for this table got corrupt.
    Unfortunately, you ahve to start again. I had a similar problem and had to do it again.

  • Updating to MAXDB 7.5.00.29- user logon failed error! Urgent Help

    Hi
    I am trying to update MaxDB 7.5.00 to MaxDB 7.5.00.29
    on WAS 6.40. When I run the update via SDBUPD, I get the error "cannot establish database instance". i have looked in the log files(MaxDBUpdate_install-16.07.2005-16.13.log)
    and the error is
    <b>user_logon failed
    ERR
    -24950,ERR_USRFAIL: user authorization failed</b>
    I am following "MaxDB update SAP note 735598" and under Windows section it states I should call the SDBUPD from the cmd prompt as follows:
    SDBUPD -d <database_name> -u <dbm_userid>,<password>
    so i run
    <b>SDBUPD -d J2E -u Administrator,portal</b>
    I assume <dbm_userid> is the default userid which is Admisitrator when installing WAS and MAXDB. I ahve not changed the default during the installation.
    I have tried <b>SAPJ2EDB</b> as dmb_userid as well as <b>J2EE_Admin</b>, they still give the same error.
    Any help on this?
    Need urgent help
    Much appreciated
    RD
    Message was edited by: RD

    Hi
    Thank you for your reply!!
    I used control,control as user,password. This worked 100%, but then it reached to a point where it gave this error, i get this from the log file:
    <b>STDERR: test pgm/sqltcp.dll failed: cannot extract pgm/sqltcp.dll: sharing violation during open of existing file</b>
    What causes this error, and how can i get pass this ?
    I assume some instance is started, but before I ran the SDBUPD, I stopped the J2E under sap system in SAPMMC.
    Below is the output it gave when i ran SDBUPD from cmd prompt, I have bolded where the error starts:
    D:\UpdatesPatches\MaxDB\maxdb-server-win-32bit-i386-7_5_00_29>SDBUPD -d J2E -u control,control
            MaxDB INSTANCE UPDATE
    starting installation Mo, Jul 18, 2005 at 08:57:11
    operating system: Windows I386 NT 5.2 Service Pack 1
    callers working directory: D:/UpdatesPatches/MaxDB/maxdb-server-win-32bit-i386-7
    500_29
    installer directory: D:/UpdatesPatches/MaxDB/maxdb-server-win-32bit-i386-7_5_00_
    29
    archive directory: D:/UpdatesPatches/MaxDB/maxdb-server-win-32bit-i386-7_5_00_29
    beginning to check sap db instances
    start new instance update
    finding instance type...
    finding starting release...
    finding migration strategy...
    looking for running instances...
    checking paramfile modifications...
    looking for domain user...
    checking data consistency for database migration...
    switch database state to OFFLINE
    checking SAP DB instance "J2E" successfully Mo, Jul 18, 2005 at 08:57:23
    starting preparing phase of package Base 7.5.00.29 32 bit
    update release check... ok
    update binary magic check... ok
    checking interferences to other packages... ok
    collecting data finished:
    independent data path: d:/sapdb/data
    independent program path: d:/sapdb/programs
    start extraction test run of "D:/UpdatesPatches/MaxDB/maxdb-server-win-32bit-i38
    6-7_5_00_29/SDBBAS.TGZ"
    <b>test pgm/sqltcp.dll failed: cannot extract pgm/sqltcp.dll: sharing violation dur
    ing open of existing file
    following programs are running:
    dbmsrv.exe [pid = 876]
    dbmsrv.exe [pid = 2496]
    dbmsrv.exe [pid = 1460]
    wahttp.exe [pid = 1420]
    dbmsrv.exe [pid = 1188]</b>

  • Urgent Help In ABAP

    Hi Gurus,
    Please i need an urgent help from you guys. There is a demand file which consits of (Siteno(plant), Item No ,Item Description, Delivery due date) will be placed in a unix system or windows system. I need to write an interface which shows a radiobutton for unix & windows and fileupload button & download button.When user clicks should be able to select only one radiobutton (unix or windows) to upload or download.When the user clicks the fileupload / download button,it should pick up the file or drop the file at particular unix or windows system.
    Please help me or give me sample code where in i can select the radiobutton and i can upload / download from unix or windows path. and during upload process (for both unix/windows) ,i should be able to persist into a custom table (ztable,if iam not wrong) and while downloading read the records from custome table and create an excel file to be placedon unix/windows based on the radio button.
    Thanks in advance, i need ur help please.
    Regards
    Bruno

    Hi Bruno,
    Please checkout this code sample
    ABAP code for uploading a TAB delimited file into an internal table.
    The code is base on uploading a simple txt file.
    <b>
    http://www.sapdevelopment.co.uk/file/file_uptabpc.htm</b>
    Thanks,
    Aby

  • URGENT HELP NEEDED (Bios Settings Failed)

    Hey Guys,
    I am having problems with my MSI Board, and don't know what to do.  I am very much a noob to BIOS/and modding so I apologize in advance.  You guys helped me a few months ago getting everything up and running and all was great for months.  Then last night I walked away from my PC for a while and when i came back a starting screen was on saying my OC Settings Failed to load, i tried other versions I saved and they all failed as well.  I ended up loading failsafe options, and got the "double start" where the computer turns on, then instantly shuts off, then turns on again.  This allowed me to load windows 7, which then started to "install updates".   So i think while i was away Windows automatically updated and rebooted... but would that effect my BIOS settings?
    As I said, I had my system running perfect for months no errors or crashes at all based on the Bios setting you guys help me with in this thread:  https://forum-en.msi.com/index.php?topic=147854.0
    However, last week I removed the heat sink and installed this cooler:  http://www.newegg.com/Product/Product.aspx?Item=N82E16835181010&nm_mc=OTC-Froogle&cm_mmc=OTC-Froogle-_-Water+Cooling-_-Corsair-_-35181010
    All I did was unhook everything from the MB, install the cooler, and then hook everything back up to the MB.  The only thing I may have done wrong is not connect the SATA devices (my HDs and ROMS) back in the spots they were in originally.  However after I installed the cooler, they system booted right up, and I haven’t had any problems with my system for the past two weeks.  I also should note I didnt make any BIOS changes either after I installed the cooler.  So I don’t know if I should have done something there.   Yet, like I said the system has been fine for the past two weeks, no crashes or errors... it wasn’t until last night after Windows auto updated that this has begun.
    The reason I need "URGENT HELP" is because of course I just a new job with deadlines due and so much video editing work I need to do.  I would be fine leaving it on failsafe settings, and forgetting the OC setting all together if I new that would make the system stable.  But considering its still doing the "double start" even in failsafe mode, im afraid if i start working my system will crash.
    So I am begging anybody for any advice or help they could provide.  I will provide my system info below.  If anybody can guide me as to what settings I should set in BIOS i would appreciate it.  Or perhaps there’s a BIOS update that I should use now that I have a cooler and not a heat sink?  If you need any more information from me, just ask.  I will be monitoring this thread all day, as I desperately need help.
    MY SYSTEM: 
    Intel 980X chip running Win 7 64bit (with MSI BigBang xPower MB installed in my old Dell XPS 730X)
    (1) SATA II WD 3gb Hard Drive @ 1.5TB
    (2) OCZ SATA II SSD drives @120GB: http://www.newegg.com/Product/Product.aspx?Item=N82E16820227543
    (2) Hitachi 6gb SATA III drives @2TB: http://www.newegg.com/Product/Product.aspx?Item=N82E16822145473
    3 DVD/CD/BLUERAY DRIVES:
    1 SATA DVD DRIVE
    1 SATA BlueRay Drive
    1 SATA CD Drive
    (So 8 SATA Devices Total)
    24GIGs of this ram: http://www.newegg.com/Product/Product.aspx?Item=N82E16820145321
    1 NVida Geforce GTX 470
    1 Soundblaster X-Fi Titanum Card
    New Addition Water Cooler:  http://www.newegg.com/Product/Product.aspx?Item=N82E16835181010&nm_mc=OTC-Froogle&cm_mmc=OTC-Froogle-_-Water+Cooling-_-Corsair-_-35181010 

    PROBLEM:  My OC BIOS setting wont load.  Even on failsafe i get the "double start".  I want to get back to my OC (stable) settings.
    UPDATE:  Since I posted somebody messaged me mentioned I should have "reset the CMOS" after I installed the new cooler.  So I did that, and now they system starts fine without the "double start".  I am able to load one of my saved OC settings now as well (but any others causes a failure).
    NEW QUESTIONS: 
          1.  Since I reset the CMOS and now the system is starting fine on my last OC settings, is it safe to assume the sytem is stable for now? 
          2.  I never made any power changes or BIOS changes after I installed the new cooler.  Should I have?
          3.  After I reset the CMOS was I soupposed to reinstall the drivers from the MSI disk again?  I did not, and the system seems to be fine, but I thought I was soupposed to do that after a CMOS reset.
          4.  Is there a new BIOS version for my setup that may be better now?   Im currently on v1.5
    Here is a screenshot from CPUZ of the system information currently.  This is with it booting normally after my CMOS reboot.  I just figured id post it incase it helps with any of my questions.  Thanks so much for helping guys!

  • URGENT HELP NEEDED!!! (Almost a matter of life and death)

    Well, it's more of a matter of failing a course or not...
    Anyway, my Java professor gave us some labs to do. I know Java front and back, at least, whatever version I learned a few years back. This is my first tenure with the Scanner object, and it's messing me up.
    I'm using Eclipse for my project. I have three files in the source folder, ABC_Manufacturing.java, mseast.dat and mswest.dat. Now, when I try to instanciate a new Scanner object, it won't find the files:
    Scanner east = new Scanner(new FileReader("mseast.dat"));
    Scanner west = new Scanner(new File("mswest.dat"));
    I'm trying two seperate ways to do this. Neither are working, this is the error I get:
    Exception in thread "main" java.lang.Error: Unresolved compilation problems:
         Unhandled exception type FileNotFoundException
         Unhandled exception type FileNotFoundException
         at ABC_Manufacturing.main(ABC_Manufacturing.java:38)
    Now, I added these files OVER and OVER again. I added them. I created new files and pasted the contents in there. I used .txt files. All the same error. It's like it just won't take the time out to look for the files that are RIGHT IN THE DAMN PROJECT! Then I tried using a complete path, using C:\Java\whatever. SAME ERROR!!!!
    Please, I need urgent help. This is due tomorrow at noon, and I have no idea what to do at this point. I can't really continue, because at this point its just looking at what prints out and formatting it, and I don't want to do that without testing to see if my code to convert the file data into arrays work. You dig? Thanks for any and all help, and I'm going to kill my professor...she spent a week going over parallel arrays but did nothing to show us how to import files into projects or use the scanner class. Also it doesn't help that at uni we have to use emacs, which I don't use at home.

    d00erino wrote:
    This is the the main class, so far:
    public static void main(String[] args)throws IOException
              Scanner west = new Scanner(new File("mswest.dat"));
              int [] eastParts = new int[13];
              int [] eastQuant = new int[13];
              int [] westParts = new int[17];
              int [] westQuant = new int[17];
              System.out.print(west.nextInt());
    And I didn't ignore that one guy (sorry, don't remember your username) I tried you and the other guy's responce. Both didn't work. I dunno how to get around errors. Figures, you don't learn that in the course but she'll spend a week on parallel arrays...Ok, well that can't possibly be complaining with the same error message you got before, so now you need to be (more) specific about what "didn't work" means.

  • Urgent  help needed(java frames)

    Hi,
    I need urgent help for correcting a piece of code.
    I have written a piece of code for building a gui with some buttons, drawing some geometric shapes.The code consists of two files called Graph and Frame.
    The problem I suppose in the last part of the Graph file, which Rectangle and Circle are called together, the only shape that the program draws is rectangle.Here is the code:
    //Graph
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.io.*;
    import java.util.*;
    public class Graph extends JPanel {
    LinkedList color;
    LinkedList figures;
    public Graph() {
    setBackground(Color.white);
    figures = new LinkedList();
    color = new LinkedList();
    int z;
    class Point {
    int x;
    int y;
    public Point(int x, int y) {
    this.x = x;
    this.y = y;
    public Point(Point p) {
    x = p.x;
    y = p.y;
    public String toString() {
    return "(" + x + ", " + y + ")";
    public void move(Point dist) {
    x += dist.x;
    y += dist.y;
    abstract class GeomFigur {
    public abstract void move(Point p);
    class Line extends GeomFigur {
    Point p1, p2;
    public Line(Point p1, Point p2) {
    this.p1 = new Point(p1);
    this.p2 = new Point(p2);
    public String toString() { return "Line from " + p1 + " to " + p2;  }
    public void move(Point dist) {
    p1.move(dist);
    p2.move(dist);
    class Rectangle extends Line {
    public Rectangle(Point p1, Point p2) {
    super(p1, p2);
    public String toString() { return "Rectangle from " + p1 + " to " + p2; }
    class Circle extends GeomFigur{
    Point centre;
    int radius;
    public Circle(Point centre, int radius) {
    this.centre = new Point(centre);
    this.radius = radius;
    public String toString() {
    return "Circle, centre " + centre + ", radius " + radius;
    public void move(Point dist) { centre.move(dist); }
    public void addRectangle(int x, int y, Color col) {
    Rectangle r =new Rectangle(new Point(x,y),new Point(x+20,y+20));
    figures.addLast(r);
    color.addLast(col);
    repaint();
    public void addCircle(int x, int y, Color col) {
    Circle c =new Circle(new Point(x,y), 1 );
    figures.addLast(c);
    color.addLast(col);
    repaint();
    public void paintComponent(Graphics g) {
    super.paintComponent(g);
    for (int i=0;i < figures.size();i++) {
    Rectangle rect = (Rectangle)figures.get(i);
    //Circle circ = (Circle)figures.get(i);
    g.setColor(Color.black);
    g.drawRect(rect.p1.x,rect.p1.y,20,20);
    g.setColor((Color)color.get(i));
    g.fillRect(rect.p1.x,rect.p1.y,20,20);
    //g.setColor(Color.black);
    // g.drawOval(circ.centre.x,circ.centre.y,20,20);
    // g.setColor((Color)color.get(i));
    // g.fillOval(circ.centre.x, circ.centre.y, 20, 20);
    //Frame
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    public class Frame extends JFrame implements ActionListener {
    JButton button1, button2, button3, button4, button5 ;
    Graph gr;
    JComboBox cbx;
    JComboBox cby;
    JComboBox col;
    JMenu filemenu;
    JMenuItem quit;
    JMenuBar menubar;
    int x=10;
    int y=10;
    Color color=Color.red;
    public Frame() {
    menubar = new JMenuBar();
    filemenu = new JMenu("File");
    filemenu.setMnemonic('F');
    quit = new JMenuItem("Quit");
    quit.addActionListener(this);
    quit.setMnemonic('Q');
    quit.setAccelerator(KeyStroke.getKeyStroke('Q',Event.CTRL_MASK,false));
    filemenu.add(quit);
    menubar.add(filemenu);
    setJMenuBar(menubar);
    button1 = new JButton("Rectangle");
    button1.addActionListener(this);
    button2 = new JButton("Circle");
    button2.addActionListener(this);
    button4 = new JButton("Ellipse");
    button4.addActionListener(this);
    button5 = new JButton("Triangle");
    button5.addActionListener(this);
    button3 = new JButton("Reset");
    button3.addActionListener(this);
    String[] elements_x= {"10","20","30","40","50","60","70"};
    cbx = new JComboBox(elements_x);
    cbx.addActionListener(this);
    cbx.setActionCommand("cbx");
    String[] elements_y= {"10","20","30","40","50","60","70"};
    cby = new JComboBox(elements_y);
    cby.addActionListener(this);
    cby.setActionCommand("cby");
    String[] elements_color = {"Red","Blue","Green","Orange","Yellow" };
    col = new JComboBox(elements_color);
    col.addActionListener(this);
    col.setActionCommand("col");
    gr = new Graph();
    JPanel top = new JPanel(new BorderLayout());
    JPanel inputs = new JPanel(new GridLayout(6,1));
    inputs.add(button1);
    inputs.add(button2);
    inputs.add(button3);
    inputs.add(button4);
    inputs.add(button5);
    inputs.add(cbx);
    inputs.add(cby);
    inputs.add(col);
    top.add(gr,BorderLayout.CENTER);
    top.add(inputs,BorderLayout.WEST);
    getContentPane().add(BorderLayout.CENTER, top);
    setSize(500,300);//set window size
    //take care of actions
    public void actionPerformed(ActionEvent e) {
    String command = e.getActionCommand();
    if (command.equals("Quit")){
    System.exit(0);//terminate program
    else if (command.equals("Rectangle")){
    //add Rectangle to graph at
    //position x,y and with certain color
    gr.addRectangle(x,y,color);
    else if (command.equals("Circle")){
    gr.addCircle(x,y,color);
    else if (command.equals("Reset")){
    else if (command.equals("Triangle")){
    else if (command.equals("Ellipse")){
    else if (command.equals("cbx")){
    x=Integer.valueOf((String)((JComboBox)e.getSource()).getSelectedItem()).intValue();
    else if (command.equals("cby")){
    y=Integer.valueOf((String)((JComboBox)e.getSource()).getSelectedItem()).intValue();
    else if (command.equals("col")){
    String temp=(String)((JComboBox)e.getSource()).getSelectedItem();
    if (temp=="Red") color=Color.red;
    else if (temp=="Blue") color=Color.blue;
    else if (temp=="Green") color=Color.green;
    else if (temp=="pink") color=Color.pink;
    else if (temp=="lightGray") color=Color.lightGray;
    //main program
    public static void main(String [] args) {
    Frame appl = new Frame();
    appl.setVisible(true);
    Thanks in advance
    Marina

    Hi,
    You are very lucky that I'm currently boored. You should never tag a question as urgent. It might be urgent to you, but not to us who answer. And you should also use code formatting when you post code (see the formatting tips, or use the code-button).
    I made some changes to your Graph class. The most important thing is the abstract draw method that I added to the GeomFigur class.
    import java.awt.*;
    import javax.swing.*;
    import java.util.*;
    public class Graph extends JPanel {
        LinkedList figures;
        public Graph() {
            setBackground(Color.white);
            figures = new LinkedList();
        int z;
        abstract class GeomFigur {
            protected Color color;
            public GeomFigur(Color color) {
                this.color = color;
            public abstract void move(Point p);
            public abstract void draw(Graphics g);
        abstract class Line extends GeomFigur {
            Point p1, p2;
            public Line(Color c, Point p1, Point p2) {
                super(c);
                this.p1 = new Point(p1);
                this.p2 = new Point(p2);
            public String toString() {
                return "Line from " + p1 + " to " + p2;
            public void move(Point dist) {
                p1.move(dist.x, dist.y);
                p2.move(dist.x, dist.y);
        class Rectangle extends Line {
            public Rectangle(Color c, Point p1, Point p2) {
                super(c, p1, p2);
            public String toString() {
                return "Rectangle from " + p1 + " to " + p2;
            public void draw(Graphics g) {
                System.out.println("Draw rectangle at " + p1 + " with color " + color);
                g.setColor(Color.black);
                g.drawRect(p1.x, p1.y, 20, 20);
                g.setColor(color);
                g.fillRect(p1.x, p1.y, 20, 20);
        class Circle extends GeomFigur {
            Point centre;
            int radius;
            public Circle(Color c, Point centre, int radius) {
                super(c);
                this.centre = new Point(centre);
                this.radius = radius;
            public String toString() {
                return "Circle, centre " + centre + ", radius " + radius;
            public void move(Point dist) {
                centre.move(dist.x, dist.y);
            public void draw(Graphics g) {
                System.out.println("Draw circle at " + centre + " with color " + color);
                g.setColor(Color.black);
                g.drawOval(centre.x, centre.y, 20, 20);
                g.setColor(color);
                g.fillOval(centre.x, centre.y, 20, 20);
        public void addRectangle(int x, int y, Color col) {
            System.out.println("x,y,col " + x + ":" + y + ":" + col);
            Rectangle r = new Rectangle(col, new Point(x, y), new Point(x + 20, y + 20));
            figures.addLast(r);
            repaint();
        public void addCircle(int x, int y, Color col) {
            System.out.println("x,y,col" + x + ":" + y + ":" + col);
            Circle c = new Circle(col, new Point(x, y), 1);
            figures.addLast(c);
            repaint();
        public void paintComponent(Graphics g) {
            super.paintComponent(g);
            for (int i = 0; i < figures.size(); i++) {
                GeomFigur drawable = (GeomFigur)figures.get(i);
                drawable.draw(g);
    }/Kaj

  • URGENT HELP NEEDED ... Tomcat Realm and JRE1.4 plug-in problem

    I have tried the Security Realm of Tomcat. Since I do not have
    an LDAP server, I decided to use the Tomcat-users.xml file in
    Tomcat\conf directory.
    I added the following lines of code in the web.xml file.
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>Entire Application</web-resource-name>
    <url-pattern>/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <!-- NOTE: This role is not present in the default users file -->
    <role-name>webviewer</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>BASIC</auth-method>
    <realm-name>Tomcat Manager Application</realm-name>
    </login-config>
    The <role-name> "webviewer" is added into "Tomcat-Users.xml" as the following:
    <tomcat-users>
    <user name="test" password="password" roles="webviewer" />
    </tomcat-users>
    So, now when we type the url: http://localhost:8080/adbpdbre/default.htm, TOMCAT shows a dialog box asking for UserName: and Password:Now, only when we give the username and password, it shows the page. This is exactly what we want.
    But the problem now is, this default.htm page, has 5 links to 5 applets. The first time that I click on one of these links, the JRE plug of 1.4 shows a dialog again asking for the username and password. Till I dont provide the username and password the system doesnt go ahead and applet doesnt load. I do not want the JRE to ask me for the username/passwords again..How to avoid this ?
    Can you give me some more information on this. Ultimately in the production usage, we will be using LDAP and not Tomcat's memory realm.
    URGENT HELP NEEDED ... I need to get back to my client on this.
    Help would be v. much appreciated.

    In the config file, you 're essentially saying that you want Tomcat to prompt for usr/passw on every request (url-pattern = /*) made by a 'webviewer', and that's exactly what Tomcat is doing.
    Consider using specific url-patterns & roles for resources to be protected. If for now, all you need is to protect the first page, use a more specific url-pattern.
    Just an advice : if you'll be using LDAP in production, do not waste time with Tomcat's Security Realm and the BASIC authentication type, since the two have not much in common. Start reading doc on LDAP, and code a prototype, or even better, a vertical slice of the app (i.e a proof of concept).

  • Urgent help needed, can I restore N900 Backup file...

    i owned a N900 (now sold out)
    before selling i took backup of contacts from backup restore option in application section
    now i bought a N8 but i m not able to restore my contacts
    1. is there any way to restore them in N8?
    2. if not, can i convert them in TEXT or any readable format
    urgent help needed
    thanks in advance

    The backup procedures built into the phone are only designed for restoring to the same phone (ie: in case or data corruption, software update or repair etc.), they can't usually be used to restore to a phone with a different operating system.
    You should have backed up with Ovi Suite before selling the N900, that would have been able to restore to the N8.

Maybe you are looking for

  • How do I add a percent?

    hi guys          In my report, I want to enter percentage out of the total sales where is next to each of the column. If I use Afterrange, it just added at the end. What I want is possible???? If so, could you please suggest me a kind of documents or

  • OIM 11.1.1.5.3 vs Siebel Connector log

    Hi all, I have a problem with OIM Siebel connector log file. More in details: since I patched OIM from the version 11.1.1.5.0 to the 11.1.1.5.3 one (BP03 - patch ID 14891027), the Siebel Connector stops to log its normal operations (except errors). O

  • Installing my CS6 onto my macbook pro that doesn't have a disc drive?

    How do I install the CS6 program I bought onto my Macbook pro? It doesn't have a disk drive. I tried to download each individual trial version through Creative Cloud but then when I try to input my serial number, it says it's not a legitimate serial

  • [SOLVED] recommendation for a text editor that can handle 25mb+ files?

    Not sure where to put it, so I put it her (if it's not the right place, can someone please move it.. thanks!) I'm building a database of about 60,000 files in folder X. I'm using php to organise all the files and clean them up (for exmaple removing "

  • Query compile error.

    I know that both these queries work by themselves, yet when i put together, I get this error (i assume on the second query). Any thoughts? org.apache.jasper.JasperException: Unable to compile class for JSPC:\bin\tomcat\work\www.smweb.cc_8080\_0002fso