Set role does not appear to be working

Below, I've listed two blocks of code. The first block executes just fine. The second block throws an exception on the last line. The error returned from the server is "ORA-04043: object PERSON_VIEW does not exist". The only difference between the two blocks of code is how they log in. The first block logs in as a user with more rights. The second block logs in as a user with very little rights, but obtains more rights using the "set role" statement. I used SQL Plus to log in manually as the second user, executed the "set role" statement, and had no problem describing PERSON_VIEW. What am I doing wrong in the second block of code?
Environment *pEnv = Environment::createEnvironment( Environment::OBJECT);
Connection *pCon = pEnv->createConnection( "MYAPP", "PASSWORD", "MYDB");
MetaData data = pCon->getMetaData( "PERSON_VIEW", MetaData::PTYPE_VIEW);
Environment *pEnv = Environment::createEnvironment( Environment::OBJECT);
Connection *pCon = pEnv->createConnection( "USER", "PASSWORD", "MYDB");
Statement *pStatement = pCon->createStatement( "set role MYAPP_ROLE identified by PASSWORD");
pStatement->executeUpdate();
MetaData data = pCon->getMetaData( "PERSON_VIEW", MetaData::PTYPE_VIEW);

In case anyone cares, the actual problem is that the OCCI throws an Ora-4043 when describing a SYNONYM in 10.1.0.3. This has been designated a bug and assigned to the development team. :o)

Similar Messages

  • My iMessage does not appear to be working. Every time I go to reply to an existing message it just appears as normal text. I have tried to create a new message but it still just defaults to normal messages. I have checked my settings but looks ok. Help?

    My iMessage does not appear to be working. Every time I go to reply to an existing message it just appears as normal text. I have tried to create a new message but it still just defaults to normal messages. I have checked my settings but it is all set up as it should be. Is there anything I've missed or could try? Thanks

    Try the following:
    In Finder, select the problematic volume and then press command-I.
    Expand the Sharing & permissions section if it's collapsed.
    If the section is locked, then unlock it by pressing the padlock button and then authenticating as directed.
    Tick/check Ignore ownership on this volume.

  • Video will not play on BBC site error message this content does not appear to be working .Help

    I have bbc news as home page after i updated to firefox 10 if i try to play embedded video i get the eror message [this content does not appear to be working] Help

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain models. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • HT4053 How do I delete photos, the delete button does not appear to be working?

    I have downloaded all my photos to my new IPad. I need to delete some I do not want, how do I do it. The delete button does not appear to be working?

    I personally don't know of any other software that does syncing, however, you can use another cloud service like Dropbox or Flikr to house your photos, add and delete them and have them available for viewing on any device or comuter that has an internet connection.
    I'm not sure why you would be having trouble not getting photos that you put into your Photo Stream Uploads folder on your iPad. Photo Stream is Photo Stream. Also, just so you know, photo management and Photo Stream have nothing to do with iTunes. Photo management on the computer is done through your photos folder and app (on a Mac, it's iPhoto). You only use iTunes to tell the sync process which items to retrieve and sync from that library. Photo Stream is completely independent of iTunes altogether.
    If you want to get photos from a camera to your iPad without having to use a computer, get a camera connection kit which will allow you to physically hook the camera to the iPad, and to directly download the photos from the camera to the iPad.
    You would still want to also hook the camera up to the computer to back those photos up to your photo library on your computer.
    Also you might want to look into purchasing (for under $5) iPhoto for your iPad:
    https://itunes.apple.com/us/app/iphoto/id497786065?mt=8
    Seems like you might benefit from talking to your local Apple Store about when they might have some sessions for learning photo management and sharing between your device and computer, because what you appear to be wanting to do is all do-able. I guess I'm just missing what your issue is. You can many things with photos on your iPad, however, your device will never be a substitue for your computer for backing up and managing your photos.
    So, best of luck, I hope one of the suggestions above will help you to achieve what you are trying to do.
    Cheers,
    GB

  • I have loaded new software and iMessages does not appear to be working.  All messages appear as in delivered but they will send to the same address on my iPhone.

    I messages does not appear to be working on iPad every time I type a message it comes up as in delivered but I can type the same message on my iPhone and it works straight away

    MMS is a carrier issue... contact Verizon and ensure your account is provisioned correctly.  I would think that someone would be intelligent enough to do that before buying a new device, but......
    iMessage could be an activation issue or a network issue.
    Have you tried Settings > General > Reset > Reset Network Settings?
    Does iMessage work consistently on Wi-Fi?

  • My disc drive on my imac does not appear to be working. It takes the disc in but then spits it out without reading it. I have thought about purchasing an external disc drive, can someone advise me please?

    My disc drive on my imac does not appear to be working. It takes the disc in but then spits it out without reading it. I have thought about purchasing an external disc drive, can someone advise me please?

    Try the following:
    In Finder, select the problematic volume and then press command-I.
    Expand the Sharing & permissions section if it's collapsed.
    If the section is locked, then unlock it by pressing the padlock button and then authenticating as directed.
    Tick/check Ignore ownership on this volume.

  • Autofill in Google Toolbar does not appear to be working with Firefox 4 - Aways saying Autofill not available for this page even on pages I have used it before FF4 upgrade

    Autofill in Google Toolbar does not appear to be working with Firefox 4 - It aways gives the message "Autofill not available for this page". This is happening on pages I have used Autofill on before upgrading to FF4 from Firefox 3.5.x

    i did not see a solution posted - I tired what I read. Going back to an old version may solve the problem but it is a stupid solution so I have yet to do that.
    I am on version 4 and autofil this does not work :
    Popular answer Go to this answer
    Uninstall version 5, then Google "google toolbar version 4", follow the link to FileHippo.com, and download and install the last version 4. When you reinstall it, make sure you turn off the option to perform automatic updates.
    6 of 7 people found this answer helpful. Did you? Sign in to vote. Report abuse

  • My on/off button does not appear to be working on my iphone 3.....is there any way around this....anyway around this?...the phone also periodically just switches off.

    my on/off button does not appear to be working on my iphone 3.....is there any way around this....anyway around this?...the phone also periodically just switches off.

    Likely a hardware issue... no way around that except to get it repaired or don't use it (the button).
    Try restoring to solve the switching off problem.

  • Click wheel does not appear to be working

    My click wheel does not appear to be working. I can however, press "menu" & the center button at the same time to reset it. Any suggestions on how to get it working again?

    Have you tried doing a RESTORE on the iPod when plugged in and showing up in iTunes?
    Patrick

  • My microphone does not appear to be working, people can not hear me on Skype.

    My microphone does not appear to be working, people can not hear me on Skype.  TIA

    I have the same problem..-_-

  • New Role does not appear in home page after assigned to a user

    Hi there!
    I'm new at SAP Portals.
    I've created a role and assigned it to an user, but the corresponding tab does not appear in home page.
    I've already changed permitions to a group that is assigned to the user.
    I've seen in some posts that the role's property "Entry point" should have value "Yes", but mine is set to "No". Meanwhile, I can't change it. When I open the role and press button "Properties" nothing happens. The only way I can check role's properties is through "Delta Link tracer", but there I can't change them.
    Can you help me, make the new tab (corresponding to role) happear in home page menu?
    Thanks and best regards,
    Vasco Brandã

    Hi,
    to track down you problem, you click on "properties", but you can't see the properties? They won't get loaded and therefor, you can't edit the property?
    What's your portal version + SPS, which browser are you using + version (IE, FF) and how do you access the portal? IP, FQDN? Are you getting any error message in the browser?
    What profile is assigned to your user? What kind of roles are you trying to modify? A new one, or a SAP pre-delivered portal role?
    br,
    Tobias

  • Time machine volume does not appear but backup works..

    Hi. I have a Sno Leo server used for Time Machine backups. When I try to add a bew user to the backup, the backup volume does not appear (Time Machine Prefs > Select disk). The backup clients that have been previously set up work as normal.

    In the Finder, press the key combination shift-command-C, or select
    Go ▹ Computer
    from the menu bar. A window will open showing all mounted volumes. Select the one in question and open the Info window. What is shown as the Format in the General section? If it's not "Mac OS Extended," Time Machine can't back up the volume.

  • The link to portal patches(in Metalink) does not appear to be working

    The link at http://portalstudio.oracle.com/servlet/page?_pageid=1787&_dad=ops&_schema=OPSTUDIO
    does not seem to be working. When clicking on the links, I get that I am not allowed access even though my licenses say I am.
    Also, if I enter Metalink and enter that bug number, it is not found.
    What's up with that?

    Don't know since when.  But the last weekend I applied a bunch of SharePoint Updates and the problem seems solved now. Unfortunately I can't say exactly which update it was.
    The similar problem which we had with the blog mail alerts when clicking  on the "view" link, could be solve by
    this workaround.

  • Xen VNC does not appear to be working/listening

    Working through some issues, I am to a point where I think I should be able to install windows in a Xen VM, but when I try to connect to the session, the connection is refused.  I have tried various session numbers to make sure something was not conflicting, but no matter what I do, my connection gets refused.  Besides this, I have what appears to be a healthy system, but for some reason vnc is not listening or maybe it is simply not running.  If I type vncserver, the command it not found, but I am not sure that is needed to function with xen or not.  Any help is appreciated.
    Last edited by smakovits (2013-12-18 21:49:33)

    I thought I should update this with slightly more information based on my testing and findings.  It would seem the most likely reason I am not able to connect to the host from my remote computer via vnc is because vnc is not listening for connections, so I am simply turned away at the door.
    I have tried going into xend-config.spx and making sure the server is set to listen
    (vnc-listen '192.168.0.0')
    I have also tried
    (vnc-listen '0.0.0.0')
    The one thing I was not sure of is if something needs to be restarted between configuration changes.  For me, rebooting would seem to do the same, but I am not sure if I need to run a command to re-read the configuration or not.
    The one thing that is certain is that when I run "netstat -tap" I see nothing using port 5900 and because of this, it is pretty obvious I will not be able to connect.
    Here are the results of a few of the commands i have found and run:
    testARCH ~ # ps -ef | grep vnc
    root 734 1 19 12:04 ? 00:00:05 /usr/lib/xen/bin/qemu-dm -d 2 -domain-name windows -vnc 192.168.0.0:0 -vncunused -videoram 8 -boot dc -usb -usbdevice tablet -acpi -vcpu_avail 0x01 -net nic,vlan=0,macaddr=00:16:3e:51:20:4c,model=e1000 -net tap,vlan=0,ifname=vif2.0-emu,bridge=xenbr0,script=no,downscript=no -M xenfv
    root 835 450 0 12:04 pts/0 00:00:00 grep --color=auto vnc
    testARCH ~ # netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 *:32469 *:* LISTEN 467/Plex DLNA Serve
    tcp 0 0 *:ssh *:* LISTEN 391/sshd
    tcp 0 0 *:32443 *:* LISTEN 398/Plex Media Serv
    tcp 0 0 *:46850 *:* LISTEN 395/rpc.statd
    tcp 0 0 *:xinuexpansion4 *:* LISTEN 467/Plex DLNA Serve
    tcp 0 0 *:58827 *:* LISTEN 408/Plex Plug-in [c
    tcp 0 0 192.168.0.0:rfb *:* LISTEN 734/qemu-dm
    tcp 0 0 *:sunrpc *:* LISTEN 392/rpcbind
    tcp 0 0 *:32400 *:* LISTEN 398/Plex Media Serv
    tcp 0 0 *:ndmp *:* LISTEN 318/perl
    tcp 0 0 *:sunproxyadmin *:* LISTEN 388/python2
    tcp 0 0 *:52276 *:* LISTEN 564/Plex Plug-in [c
    tcp 1 0 testARCH:38815 192.168.:xinupageserver CLOSE_WAIT 467/Plex DLNA Serve
    tcp 1 0 testARCH:53462 192.168.0.104:6357 CLOSE_WAIT 467/Plex DLNA Serve
    tcp 1 0 localhost.localdo:56842 localhost.localdo:58827 CLOSE_WAIT 467/Plex DLNA Serve
    tcp 1 0 testARCH:47976 192.168.:xinupageserver CLOSE_WAIT 467/Plex DLNA Serve
    tcp 1 0 testARCH:48189 192.168.:xinupageserver CLOSE_WAIT 467/Plex DLNA Serve
    tcp 0 64 testARCH:ssh 192.168.0.99:55725 ESTABLISHED 429/sshd: root@pts/
    tcp 0 0 testARCH:53461 192.168.0.104:6357 TIME_WAIT -
    tcp 1 0 testARCH:53463 192.168.0.104:6357 CLOSE_WAIT 467/Plex DLNA Serve
    tcp6 0 0 [::]:ssh [::]:* LISTEN 391/sshd
    tcp6 0 0 [::]:41638 [::]:* LISTEN 395/rpc.statd
    tcp6 0 0 [::]:sunrpc [::]:* LISTEN 392/rpcbind
    testARCH ~ #
    So it would seem that at this point I have sort of reached the end of the road with the stuff I know and can dig up so I am really hoping someone can help me out a bit.  I also hope I am in the right forum and if not, lets get it moved because this seems to be the last hurdle I need to cross before having a functional Arch/Xen test system.
    Here is one last log that I saw helped someone else resolve things.
    qemu-dm log
    domid: 2
    -videoram option does not work with cirrus vga device model. Videoram set to 4M.
    Using file /dev/VMs/win7 in read-write mode
    Strip off blktap sub-type prefix to /home/win7.iso (drv 'aio')
    Using file /home/win7.iso in read-only mode
    Watching /local/domain/0/device-model/2/logdirty/cmd
    Watching /local/domain/0/device-model/2/command
    Watching /local/domain/2/cpu
    qemu_map_cache_init nr_buckets = 10000 size 4194304
    shared page at pfn feffd
    buffered io page at pfn feffb
    Guest uuid = efe882ed-a79a-4573-8e23-1432529666ab
    populating video RAM at ff000000
    mapping video RAM from ff000000
    Register xen platform.
    Done register platform.
    platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state.
    xs_read(/local/domain/0/device-model/2/xen_extended_power_mgmt): read error
    medium change watch on `hdb' (index: 1): aio:/home/win7.iso
    I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
    Log-dirty: no command yet.
    vcpu-set: watch node error.
    [xenstore_process_vcpu_set_event]: /local/domain/2/cpu has no CPU!
    xs_read(/local/domain/2/log-throttling): read error
    qemu: ignoring not-understood drive `/local/domain/2/log-throttling'
    medium change watch on `/local/domain/2/log-throttling' - unknown device, ignored
    cirrus vga map change while on lfb mode
    mapping vram to f0000000 - f0400000
    platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state.
    platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state.
    Last edited by smakovits (2013-12-18 22:24:56)

  • CRL does not appear to be working

    Hello All
    Can someone please help me with the following question :)
    I setup a LAB where by I have a Windows 2003 R2 AD and Windows 2003 R2 Enterprise Root CA (will upgrade the lab the 2012 R2 later), and a Windows 2012 R2 IIS Server with a Test WEB Site. I also have a Windows 7 Client in the lab running the current version
    of Internet Explorer e.g. version 11.x
    I created and CSR > Cert from the CA and bound it to the WEB site, so I can go to
    https://TestSite  no  problem and if you click in the padlock it tells you about the certificate and who issued it etc.
    When I look at the Certificate I can see the CDP information and using ADSIEDIT I can see the relevant object in the AD configuration container. So again all looks fine.
    Next from the Certificate Authority MMC snapin on the CA I revoked the Certificate, after which I chose the option to publish a new CRL
    Problem:
    However when I use IE (or FireFox for that matter) I can still go to
    https://TestSite and there are no warnings about the Certificate having been revoked. I understand the client caches the CRL and does not always go and get a new one, when a new one is published but rather waits for its local cache to expire (a good
    reason for using OCSP I believe).
    Is the reason the WEB Brower still shows the page due to the fact the CRL cache on the client is still active and needs to be refreshed from the CRL in AD?
    if so how can I force the Brower to do this and it there a registry key (or GPO) to say do not cache CRLs?
    For better security I guess I would be better of setting up OCSP Server?
    If I setup OCSP, will I therefore need to remove the CRL and will IE/Firefox know how to check with OSCP when opening a WEB Site, or do I have to configure Windows/IE etc. via GPO to tell it to use OCSP?
    Sorry for the several questions, I would appreciate it if someone could help me out with the answers, thanks in advance.
    Thanks All
    AAnotherUser__
    AAnotherUser__

    Hi,
    You can purge the client CRL cache using certutil.exe
    Open an elevated command prompt and enter certutil -setreg chain\ChainCacheResyncFiletime @now
    I believe this works for Vista+
    As for your other questions. A CRL, and if configured a delta CRL is generated and published based on what the CA admin has configured as publication interval. The trick
    is find the sweet spot of what is an acceptable period of time where client could potentially hit a revoked certificate and still trust it vs the load you are willing to put on your CDP. To configure your CA to publish a CRL every day and a delta every hour
    run the following on the CA.
    certutil -setreg CA\CRLPeriodUnits 1
    certutil -setreg CA\CRLPeriod "days"
    certutil -setreg CA\CRLDeltaPeriodUnits 1
    certutil -setreg CA\CRLDeltaPeriod "hours"
    Although OCSP is real time, the source for OCSP is still the CRL and thus your CRL publishing interval is still key.
    Vista+ will prefer OCSP over CDP. The moment you setup OCSP and configure the AIA extension you are good to go. All certificates which are already signed will however miss this
    information and keep using the CDP until they are renewed or replaced.
    HTH Ben
    I wouldn't vote for this solution, because of the following:
    1) crypto cache clear is an ad-hoc solution, it works only once and it must be launched locally. In addition, this command required administrator permissions. You will have to log on to every station with admins credential and run the command.
    2) provided CRL validity settings aren't reliable. Maybe they are acceptable in a high-volume environments where certificates are revoked frequently. Otherwise it is a dumb vaste of resources. And even with these settings there will be a delay. Not 1 hour,
    but even more, because overlap will be added.
    3) this solution will require a high-available CRL distribution server and is expensive solution in most cases (server downtimes will cost).
    The gold rule here is to shut down the service if it is compromised somehow.
    My weblog: en-us.sysadmins.lv
    PowerShell PKI Module: pspki.codeplex.com
    PowerShell Cmdlet Help Editor pscmdlethelpeditor.codeplex.com
    Check out new: SSL Certificate Verifier
    Check out new:
    PowerShell FCIV tool.

Maybe you are looking for