Applets with databases

I have a problem with an application done with applets in Java that is connected to a data base in Oracle, the problem is that when I execute the applet in a navigator to not it gives back the consultations me that assume must make…. as I solve this?
Please help me....

Claudia,
your aren't to speficic about what kind of error occurs. Do you simply get nothing in return, hangs the request, or is the request aborted with an exception?
If you use the Java Plugin (part of Sun's Java JDK), you can open the Java console and watch, whether you get an exception or not.
Which Oracle driver do you use (thin or OCI) ? And which version do you use ? Does the request work well in an application (i.e. not runing in an applet context) ?
Is the database server located on the same machine as the web server, from which you download your applet ?
Best,
Manfred

Similar Messages

  • How to start java applet with netbeans 6.1

    hey,
    I want to learn how to start java applet (with database) with netbeans.. I'm new to java...can you show me how can i start..if you have any doc about it can you send it to me..thank you..:)

    You really should be asking this NetBeans question at the NB site - these forums are for Java language topics, not NB support.
    [http://www.netbeans.org/kb/61/web/applets.html]
    Almost any NB question you have can be answered by either the NB web documentation or the NB program's Help.

  • I want to connect an applet with an access database

    I want to connect an applet with an access(*.mdb) database, how I do?
    I now the jdbc odbc bridge but how work it?
    Please Help me!!!!!!!!!!

    If you want access database please install IDSSERVER and import j102.sql.*;
    Example:
    import java.awt.*;
    import java.io.*;
    import j102.sql.*;
    public class AccessMdb extends Applets {
    Connection con;
    ResultSet rs;
    Statement stmt;
    IDSDriver drv;
    String _url ="jdbc:ids://localhost:your port /conn?dsn="your database"";
    // make connection to database
    drv = new j102.sql.IDSDriver();
    try{
    con = drv.connect(_url,null);
    stmt = con.createStatement();
    // query database
    stmt.executeQuery("your SQL statement");
    }catch(Exception ex){
    System.out.println(ex.getMessage());
    Good luck.

  • Connecting an applet to database

    Hello Everybody,
    I have a problem of connecting the applet to the database through a separate java class.
    to be more clear i have a applet which uses a java class file for databse conenction.
    the error i'm facing while doing this is that java.net.socket permission.
    my database is oracle and i'm using thin driver to establish the connection.
    now i have the doubt that is it the right kind of approach.
    i mean can i connect the applet to the database through a normal java class.
    i hope some can get me the solution.
    thanking u in advance
    regards
    RaviTeja

    I suppose your problem is that you get a Security Exception when your applet try to open a JDBC connection to a database located on another server, right?
    To solve the problem, you have to sign your applet with a digital signature or bring the webserver and the database on the same machine.
    (Concerning the digital signatures, look in the forums, and you will find tons of messages about it)

  • Applet + remote database + newbie

    Hi,
    Tired of microsoft randomly dumping the market making me rewrite applications each time they publish updated os,language etc...i finally (and really happily) surrender to java....
    Here is my point : i'd like to create applet-based application that will retrieve-update from/to remote server, (access database for instance)...am i pointing the worng direction or does it seem a good choice.
    Is it necessary to use servlets ? (all i've seen about applet-servlets seems a bit confusing even though it seems the right way to build solid rock applications, actually, i could begin with applets and remote database and later go to an applet-servlet application)
    Any good suggestion is welcome, but, please ,don't tell me about .net

    You can make a database connection via an Applet or an Servlet. You can make a database connection via Applet - Servlet - Database also.
    Making db connecion using applets or servlets is easy task.
    Visit the site's applet section to have an example. Since you are a beginner, it might look like a nightmare ;-)
    Hope it helps
    Uma
    http://www.javagalaxy.com

  • Help creating a login applet with JDBC

    Hi, I'm trying to create a login applet using a table from a database (created with Microsoft Access). The bottom line is that I have very little knowledge of ActionListeners. I do know some things about JDBC, but most of it is through notes and lots of reading. I was wondering how to go about looking through a table (with two columns, user and password), to see if it matches what is typed into a JTextField and a JPasswordField. Just a sample piece of code would be helpful. Thank you very much in advanced. Also, I have the GUI done for what I need, just no ActionListeners or JDBC functionality implemented. Here it is:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.sql.*;
    public class login extends JFrame /*implements ActionListener*/ {
         private Container container;
         private GridBagLayout layout;
         private GridBagConstraints gbc;
         public login()
              super("Login");
              setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
            setSize(300,130);
            setLocationRelativeTo(null);
              container = getContentPane();
              layout = new GridBagLayout();
              container.setLayout(layout);
              gbc = new GridBagConstraints();
              labelUser = new JLabel("Username:");
              gbc.insets = new Insets(2,2,2,2);
              container.add(labelUser, gbc);
              textUser = new JTextField(15);
              gbc.gridx = 1;
              gbc.gridwidth = 3;
              container.add(textUser, gbc);
              labelPassword = new JLabel("Password:");
              gbc.gridy = 1;
              gbc.gridx = 0;
              gbc.gridwidth = 1;
              container.add(labelPassword, gbc);
              textPassword = new JPasswordField(15);
              gbc.gridx = 1;
              gbc.gridwidth = 3;
              container.add(textPassword, gbc);
              button1 = new JButton("Login");
              gbc.gridy = 2;
              gbc.gridx = 1;
              gbc.gridwidth = 1;
              container.add(button1, gbc);
              button2 = new JButton("Cancel");
              gbc.gridx = 2;
              container.add(button2, gbc);
         public static void main(String args[]) {
            new login().setVisible(true);
        private JButton button1, button2;
        private JLabel labelUser, labelPassword;
        private JTextField textUser;
        private JPasswordField textPassword;
    }Thank you again in advanced.

    Sir,
    Much of your question makes middling sense to me. You say applet but you have JFrame for example. I would caution you right now an applet with access for a DB is asking for trouble. Never minding the various security issues Access is not really intended for this sort of operation.
    Now none of that actually seems to be your question but I just thought I'd address that before you go too far down a road fraught with peril.
    As far as what I think you are asking assuming our table looks like this.
    tblUser
    username VARCHAR (access text field) primary key
    password VARCHAR (again known in access as text)then the code would look something like this...
    Connection c; //create your connection
    PreparedStatement ps = c.prepareStatement("SELECT username FROM tblUser WHERE username=? AND password=?");
    ps.setString(1,usernameVariable);
    ps.setString(2,passwordVariable);
    ResultSet rs = ps.executeQuery();
    if(rs.next()){
      // login successful
    }else{
      // login failed!
    rs.close();
    ps.close();
    c.close();Also duffymo will be unhappy if I don't mention that you will really want to give second thought to mixing your database code with your GUI code. Please take a gander through http://java.sun.com/blueprints/patterns/MVC.html
    Sincerely,
    Slappy

  • Something about applet and database?

    applet cant write and read from outer files.
    but can it read from database?if i don't modify my security policies.

    zhangv,
    We hava a web application with an applet in it that communicates with the server over HTTP. So, you need not worry about security. We use a multi-tiered environment. That is, the middle layer uses an application server (Sybase EAServer) and the backend layer is our database (Sybase ASE 12.5). Our application server fetches the data from the database and streams XML to the applet via a servlet. You can find a wonderful example for how this works in an article on Java world, entitled:
    Title: "A J2EE presentation pattern: Applets with servlets and XML"
    Subtitle: "Enhance your Web interfaces with powerful XML-configured applet components"
    http://www.javaworld.com/javaworld/jw-05-2002/jw-0524-j2ee.html
    Hope this helps
    TJJ

  • Add management server: Setup version: 7.0.9538.0 is not compatible with database version: 7.1.10226.0

    I want to add another management server to our existing SCOM environment. But whenever I run this setup on a new server I get stuck in the window for selecting the OperationsManager database. The database field stays blank and in the OpsMgrSetupWizard log
    there are lines that the setup version is not compatible with the database version. But I use the same installer as when I installed the other management servers a year ago.
    Maybe there is a newer setup installer? But I can't find it.
    [10:42:54]: Error:
    :Error:setup version: 7.0.9538.0 is not compatible with database version: 7.1.10226.0
    [10:42:54]: Info:
    :Info:Using DB command timeout = 1800 seconds.
    [10:42:54]: Info:
    :Info:isOMDatabase:  Read returned true.  so far, this is OM DB, not an empty DB
    [10:42:54]: Debug:
    :Connection was not open.  We will try to open it.
    [10:42:54]: Debug:
    :SqlConnectionReady returned True.
    [10:42:54]: Info:
    :Info:Using DB command timeout = 1800 seconds.
    [10:42:54]: Info:
    :Info:isOMDatabase:  Read did not return true.  The MG is missing. This is not OM DB
    [10:42:54]: Info:
    :Info:Using DB command timeout = 1800 seconds.
    [10:42:54]: Always:
    :Azman store table not found in OperationsManagerDW table, assuming this is an not a valid OMDB for empty DB scenario.
    [10:42:54]: Info:
    :Info:DatabaseConfigurationPage: DB connection attempt completed.
    [10:42:54]: Info:
    :Info:DatabaseConfigurationPage: DB connection attempt completed.

    Never mind, found it!
    Apparently there was a newer version of SCOM setup in msdn and someone upgraded our existing SCOM environment. Downloaded the new setup, new report viewer controls and a System
    CLR Types for Microsoft® SQL Server® 2012 and now it works!! 

  • UDI-00018: Data Pump client is incompatible with database version 11.2.0.1

    Hi
    I am trying to import data in Oracle 11g Release2(11.2.0.1) using impdp utitlity and getting below errror
    UDI-00018: Data Pump client is incompatible with database version 11.2.0.1.0
    Export dump has taken in database with oracle 11g Release 1(11.1.0.7.0) and I am trying to import in higher version of the database. Is there any parameter I have to set to avoid this error?

    AUTHSTATE=compat
    A__z=! LOGNAME
    CLASSPATH=/app/oracle/11.2.0/jlib:.
    HOME=/home/oracle
    LANG=C
    LC__FASTMSG=true
    LD_LIBRARY_PATH=/app/oracle/11.2.0/lib:/app/oracle/11.2.0/network/lib:.
    LIBPATH=/app/oracle/11.2.0/JDK/JRE/BIN:/app/oracle/11.2.0/jdk/jre/bin/classic:/app/oracle/11.2.0/lib32
    LOCPATH=/usr/lib/nls/loc
    LOGIN=oracle
    LOGNAME=oracle
    MAIL=/usr/spool/mail/oracle
    MAILMSG=[YOU HAVE NEW MAIL]
    NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
    NLS_DATE_FORMAT=DD-MON-RRRR HH24:MI:SS
    ODMDIR=/etc/objrepos
    ORACLE_BASE=/app/oracle
    ORACLE_HOME=/app/oracle/11.2.0
    ORACLE_SID=AMT6
    ORACLE_TERM=xterm
    ORA_NLS33=/app/oracle/11.2.0/nls/data
    PATH=/app/oracle/11.2.0/bin:.:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/oracle/bin:/usr/bin/X11:/sbin:.:/usr/local/bin:/usr/ccs/bin
    PS1=nbsud01[$PWD]:($ORACLE_SID)>
    PWD=/nbsiar/nbimp
    SHELL=/usr/bin/ksh
    SHLIB_PATH=/app/oracle/11.2.0/lib:/usr/lib
    TERM=xterm
    TZ=Europe/London
    USER=oracle
    _=/usr/bin/env

  • Can't Copy text unless console is opened before applet with JTextField

    If an applet uses JTextFields, it is impossible to copy text from the console to the clipboard (or anywhere else) if the console is opened after the applet.
    See http://demo.capmon.dk/~pvm/nocopy/nocopy.html for a working applet with source and class file to try it out on...
    So if something bad has happened, and there are hints in the console e.g. a stack trace, it all has to be retyped by hand, since all Copy or export is impossible...
    Does anyone know of a workaround for this? I'd like to be able to e.g. copy stack traces to bug reports.
    Try these test cases:
    * Close all browser windows. Open a browser and visit this page. After the page with this applet has loaded, then open the console with "Tools/Sun Java Console" (or "Tools/Web Development/Java Console" in Mozilla). Select some text in the console. There is no way to put this text on the clipboard; the "Copy" button doesn't work, and neither does CTRL+Insert, CTRL+C or anything else.
    * Close all browser windows. Open a browser window no some non-java page and then open the console with "Tools/Sun Java Console" (or "Tools/Web Development/Java Console" in Mozilla). Then visit this page. Select some text in the console. Now the "Copy" button does work, enabling "export" of e.g. stack traces to other applicaitons e.g. email.
    The difference is which is opened first: The console or the applet. If you look at the very rudimentary Java source code, it is the mere creation of a JTextField is what disables or breaks the Copy functionality.
    I've tried this on Windows XP with IE 6.0 and Mozilla 1.3 and they behave exactly the same. The JVM is Sun's 1.4.2 and I've tried 1.4.1_02 also with the same behavior. I've also tried javac from both 1.4.2 and 1.4.1_01

    hey .. this seems like a bug.. can you please file a bug at
    http://java.sun.com/webapps/bugreport
    thanks...

  • Help! How to Open a Frame from applet with

    Hey all. I need help =).
    I want:
    1. Have 1 class extends applet with running thread (this far no prob)
    2. Open a new frame from the applet (no prob)
    3. Start a new thread which is operating "inside" the new Frame/class
    4. Draw a simple Rect in the new Frame with the new thread to test that the graphics work.
    Plz help,
    ~Trobsky

    �rr..... i cant draw on the Frame =(.
    Heres the code:

    public class Fonster extends java.applet.Applet {
         Frame myFrame;
         Fri friFonster=new Fri();
         public void init() {
              myFrame=new Frame();
              myFrame.resize(300,300);
              myFrame.show();
              myFrame.add(friFonster);
              friFonster.init();
              friFonster.start();
         public void paint(Graphics g)
              g.drawRect(10,10,100,100);
    public class Fri extends java.applet.Applet {
         public void init(){
              repaint();
         public void paint(Graphics g)
              g.drawRect(10,10,200,200);

  • EXP-00037: Export views not compatible with database version

    kindly help with this error. We have already run catexp.sql but still that is not helping, we are still getting the same error.
    we are exporting 8i db.
    Export: Release 8.1.7.0.0 - Production on Thu Feb 21 14:34:25 2008
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    Connected to: Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.0.0 - Production
    EXP-00037: Export views not compatible with database version
    EXP-00000: Export terminated unsuccessfully

    Does this apply to you?
    Error: EXP 37
    Text: Export views not compatible with database version
    Cause: The Export utility is at a higher version than the database version
    and is thereby incompatible.
    Action: Use the same version of Export utility as the database.

  • How to make an applet with curved edges in the browser

    Hi all,
    I m doing an applet application in which i want to show an image inside a player in the website. The edges of the player is designed in curved shape. So i too wanted to do an applet with curved edges. Otherwise my applet and the images are coming out of the player... do any body have come across such a problem. please give me some suggestions. Awaiting for your suggestions and solutions. If u don't understand what i m trying to say let me know..
    Thanks...

    I tried to get the screen height -1 and subtract from
    all the ys in my applet but it doesnt work all the
    time. I am drawing shapes and stuff with an algorithm
    I wrote for class.
    is there a way to get origin(0,0) to the lower left
    screen easily.
    thanksThe only way I can think of would be write a method to convert a "normal" y coord to an applet y coord. That would probably end up being a huge pain in the ass, since you would have to pass all y coords through it before using them, so I suggest you just get used to y being upside down.

  • CMP Entity Bean with database specific features

    Hi there,
    I�m studying Entity Beans and I'm doing some experiences with SQL Server.
    At first, I built a CMP Bean and marked in deploytool to create the tables. Ok, it worked.
    Now, I'm trying to interact to an existent database. But, I got a problem: the primary key is defined by the Server. I can read it and I can remove entries. But, when I try to insert some entry, I can't pass the key in SQL statement. I edited the generated statement to do it, but it doesn't work. I get a RollbackException.
    My question is: is it possible to do what I'm intending to do with CMP? What am I doing wrong?
    Do you think that, to do this, I should use BMP Entity beans?
    Thanks in advance,
    Anicio

    "CMP provides you with database independence and less coding efforts."
    BMP is not database dependent, unless you invoke database specific things in your SQL (something I do not do). CMP on the otherhand is inherently appserver specific (which was it's goal when BEA, IBM, et al. came up with it), and still limits your design possibilities. See this thread for an example:
    http://forum.java.sun.com/thread.jsp?forum=13&thread=318785
    As for less coding effort, that is a relative statment. Yes a simple CMP bean requires less coding to develop the first time. I personally view a few lines of SQL to load and store the data as being fairly trivial. But that needs to be offset with the problems inherent in using appserver specific CMP implementations.
    As an example, try mapping WebSphere CMP to a pre-existing database without using IBM's IDE. It's an incredible pain in the ass since WebSphere does not come with a "meet-in-the-middle" solution. Any J2EE developer that has had the experience of working with different appservers (especially if they have had to port an app, as I have) can attest to the complications that arise with each implementation.
    A BMP bean, written with non-DB-specific SQL, is the most portable, most flexible approach to EntityBeans. Yes, it requires the developer to be able to write some SQL, which should not take a significant amout of time. WRT queries, you have to write them, either SQL, EQL, or some appserver specific format.
    As an aside, the use of code generators to simplify the creation of EJBs lends itself well to BMP. By using a (or writing your own) code generator, you can mitigate the annoying SQL bugs that creep up early in development.

  • Installing EM Grid Control 10.2.0.3 with Database 10.2.0.3 On RHEL4 U3 & U4

    Note: This is not an official document, it discusses Oracle Enterprise Manager Grid Control (EMGC) installation on Redhat Linux Update 3 & Update 4 with new database NOT with an existing database. Both OS Updates were installed with FULL PACKAGE INSTALLATION option. Oracle Universal Installer creates the database automatically before creating the EMGC repository.
    •     For Linux the base version of the EMGC is 10.2.0.1 and for Windows platform it is 10.2.0.2.
    •     The database release is 10.1.0.4 with EMGC 10.2.0.1.
    •     When installed it creates three Oracle Homes: 1) db10g (database), 2) oms10g (Oracle Management Service), and 3) agent10g.
    Course of Action:
    To get to Oracle EMGC 10.2.0.3:
    •     Install EMGC 10.2.0.1      
     Upgrade Oracle Home oms10g to 10.2.0.3.
     Upgrade Oracle Home agent10g to 10.2.0.3.
    To get to Oracle Database 10g 10.2.0.3:
    •     Oracle Database 10g 10.1.0.4 will get installed by the OUI automatically
     Upgrade Oracle Database 10g to 10.2.0.1 in new Oracle DB Home.
     Upgrade new Oracle DB Home to 10.2.0.3.
    ====================================
    Installing EM Grid Control 10.2.0.1:
    ====================================
    To install EMGC 10.2.0.1 download all the three files: Linux_Grid_Control_full_102010_disk1.zip, Linux_Grid_Control_full_102010_disk2.zip, Linux_Grid_Control_full_102010_disk3.zip from http://www.oracle.com/technology/software/products/oem/htdocs/linuxsoft.html.
    If you have unzipped all the downloaded zip files in separate directories then the very first error message slammed at your face after starting the installation will be something like “OUI-10133: Invalid Staging Area. There Area No Top Level Components”. All you have to do is to unzip all the three files in the single directory (Metalink 395030.1).
    After unzipping all the files in the same directory follow the steps that are given on the follow URL.
    http://www.oracle.com/technology/obe/obe10gemgc_10202/install/install.htm
    BUT the problem is that you will be punched with few other error messages during the installation that will terminate the installation. The WORKAROUND is given below.
    There are three stages of the installation by OUI:
    1.     Installation of EM Repository Database 10.2.0.1.
    2.     Installation of EM Grid Console 10.2.0.1.
    3.     Installation of Agent 10.2.0.1.
    The first stage completes without any problem and on the OUI you will see: Oracle Enterprise Manager Repository Database 10.2.0.1.0 installed. While installing the Grid Console, during copying files for "Oracle Application Server 10g 10.1.2.0.2" at 90% OUI will pop up an error message "An error occurred during runtime." You will see lines similar to the following lines in the installation log files.
    INFO: Calling Action SpawnActions10.1.0.3.0 Spawn
    installcommand = /u01/app/oracle/product/10.2.0/oms10g/bin/OracleAS_Relink_Patch.sh
    deinstallcommand =
    WaitForCompletion = null
    INFO: Exception occured during spawning :java.io.IOException: /u01/app/oracle/product/10.2.0/oms10g/bin/OracleAS_Relink_Patch.sh: cannot execute
    INFO: Spawning the modified command :/u01/app/oracle/product/10.2.0/oms10g/bin/OracleAS_Relink_Patch.sh
    INFO: Exception thrown from action: Spawn
    Exception Name: RuntimeException
    Exception String: An error occurred during runtime.
    Exception Severity: 0
    Problem:
    There is a bug which is still being worked on by the DEV : Bug 5203165 : Abstract: CANNOT EXECUTE ../oms10g/bin/OracleAs_Relink_Patch.sh AT INSTALL
    Note that this is an unpublished bug, not viewable via Metalink. The bug apparently occurs only on RHEL4 (32bit) Update 2 and Update 3 (I faced the same thing in Update 4 as well).
    Workaround:
    •     Leave the error message as it is and change the execution permission of the script OracleAS_Relink_Patch.sh.
    $ chmod +x /u01/app/oracle/product/10.2.0/oms10g/bin/OracleAS_Relink_Patch.sh
    •     Now press Retry on the error message pop up window. The installation will resume.
    On the same stage while linking at 90% one another error message will pop up “Error in invoking target 'install' of makefile '/u01/app/oracle/product/10.2.0/oms10g/sqlplus/lib/ins_sqlplus.mk'”.
    Problem:
    Hitting bug : 5203194 :Abstract: RELINK FAILS ON 10.2 GC INSTALL -LIBCLNTSH.SO: UNDEFINED REFERENCE TO NNFGTABLE
    Bug is not published in Metalink. As per the description: Installing 10.2.0.2 Grid Control on RHEL4 Update 2 or Update 3 (I faced the same thing in Update 4 as well). This generates an error in the linking phase. The error is generated while attempting to relink sqlplus.
    Workaround:
    •     Stop installation of all components.
    •     Restart the installation and pick the option to resume the installation.
    •     This allows the installation to complete.
    If by any chance you press continue instead of stopping the installation you should get ready for the garbage OUI is going to throw at you:
    Error in invoking target 'install' of makefile '/u01/app/oracle/product/10.2.0/oms10g/network/lib/ins_net_client.mk'
    Error in invoking target 'install' of makefile '/u01/app/oracle/product/10.2.0/oms10g/network/lib/ins_nau.mk'
    Error in invoking target 'install' of makefile '/u01/app/oracle/product/10.2.0/oms10g/webcache/lib/ins_calypso.mk'
    During Setting up 'Perl Interpreter 5.6.1.0.2d'
    An error occurred during runtime
    During Setting up 'Oracle Application Server 10g 10.1.2.0.2'
    The OPMN Process Manager failed to start. Please check the logs in the /u01/app/oracle/product/10.2.0/oms10g/opmn/logs directory for the cause of failure. Once the cause of failure has been remedied, start OPMN manually and click Retry.
    HTTP Server Configuration Assistant Failed.
    OUI-25031:Some of the configuration assistants failed. It is strongly recommended that you retry the configuration assistants at this time. Not successfully running any "Recommended" assistants means your system will not be correctly configured.
    1. Check the Details panel on the Configuration Assistant Screen to see the errors resulting in the failures.
    2. Fix the errors causing these failures.
    3. Select the failed assistants and click the 'Retry' button to retry them.
    ====================================
    Upgrading EM Grid Control 10.2.0.1 to 10.2.0.3:
    ====================================
    I hope after installing EMGC 10.2.0.1 you are still intending to upgrade it..... :-D Now for that download GridControl_10.2.0.3_Linux.zip from http://www.oracle.com/technology/software/products/oem/htdocs/linuxsoft.html and follow the README.txt file included with the upgrade patch. Before starting the upgrade you will probably have to apply a patch (4329444) on the existing database (10.1.0.4). Anyway, its one of the prereq that you have to complete.
    For upgrade follow the steps given on the following URL.
    http://www.oracle.com/technology/obe/obe10gemgc_10203/patching/patching.htm
    •     Keep one thing in mind that you will have to apply the above mentioned patch twice. Once for oms10g home and once for agent10g home.
    •     Stop all the EMGC related services.
    •     When applying the patch to a particular home change the ORACLE_HOME to that home. E.g. when applying the patch on the oms10g home:
    ORACLE_HOME=$ORACLE_BASE/product/10.2.0/oms10g
    and for agent10g home:
    ORACLE_HOME=$ORACLE_BASE/product/10.2.0/agent10g
    ====================================
    Upgrading Database from 10.1.0.4 to 10.2.0.1:
    ====================================
    Download the file 10201_database_linux32.zip from http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201linuxsoft.html.
    •     Shutdown all the EMGC related services, the listener, and the database.
    •     Start the installation of 10.2.0.1.
    •     Since 10.2.0.1 is a base release that is why you cannot install it in the existing Oracle Home i.e. in db10g. You have to define a separate Oracle Home for the new installation say db10gR2.
    •     During the installation it will ask you to upgrade the existing database 10.1.0.4 to 10.2.0.1, click YES.
    •     Hopefully the installation will go just fine.
    ====================================
    Upgrading Database from 10.2.0.1 to 10.2.0.3:
    ====================================
    Download the file p5337014_10203_LINUX.zip from http://metalink.oracle.com.
    •     Shutdown all the EMGC related services, the listener, and the database.
    •     Start the installation of 10.2.0.3.
    •     During installation it will ask for the Oracle Home, give the new Oracle Database Home i.e. db10gR2 and proceed.
    •     Hopefully the installation will go just fine.
    •     Start the database, listener, and all the EM GC related services:
    o     $ORACLE_HOME/../oms10g/bin/emctl start em
    o     $ORACLE_HOME/../agent10g/bin/emctl start agent
    o     $ORACLE_HOME/../oms10g/opmn/bin/opmnctl startall
    •     Try accessing the EMGC through the browser http://xyz.abc.com:4889/em
    •     You will see two Oracle databases in the EMGC, the old one, 10.1.0.4 and the new one 10.2.0.3. Don’t worry it will not bother you at all. It will only occupy a GB or so. Though, you can remove it through OUI.
    Congratulations!!!! you have now Enterprise Manager Grid Control 10.2.0.3 with Database 10.2.0.3 on RHEL 4 Update 3.
    You can repeat the same exercise for RHEL4 Update 4 as well, but during pre-installation checks you will get 1 warning that:
    Checking for compat-libstdc++-296-2.96-132.7.2; found Not found. Failed <<<<
    Checking for libstdc++devel-3.4.3-22.1; found Not found. Failed <<<<
    Checking for openmotif-21-2.1.30-11; found openmotif-2.2.3-10.RHEL4.5. Failed <<<<
    Actually, these packages are already there in the OS but the higher versions. It is evident from the above messages that first it “founds” the package but due to the version conflict it says that “Not found”. All you have to do is click on the check box next to warning, it will change to User Verified or something. Now press Next and follow the same steps that we followed for Update 3.

    The quicker way is to use sofware only method to install 10204 oms and dirctly use 10203 datbase directly as a oms repository.
    Check the section Installing 'Software-Only' and Configuring Later
    http://download.oracle.com/docs/cd/B16240_01/doc/install.102/e10953/installing_em.htm#CCHGBDCB

Maybe you are looking for

  • Proxy User - Forms 11.1.2 and Oracle Database (version 10.1.0.5) ??

    Hi, we are migrating from Forms 6i to 11.1.2. Our database version is very old (Enterprise Edition, version 10.1.0.5) because this is the latest version of the DB that Forms 6i runs, and we will migrating to 11g in phases. So 6i and 11g will co-exist

  • Help! Can't export the movie I've edited :(

    There's no share menu button in my FCP X - also when i push the "export movie" button nothing happens, no pop up, nothing. When I try to publish it on You Tube, this message showed up "compressionkit error or domain error." What to do? I even ended u

  • Question about reserving an Iphone on the Apple website.

    My credit is bad so my fiance will be using her name and billing info to buy the phone and sign up for AT and T. When it asks for the current phone number and account number that will be transferred, I will be wanting to give my account number and ph

  • Microsoft-Windows-Windows Remote Management Error ID 142

    In my Windows Server 2008 R2 OS in the Event Viewer there is an error pertains as Microsoft-Windows-Windows Remote Management Error ID 142 states-(WSMan operation CreateShell failed, error code 2150858999).What is this error? And What is the remedy f

  • HT4436 How to creat iCloud in iPhone?

    My name is Ayaz and I am from india