Error in viewing snapshots Oracle database 10g

Database 10g rl 2 (RAC)
Os hp-ux 11i
I am trying to collect snapshot of database using ADDM, getting following error.
The details for this snapshot cannot be displayed. Either the snapshot is purged/deleted, or it is the first snapshot after an instance shutdown

Hi,
I checked the snapshot id and now when i am taking the snapshot it is giving the following error:
SQL Error
ORA-13509: error encountered during updates to a AWR table ORA-01691: unable to extend lob segment ORA-01691: unable to extend lob segment SYS.SYS_LOB0000008938C00038$$ by 128 in tablespace SYSAUX . by in tablespace ORA-06512: at "SYS.DBMS_WORKLOAD_REPOSITORY", line 10 ORA-06512: at "SYS.DBMS_WORKLOAD_REPOSITORY", line 33 ORA-06512: at line 1

Similar Messages

  • Oracle Database 10g Lite -- SYNC Error

    Hi,
    I am Using Oracle Database 10g Lite.While doing the Sync Process With the Mobile Server i am getting following error message in my Ol_SYNC.log file
    "SUCCESS",0,"03/09/2009 18:02:36","","New2008"
    "ERROR",POL-3011,"03/10/2009 12:27:54","a device read error was detected:",""
    "SUCCESS",0,"03/10/2009 13:20:12","","New2008"
    What i did is ....
    First I Download the Client New2008 from Mobile Server
    Second I done some DML operation in that Downloaded File (in the forms of *.odb and *.obs)
    Third I start to SYNC that Client "NEW2008"
    Sync process is web based only .....
    after the SYNC process Completed i got the log off Screen in MY Internet Explorer
    i always check the ol_sync.log file for the confirmation( about the SYNC) and i got the error message in that file as mentioned above.
    Error is Releated what ?
    Any Advice
    Thanks
    SHAN

    See if following OTN forum thread helps...
    Re: POL-3011/3012 when database is on SD Card.

  • Installation error - Oracle Database 10g Express Edition

    Hi - I've just tried to install Oracle Database 10g Express Edition from the Oracle website and I'm getting this error.
    Error 1327 Invalid Drive: I:\ . I've googled the error but can't find much. It seems that the path is hardcoded into the msi installation package.
    Anyone else seen this issue before as I'm at a loss at what to do ?
    I'm wondering do I have to create an I:\ drive on my machine but that seems a little unusual
    Hope someone can help
    Cheers.

    This problem may occur if you have used the Disk Administrator utility included in Microsoft Windows to change the drive letter of the hard disk that the operating system is installed on, for example, the C drive.
    The problem occurs because the Oracle Universal Installer uses registry keys to determine the locations of certain folders that are required to install Oracle. If the drive letter of the hard disk that contains the operating system has been changed, the registry keys refer to nonexistent folders and Setup fails.
    To correct this problem, use the Windows Disk Administrator program to restore the drive letter of the hard disk to its original value:
    1. Click Start, point to Programs, point to Administrative Tools, and click Disk Administrator.
    2. Right-click the drive whose letter you want to change. On the shortcut menu, click Assign Drive Letter.
    3. Select the correct drive letter from the list and click OK.
    If you are prompted to quit the Disk Administrator or to restart your computer, do so. Once the computer has restarted, attempt to install again.

  • Column 'Blocked' of view v$instance in Oracle Database 10g

    Hi All,
    What is the description of column "blocked" of view "v$instance" in Oracle Database 10g?
    I could not find the information in Oracle® Database Reference
    10g Release 2 (10.2)
    Thanks and Regards,
    Vaibhav

    SQL> describe v$instance
    Name Null? Type
    INSTANCE_NUMBER NUMBER
    INSTANCE_NAME VARCHAR2(16)
    HOST_NAME VARCHAR2(64)
    VERSION VARCHAR2(17)
    STARTUP_TIME DATE
    STATUS VARCHAR2(12)
    PARALLEL VARCHAR2(3)
    THREAD# NUMBER
    ARCHIVER VARCHAR2(7)
    LOG_SWITCH_WAIT VARCHAR2(15)
    LOGINS VARCHAR2(10)
    SHUTDOWN_PENDING VARCHAR2(3)
    DATABASE_STATUS VARCHAR2(17)
    INSTANCE_ROLE VARCHAR2(18)
    ACTIVE_STATE VARCHAR2(9)
    BLOCKED VARCHAR2(3)
    SQL> select version from v$instance;
    VERSION
    10.2.0.2.0

  • Error connecting via PHP to Oracle Database 10g XE in Arch Linux with XAMPP

    I get this error whenever I try to connect through PHP to my locally hosted Oracle Database 10g Express Edition
    Warning: oci_connect() [function.oci-connect]: OCIEnvNlsCreate() failed. There is something wrong with your system - please check that LD_LIBRARY_PATH includes the directory with Oracle Instant Client libraries in <filename>.php on line 10
    What can I do?

    Not sure what to offer for XAMP with php, perhaps it needs a configure pointing OCI8 to your ORACLE_HOME, as well as setting the oracle environment and PATH adjustment in the Apache start script.
    Somewhere under /etc there should be an init.d or perhaps rc.d directory with maybe an apache2 script that gets called at system boot or run level change. It will take editing that shell script and adding something like:
      export ORACLE_HOME=/usr/....
      export PATH=$ORACLE_HOME/bin:$PATH
      export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATHAnd restarting apache ... $ [sudo] {RC path}/apache2 restart or $ ...apache2 stop followed by an $ ...apache2 start all depending on how the boot/inits are setup on the box.
    And in your $ORACLE_HOME/network/admin/tnsnames.ora adding a tnsalias won't hurt (as long as the whitespace as well as matching parenthesis are all in order)
    myxedb =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = myhost.mycompany.com)(PORT = 1521))
        (CONNECT_DATA =
          (SID = XE)
      )

  • Creating a new database in Oracle Database 10g...

    I have downloaded a copy of Oracle Database 10g Express Edition from Oracle's website. I am using Windows XP. I am trying to create an Oracle database that I can connect to from Access 2003 via ODBC.
    1. How do I create a new database? I can see options to create tables, views, etc. but not a database.
    2. I have created a System DSN connection in the ODBC Data Source Administrator for the Oracle ODBC driver. Once I create a database in Oracle, how do I actually establish a connection to it from Access? The ODBC code to connect is there, but when I run it, I get an error.
    Any help would be appreciated. Thanks.

    1. How do I create a new database? I can see options to create tables, views, etc. but not a database.If you can see those options then you are already connected to the database. You probably want to create a user, not a database (are you by chance coming from SQL Server?)
    driver={OracleDriver};Dbq=TESTDBQ;Uid=Administrator;Pwd=;You would replace "Administrator" with the name of the user you created in the database.

  • Problem upgrading Apex 2.1 to 3.2.1 in Oracle Database 10g Express Edition

    G'Day Apex gurus,
    I installed Oracle Database 10g Express edition in my Windows XP PC which comes with Apex 2.1 with no problems. Then I wanted to upgrade Apex 2.1 to 3.2.1 (Currently Apex download in OTN) following the document below:
    http://www.oracle.com/technology/products/database/application_express/html/3.1_and_xe.html
    I went to the steps:
    @apexins SYSAUX SYSAUX TEMP /i/
    Then to change the password for the admin account run apxchpwd.sql and when prompted enter a password for the ADMIN account.
    @apxchpwd
    with not problems
    Then I connected to SQL*Plus as SYS by:
    sqlplus /nolog
    CONNECT SYS as SYSDBA
    Enter password: xxxxxxxxxxx
    but when I tried to run:
    @APEX_HOME/apex/apxldimg.sql APEX_HOME
    where APEX_HOME is Apex3.2.1 in my case
    SQL> @Apex3.2.1/apex/apxldimg.sql Apex3.2.1 (I get the messages below)
    PL/SQL procedure successfully completed.
    old   1: create directory APEX_IMAGES as '&1/apex/images'
    new   1: create directory APEX_IMAGES as 'Apex3.2.1/apex/images'
    Directory created.
    declare
    *+
    ERROR at line 1:
    ORA-22288: file or LOB operation FILEOPEN failed
    The system cannot find the path specified.
    ORA-06512: at "SYS.DBMS_LOB", line 523
    ORA-06512: at "SYS.XMLTYPE", line 287
    ORA-06512: at line 15
    PL/SQL procedure successfully completed.
    PL/SQL procedure successfully completed.
    Commit complete.
    timing for: Load Images
    Elapsed: 00:00:00.17
    Directory dropped.
    Can anyone help me in how to trouble shout this?
    I tried to continue by following the steps document
    @APEX_HOME/apex/apxxepwd.sql password
    (where password is the password of the Application Express internal ADMIN account)
    but when I tried to login in:
    http://localhost:8080/apex/f?p=4550:1
    when I type the credentials
    system
    system
    systempassword
    nothing happens
    or even If I try:
    http://localhost:8080/apex/f?p=4550:10
    admin
    adminpassword
    nothing happens here too.
    I appreciate any help
    Kind regards
    Carlos

    My database version is 10.2.0.1.0 Oracle express.
    Operating system is Windows Vista.
    I started installing using the following commands.
    @ C:\temp\apex\apexins.sql
    it prompts me for the values of sysaux sysaux temp and c:\temp\apex\images\
    If I supply the value for images the sqlplus window closes after scrolling a lot of info.
    Enroute it also prompts me for a value for 9:
    I don't know what the input shall be.
    Then it again stops at enter value for version:
    I used 3.2.1.0
    The window scrols a while and closes.
    later I changed the password and ran the command.
    @c:\temp\apex\apxldimg.sql c:\temp
    but no success with installation.
    the output is as following.
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Nov 27 18:13:43 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> connect system/sairam as sysdba;
    Connected.
    SQL> @ c:\temp\apex\apxchpwd
    Enter a value below for the password for the Application Express ADMIN user.
    Enter a password for the ADMIN user []
    Session altered.
    ...changing password for ADMIN
    wwv_flow_security.g_security_group_id := 10;
    ERROR at line 3:
    ORA-06550: line 3, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_SECURITY_GROUP_ID' must be declared
    ORA-06550: line 3, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 4, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_USER' must be declared
    ORA-06550: line 4, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 5, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_IMPORT_IN_PROGRESS' must be declared
    ORA-06550: line 5, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 8, column 23:
    PL/SQL: ORA-00942: table or view does not exist
    ORA-06550: line 7, column 15:
    PL/SQL: SQL Statement ignored
    ORA-06550: line 13, column 32:
    PLS-00364: loop index variable 'C1' use is invalid
    ORA-06550: line 12, column 9:
    PL/SQL: Statement ignored
    ORA-06550: line 19, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_IMPORT_IN_PROGRESS' must be declared
    ORA-06550: line 19, column 5:
    PL/SQL: Statement ignored
    Commit complete.
    SQL> @c:\temp\apex\apxldimg.sql c:\temp
    PL/SQL procedure successfully completed.
    Directory created.
    if wwv_flow_utilities.db_version_is_at_least('11') then
    ERROR at line 32:
    ORA-06550: line 32, column 25:
    PLS-00302: component 'DB_VERSION_IS_AT_LEAST' must be declared
    ORA-06550: line 32, column 3:
    PL/SQL: Statement ignored
    PL/SQL procedure successfully completed.
    if wwv_flow_utilities.db_version_is_at_least('11') then --11g only
    ERROR at line 16:
    ORA-06550: line 16, column 25:
    PLS-00302: component 'DB_VERSION_IS_AT_LEAST' must be declared
    ORA-06550: line 16, column 3:
    PL/SQL: Statement ignored
    Commit complete.
    timing for: Load Images
    Elapsed: 00:00:00.32
    Directory dropped.
    SQL>
    Does this require XE 11 or anything else.
    This will happen even if I supply as following(closing of sqlplus in the begining).
    @ C:\temp\apex\apexins.sql sysaux sysaux temp c:\temp\apex\images\
    Any help.

  • [Oracle Database 10g Express Edition] Don't UP

    Hi,
    I've installed the "Oracle Database 10g Express Edition" in my laptop, ThinkPad T60. The installation finish fine or I think that.
    In the event viewer I don't see any error.
    But I cant sing on in SQL/PLUS and I can't go to web config. All services are up.
    The erro when i conect by SQL PLUS are:
    SQL> connect system/PASSWORD as sysdba
    ERROR:
    ORA-12560: TNS:error del adaptador de protocolo
    SQL> connect system/PASSWORD@localhost as sysdba
    ERROR:
    ORA-12514: TNS:el listener no conoce actualmente el servicio solicitado en el
    descriptor de conexión
    I cant found the error becose It happens.
    I uninstall the database, erase the registry of Windows and Install again. But nothing success. I uninstall again, erase the registry, download again from www.oracle.com all continuous one equally.
    Thanks for all!

    SQL*Plus: Release 10.2.0.1.0 - Production on Vie Oct 20 14:47:04 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> connect / as sysdba
    Conectado a una instancia inactiva.
    SQL> connect sys/PASSWORD@localhost as sysdba
    ERROR:
    ORA-12514: TNS:el listener no conoce actualmente el servicio solicitado en el
    descriptor de conexi¾n
    Advertencia: íYa no estß conectado a ORACLE!
    SQL>
    The Services are UP.
    The name of enviourment varible is oracle_sid but the value is?
    In My PC --> Propierties ---> Advanced Option ---> Enviorurment variable
    System or User?
    Thanks an i waiting for your help

  • Oracle Database 10g Express Edition Beta 2 Installation

    Oracle Database 10g Express Edition Beta 2 Release for Microsoft Windows installation successful, no problems.

    Hi Rekha,
    The format mask 999G999G999G999G990D0000 is the format mask that I selected from the software itself. I also use this format mask for a single record update. If' s ok, no error, but with tabular form with multiple record update, it shows error .I also changed the decimal point to two digits ,select from software pop-up window (this was tested in the workspace provide by Oracle). It still shows error. Last test I put the space like 1 111,111.00 in a single record update it shows error (but if I put 1 in front of 111,111 without space it's ok-no space before). My point is from user point of view.In the first time user input 100000 the software accept it. Opp! it has to be 1100000. The user comes back after submit and put 1 without comma.It shows error (in tabular form with multiple record update not in single row update). While in the first time the user do not to key any comma at all. This may makes some confuses both the users and the developers which had to check error by adding program to checking some where in Page Processing or Page Rendering.
    Thanks
    Tritep

  • IZo-045 Oracle Database 10g DBA New Features for Oracle8i OCPs exam

    I am preparing for IZO-045 Oracle Database 10g DBA New Features for Oracle8i OCPs exam, wanted to know in order to pass the exam,
    Is it enough to read the exam topics mentioned on the following webpage.
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&p_exam_id=1Z0_045
    I really apreciate if someone who already passed this test like to share his/her experience.
    Regards
    Muhammad Ali

    muhammadali wrote:
    I am preparing for IZO-045 Oracle Database 10g DBA New Features for Oracle8i OCPs exam, wanted to know in order to pass the exam,
    Is it enough to read the exam topics mentioned on the following webpage.
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&p_exam_id=1Z0_045
    I really apreciate if someone who already passed this test like to share his/her experience.
    Regards
    Muhammad AliOkay I've haven't done 1z0-045 ... but I at one point I was considering 1z0-050 so I'm willing to share my views on an upgrade exam and exams in general.
    Remember Oracle are trying to ensure that a DBA who was tested at 8i DBA OCP has nw
    It depends on your definition of read the topics. If you mean literally just read the topics then that will result in a failure. If you mean study research practice and fully understand the topics that should lead to a pass.
    Bear in mind that Oracle would expect a competent 8i DBA attending the 5 day training course Oracle Database 10g: New Features for Oracle8i DBAs [http://education.oracle.com/web_prod-plq-dad/plsql/show_desc.redirect?dc=D17389GC10&p_org_id=&lang=&source_call=] to be able pass the exam with perhaps 2 to 4 weeks further study, revision and practice.
    Interestingly this particular exam has a relatively high pass mark (73%) ... one implication of that is that it is prudent to be comfortable with all topics.
    Generally an upgrade exam will cover topics beyond that of the straight OCA/OCP exams. The questions will obviously be at OCP level.
    It is possilble the Sybex book Oracle 10g New Features for Administrators Study Guide (Certification Study Guide) ISBN-13: 978-0782143553 which although for 1z0-040 may have some relevance for some of your topics. If you choose to purchase it that is your choice. (It seems to have good amazon reviews ... though all of these books can contain errors, it may or may not be updated for 10gR2, and some Sybex Oracle books are sometimes OTT in some areas IMHO, but that wouldn't stop me using one).

  • Oracle Database 10g relase 1 Installation Problem on RHEL 3 ES

    Dear all
    I'm trying to install oracle database 10g r1 X86_64 on Intel Xeon Machine with EM64T technology with RHEL 3 ES update 2 X86_64 edition. The problem is described below :
    Oracle OUI .runInstaller collapsed with such a following error:
    An unexpected exception has been detected in native code outside the
    VM.
    Unexpected Signal : 11 occurred at PC=0x8077470
    Function=[Unknown.]
    Library=(N/A)
    Is there anyone can help me ??

    Check pushitz website and ensure that you have all the required rpms installed properly.
    Check the log files in the installation directory. That should give some more details as to what exactly is going on.

  • Problem in starting SQL*PLUS in oracle database 10g

    Hi
    Well I am facing one problem while starting SQL*PLUS in oracle database 10g
    ERROR - "Procedure entry point longjmp could not be located in dynamic link library orauts.dll"
    This has happened when I installed Oracle Database 11g on same machine and when I deinstalled Oracle 11g then SQL*PLUS is started...no error came
    Can anybody tell me the reason please...

    hi
    pls im having the same problem but in my own case i installed oracle apex using 11g.
    im env variable is:
    C:\Oracle\product\10.1.0\Client_1\bin;C:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin\client;C:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin;C:\app\Xty\product\11.2.0\dbhome_1\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\
    pls which is my apex_home so i can interchange it?
    i also have oracle 10g client installed

  • Problem with Character Set in Oracle database 10g

    Hi,
    I tried to import one tablespace into test server. Source server with Oracle 8i and Target server with Oracle database 10g. The error I get is
    Import: Release 10.2.0.1.0 - Production on Thu Aug 3 00:20:49 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Username: sys as sysdba
    Password:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export file created by EXPORT:V08.01.07 via conventional path
    About to import transportable tablespace(s) metadata...
    import done in WE8DEC character set and AL16UTF16 NCHAR character set
    export server uses WE8DEC NCHAR character set (possible ncharset conversion)
    . importing SYS's objects into SYS
    . importing SYS's objects into SYS
    IMP-00017: following statement failed with ORACLE error 19736:
    "BEGIN sys.dbms_plugts.beginImport ('8.1.7.4.0',2,'2',NULL,'NULL',67051,25"
    "51,2); END;"
    IMP-00003: ORACLE error 19736 encountered
    ORA-19736: can not plug a tablespace into a database using a different national character set
    ORA-06512: at "SYS.DBMS_PLUGTS", line 2386
    ORA-06512: at "SYS.DBMS_PLUGTS", line 1946
    ORA-06512: at line 1
    IMP-00000: Import terminated unsuccessfully
    PLZ somebody help in geting resolve this. Has anybody seen this error before.

    The solution to this problem is described in MetaLink note #211920.1. But this note is published with LIMITED access as it involves using a hidden parameter.
    You can get access to the note through Oracle Support only.
    The problem itself is solved generically, if the source database is at least 10.1.0.3 and the target database is 10.2
    -- Sergiusz

  • Oracle jpublisher bug or bug in Oracle database 10g ?

    Hello,
    i`m trying to call web service from pl/sql in oracle database 10g v10.1.0.2.0.
    I`ve used this tutorial:
    http://www.oracle.com/technology/sample_code/tech/java/jsp/callout_users_guide.htm
    used oracle as 10.1.3 web service callout pack for 10g v10.1
    and jpublisher 10.2, which has generated pl/sql wrapper package and proxy classes.
    I`ve imported with loadjava dbwsclientws.jar and dbwsclientdb101.jar into my user called wscallout.
    Also imported proxy classes.
    When i`ve tried to call pl/sql function, i`ve got this error:
    java.lang.VerifyError: (class: oracle/j2ee/ws/saaj/soap/SOAPDoc, method: getDocumentBuilder signature: ()Loracle/xml/parser/v2/DocumentBuilder;) Wrong return type in function
         at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.<init>(SOAPPartImpl.java:47)
         at oracle.j2ee.ws.saaj.soap.soap11.SOAPPart11.<init>(SOAPPart11.java:17)
         at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createSOAPPart(SOAPImplementation11.java:209)
         at oracle.j2ee.ws.saaj.soap.MessageImpl.getSOAPPart(MessageImpl.java:415)
         at oracle.j2ee.ws.client.StreamingSender._writeRequest(StreamingSender.java:649)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:142)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
         at genproxy.runtime.ProductSynchroService_Stub.endProductConversation(ProductSynchroService_Stub:137)
         at genproxy.ProductSynchroServiceClient.endProductConversation(ProductSynchroServiceClient.java:64)
         at genproxy.ProductSynchroServiceClientJPub.endProductConversation(ProductSynchroServiceClientJPub.java:243)
    Error -29532: ORA-29532: volanie Java ukonèené nezachytenou výnimkou Java: java.lang.VerifyError: (class: oracle/j2ee/ws/saaj/soap/SOAPDoc, method: getDocumentBuilder signature: ()Loracle/xml/parser/v2/DocumentBuilder;) Wrong return type in function
    14:27:34 Execution failed: ORA-29532: volanie Java ukonèené nezachytenou výnimkou Java: java.lang.VerifyError: (class: oracle/j2ee/ws/saaj/soap/SOAPDoc, method: getDocumentBuilder signature: ()Loracle/xml/parser/v2/DocumentBuilder;) Wrong return type in function
    14:27:34 ORA-06512: na line 10
    I haven`t found anything about this issue in oracle metalink, regarding to ORA-29532.

    dude if you are using jdeveloper 10.1.3.x for development of web service the library you have loadded into database dwwsclinet etc or sopa.jar or mail .jar will not work
    for getting the output for the web services developed on jdeveloper you need following file to upload on database
    wsclient_extended for 10.1.3.x.0 where x stands for your version
    wsclient_extended.jar which can be downloaded from
    http://download.oracle.com/otn/java/oc4j/1013x0/wsclient_extended_1013x0.zip the stands for subversion
    xstands for your version
    after downloading above file upload it
    open up the socket by command
    on SYS schema
    SQL>call dms_java.grant_permission('YOUR_SCHEMA','SYS:java.net.SocketPermission','<IPaddress ofcomputer>:<portnumber>(eg 10.8.11.98:8888)','connect,resolve');
    SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.util.PropertyPermission','*','read,write');
    SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.lang.RuntimePermission','createClassLoader','');
    SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.lang.RuntimePermission','getClassLoader','');
    SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.lang.RuntimePermission','setContextClassLoader','');
    SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.lang.RuntimePermission','setFactory','');
    SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.lang.RuntimePermission','setIO','');
    SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.lang.RuntimePermission','shutdownHooks','');
    SQL>call dms_java.grant_permission('YOUR-SCHEMA','SYS:java.lang.RuntimePermission','accessClassInPackage.sun.util.calender','');
    Now make a jar file which contain all your class files of proxy put that jar file on database an compile that jar file on database it should work than convert it into java stored procedure and invoke that procedure
    Vishal Rijhwani
    JAVA DEVELOPER
    Message was edited by:
    user635429

  • Difference in select for update of - in Oracle Database 10g and 11g

    Hi, I found out that Oracle Database 10g and 11g treat the following PL/SQL block differently (I am using scott schema for convenience):
    DECLARE
      v_ename bonus.ename%TYPE;
    BEGIN
      SELECT b.ename
        INTO v_ename
        FROM bonus b
        JOIN emp e ON b.ename = e.ename
        JOIN dept d ON d.deptno = e.deptno
       WHERE b.ename = 'Scott'
         FOR UPDATE OF b.ename;
    END;
    /While in 10g (10.2) this code ends successfully (well NO_DATA_FOUND exception is raised but that is expected), in 11g (11.2) it raises exception "column ambiguously defined". And that is definitely not expected. It seems like it does not take into account table alias because I found out that when I change the column in FOR UPDATE OF e.empno (also does not work) to e.mgr (which is unique) it starts working. So is this some error in 11g? Any thoughts?
    Edited by: Libor Nenadál on 29.4.2010 21:46
    It seems that my question was answered here - http://stackoverflow.com/questions/2736426/difference-in-select-for-update-of-in-oracle-database-10g-and-11g

    The behaviour seems like it really is a bug and can be avoided using non-ANSI syntax. (It makes me wonder why Oracle maintains two query languages while dumb me thinks that this is just a preprocessor matter and query engine could be the same).

Maybe you are looking for