[904] custom UserManager can't access JNDI?

Our app has a custom UserManager which works in 1.0.2.2. In the init method, our user manager is trying to lookup a datasource (defined in the global data-sources.xml) whose name has been passed as a property in application.xml file.
While trying to perform the jndi lookup for the datasource in 9.0.4, we are getting the following error:
javax.naming.NamingException: Not in an application scope - start Orion with the -userThreads switch if using user-created threads
I've tried -userThreads option but makes no difference.
What do I need to configure to make this work?
TIA,
- nik.

Me again!
So I found that I can't do jndi lookup (NamingException) for the datasource as mentioned, in the init method.
However, the very same jndi lookup was successful in the overridden authenticate method, called by oc4j when trying to authenticate the user.
Go figure!
TIA,
- nik.

Similar Messages

  • How to access to Custom UserManager

    Hi,
    How to access to my own UserManager from an EJB ? with lookup ?
    I have got own custom UserManager, and I access it with a lookup from an EJB (UserManagerEJB) in the same application, but I get the next error :
    OrionUserManagerEJB javax.naming.NameNotFoundException: ejb/UserManager not found in Orion
    UserManagerEJB
    This same code works fine in OC4J 9.0.3 but not works in OC4J 10.0.3, please help me !

    Hi,
    I visited all webs and I readed all articles referents to UserManager but I don't found the solution.
    I use the nex code to lookup my UserManager :
    Context ctx=new InitialContext();
    UserManager um=(UserManager)ctx.lookup("java:comp/UserManager");
    And I user the next factory :
    com.evermind.server.ApplicationInitialContextFactory
    I tried with com.evermind.server.rmi.RMIInitialContextFactory too, but not works it.
    I don't understand the problem ! why the same code works fine in OC4J 9.0.3 and not works in OC4J 10.0.3 ? Any response ?

  • Can you create a custom iBook widget that accesses the ipad's camera?

    I am wanting to know if anyone has created a custom iBook widget that accesses the iPad's on-board camera? I will be creating and custom coding the widget myself. Thanks any feedback is welcome.

    nbal
    Premiere Elements offers disc menus for only
    DVD-VIDEO on DVD disc
    AVCHD on DVD disc
    or
    Blu-ray disc format on Blu-ray disc.
    The only exception is the feature named webDVD which is in reality a flash file with menus. Until proven otherwise, no way to get that on the iPad 2 unless with viewing from a web browser?
    http://help.adobe.com/en_US/premiereelements/using/WSeffff8bffc802084-7cb60a1912fd358c4a5- 7ff7.html
    ATR

  • Dear apple, I am really dissapointed with you. Around January 2013, my iPhone 4s 16GB White has hardware issues, which was the Wi-Fi grey out. The wifi grey out means that I can't access the wifi on/off button, and also it has no connection. I have put up

    Dear apple, I am really dissapointed with you. Around January 2013, my iPhone 4s 16GB White has hardware issues, which was the Wi-Fi grey out. The wifi grey out means that I can't access the wifi on/off button, and also it has no connection. I have put up with it for months, until june 7 when I decided it has been long enough, and I got a replacement. I told the genius bar what happened, and I already did the so called "steps" that apple reccommended on the site, which was reset network settings, restore iPhone. The genius bar gave me a replacement phone, so I was expecting that the problem would be over, but it isn't. It seems that it's iOS 6.1.3 which is the case of most public complaints on apple iPhone products. Not even 3 weeks after I got the phone replaced, it is doing it again, so I suspect I'm just going to get a replacement again? Unfortunately I only have until 5th of july 2013 until my 1 year warranty is up. After that, any issue I have, I have to purchase apple care. People are expecting this problem to be fixed but I don't see it being solved any time soon. This is horrible and really low, because I have been a good customer, when I talk to the people at the genius bar, I show the utmost respect I can to them for the work they put into their job, but somewhere there is a problem where something has gone wrong. Because of that, people that only have a one year warranty (which i received because I purchased my apple iPhone at an Optus outlet, once that one year warranty is up, I have to pay for a problem that isn't even my fault? That isn't how it should work, you should be fixing this problem so people can be happy customers and leave happy. Obviously you don't all know how to do your jobs, because if you did, we wouldn't have this problem. I would like a replacement phone, ONCE AGAIN. If this problem occurs again, I will simply stop buying your products, and lose faith in your company, your's sincerely, Jack Maher.

    This is a user to user help forum only. You are not addressing Apple here.
    My iPhone 4S, iPhone 5, and iPad 2 are running 6.1.3 with no such problem and the same with the overwhelming majority of iOS devices running 6.1.3.

  • Discoverer Report  Can i Access these report vie Internet

    Dear Sir,
    Can i access the report from cyber cafe(Web Enabled) that is generated with oracle 9i Discoverer. If YES then How ?
    If NO then Why
    OR
    any other version from which we can access the report from cyber cafe that created with discoverer

    Hi Felix,
    of course. this works. In the customer exit you can read in step 2 the variables from the input screen.
    function z_bw_e_zepcfiscyvvg.
    *"*"Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(I_VNAM) TYPE  RSZGLOBV-VNAM
    *"     VALUE(I_VARTYP) TYPE  RSZGLOBV-VARTYP
    *"     VALUE(I_IOBJNM) TYPE  RSZGLOBV-IOBJNM
    *"     VALUE(I_S_COB_PRO) TYPE  RSD_S_COB_PRO
    *"     VALUE(I_S_RKB1D) TYPE  RSR_S_RKB1D
    *"     VALUE(I_PERIV) TYPE  RRO01_S_RKB1F-PERIV
    *"     VALUE(I_T_VAR_RANGE) TYPE  RRS0_T_VAR_RANGE
    *"     VALUE(I_STEP) TYPE  I DEFAULT 0
    *"  EXPORTING
    *"     VALUE(E_T_RANGE) TYPE  RSR_T_RANGESID
    *"     VALUE(E_MEEHT) TYPE  RSZGLOBV-MEEHT
    *"     VALUE(E_MEFAC) TYPE  RSZGLOBV-MEFAC
    *"     VALUE(E_WAERS) TYPE  RSZGLOBV-WAERS
    *"     VALUE(E_WHFAC) TYPE  RSZGLOBV-WHFAC
    *"  CHANGING
    *"     VALUE(C_S_CUSTOMER) TYPE  RRO04_S_CUSTOMER OPTIONAL
      data: wa_e_t_range     type line of rsr_t_rangesid,
            wa_i_t_var_range type rrrangeexit.
      data: l_month(2) type n,
            l_year(4)  type n.
      case i_step.
        when '2'.
          read table i_t_var_range
               into  wa_i_t_var_range
               with key vnam = 'M_SEV_01'.
          l_month = wa_i_t_var_range-low+4(2).
          l_year  = wa_i_t_var_range-low+0(4).
          if l_month = '01' or l_month = '02'.
            l_year = l_year - 3.
          else.
            l_year = l_year - 2.
          endif.
          wa_e_t_range-low  = l_year.
          wa_e_t_range-opt  = 'EQ'.
          wa_e_t_range-sign = 'I'.
          append wa_e_t_range to e_t_range.
      endcase.
    endfunction.
    Variable 'M_SEV_01' is a input variable for calmonth. From this variable the coding extract the fiscal year.
    Sven

  • (261936172) Q general How can I access an EJB hosted on a remote server?

    Q<general> How can I access an EJB hosted on a remote server?
    A<general> The ability to add EJB control files enables you to access an EJB that
    is deployed to the server on which your web service is running. When you select
    "add EJB control" you need to supply the home and remote interfaces for the EJB
    as well as the JNDI name. This does not provide you with the capability for creating
    a control for a remotely hosted EJB. To use a EJB hosted on another server you
    will have to provide the appropriate code within your web service itself. You
    will have to programmatically gain to access the JNDI for the remote server, lookup
    up the home stub and use it to create the remote stub for the EJB. Of course,
    to make this work you must have the necessary client interfaces in you classpath
    (home and remote interfaces) which can easliy be achieved by adding the EJB client.jar
    file to the lib directory in the webservice WEB-INF folder.

    just define the different server path in the description xml file
    <jndi-name>jnp://serverA(B)/....</jndi-name>

  • How can we access workflow status column out of the box (OOTB).

    I have a problem that few of the workflows in production are failed at last stage have status set to "Workflow Errored". Someway I have fixed issue with workflow but I need to modify this status.
    I tried adding a custom column and access workflow status column so that I can modify custom column as I want, and show this in views.
    But I can't access this without using code, anybody has any idea?
    My task is to modify workflow status which are errored out.

    You can rerun the workflow once you've fixed it up.  This'll change the status to something more successful.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • My apple ID is an email I no longer use and can't access.

    I just bought an ipod touch (used to have nano) and transferred everything to it.  My apple ID is an old email address from many years ago that I can't access anymore.  I have updated my email for when I buy things etc, but I can't access/back up to icloud as it sends the verification to my old email address (the apple ID) frustrating!
    Can anyone help me change my apple ID so that I can back up to icloud?
    I tried creating a new ID with my new email address, but it says that the new email address is already linked to an existing account so won't let me do it.
    Any tips appreciated.
    Thanks,
    Jo

    Use the secret question methof of
    How do I change or recover a forgotten Apple ID Password?
    If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. SeeChanging your Apple ID password if you'd like more information.
    Or contact iTunes:
         2.  Call Apple Support in your country: Customer Service: Contact Apple support.

  • After trying to change permissions on my computer so others on my network can access files, my external Hard Drive has a lock on it and I can't access files. I've tried repairing permissions, logging in under another Administrator account, using Terminal

    After trying to change permissions on my computer so others on my network can grab files, my external Hard Drive has a lock on it and I can't access files. I've tried repairing permissions, logging in under another Administrator account, using Terminal to fix the problem, downloaded BatChmod but nothing works… Any other suggestions? I have an Imac running OS10.6.8.

    There is suddenly a lock icon on my external backup drive!
    Custom Permissions

  • Can't access Emails

    For the past week or so i have no access to my email address (@btinternet.com) I am in afgahnistan at the momemnt so got no access to calling the premium mail helpline. 
    I have tried the live assistance chat, but they just seem unable to solve my problem. when i try to login i get this but no button to press to get passed this. It's now causing a real drain as i use the email to email family back home.
    You're logged in to BT Yahoo
    Make sure your BT Yahoo email is secure 
    We've detected some unusual activity on your email account, and we think it may be compromised. As a precautionary measure, please follow the steps below to ensure your account is secure.
    Step 1
    Download anti-virus software
    The first step is to download up-to-date anti-virus software and complete a full system scan on each of your devices.
    Even if you already have anti-virus software, in some instances it can fail to detect certain viruses, so its best to double check by downloading another anti-virus software. You can get further advice on our website at bt.com/secure
    If you're a BT Broadband customer, you can log in to My BT to download BT NetProtect Plus. If not, we recommend downloading one of these free anti-virus software packages: McAfee Stinger, Microsoft Security Essentials or Sophos Antivirus for Mac.
    Step 2
    Change your BT Yahoo password
    Once you are sure that all your devices are virus-free, you need to change your BT Yahoo password. Make sure you choose a strong password that you haven't used before. You can get advice on choosing a strong password.
    Step 3
    Log in to BT Yahoo with your new password
    You're now ready to log in to BT Yahoo using your new password.
    Step 4
    Update your password on your email client and/or devices
    If you use an email client such as Microsoft Outlook or Mac Mail, you will need to update your password. You'll also need to update your password on any mobile or tablet devices which you use to check your BT Yahoo Mail.
    Get help with updating your password at www.bt.com/emailsetup
    Solved!
    Go to Solution.

    If you are still with BTYahoo, as against having been migrated to BTMail, there has been problems with the Yahoo email service which may be causing your problems.
    Try these links to change your password. If they don't work for you post back and a moderator may be able to become involved.
    https://www.bt.com/managepassword/merged_consumer_journey/forgottenpasswordnavPC.do?decorator=merged...
    or
    http://register.btinternet.com/cgi-bin/load_page?page=/selfhelp/pwdRst_username.html
    It might be worth setting up a gmail email account as an alternative/backup to your BT account. You can then set it up to forward any emails to to your BT email account and vice versa, when you finally get access to it and at least then if one or other of them went down you would still get your emails.

  • SQL 2012 R2 - SSRS with the Report Server Web Service URL, can't access

    Hello:
    I am installing Dynamics CRM 2013.  When I am on RS Configuration manager; I am running into the SSRS (SQL 2012 on Server 2012)SQL issue, can't access the
    http://servername/:80/ReportsServer or
    http://servername/:Reports web pages
    The database server has SSRS native mode installed, it is using a domain account for the service credentials.  This account also has permission to log on a service in the GPO
    Account is a domain admin and is a local administrator
    SQL server is 2012 R2 on Windows Server 2012.  User base is less than 60 people and they have SharePoint 13 on the same SQL server.  Server more than enough resources.
    Any assistance would be appreciated.
    Thanks..Dan

    Hi DCas1,
    According to your description, you could not access
    http://servername/:80/ReportsServer or http://servername/:Reports web pages from Reporting Services configuration manager, SSRS in configured in native mode and the account you used is a local administrator.
    In Reporting Services, URLs are used to access the Report Server Web service and Report Manager. Before we can use either application, we need to configure at least one URL each for the Web service and Report Manager. If we are using the Reporting Services
    Configuration tool to create or modify the URLs, we can accept the default values for a URL or specify custom values. When we create a report server URL, we must specify the following parts: Host name, port and Virtual directory. In order to improve the efficiency
    of troubleshooting, I need to ask several questions:
    Since the default URL is http://<computername>/reportserver, did you type the URLs manually? or the URLs configured in Reporting Services configuration manager are
    http://servername/:80/ReportServer and
    http://servername/:Reports?
    Could you provide detailed information of error log(default location: %programfiles%\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\LogFiles)?
    For more information about Configuring a URL, please refer to the following documents:
    http://msdn.microsoft.com/en-us/library/ms159261(v=sql.110).aspx
    http://msdn.microsoft.com/en-us/library/bb630447(v=sql.110).aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu

  • Can't access some websites - URL is hijacked by "unotelly" - ??

    This has a virus-like feel to it... I can't access certain websites,. When I do, I'm bumped to a site for Untotelly.
    I type: www.bbc.co.uk
    And I go to:  http://quickstart3.unotelly.com/?origin=http://www.bbc.co.uk/
    At the top of that page I'm asked to "please update your IP address"  (among other things) .. which I'm reluctant to do.
    The question is: how do I stop this from happening?

    I'd think that the DNS settings on your computer or router have been changed to unotelly's ones.
    How to remove UnoDNS : UnoTelly Customer Service

  • User can't access camera anymore, root still can [SOLVED]

    since the last udev update, i can't access my camera anymore as user. gtkam gives this error:
    An error occurred in the io-library ('Could not find the requested device on the USB port'): Could not find USB device (class 0x6, subclass 0x1, protocol 0x1). Make sure this device is connected to the computer.
    the camera is a canon A75, vendor 04a9, product ID 305b. lsusb says it's connected to Bus 001 Device 011. i added that info to a custom 010.udev.rules file, but i don't know where to add the USB info. :?: user is in the camera group, btw.
    ACTION=="add", SYSFS{idVendor}=="04a9", SYSFS{idProduct}=="305b", RUN+="/bin/chmod o-rwx $env{DEVICE}"
    ACTION=="add", SYSFS{idVendor}=="04a9", SYSFS{idProduct}=="305b", RUN+="/bin/chgrp users $env{DEVICE}"
    ACTION=="add", SYSFS{idVendor}=="04a9", SYSFS{idProduct}=="305b", RUN+="/bin/chmod g+rw $env{DEVICE}", OPTIONS="last_rule"
    thanks for any help.
    >>edit: turns out root can't access the photos, either. the camera is detected and the photos load and show up in gtkam, but when i try to save them i get an error, e.g., "Problem getting 'IMG_0332.JPG' from folder '/store_00010001/DCIM/103CANON'."  wtf? :?:
    >>edit2: okay, i got it by adding
    SYSFS{idVendor}=="04a9", SYSFS{idProduct}=="305b", GROUP:="camera"
    to a 00.gphoto.udev.rules file and restarting udev (i never noticed b4, but no script? i had to kill udevd and do /usr/sbin/udevd -d).
    is that just a kluge fix though? i don't know anything about udev to know if that's the best way to do it, or if there's a better, more "correct" way. i just want to be able to access the camera from now on without having to change rules or mess around with udev anymore (i thought the point of udev was to have transparency to the user? ). thanks.
    >> edit again: i love having conversations with myself.
    okay, i didn't even notice the gphoto.rules file bfore, but i just added the information for my camera to the file, restarted udev, and it seems to work. if the maintainer wants to add the info for canon A75 to the file, the line is:
    ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="305b", GROUP="camera"

    lanrat wrote:
    Nice conversation :-)
    If your camera isn't already in gphoto.rules you should report it to package maintainer (feature request) and/or gphoto devs.
    I wouldn't modify standard gphoto.rules. I'd rather put this rule in /etc/udev/rules.d/00.udev.rules:
    ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="305b", GROUP:="camera"
    to avoid overwriting after next update.
    For restarting udev there is /etc/start_udev (or udev_start or something like this - I can't remember it :-))
    thanks, it is /etc/start_udev - i was looking in /etc/rc.d.
    i moved it back to 00.gphoto.rules so it won't get overwritten.
    now that it's verified working in the standard rules, i'll make a report to the devs to add the cam there.
    is your method for doing this in the wiki? i pretty much only figured out how to do it by reading your posts. if you have time, i think it would be a great wiki item.  8)

  • Can't access page to add $

    I'm logged in and just made a successful overseas Skype call, but when I tried to add credit to my account, after putting in credit card info, I get a page that says "You can't access this page" and goes on to say:  [see below].  There is no place on the page to do anything.  What is an "FI"?  What do I do?  Clark
    This may be due to one of two reasons:
    1. The FI you are trying to access is deactivated
    2. The access to the FI is restricted for specific IP addresses, and your address is not one of them."

    Hi, Clarkrchapman, and welcome to the Community,
    Good question!  Please try to process your credit purchase using a different web browser than you normally use.  If this occurs again, please contact Skype customer service for assistance as well as to report this website issue.
    Update and correction: Hooray, Ruwim, and thank you!  I forgot about these on-going payment processing issues ...
    Regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • Custom UserManager and Enterprise Manager administration

    Can Enterprise Manager be used to Add/Remove Users and Groups for a Customer UserManager? I remember reading somewhere that Add/Remove only worked for the XML-file based implementations. Now I can't find where I read that.

    Not likely. That is the reason why they published the Apex 2.1 'database management' pages.
    Express Edition doesn't support Java in the database. Enterprise Manager is based on Java. You CAN use Grid Control for some of the stuff, but it's incomplete.

Maybe you are looking for