Oracle 10g unable to insert yet prompt no error

Hi all,
I bumped into this strange case. I have my web app connect to oracle 10g. I got all driver and JDBC setup and coded correctly. Somehow, it won't insert into table when i execute insert statement. No exceptions thrown and yet no error. I'm still finding a way to overcome this strange problem. In the mean time, appreciate if anyone out there able to help me to figure out.
I suspect the driver class is causing problem. But to me, it's just a standard bunch of code:
Connection con = null;
try {
// Load the JDBC driver
String driverName = "oracle.jdbc.driver.OracleDriver";
Class.forName(driverName);
// Create a connection to the database
String serverName = "127.0.0.1";
String portNumber = "1521";
String sid = "orcl";
String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid;
String username = "ivan";
String password = "admin123";
con = DriverManager.getConnection(url, username, password);
} catch (ClassNotFoundException e) {
// Could not find the database driver
} catch (SQLException e) {
// Could not connect to the database
return con;
Thanks!
Ivan Brogalis

1 - The code posted, creates an SQL connection and returns it. There is no insert query ! Plz post the whole code.
2 - Append this the catch block :
catch (Exception e){
    e.printStackTrace();////////////////// USE THIS FOR THE OTHER CATCH BLOCKS TO HELPS U IDENTIFY THE PROBLEM
}3 - Check whether the connection created is good : make s simple select like the following : String select = "Select sysdate from dual";4 - Check whether the user(name=ivan, password=admin123) has the SELECT/UPDATE rights.

Similar Messages

  • Oracle 10g AQ - Required Insert Rates  of atleast 8000+ inserts per second

    Hey Guys,
    I am setting up a AQ in oracle 10g and I require atleast 8000+ insert rates per second, is it possible if so How do i implement it.
    Any help would be helpful.
    Thanks
    Stan

    Can you Give me some examples :
    I am trying to use AQ Messaging : How do I use perl scripts for the AQ messaging.
    In any case if you can give me some examples; detailed on how you have coded
    to attain the insert rates of 8000 messages per second
    I would appreciate that
    Thanks
    stan kumar

  • Oracle 10g - Unable to do any admin function

    I have installed oracle 10g database and can login and do all task except admin.
    The PC has window XP OS system. When I do admin function, the system fails with invalid password for host username. I type in the password that I use to login to windows which is set at local level.
    Which hostname does oracle need and how can I check.
    Any thoughts......
    Suresh

    I have installed oracle 10g database and can login and do all task except admin.What admin functions you are trying to do?? How you are trying to do means which tool (sqlplus, EM) ? Which user you are connecting as??
    Daljit Singh

  • Unable to insert into table Showing error FRM-40508

    I want to insert data in text items of form into a table by using procedure in program unit. i declared all the parameters and calling this procedure in When-button-pressed trigger of push-button.it is not showing any compilation error, but run time error FRm-40508 ORACLE Error: Unable to insert the record.

    The Table Structure:-
    PROB_ID VARCHAR2(50)
    PERSON_NAME NOT NULL VARCHAR2(50)
    MODULE NOT NULL VARCHAR2(100)
    START_DATE DATE
    VERSION NOT NULL VARCHAR2(50)
    ASSIGNED_BY VARCHAR2(100)
    FUNCTIONALITY VARCHAR2(4000)
    ERR_TYPE VARCHAR2(150)
    ERR_COMPONENT VARCHAR2(100)
    ERR_LOCATION VARCHAR2(250)
    PROB_DESC VARCHAR2(4000)
    PROB_SOLTN VARCHAR2(4000)
    STATUS VARCHAR2(100)
    END_DATE DATE
    and the code is in When-button-pressed
    Declare
         v_pname char(5);
         v_mod char(6);
    v_datetime VARCHAR2(9);
    v_pid varchar2(50);
    v_version varchar2(50);
    v_assign varchar2(50);
    v_func varchar2(50);
    v_etype varchar2(50);
    v_ecomp varchar2(50);
    v_eloc varchar2(50);
    v_pdesc varchar2(50);
    v_psoltn varchar2(50);
    v_status varchar2(50);
    v_edatetime varchar2(50);
    uname varchar2(50) := 'fcclog';
    pwd varchar2(50) := 'fcclog';
    con varchar2(50) := 'orcl';
    cursor c1 is select prob_id from log_table;
    BEGIN
         -- Creating the unique Problem ID by adding all the item value
         v_pname := :log_table.pname_lst;
         v_mod := :mod_table.mod_name;
         v_datetime:= to_char(:log_table.start_date);
         --:log_table.prob_id := v_pname||v_mod||v_datetime ;
         v_pid := v_pname||v_mod||v_datetime ;
         for r in c1 loop
         if v_pid = r.prob_id then
              v_pid := v_pid + 1;
         end if ;
         end loop;
         :log_table.prob_id := v_pname||v_mod||v_datetime ;
         v_pid := :log_table.prob_id;
         -- Inserting into database--
         v_version := :log_table.version;
         v_assign := :log_table.assigned_lst;
         v_func := :log_table.funct_txt;
         v_etype := :log_table.err_type;
         v_ecomp := :log_table.err_component;
         v_eloc := :log_table.err_location;
         v_pdesc := :log_table.prob_desc;
         v_psoltn := :log_table.prob_soltn;
         v_status := :log_table.status;
         v_edatetime := :log_table.end_date;
         log_insert(v_pid,v_pname,v_mod,v_datetime,v_version,v_assign,v_func,v_etype,v_ecomp,v_eloc,v_pdesc,v_psoltn,v_status,v_edatetime);
         commit;
         exception
              when others
              then
              DBMS_OUTPUT.PUT_LINE(SQLERRM);
              rollback;
         end;
    And the Code in Procedure (log_insert) of Program Unit.
    PROCEDURE log_insert(
    p_pname varchar2,
         p_mod varchar2,
    p_datetime VARCHAR2,
    p_pid varchar2,
    p_version varchar2,
    p_assign varchar2,
    p_func varchar2,
    p_etype varchar2,
    p_ecomp varchar2,
    p_eloc varchar2,
    p_pdesc varchar2,
    p_psoltn varchar2,
    p_status varchar2,
    p_edatetime varchar2)
    IS
    BEGIN
    insert into fcclog.log_table(PROB_ID,PERSON_NAME,MODULE,START_DATE,VERSION,ASSIGNED_BY,FUNCTIONALITY,ERR_TYPE,ERR_COMPONENT,ERR_LOCATION,PROB_DESC,PROB_SOLTN,STATUS,END_DATE)
    values(p_pid,p_pname,p_mod ,p_datetime,p_version,p_assign,p_func,p_etype,p_ecomp,p_eloc,p_pdesc,p_psoltn,p_status,p_edatetime);
    END;

  • Oracle 10g AS on RHEL3 -- While restarting Component-- Error occurs

    Friends,
    I have installed Oracle 10g AS on RHEL3, under Oracle_Home where already Oracle9i is installed. I got some errors while changing the parameters in component[u] home and restarting it. I have changed some parameters in webcache and succesfully restarted.
    1) OC4J-home - failed to set the process status to ProcStatusRestart.
    2) OC4J.home - failed to restart a managed process after the maximum retry limit.
    I have commented some lines in server.xml(commented log, in order to
    reduce space for testing process) and one more file global_******.xml
    It also shows errors like orionp..... javahostexception.
    1)Can we install different versions of Oracle under one Oracle_Home.
    2)What could be the cause of the problem.
    3)How can i rectify it.
    Help me.
    Thanks,
    Raj

    Hi all,
    I have installed Oracle10g R2 on RHEL3.
    Regards,
    Raj

  • Installing Oracle 10g on winxp 32 bit and getting error

    Hi,
    I have win 7 64 bit os installed .On which i have installed 32 bit winxp on the oracle virtual box.I m trying to install Oracle 10g on this.
    For which i have downloaded Oracle Dev Suite from oracle website.
    I have also installed Oracle SQL developer for writing queries.
    When i right click on Çonnections in the Connection pane i say new connection
    After which a window opens which asks me to fill database connection parameters viz.
    Connection name : HR_ORCL
    User Name : hr
    Password hr
    Connection Type : Basic
    Role : Default
    HostName : Localhost
    Port 1521
    SID : orcl
    And then i hit test when i get an error :
    Status : Failure-Test failed : IO Error : The Network Adapter could not establish the connection
    What is causing this problem
    Help !!!

    I downloaded the oracle 10g developer suite disk1 and disk2 from the below link .
    http://www.oracle.com/technetwork/developer-tools/developer-suite/downloads/101202winsoft-087370.html

  • Performance Tuning in Oracle 10g during Migration - Insert Statements

    Some of the tables contain a huge data e.g. 7 million records to be migrated.
    The table structure of Source Database is different from the Target Database (Where we are doing the migration).
    So we have made a use of temporary tables to collect the data from different tables using joins and populate the main table using INSERT INTO tableA SELECT * FROM tableZ
    Now the problem statement.
    Some of the queries take infinite time and data doesnt get inserted into the main tables. I have seen the explain plan and didnt find anything unusual. The same query works fine when we use date time stamp and restrict the data.
    What parameters do we have to take care ? Is there any configuration needed on Oracle Server side ? If yes which parameters?

    Lets start with the basics. First what is 10g? Is that 10.1.0.3 or 10.2.0.4 or something else?
    Second 7 million records is a relatively small dataset.
    No one can possibly help you with no DDL, no DML, no Explain Plan output generated with DBMS_XPLAN.
    We can make wild guesses but that is like closing your eyes in a dark room and trying to find the light switch.
    Please repost all relevant information so someone can help you.

  • OCA in Oracle 10g database administration certificate yet not received.

    Hi,
    Can anyone please help me out in getting OCA 10g Certificate which I have cleared in May,2010 but yet its not delivered to my residential address.
    I gavewhen vendor was Prometric.
    Please guide me.
    Regards,
    Shrikant
    Edited by: user10398617 on May 18, 2011 4:36 AM

    ora_fad wrote:
    Let me give a little piece of advice.
    If your success kit didn't arrive in two months then you will not ever receive it
    until unless you let somebody know from OCP team probably.
    I have encountered this kind of situation twice. It didn't arrive in due time.
    Actually it would not arrive if I didn't keep writing emails.
    I myself passed 1z0-050 on May 14, recently.
    I don't know but completely sure that it will not arrive in two months.
    And I know that after I will not have it in time I will write emails again, then the support will
    tell me that their records indicate that it was shipped at some xxx date and so on, then they
    will reship it again and then no one will know yet whether I will have it or not.
    So, I would not advice to keep waiting but to take the phone and call them directly.
    That will solve your problem for sure.Please note I do not hold with this advice.
    Please note that in my opinion registering on certview and following the procedure there and in the FAQs from http://certification.oracle.com is the correct way to proceed. This eventuality is a known issue and there are standard procedures for dealing with it.
    Doing other than this will simply cause pain to everyone.
    This is of course currently my opinion.

  • Oracle 10g Taskbar not displaying to see the error after running the form in explorer

    Hi
    1- When we compile and run the form in forms 10g output in Internet Explorer and Avant Browser. can not see teh taskbar to see the error message, how to check the error when you run the forms in explorer there is no taskbar under the forms
    2-  When we compile and run the form in forms 10g output is displayed. ... Background has an "Oracle logo" where is the location of this Logo
    Watiing for reply thanks.

    Leopard007 wrote:
    1- When we compile and run the form in forms 10g output in Internet Explorer and Avant Browser. can not see teh taskbar to see the error message, how to check the error when you run the forms in explorer there is no taskbar under the forms
    Check the Module property: Console Window.  If this property is null, then the Status Bar will not be displayed during runtime.  You have to set this property for each form.
    Leopard007 wrote:
    2-  When we compile and run the form in forms 10g output is displayed. ... Background has an "Oracle logo" where is the location of this Logo
    The "Splash.gif" is located in the frmall.jar file. What is it you want to do?  Do you want to use a different spash image during application startup?  If yes, you can display a different startup splash image by using the splachScreen= parameter in the formsweb.cfg file.  The replacement .gif file must be located in the directory specified in the imageBase= parameter.  Keep in mind that this file will need to be signed or you will get a security warning.
    Craig...

  • In Oracle 10G i am getting 500 internal server error

    Hi,
    When i click on ADDM in OEM. i am getting below mentioned error can any one explain me why this is happening.
    500 Internal Server Error
    java.lang.NullPointerException
         at oracle.sysman.emo.perf.bean.BaseWaitsBean.initDefaultTimeInterval(BaseWaitsBean.java:227)
         at oracle.sysman.db.adm.inst.HdmController.setupWaitsBean(HdmController.java:639)
         at oracle.sysman.db.adm.inst.HdmController.onRunOrLaunchHDM(HdmController.java:2524)
         at oracle.sysman.db.adm.inst.HdmController.onEvent(HdmController.java:1273)
         at oracle.sysman.db.adm.BaseController.handleEvent(BaseController.java:818)
         at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:376)
         at oracle.sysman.db.adm.RootController.handleRequest(RootController.java:169)
         at oracle.sysman.db.adm.inst.HdmController.handleRequest(HdmController.java:2985)
         at oracle.sysman.db.adm.DBControllerResolver.handleRequest(DBControllerResolver.java:114)
         at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
         at oracle.sysman.eml.app.Console.doGet(Console.java:285)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:138)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:269)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:595)

    user13051169
    You want to post your problem on the Database General forum here General Database Discussions
    You are more likely to find help there.
    Regards,

  • Oracle 10G forms 10.1.2.0.2 Error

    I have successfully installed Oracle Application server and forms server. However on running http://server:port/forms/frmservlet?form=test I get a confirmation page that forms application installed successfully.
    Then the next page doesn't show me anything. Just applet blank(black page) and the message in the status bar as opening page but form doesn't show me anything. What could be the problem . Am I missing something. Mail me at [email protected]
    Regards,
    Firoz

    Hi Pnosko,
    Do you mean that there is nothing in the form. After confirmation page that form server installed successfully the form is not supposed to show me anything. Please confirm it. I tend to think it is the problem of Jinitiator with IE(the browser I am using).
    Regards,
    Firoz

  • Unable to Insert record In forms: error -ORA-01779 :cannot modify a column

    Hi,
    I have created one form with two block.
    Block-1 : Based on View
    Block-2 : Based on table
    There is is relationship between Block-1 and Block-2.
    Block-1 is populating from LOV.
    I just need to insert /update record Block-2 based on data from Block-1
    So Block-1 I have made read only at runtime (Inser/update all properties are false).
    Now when I insert record in Block-2 based on record from block-1, and getting below error.
    "ORA-01779: cannot modify a column which maps to a non key-preserved table"
    It is not allowing to insert record.
    Please help me.
    Subir

    The error states that there is some operation on a view, not an a table.
    Now when I insert record in Block-2 based on record from block-1What does that mean? How do you insert records in block 2?
    When exactly occurs the error?

  • Oracle 10g  Database control installation error

    Hi,
    Installing oracle 10g database control had give me an error.But Repository created successfully . please find the log file below
    Is there i need to install ...? before i start to run emca to install Database Control.
    my points of interest are here
    FileNotFoundException: /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/http-web-site.xml (No such file or directory)
    i didn't find jms.xml,rmi.xml,http-web-site.xml etc in this location /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/
    File/directory /opt/db/oracle/product/10.2.0/sysman/emdrep/config/repository.variables does not exist
    Let me know how to slove this error.
    Thanks,
    anil
    Error
    =========
    emca -config dbcontrol db -repos create
    STARTED EMCA at Apr 8, 2008 4:33:25 PM
    EM Configuration Assistant, Version 10.2.0.1.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: XXX
    Listener port number: 1521
    Password for SYS user:
    Password for DBSNMP user:
    Password for SYSMAN user:
    Email address for notifications (optional):
    Outgoing Mail (SMTP) server for notifications (optional):
    You have specified the following settings
    Database ORACLE_HOME ................ /opt/db/oracle/product/10.2.0
    Database hostname ................ xxx.xxxx.local
    Listener port number ................ 1521
    Database SID ................ XXX
    Email address for notifications ...............
    Outgoing Mail (SMTP) server for notifications ...............
    Do you wish to continue? [yes(Y)/no(N)]: yes
    Apr 8, 2008 4:34:55 PM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_2008-04-08_04-33-25-PM.log.
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig updateReposVars
    SEVERE: File/directory /opt/db/oracle/product/10.2.0/sysman/emdrep/config/repository.variables does not existApr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Failed to unlock all EM-related accounts
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Failed to unlock all EM-related accounts
    Refer to the log file at /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_2008-04-08_04-33-25-PM.log for more details.
    Could not complete the configuration. Refer to the log file at /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_2008-04-08_04-33-25-PM.log for more details.
    the following is log generated (emca_2008-04-08_04-33-25-PM.log)
    Apr 8, 2008 4:34:56 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to /opt/db/oracle/product/10.2.0/oui
    Apr 8, 2008 4:34:56 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to /opt/db/oracle/product/10.2.0/oui
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Homes to scan for used ports: [opt/db/oracle/product/10.2.0]
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME /opt/db/oracle/product/10.2.0
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager findUsedPortsFromXML
    CONFIG: Could not find or correctly parse file /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/jms.xml in searching for tag jms-server with att
    ribute port
    java.io.FileNotFoundException: /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/jms.xml (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at java.io.FileReader.<init>(FileReader.java:41)
    at oracle.sysman.emcp.util.PortManager.findUsedPortsFromXML(PortManager.java:282)
    at oracle.sysman.emcp.util.PortManager.markAllUsedPorts(PortManager.java:1172)
    at oracle.sysman.emcp.util.PortManager.getFreePorts(PortManager.java:543)
    at oracle.sysman.emcp.EMDBPreConfig.getFreePorts(EMDBPreConfig.java:2324)
    at oracle.sysman.emcp.EMDBPreConfig.checkPorts(EMDBPreConfig.java:2261)
    at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:670)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:233)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:160)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:141)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking JMS port: null from /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager findUsedPortsFromXML
    CONFIG: Could not find or correctly parse file /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/rmi.xml in searching for tag rmi-server with att
    ribute port
    java.io.FileNotFoundException: /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/rmi.xml (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at java.io.FileReader.<init>(FileReader.java:41)
    at oracle.sysman.emcp.util.PortManager.findUsedPortsFromXML(PortManager.java:282)
    at oracle.sysman.emcp.util.PortManager.markAllUsedPorts(PortManager.java:1176)
    at oracle.sysman.emcp.util.PortManager.getFreePorts(PortManager.java:543)
    at oracle.sysman.emcp.EMDBPreConfig.getFreePorts(EMDBPreConfig.java:2324)
    at oracle.sysman.emcp.EMDBPreConfig.checkPorts(EMDBPreConfig.java:2261)
    at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:670)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:233)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:160)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:141)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking RMI port: null from /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager findUsedPortsFromXML
    CONFIG: Could not find or correctly parse file /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/http-web-site.xml in searching for tag web-site
    with attribute port
    java.io.FileNotFoundException: /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole/config/http-web-site.xml (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at java.io.FileReader.<init>(FileReader.java:41)
    at oracle.sysman.emcp.util.PortManager.findUsedPortsFromXML(PortManager.java:282)
    at oracle.sysman.emcp.util.PortManager.markAllUsedPorts(PortManager.java:1180)
    at oracle.sysman.emcp.util.PortManager.getFreePorts(PortManager.java:543)
    at oracle.sysman.emcp.EMDBPreConfig.getFreePorts(EMDBPreConfig.java:2324)
    at oracle.sysman.emcp.EMDBPreConfig.checkPorts(EMDBPreConfig.java:2261)
    at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:670)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:233)
    at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:160)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:141)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking HTTP port: null from /opt/db/oracle/product/10.2.0/oc4j/j2ee/OC4J_DBConsole
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.FileUtil getProperties
    CONFIG: Error reading file /opt/db/oracle/product/10.2.0/sysman/config/emd.properties
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager getAgentPort
    CONFIG: Cannot parse EMD_URL correctly. No port identified
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking Agent port: null from /opt/db/oracle/product/10.2.0/sysman/config/emd.properties
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Cannnot parse EMD_URL correctly. No port identified
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.FileUtil getProperties
    CONFIG: Error reading file /opt/db/oracle/product/10.2.0/install/staticports.ini
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.PortManager getFreePorts
    CONFIG: /opt/db/oracle/product/10.2.0:mcidm11.pacs11.local:null:SDM:{}:null:{DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT_SDM.
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: AGENT_PORT_SDM value: 3938
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_SDM.
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DBCONTROL_HTTP_PORT_SDM value: 1158
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT_SDM.
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: JMS_PORT_SDM value: 5540
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT_SDM.
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: RMI_PORT_SDM value: 5520
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMDBPreConfig getFreePorts
    CONFIG: Ports assigned for SID: SDM : {DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: SDM, oracleHome: /opt/db/oracle/product/10.2.0, and user: SYS
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig createRepository
    CONFIG: Spooling to /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_repos_create_2008-04-08_04-34-58-PM.log
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: SDM, oracleHome: /opt/db/oracle/product/10.2.0, and user: SYS
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig grantPrivsToDbsnmp
    CONFIG: Exception while granting priviliges.
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-00942: table or view does not exist
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1467)
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeSql(SQLEngine.java:1708)
    at oracle.sysman.emcp.EMReposConfig.grantPrivsToDbsnmp(EMReposConfig.java:503)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:208)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:124)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig invoke
    CONFIG: Failed to grant priviliges to dbsnmp.
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig updateReposVars
    SEVERE: File/directory /opt/db/oracle/product/10.2.0/sysman/emdrep/config/repository.variables does not existApr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: SDM, oracleHome: /opt/db/oracle/product/10.2.0, and user: SYS
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig unlockAccounts
    CONFIG: Unlocking dbsnmp and sysman
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig unlockAccounts
    CONFIG: ORA-06550: line 1, column 62:
    PLS-00201: identifier 'SYSMAN.MGMT_VIEW_PRIV' must be declared
    ORA-06550: line 1, column 62:
    PL/SQL: Statement ignored
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-06550: line 1, column 62:
    PLS-00201: identifier 'SYSMAN.MGMT_VIEW_PRIV' must be declared
    ORA-06550: line 1, column 62:
    PL/SQL: Statement ignored
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1467)
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeSql(SQLEngine.java:1708)
    at oracle.sysman.emcp.EMReposConfig.unlockAccounts(EMReposConfig.java:566)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:235)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:124)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Failed to unlock all EM-related accounts
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Failed to unlock all EM-related accounts
    Refer to the log file at /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_2008-04-08_04-33-25-PM.log for more details.
    Apr 8, 2008 4:34:58 PM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Failed to unlock all EM-related accounts
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:239)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:124)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)

    Hi all,
    i started creating database control repository, when i saw emca running i had seen repository created successfully , but sysman user is not created at this point of time. Then i looked into emca_repos_create_2008-04-10_11-57-03-AM.log file but the file is unable to open because it's looking for file emreposcre.sql which creates sysman user in this location /opt/db/oracle/product/10.2.0/sysman/admin/emdrep/sql/
    i feel while installing the database these files are not created....? or i need to run any scripts before running emca ....?
    give me some inputs to this thread.
    Thanks,
    nil
    STARTED EMCA at Apr 10, 2008 11:55:41 AM
    EM Configuration Assistant, Version 10.2.0.1.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: XXXXX
    Listener port number: 1521
    Password for SYS user:
    Password for SYSMAN user:
    Do you wish to continue? [yes(Y)/no(N)]: yes
    Apr 10, 2008 11:57:02 AM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /opt/db/oracle/product/10.2.0/cfgtoollog
    Apr 10, 2008 11:57:03 AM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Apr 10, 2008 11:57:03 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    Enterprise Manager configuration completed successfully
    FINISHED EMCA at Apr 10, 2008 11:57:03 AM
    mcidm11 10.2.0/bin>
    CONFIG: Spooling to /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM/emca_repos_create_2008-04-10_11-57-03-AM.log
    Apr 10, 2008 11:57:03 AM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Apr 10, 2008 11:57:03 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    mcidm11 emca/SDM> pwd
    /opt/db/oracle/product/10.2.0/cfgtoollogs/emca/SDM
    mcidm11 emca/SDM> more emca_repos_create_2008-04-10_11-57-03-AM.log
    SP2-0310: unable to open file "/opt/db/oracle/product/10.2.0/sysman/admin/emdrep/sql/emreposcre.sql"mcidm11 emca/SDM> cd
    Directory: /opt/db
    mcidm11 /opt/db> cd /opt/db/oracle/product/10.2.0/sysman/admin/emdrep/sql/
    Directory: /opt/db/oracle/product/10.2.0/sysman/admin/emdrep/sql
    mcidm11 emdrep/sql> ls
    core db ias ocs

  • Apostrophe (') issue in Oracle 10g

    Hi,
    I am using oracle 10g and I inserted a record with apostrophe symbol. After executing the script i checked the data and apostrophe symbol is converted into a special character like below.
    Original - Applying of Smart 5 S’ Principles
    After insertion - Applying of Smart 5 S¿ Principles
    After that i updated the record with apostrophe symbol then also it is not updating. Please help me. Thanks.
    Cheers,
    Thana

    Hi,
    Have you tried to "escape" the quote by doubling it?
    update  yourtable
    set col1='Applying of Smart 5 S'' Principles';Are you runing your update from a machine which could have a different character set from that one you're running the select?
    (ie unix systems have different quotes for example " ` ") ...

  • Oracle upgrade from 32-bit Oracle 9i to 64-bit Oracle 10g (Windows 2003 R2)

    Hello Gurus,
    Existing I have SAP R/3 4.7 200 Oracle 9i Windows 2003 32bit
    I want to upgrade Hardware to x86 EMT64bit 
    I would like to upgrade to 64-bit Oracle 10G from 32-bit Oracle 9i. runs on Windows 2003 32bit. Target DB is Oracle 10G on x64 Windows (EMT64 hardware) on Windwos 2003R2 64bit. & Add Solution manager to new System
    Please give me any advise which is the better way of upgrading Oracle 10g. Or better yet, please advise a safe way of upgrading to Oracle 10g from 9i
    Please guide me about request shipping DVD For This Solution to my site
    Many thank in advance
    Kuekul

    Hi
    You can download Oracle 10g from service market place www.service.sap.com>downlaods>Installations and Upgrades-->
    Installations and Upgrades - Entry by Application Group>SAP NetWeaver>SAP NetWeaver7.0>Installation and upgrade>windows server-->oracle check for below software and download it
      EXE 51031678_1 ORACLE RDBMS 10.2 Windows 1 of 5 
      RAR 51031678_2 ORACLE RDBMS 10.2 Windows 2 of 5 
      RAR 51031678_3 ORACLE RDBMS 10.2 Windows 3 of 5 
      RAR 51031678_4 ORACLE RDBMS 10.2 Windows 4 of 5  
      RAR 51031678_5 ORACLE RDBMS 10.2 Windows 5 of 5
      ZIP 51033272 ORACLE 10.2 Client  
    ZIP 51036971_2 ORACLE RDBMS Patch 10.2.0.4 Windows Server on IA32 32bit 
    ZIP 51036971_3 ORACLE RDBMS Patch 10.2.0.4 Windows Server on IA64 64bit 
    ZIP 51036971_4 ORACLE RDBMS Patch 10.2.0.4 Windows Server on x64 64bit 
    Regards
    Uday

Maybe you are looking for

  • When deleting the signature using Acrobat 9.0 -server threws an exception error displays

    Hi Everyone, I have built an application using VC++ ,in my application i try to sign a document using Acrobat 9.0 ,it gets properly signed and when i try to remove the signature it throws an exception that " Server threws an exception" ,the same code

  • Errors today

    errors with itunes today?

  • Genius without a store account?

    I just got iTunes 8 today, and was excited with the concept of Genius, only to find that I need a credit card. Not only do I not have a credit card/paypal account, I have all my music on CD's, and have no desire to use iTunes store. Is there anyway t

  • Call prolog from java

    Hi there, i want to interface java and prolog. i have a parser written in java and then stored parsed program information in prolog factbase. and then i want to create some query in java that work in prolog files and out the query result from java. H

  • Rational rose and LabVIEW

    I'm in the preliminary design stage of a task and I'm debating whether to use Object-Oriented design or Structured Analysis.  I'm using LabVIEW with TestStand to control/test quite a bit of hardware (test equipment, I/O cards, VME, VXI, GPIB, etherne