error when you perform an rman backup

Hi Experts;

I'm tryin' to create a backup with rman.
It is a DB oracle 10g rac with ASM. We have 2 knots.
The DB is in archive.

When I run rman, the following procedure:
Export ORACLE_HOME = < path >
export ORACLE_SID = DBSID
RMAN
target connection.

I get this message:
connected to the database target (not started)

However, DB is up and running and I can connect via sqlplus a SQLDeveloper.

Should what steps I follow to complete the backup?

Concerning

ANG

Hi ANG,.
You can connect with as sysdba with sqlplus?
Set your $OH that:

export ORACLE_SID = MRSQ1
sqlplus / as sysdba
Select * from v database $;

If this works, you should be able to connect with rman as well
sqlplus output

RMAN
target connection.
backup controlfile;

Please after the release.
Kind regards
Tycho

Tags: Database

Similar Questions

  • Backup Windows XP does not seem to be clear the attribute archive when you perform a normal backup.

    Backup Windows XP does not seem to be clear the attribute archive when you perform a normal backup.

    I do a backup of the 'Normal' at the beginning of the month.  Then, at the end of the first week, I do a "Differential" backup (using the same "backup job" but change to type "Incremental".)

    Well the difference is huge and to study, I see that a lot of files that I don't know that I didn't take the week since the 'Normal' backup have the Archive attribute set.

    Is the 'Normal' compensation not the bit mode backup of archive?  Another thing would be randomly set the attributes to archive?  Is there a ghost in the machine?  Inquiring minds want to know.

    Hello

    Differential backup marks files as having been backed up (in other words, archive attribute is not cleared). This is normal.

    For more information please visit:
    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/types_of_backup.mspx?mfr=true
    http://msdn.Microsoft.com/en-us/library/aa174458 (SQL.80) .aspx
    http://msdn.Microsoft.com/en-us/library/ms345448.aspx

    Thanks and greetings
    Umesh P - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    [If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message.] [Marking a post as answer, or relatively useful, you help others find the answer more quickly.]

  • error when you perform VCBMounter on a new account

    Hi, I get the following error message when you try to do a backup with vcbmounter on a windows machine.  It works like myself (domain user), but if I try with a new vcbuser account that is added to the vcb built in role, I get this.  I even tried to add administrators and it still does not

    C:\ & gt; vcbmounter h ny - vc. u - domain\vcbuser Pei nottelling m san fullvm-t - d C:\VMBackups\NY-WEBSENSE - a name: NY-LCSMobile

    2008-12-08 13:07:38.982 "App" 5584 info Current working directory: C:\

    2008-12-08 13:07:38.982 'BaseLibs' 5584 info HOSTINFO: See Intel CPU, numCo

    resPerCPU 1 numThreadsPerCore 2.

    2008-12-08 13:07:38.982 'BaseLibs' 5584 info HOSTINFO: This machine has 4 phys

    iCal 4 total cores and 8 logical processors processors.

    2008-12-08 13:07:40.013 'BaseLibs' 5584 info Using the libcrypto, version 9

    0709F

    2008-12-08 13:07:40.295 'BaseLibs' 5584 WARNING SSLVerifyCertAgainstSystemStor

    e: incompatibility of topic: VMware vs. ny - vc.istarfinancial.com

    2008-12-08 13:07:40.295 'BaseLibs' 5584 WARNING SSLVerifyCertAgainstSystemStor

    e: the certificate of the remote host has these problems:

    • Used to connect host name does not match name the object on the h

    certificate of the OST

    • A certificate of the host string comes from an untrusted root.

    2008-12-08 13:07:40.295 'BaseLibs' 5584 WARNING SSLVerifyIsEnabled: failed

    read the registry value. Assuming that the audit is disabled. LastError = 0

    2008-12-08 13:07:40.295 'BaseLibs' 5584 WARNING SSLVerifyCertAgainstSystemStor

    e: certificate checking is disabled, so connection will continue despite the

    error

    Copy "[vm_NY-LCSMobile] LCSMobile-NY/NY - LCSMobile.vmx":

    0%=====================50%=====================100%

    **************************************************

    Copy "[vm_NY-LCSMobile] LCSMobile-NY/NY - LCSMobile.nvram":

    0%=====================50%=====================100%

    **************************************************

    Copy "[vm_NY-LCSMobile] NY-LCSMobile//vmware-13.log:

    0%=====================50%=====================100%

    **************************************************

    Copy "[vm_NY-LCSMobile] NY-LCSMobile//vmware-12.log:

    0%=====================50%=====================100%

    **************************************************

    Copy "[vm_NY-LCSMobile] NY-LCSMobile//vmware-14.log:

    0%=====================50%=====================100%

    **************************************************

    Copy "[vm_NY-LCSMobile] NY-LCSMobile//vmware-15.log:

    0%=====================50%=====================100%

    **************************************************

    Copy "[vm_NY-LCSMobile] NY-LCSMobile//vmware-16.log:

    0%=====================50%=====================100%

    **************************************************

    Copy "[vm_NY-LCSMobile] NY-LCSMobile//vmware-17.log:

    0%=====================50%=====================100%

    **************************************************

    Copy "[vm_NY-LCSMobile] NY-LCSMobile//vmware.log:

    0%=====================50%=====================100%

    **************************************************

    2008-12-08 13:08:09.029 'BaseLibs' 5584 WARNING SSLVerifyCertAgainstSystemStor

    e: incompatibility of topic: VMware vs. ny - vc.istarfinancial.com

    2008-12-08 13:08:09.029 'BaseLibs' 5584 WARNING SSLVerifyCertAgainstSystemStor

    e: the certificate of the remote host has these problems:

    • Used to connect host name does not match name the object on the h

    certificate of the OST

    • A certificate of the host string comes from an untrusted root.

    2008-12-08 13:08:09.044 'BaseLibs' 5584 WARNING SSLVerifyIsEnabled: failed

    read the registry value. Assuming that the audit is disabled. LastError = 0

    2008-12-08 13:08:09.044 'BaseLibs' 5584 WARNING SSLVerifyCertAgainstSystemStor

    e: certificate checking is disabled, so connection will continue despite the

    error

    2008-12-08 13:08:10.435 'BaseLibs' 5584 WARNING SSLVerifyCertAgainstSystemStor

    e: incompatibility of topic: VMware vs. ny - vc.istarfinancial.com

    2008-12-08 13:08:10.435 'BaseLibs' 5584 WARNING SSLVerifyCertAgainstSystemStor

    e: the certificate of the remote host has these problems:

    • Used to connect host name does not match name the object on the h

    certificate of the OST

    • A certificate of the host string comes from an untrusted root.

    2008-12-08 13:08:10.435 'BaseLibs' 5584 WARNING SSLVerifyIsEnabled: failed

    read the registry value. Assuming that the audit is disabled. LastError = 0

    2008-12-08 13:08:10.435 'BaseLibs' 5584 WARNING SSLVerifyCertAgainstSystemStor

    e: certificate checking is disabled, so connection will continue despite the

    error

    2008-12-08 13:08:10.544 'blocking' WARNING 5584 Could not renew the lease of record.

    2008-12-08 13:08:13.857 caveat "App" 5584 Need to acquire new lease for snapsh

    OT-4453 [vm_NY-LCSMobile] LCSMobile-NY/NY - LCSMobile.vmdk after failure lease renew

    Al (attempt #1).

    2008-12-08 13:08:14.825 'blocking' WARNING 5584 Could not renew the lease of record.

    2008-12-08 13:08:14.825 'Blocking' 5584 error

    Conversion of 'C:\VMBackups\NY-WEBSENSE\scsi0-0-0-NY-LCSMobile.vmdk' (compact file)

    :

    0%=====================50%=====================100%

    **************************************************

    2008-12-08 13:08:17.810 "vcbMounter" error 5584 Error: Cannot export the di

    SK: IO operation has failed

    2008-12-08 13:08:17.810 "vcbMounter" error 5584 An error has occurred, cleaning

    ...

    Deleted directory C:\VMBackups\servername

    I have a lot of space, and as I mentioned it works with my user account.  Thank you!

    Thanks for the newspaper. Looks like it gets not even through the download. What are the rights this user account has on the proxy VCB itself? I would try to give him administrative rights on the proxy server to see if that helps any.

    Hope that helps! Please, help me by marking my response as "useful" or "correct", if you feel it is useful!

    -Amit

  • Get this error when you perform a place with file oam

    I get the following error when downloading a file OAM: muse_manifest.xml. try again latter.

    Also is there a better way to get the videos to play in the muse?

    Anyone know what this means?

    Thank you.

    Joe

    I have the screenshot of the exact error?

    Also the videos you can find this useful widget: Adobe Muse HTML5 video Player Widget | MuseThemes.com Details: Adobe Muse Widget | Customizable HTML5 video player

  • When you perform a full backup in Windows 7, is also trying to save the destination drive

    Hello when I do a backup on my computer he wants to save the destination for my backup disk. I use the Windows 7 professional 64-bit operating system. I know that he cannot back up the drive on which the backup happens. How can I prevent that from happening.

    Hi FrancisEarley

    Yes, the backup can not be performed if the destination drive is selected in the backup list, if it is selected, then be sure to uncheck this drive and then proceed to the backup or if you want to include this backup disk, and then you must select a different destination location.

    For example, you can't back up the contents of drive E: to drive E:

    You can follow the steps of manual backup and verification-

    (a) open Backup and Restore.
    (b), select 'Configuration Backup' or 'back up now '.
    (c) and then in the list to save drivers deselect the destination drive, if it is present in the backup list and move forward with new steps to perform the backup.

    Refer to the below help links -.

    http://Windows.Microsoft.com/en-us/Windows7/back-up-your-files

    http://Windows.Microsoft.com/en-us/Windows7/how-does-Windows-choose-which-files-to-back-up

    http://Windows.Microsoft.com/en-us/Windows7/where-should-I-save-my-backup

    I hope this helps.

  • Post-installation SQL scripts when you restore the RMAN backup to a higher version

    Hello

    If I have a backupset from RMAN, say a 11.2.0.3.0 DB and I want to restore it to a DB 11.2.0.4.5, I know I have to open in upgrade mode, and run the SQL of the PSU OJVM components as well as the power supply of January 2015, once the recovery is complete.

    Is there something specific about the order of the catbundle, the utlrp, the utli112 and the OJVM postinstall scripts that must run after catproc?

    I guess it must be:

    catproc-> utli112-> OJVM PSU - > catbundle-> utlrp

    But the thought that I would check just in case there is something specific that I missed.

    Thank you

    Phil

    Well - to perform a test upgrade will help you perfect/tweak the process

  • I have error vowsem216dll come often when you turn it on and when you perform updates

    I have error vowsem216dll come often when starting up and when you perform updates today has 32/ntdll.dll error. How do I sort them?

    Many had / have Windows 98 so far.  He may not be able to access most of the internet, but it works.

    You upgrade the computer to another operating system platform?

    Windows XP is more supported by Microsoft but as long you are able to locate the drivers/software to operate, do. Windows 8 is developing so I wouldn't waste my money on Windows 7 right now.

    Restart the computer and the logo of the manufacturer, start typing F8

    Select Mode safe mode with networking

    Download the following tool and run a full system scan to exclude the malware.  If your system is infected your anti-virus software will have been compromised.

    http://www.Microsoft.com/download/en/details.aspx?displaylang=en&id=16

    You receive messages such as:

    Rundll32 - this program has performed an illegal operation and will be shut down.

    RUNDLL caused a General Protection Fault in module MMSYSTEM. DLL to 000's: 00000032

    Search for a file located in c: \ windows------vowsem 216.le dll

    After that the file is associated (application/program)

    The only reference I can find about vowsem216dll is on yahoo or pharmaceutical products of brand vowsem responses

    http://UK.answers.Yahoo.com/question/index?QID=20081001095149AAvpVDo

    Start > type MSCONFIG

    Search for list of vowsem and uncheck the box

    Click on apply, Ok

    Restart the computer

    Check do not show me this again in the Configuration window.  It will show at startup, and except if you check the box to not show it will nag.

    Click Start > run

    Type System.ini

    Click OK

    Search for mmsystem

    If this line does not exist, add it.  Save and close the System.ini

    Restart the computer

  • I am still getting error code 8004ff83 when you perform the update

    I am still getting error code 8004ff83 when you perform the update

    I read that in safe mode, it would be possible to do the update. What is safe mode?

    Hello

    Perform the steps from the link below and check if the problem persists.
    Problems with installing updates
     
    Hope this information helps.
  • Error when you try to install Vista SP2 WindowsUpdate_80070570

    When I try the install of Vista SP2. I get this error message:
    'WindowsUpdate_80070570 '.

    Here's what I've been able to get when I performed the "verifyscan."  When I tried the "scannow", he gets 30% and says that it cannot perform the requested function.  Anyway, here's the cbs.log newspaper, perhaps what is ' All help to get an answer:

    the problem I have is that I can't download Vista SP2 because of a file corrupted somehow.  Impossible to find a solution to this error when you use windows update.  in any case, here's what I found when I followed your steps above... What do you think maybe would it be?

    2009-11-14 14:14:26, error CSI 00000070 (F) STATUS_FILE_CORRUPT_ERROR #1776848 # to Windows::Rtl:SystemImplementation:DirectFileSystemProvider:SysCreateFile(flags_=_0,_handle_=_{provider=,_handle=0},_da_=_(FILE_GENERIC_READ|)) FILE_WRITE_ATTRIBUTES | FILE_WRITE_EA | FILE_APPEND_DATA | FILE_WRITE_DATA), oa = @0x16ae850--> OBJECT_ATTRIBUTES {s:24, rd:, on:[81]"\SystemRoot\WinSxS\Temp\PendingRenames\c0f325106765ca01330a0000a415c001.$$.cdf-ms"; a: (OBJ_CASE_INSENSITIVE)}, iosb = @0x16ae82c, as = (null), fa = 0x00000020, his = (FILE_SHARE_READ |) FILE_SHARE_WRITE. FILE_SHARE_DELETE), d = FILE_OPEN_IF, co = (FILE_NON_DIRECTORY_FILE |) FILE_SYNCHRONOUS_IO_NONALERT | (0 x 00004000), eab = NULL, eal = 0, disp = (null))
    [gle = 0xd0000102]
    2009-11-14 14:14:26, error CSI 00000071@2009/11/14:20:14:26.045 (F) d:\longhorn\base\wcp\sil\merged\ntu\ntsystem.cpp(1854): native STATUS_FILE_CORRUPT_ERROR error of the function expression Windows::Rtl:SystemImplementation:DirectFileSystemProvider:SysCreateFile: (null)
    [gle = 0 x 80004005]
    2009-11-14 14:14:30, Error CSI 00000072 (F) STATUS_FILE_CORRUPT_ERROR #1776837# from Windows::Rtl::SystemImplementation::CFile_IRtlFileTearoff::SetContents(file = [l:74{37}]"\SystemRoot\WinSxS\FileMaps\$$.cdf-ms", flags = 0, contents = {l:3600 b:50636d480100000000000000668929e80c7e131b4b000000800200002a0000005400000000000000000000000d0000004c02000000000000000000004a000000ffffffffff1b352825d55541acb06e7c64c725d8233dffff0000000000000000dcf7b34b0000000001000000e690d6260000000002000000d45bc52d00000000...}) [gle = 0xd0000102]
    2009-11-14 14:14:30, error CSI 00000073 (F) STATUS_FILE_CORRUPT_ERROR #1776831 # to CFileInstaller::AddFileMappingContent (...) [gle = 0xd0000102]
    2009-11-14 14:14:30, error CSI 00000074 (F) STATUS_FILE_CORRUPT_ERROR #1776743 # to CFileInstaller::CommitChanges (...) [gle = 0xd0000102]
    2009-11-14 14:14:30, error CSI 00000075 (F) STATUS_FILE_CORRUPT_ERROR #1776742 # to PrimitiveInstaller::CCoordinator:FinalizeChanges (...) [gle = 0xd0000102]

    Note perform a repair installation will not damage files and applications that are currently installed on your computer.

    But, I recommend always backup your important just in case stuff.
    No one can give no guarantee that nothing's wrong turn. TaurArian [MVP] 2005-2010 - Update Services

  • Error: "there was a disk error when you write to the file C\:Program files (x 86) \microsoft games\dungeon siege\resources\objects.dsres" during the installation of Dungeon Siege.

    When I try to install it it comes up with an error about 16% in the installation, saying that there is a disk error when you write to the file C\:Program files (x 86) \microsoft games\dungeon siege\resources\objects.dsres

    Any ideas?

    Hi MouseToe,

    What version of Dungeon Siege you trying to install?

    The cause of this problem could be the corrupted resource (.dsres) file or disk error. Here are some things you can do to solve the problem.

    Method 1: Run the disk check.

     

    Check the integrity of your hard disk for lost clusters and errors.

    To do this, follow the steps in this article: check a drive for errors

    Method 2: Defragment the hard disk.

    This improves the performance of your hard drive.

    Reference: improve performance by defragmenting your hard drive

    Method 3: Run the game as administrator.

    Here's how:

    (a) right click on the game configuration file.

    (b) choose 'Run as administrator'.

    Method 4: Try to install the game in a different folder or to a different drive

     

    Try to install the game in a different folder. If the computer has another hard disk, try to install the game on the other hard drive.

    Follow these steps.

    a. Insert the game disc in the drive.

    Note: Do not click on Quick Installation during installation.

    b. follow the setting menus until you see the change button.

    c. click change.

    d. in the path box, delete the existing path, and then type the following text:

    drive: \Program Files\Microsoftgame name Games\

    In this example,drive is the letter of the hard disk drive and the name of the game is the name of the game you are trying to install.

    e. click OK when finished.

    f. follow the instructions that appear on the screen to install the game.

    This should be it.

    For more information, please visit:

    http://support.Microsoft.com/dungeonsiegeiifaq

    For additional assistance, please post your concerns at the forum below.

    http://www.Microsoft.com/games/en-us/community/pages/forums.aspx

    Kind regards

    Shinmila H - Microsoft Support

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Q327120 error when you install Windows xp sp3

    Original title:
    error code
    When I try my winxp sp3 his watch after error what is the solusion? Pls help

    Hello

    Thanks for posting in the Microsoft community!
    You have reached the right forum for your question. If I understand correctly, you receive the Q327120 error when you install Windows xp sp3. I suggest you follow the troubleshooting steps to check if this may help.

    You did changes to the computer before the show?

    Method 1:
    You can try the steps in knowledge base article and check.
    Error message: Windows Service Pack 1 has detected that one or more protected Core system files on your computer have been modified
    http://support.Microsoft.com/kb/327120

    Method 2:

    Perform a clean boot and then try to install and check.
    How to configure Windows XP to start in a "clean boot" State
    http://support.Microsoft.com/kb/310353

    Note: When the diagnosis is complete do not forget to reset the computer to a normal startup. Follow step 7 in the above article.

    Check out the link:
    How to download Windows XP SP3
    http://support.Microsoft.com/kb/322389

    Reference link:
    Steps to take before you install Windows XP Service Pack 3
    http://support.Microsoft.com/kb/950717

    If you need further assistance, please answer and we will be happy to help you.

  • Get the error when you try to manually create a restore point in Vista 32 - Bit - System - Protection of the system control panel. Got the unable to create the specified task

    Get the error when you try to manually create a restore point in Vista 32 - Bit - System - Protection of the system control panel.
    Got the unable to create the specified task

    Hello

    What is the exact error message received when the problem occurs?

    Methood 1:

    Auditor of file system (CFS) scan to fix all of the corrupted system files. To do this, follow the steps in the following link:

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

    http://support.Microsoft.com/kb/929833 

    Method 2:

    You can start Windows Vista by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    I suggest to put the computer in a clean boot state, and check if the problem persists, see the link:
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135
    Note: See step 7; Reset the computer to start as usual after troubleshooting is performed.

    Method 3:

    You can temporarily disable the security software and check if the problem occurs. Check out the following link to do the same thing:

    http://Windows.Microsoft.com/en-GB/Windows-Vista/disable-antivirus-software

    Warning: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attacks.

    I hope this helps! Let us know if you need more assistance.

  • Microsoft Office regularly crashes when you perform a save as on a network location mapped

    Microsoft Office regularly crashes when you perform a save as to any place of the network off the internal hard drives on my laptop. The version is 14.0.6112.5000 (64-bit).

    The question seems to relate to a problem with the Windows Explorer, I find that if I first open the folder by browing through Windows Explorer crash is much less likely to occur. It is not always, but usually after the 4th or 5th attempt I can save the document. Once I made the first save as a new document, I didn't backup after problems.

    This happens only with the Office suite of products - I have no similar problems with third-party programs.

    What is happening is the Save dialog box under opens, but when I try to navigate through the program crashes. I can usually (but not 100% of the time) scroll to reach readers intgernal, but almost always crashes when you try to reach the network mapped drives unless I have already sailed on these places by car outside the word.

    It is a relatively new problem. I did a clean install of Windows 7 (x 64) on my laptop in November 2011, everything was fine until April. My thought is that a .dll file is corrupt, or there could be a problem of accidentally unplugging a smartphone or Tablet without ejecting it first.

    Suggestions are greatly appreciated, I really don't want to go through the hassle to do a clean install and then restore all my programs again.

    Thank you!

    Julie

    I think that the first thing would be to try a repair.
    Start > Control Panel > programs and features > click on your Office installation > click Change > repair

    I hope this helps.

  • Error when you use the feature Version «Back upward in a file»

    I run an error when you try to save a file version. The error is below to:

    There was an error trying to get the status of the job.

    1: the server returned an error during the processing of the action: CloseJob. Error message: String reference not set to an instance of a string.

    Parameter name: s

    As you can tell, he didn't give me much to do.

    Some background information:

    -J' trying to backup/export a version that has been upsized QA development

    -QA and development have the same version/patch 11.1.2.3.500

    -This version has been imported into the development, and then copied, and then mixed with a development version.

    -I did not receive any errors during this process

    -I am able to backup other files without getting this error

    Any help will be really appreciated.

    Thank you

    Aaron

    Hi Aaron,

    At first glance, it looks like there may be a string of property that is not a string data type. However, before you dig too deep, try to reload the version to see if that makes a difference. I had a similar problem before and it is solved.

    Thank you

    Jordan

  • Re: "insufficient privileges" error when you run the Java stored procedure in another schema

    I get an "insufficient privileges" error when you run the Java stored procedure in another schema, see details below.  I don't know what are missing privileges (I already granted the EXECUTE privilege), suggestions?  -Thank you.

    Define a simple java class and deploy it as a Java stored procedure to test:


    Schema: User1

    test of the package;

    public class HelloWorld {}

    public HelloWorld() {

    Super();

    }

    public static String Hello () {}

    Return "HELLO";

    }

    }

    CREATE or REPLACE FUNCTION HELLO RETURN VARCHAR2 AUTHID CURRENT_USER AS LANGUAGE JAVA NAME ' test. HelloWorld.hello () return java.lang.String';

    Grant execute on USER2 HELLO

    Test the Java stored procedure through the PL/SQL function call (in the same schema):


    Schema: User1

    SET SERVEROUTPUT ON

    DECLARE

    v_Return VARCHAR2 (200);

    BEGIN

    v_Return: = User1. HELLO;

    DBMS_OUTPUT. Put_line ('v_Return =' | v_Return);

    END;

    anonymous block filled

    v_Return = HELLO

    Test the Java stored procedure through the PL/SQL function call in a different pattern:


    Schema: USER2

    SET SERVEROUTPUT ON

    DECLARE

    v_Return VARCHAR2 (200);

    BEGIN

    v_Return: = User1. HELLO;

    DBMS_OUTPUT. Put_line ('v_Return =' | v_Return);

    END;

    Error report-

    ORA-01031: insufficient privileges

    ORA-06512: at "User1." HELLO', line 1

    ORA-06512: at line 4 level

    01031 00000 - "insufficient privileges".

    * Cause: An attempt was made to change the user name or password

    without the privilege appropriate. This error also occurs if

    trying to install a database without the need for employment

    access privileges.

    When Trusted Oracle is configure in DBMS MAC, this error may occur

    If the user has been granted the privilege necessary for a higher label

    that the connection is active.

    * Action: Ask the database to perform the operation or grant administrator

    the required privileges.

    For users Trusted Oracle get this error, well that granted the

    the privilege that is suitable for the top label, ask the database

    administrator to grant the privilege to the appropriate label.

    You have created the function with AUTHID CURRENT_USER, which means that the function is executed with the rights of the applicant (but not with the rights of the author). This means that the applicant must have grants (directly or through roles) on all used/accessible objects in the service. In your case the user USER2 has not granted with EXECUTE on the class/source Java test. Class HelloWorld, causing the ORA-01031 exception. You create service without AUTHID CURRENT_USER (i.e. with AUTHID DEFINE, which is by default, if you do not have a specific reason to use AUTHID CURRENT_USER) or grant EXECUTE on JAVA test SOURCE. Class HelloWorld to User2.

    Dimitar

Maybe you are looking for