Problem listing available desktops

Hi, I'm writing a webapp that present a list of available desktops. I've created a delegated admin and assigned this user to a role. I have then given this role the manage instance capability on two of my three desktops. If I log on to the portal admin tool with this user things seems to be correct. I can ony see two of my three desktops.
In my webapp I use the following code.
DesktopDefinitionManager man = null;
try {
InitialContext ic = new InitialContext();
DesktopDefinitionManagerHome home = (DesktopDefinitionManagerHome)PortableRemoteObject.narrow(ic.lookup("transferDesktopsApp/BEA_netuix/DesktopDefinitionManager"),
DesktopDefinitionManagerHome.class);
man = home.create();
catch (Exception e) {
e.printStackTrace();
DesktopDefinition dd = null;
CustomizationContext cust = null;
DesktopDefinition[] test = null;
try {
cust = new CustomizationContext(this.getRequest());
test = man.getDesktopDefinitions(cust, "sb1portal");
catch (Exception e) {
e.printStackTrace();
The remote user in my request object is the new user that I created. This code returns all desktops. Does anyone know how to limit the desktops returned to the desktops my logged in user has access to?
Kind regards
J E Hansen

you will have to create P13nSecurityResource as follows:
new P13nSecurityResource(appName, webAppName, resourceId, "view")
Creating resourceId is tricky. In this case, it would be some thing like this appName+"@"+portalName+"@"+desktop"+"@"+desktopDefinitionLabel.
You can actually use EntitlementConstants.RESOURCE_ID_DELIMITER instead of '@' symbol in the above expression.
Hope it helps,
Subba

Similar Messages

  • No spool list available in SP01.

    Hi All,
    We have one background job running everyday in production. The jobi sgetting finished and when we check the job log in SM 37, it gives one spool request no. But when we check the sppol no in SP01, it says 'No list available'. Can anyone pls provide me a solution for the same?
    Regards,
    Mani

    Well strange problem but you can try these steps and check if it works, i am not sure
    In print parameters check that checkboxes :-
    Print Immediately
    Delete after Output
    New Spool request
    are checked
    moreover there should be some value other than 0 for "Retention period".

  • Oracle Grid Installer cannot list available disks

    Hi all,
    I'm trying to install Oracle Database 11g R2 64-bit with ASM on an Oracle Enterprise Linux 5.5 64-bit.
    The problem I'm facing is that the Grid Infrastructure Installer cannot list available disks. In the setp of creating Diskgroups, I only see blank disk.
    Following the main actions I took:
    [root@srv07 ~]# fdisk /dev/sdb
    Command (m for help): n
    Command action
       e   extended
       p   primary partition (1-4)
    p
    Partition number (1-4): 1
    First cylinder (1-1638, default 1):
    Using default value 1
    Last cylinder or +size or +sizeM or +sizeK (1-1638, default 1638):
    Using default value 1638
    Command (m for help): w
    The partition table has been altered!
    Calling ioctl() to re-read partition table.
    Syncing disks.
    [root@srv07 ~]# rpm -qa | grep oracleasm
    oracleasm-support-2.1.3-1.el5
    oracleasm-2.6.18-194.el5-2.0.5-1.el5
    [root@srv07 ~]# oracleasm configure -i
    Configuring the Oracle ASM library driver.
    This will configure the on-boot properties of the Oracle ASM library
    driver.  The following questions will determine whether the driver is
    loaded on boot and what permissions it will have.  The current values
    will be shown in brackets ('[]').  Hitting <ENTER> without typing an
    answer will keep that current value.  Ctrl-C will abort.
    Default user to own the driver interface [grid]:
    Default group to own the driver interface [asmdba]:
    Start Oracle ASM library driver on boot (y/n) [y]:
    Scan for Oracle ASM disks on boot (y/n) [y]:
    Writing Oracle ASM library driver configuration: done
    [root@srv07 ~]# /usr/sbin/oracleasm createdisk DISK1 /dev/sdb1
    Writing disk header: done
    Instantiating disk: done
    [root@srv07 ~]# /usr/sbin/oracleasm listdisks
    DISK1
    [root@srv07 ~]# /usr/sbin/oracleasm scandisks
    Reloading disk partitions: done
    Cleaning any stale ASM disks...
    Scanning system for ASM disks...The log generated by the Installer can be viwed from: http://www.ahmedbaraka.com/temp/infralog.txt
    Any guideline is appreciated.

    Hi Srini,
    I have tried as you mentioned like installing Java in C:\Java... and I have tried the by setting the JRE_LOCATION of local path. No use of it.
    tried with -jreloc and setting the java path in environment variables too.
    As I understand, the problem i have seen at files copied path is not expected as required. Please see the path below...
    C:\DOCUME~1\v859971\LOCALS~1\Temp\OraInstall2013-09-06_03-36-31PM\jre\bin\javaw.exe.
    After running the Setup.exe -deinstall... temporary folder is creating with timestamp and all the required files are coping here...
    "jre" folder also created and copied required java files directly into jre folder, but not in jre\bin folder.
    folder path is like this
    C:\DOCUME~1\v859971\LOCALS~1\Temp\OraInstall2013-09-06_03-36-31PM\jre\javaw.exe.
    Setup application is expecting jre\bin\javaw.exe, but folder structure is created as jre\javaw.exe. There it is coming the issue.
    I have even tried with copying all the files into bin folder and executed the setup.exe, it again creating a new temporary file
    not able to resolve it...

  • "No list available" - Spool message  - Data Archiving

    Hi ,
    I am facing problem in CRM Data Archiving .
    Now I am Archiving the Arc Object  >> PRODUCT_MD .
    All the parameters i have given correctly.
    when i execute the job, in the spool message it says <b>"No list available".</b>
    I thought the problem with the input.
    then i executed this tcode  - "COMMPR01" (based on the help.sap.com for this archiving object.)
    I selected some of the  "Material" in that and set the product status as
    <b>"To archive".</b>
    Any Idea on this .
    expecting your valuable inputs .
    Regards
    Ganesh

    When ever we execute logic in batch mode, the ALV list will be populated to the spool. The error says that, there is not data coming up via list output of the report. Hence there is no spool being created.
    Regards,
    Chiranjeevi.

  • Problem with CC desktop app update

    Anybody has Problem with CC desktop app update?

    Hi boloco
    here are some soultions, which helped me out on my first trouble:
    CC desktop lists applications as "Up to Date" when not installed
    Good luck (I have new problems today which could not be solved by one of those)

  • Graphic Upgrade Problem with K430 desktop - Unresolved!

    Hi,
    Xmas 2012 I purchased a Lenovo IdeaCentre K430 Desktop from PC world.
    PC World said it would be upgradable if I need to upgrade it.
    The system is:
    Intel Core i7-3770 CPU @ 3.40GHz
    16.0 GB DDR3
    1.8 TB Hardrive
    Windows 8
    Geforce GT 640
    I recently purchased Crysis 3 and its not running very well, so I brought a Geforce GTX 660.
    However when I installed and rebooted the PC, I was greated with a blank flashing screen?
    other people have simular problems on the GeForce forums.
    I have since took the card back PLUS 3 MORE for a refund, and very dissapointed that I can't upgrade this PC.
    CAN SOMEONE AT LENOVO PLEASE REPLY WITH A LIST OF 'MODERN/LATEST GRAPHIC CARDS, THAT ARE COMPATIBLE WITH THIS MODEL STRAIGHT OUT OF THE BOX?
    CHANGING THE BIOS SETTINGS DOES NOT WORK FOR ME!
    It's been almost 2 years and I've still not found a compatible card, so much for the Ultimate Upgradable PC!
    Cheers.

    The previous message thread you posted in has one recommendation of what worked in the K430.  See the post #34 in this discussion.......
    https://forums.lenovo.com/t5/Lenovo-E-H-K-M-Q-and-ErazerX/Graphic-Upgrade-Problem-with-K430-desktop/...
    Owner & Operator of the following:
    ● Lenovo Ideapad Z570 w/ Win 7 & Win 8.1 Dual Boot ● Lenovo Yoga 3 Pro w/ Windows 8.1 ● Toshiba A75-S206 w/ Win 7
    ● IBM Thinkpad T-23 w/ Win XP ● IBM Thinkpad T-22 w/ Win XP • As well as multiple desktops dual/triple booting XP, Vista and Win 7.
    ★ Find a post helpful? Thank that member by clicking on the ☆Star☆ to the left awarding them a Kudo.
    ★ Posting a problem and a reply is helpful and it answers your question, please mark it as an "Accepted Solution"
    ★ I'm not a Lenovo employee, just a volunteer geek who likes to help folks. Enjoy your time here, pay it forward by helping others !
    ★ Sorry, I don't answer questions via Private Messages. Posting in the appropriate forum is the best way to get assistance.

  • Sidebar 'Shared' no longer lists available windows shares

    Sidebar 'Shared' no longer lists available windows shares. MacBook Pro (10.6.7) shows up on iMac and vice versa, but Windows 7 machines don't nor an old Buffalo LinkStation. The Windows shares don't show up when browsing the network either. The only way to connect is to use Go > Connect to Server (Command K), smb://ip address or NetBIOS. The shares are then listed in the sidebar, but disappear when disconnected. Is this something that has been introduced by design in an update?

    Ok, now you're down to network or permissions issues. An unedited ipconfig /all
    of server and problem workstation may help. You could also try setting up some auditing.
    https://technet.microsoft.com/en-us/library/dn311489.aspx
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • When I login to Horizon View, it shows me the list of desktops to connect to. If I'm entitled to only one desktop then can View auto connect me to that desktop instead of me clicking on Connect?

    When I login to Horizon View, it shows me the list of desktops to connect to. If I'm entitled to only one desktop then can View auto connect me to that desktop instead of me clicking on Connect.

    Yes you certainly can.
    Right click any desktop in the list > Settings > in the left pane select the desktop you want to auto connect to > check "Auto connect to this desktop".

  • Problem with availability check due to credit block

    Dear Experts,
    I am facing a problem with availability check for a  sales order which is blocked against credit check
    Like, i have a open sales order with mulitiple line items around 10 line items, out of which all the 10 line items have unrestricted stock and got confirmed when availability check has been performed , but we could able to proceed through delivery and billing only for 9 line items. Hence there is 1 line item in the sales order which didn't get delivered. But when we  tried to do the availability check the system is confirming the quantity with credit block. But after the sales order has been released thru VKM3 from credit block again the schedule lines are showing confirmed quantiy as "0" .
    Credit message observed : " Credit check (maximum percentage for open exceeded)".
    An earlier response would be of greater help extension to me , and i shall be greatly obliged to you all.
    Thanks & Regards
    Krishna.k

    Hi,
    once confirm actual stock is there for that line item if yes then may b stock blocked by Credit block.Release the stock reserved by credit blocked sales order  through back order processing.
    Tcode: V_RA
    Select sale order want to change the confirmed qty. SAVE.
    and again come to VA02 and run availablity chek.
    Regards,
    anand

  • "No List Available" in spool.

    Hi All,
    I am generating a report in foreground using SQ01 is SAP Query and I am getting proper data in ALV format.But whenever I am running it in background , after completion of the program ,I am getting an error message " No List Available " Although it is taking the same time to run as that of it takes in forefround. 
    Could you please help me ?
    Regards
    Jeetu

    Hi,
    It seems you are doing SUBMIT JOB instead of JOB_SUBMIT. The control is coming back to the calling program before the spool is executed.
    Include the following logic, which won't come back to the calling program unless the background job is COMPLETED or CANCELLED.
    FORM get_spool_details .
    CLEAR : w_spool_number.
    REFRESH : i_jobsteplist.
    CHECK WHETHER STATUS OF JOB IS COMPLETED OR CANCELLED
    WHILE 1 = 1.
    GET THE JOB STEPLIST WHICH HAS THE SPOOL NUMBER
    CALL FUNCTION 'BP_JOB_READ'
    EXPORTING
    job_read_jobcount = w_jobcount
    job_read_jobname = w_jobname
    job_read_opcode = '35'
    JOB_STEP_NUMBER =
    IMPORTING
    job_read_jobhead = wa_jobhead
    TABLES
    job_read_steplist = i_jobsteplist
    CHANGING
    RET =
    EXCEPTIONS
    invalid_opcode = 1
    job_doesnt_exist = 2
    job_doesnt_have_steps = 3
    OTHERS = 4
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    IF STATUS OF JOB IS COMPLETED(F) OR CANCELLED(A)
    READ THE JOBSTEPLIST & GET THE SPOOL NUMBER
    IF wa_jobhead-status = 'A' OR wa_jobhead-status = 'F'.
    READ TABLE i_jobsteplist INTO wa_jobsteplist INDEX 1.
    CHECK wa_jobsteplist-listident <> space.
    w_spool_number = wa_jobsteplist-listident.
    EXIT.
    ENDIF.
    ENDWHILE.
    If you want the spool content into an internal table, then use the following FM :
    CALL FUNCTION 'RSPO_RETURN_ABAP_SPOOLJOB'
    EXPORTING
    rqident = w_spool_number
    FIRST_LINE = 1
    LAST_LINE =
    TABLES
    buffer = i_buffer
    EXCEPTIONS
    no_such_job = 1
    not_abap_list = 2
    job_contains_no_data = 3
    selection_empty = 4
    no_permission = 5
    can_not_access = 6
    read_error = 7
    OTHERS = 8
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Best regards,
    Prashant

  • How to set up displaying all jsp-errors in the problems-list?

    how can i set up that all jsp-problems and warnings like "some tag does not have an end tag..." are displayed in the problem list?
    when i open up a jsp-page in the editor, the warnings are displayed i can´t see them in the problem list. in the older version (m7) these warnings have been displayed by default and i can not find any setting to display this.
    any idea?
    tnx
    Rel

    When exactly it stopped displaying in Problems View? Have you installed any other plug-ins to Eclipse?
    Try the following steps:
    - Quit & relaunch Workshop
    - In Problems View, Launch Filters... window
    - Click "Restore Defaults" button (make sure JSP problem is checked)
    - Click OK
    - Does the warnings displayed in Workshop JSP/XML Editor appear in the Problems View?
    In case you still face the same problem, please send the following information to [email protected]
    * Help > About Workshop > Click on Eclipse icon - Version & build id
    * Help > About Workshop > Click on Workshop icon - Version & build id
    * Window > Preferences > Java > Installed JREs - the JRE/JDK version
    * .log file from <Eclipse Workspsace>.metadata directory
    * m7.log.0 from <Workshop_Home_Dir>Workshop\eclipse\plugins\com.m7.nitrox_3.0.0 directory
    * <Workshop_Home_Dir>Workshop_InstallLog.log
    * If you can remember, the steps exercised (or plug-ins installed) before encountering this behavior

  • Problems listing locked accounts

    Hi!
    I'm having some problems listing locked accounts. They usual receipe is "log in to the SSO self-service console (oiddas) - choose Directory, then Users, there it will be some unlock-options etc." However, I don't have that option within the Users-bracket, and can't seem to find it anywhere else.
    We also have an Oracle Collab. Suite, someone has whispered in my ear that this might be the reason the design of oiddas is a bit different. How can I now find the locked accounts? Sql, ldapsearch? Anyone?
    Thanks for any help.
    Regards, Vidar

    Hi morganmadplus8,
    Are you still having issues when trying to access your sub-accounts? Is it only some of them or all of them?
    Dean
    BTCare Community Mod
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Why am I unable to login to Apple Support site from my iPhone, but have no problem from my desktop?

    Why am I unable to login to the Apple Support site from my iPhone, but have no problem from my desktop?

    I have never been able to log into this forum on my phone. I have the settings set as noted above. Any further ideas?
    Never mind, I just tried it again and all of a sudden it worked. All I did was retype the last part of my e-mail address.

  • Locked out - permissions problem - List Fetching instead of my name under Get Info

    locked out - permissions problem - List Fetching instead of my name under Get Info - can nott unlock files and some apps

    For 10.7, hold down Command R at Startup and you get recovery Mode Utilities.
    Choose Disk Utility. Select your Hard drive. Check the SMART Status for "Verified. Select the Boot Volume, by default it is "Macintosh HD".Run REPAIR disk. If it completes without incident, run Repair Permissions as well.
    You can also hold down Option at Startup, and Choose Recovery HD as the boot device. It gets you to the same place in Utilities.

  • My I4 will not allow me to connect a bluetooth. It keeps giving a message the pair list is full. There are no list available to delete. How do I correct the issue?

    My I4 will not allow me to connect a bluetooth. It keeps giving a message the pair list is full. There are no list available to delete. How do I correct the issue?

    Check this article: iOS: Third-party Bluetooth headsets, headphones, and keyboards
    Unpairing a Bluetooth accessory from an iOS device
    If you've paired your iOS device with a Bluetooth accessory and no longer wish to use that accessory, you may unpair it. If you wish to leave the device paired, but route calls through a second, paired device, turn off the first device and then turn on the second device. Then in Settings > General > Bluetooth, tap on the device you wish to use.
    From the Home screen choose Settings > General > Bluetooth. If Bluetooth isn't on, turn it on.
    Choose a device and tap Unpair.
    Until you pair the Bluetooth accessory again, your iOS device won't route information through it.
    * Find information on which iOS versions and devices support which Bluetooth profiles. Not all Bluetooth stereo headphones include a mic. Only those with a mic and that support handsfree profile (HFP 1.5) can be used to make and receive calls.

Maybe you are looking for

  • ERROR WHILE UPDATING TABLE 'COBK'

    DEAR ALL! I am facing the following error while posting goods issue through VL01N and stock posting through MB1C ( m.type 521 without production order ). Table COBK is not updated wile doing those trasactions, this cause the runtime error.how to solv

  • Regarding ers procedure

    Hi all, I was configured ers procedure for vendor as follows. 1. Auto ers indicator , gr based invoice indicator checked in vendor master purchasing data. 2. Maintain the info record for material and vendor combination , in this we maintain tax code.

  • EAP-TLS FAILING ON WIRELSS IPPHONE CP-7925G

    Hi all, we had enabled the eap-tls authentication on our WIFI network. We are using Cisco ACS 1113 & Microsoft Certificate Server for this setup. Currently we are able to successfully authenticat EAP-TLS on computer, but the Phones are not registerin

  • Hi how to create jbutton, jcombobox with same size

    hi i m just new in gui and i added some of buttons and comboboxes but i want their width to be equally sized regardless of their character length.. but.. how to do

  • Install Error: Sol 8 2/02; Abort - Cort Dump

    Hi I am trying to install Solaris 8 version 2/02 on my Sun Blade 100 and I keep getting the following error after the system config screen: Assertion Failed: Have_ext_net_info (nc) == True File main.c, line 931 Abort - core dump. I installed Sol 8 ve