Error getting the EJB Handle for context name: User

I am getting EJB Handle for context name: User.
1) I specified ejb's and datasource in the ejb-jar.xml in the session tags.
<session> </session>
and I also included ejb's and datasource in the sun-ejb-jar.xml still I am getting the above error I am new to EJB how can I resolve this?

What is the Oracle application server version?
JDeveloper 11g supports direct deployment to Oracle Application Server 11g
http://www.oracle.com/technology/products/jdev/collateral/papers/11/newfeatures/index.html

Similar Messages

  • How do I get the JAAS Subject for an authenticated user?

    Hi
    I searched through the site, but didn't find anything useful.
    I came across many instances of using the javax.security.auth.login.LoginContext
    to get the Subject, but am not sure how to get a handle for it, after the login process is completed and the usre is authenticated.
    RG.

    WLS has a static method for returning the javax.security.auth.Subject :
    http://e-docs.bea.com/wls/docs81/javadocs/weblogic/security/Security.html#getCurrentSubject()

  • The TADIR entry for Program name is missing in ABAP report

    Hi,
    I created an  User group , Infoset  & ABAP query, generated a report with the help of ABAP Query.
    However when I did the extended syntax check for the same i got the fatal error.
    "The TADIR entry for <Program name> is missing
    (Message cannot be hidden using comment)"
    Could you please let me know why the above error is being given & how we can remove the same.
    Thanks
    Vinay Pasalkar

    Moved to ABAP General, thanks for pointing this out. In the future you can use the yellow triangle on the top right of each message to report such cases, they will be taken care of.
    Thomas

  • [EJB:011055]Error deploying the EJB with error that JNDI name already inuse

    Hi,
    I have written a trivial application consisting of 4 stateless beans and 1 MDB. The ear is developed from some code generator tool and works fine if I directly deploy on weblogic server 812.
    But in order to learn Weblogic Workshop I created new Application and EJB project. Then I imported the EJB jar and provided other source files.
    From Weblogic Workshop I could generate the ear successfully. But while trying to deploy the ear I get the following exception :
    <16/03/2005 10:02:38 PM GMT+05:30> <Error> <Deployer> <BEA-149201> <Failed to complete the deployment task with ID 1 for the application hsbc.
    weblogic.management.ApplicationException:
    Exception:weblogic.management.ApplicationException: prepare failed for MCAppBEAN.jar
    Module: MCAppBEAN.jar Error: Exception preparing module: EJBModule(MCAppBEAN.jar,status=NEW)
    Unable to deploy EJB: StatelessBean from MCAppBEAN.jar:
    <b>[EJB:011055]Error deploying the EJB 'StatelessBean(Application: hsbc, EJBComponent: MCAppBEAN.jar)', the JNDI name 'StatelessBeanHSBC' is already in use. You mu
    st set a different JNDI name in the weblogic-ejb-jar.xml deployment descriptor for this EJB before it can be deployed.</b> at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2556)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    --------------- nested within: ------------------
    <b>Can someone tell where have I made the mistake?</b>
    thanks in advance.

    Try to undeploy and un target the applcation via WLS console and they try to deploy it again. Or just try to redeploy it.

  • How can I get the direction handles to show up for the Position attribute?

    How can I get the direction handles to show up for the Position attribute?
    I have CS3 and I did the formentioned test and was able to make the handles work for the scale attribute but they don't seem to show when editing the position values.
    *I am in the graph editor looking at the "value graph"
    *I select the keys and convert the keys to auto bezier (I also tried the ease in and out buttons)
    *It changed the graph the way you might think (no longer linear) however the handles are not showing to edit further.
    *I also tried using the "convert vertex tool" (part of the pen tool) and still no luck getting those handles.
    *the handles only show up in the speed graph but that does me no good.
    Please help!
    THANKS 

    I don't have CS3 installed on any of my machines any more but your value graphs for position should look something like this:
    There are no handles for position in the Graph editor. You adjust the position curve by editing the motion path in the composition window. Press the G key to bring up the pen tool, then use the modifier keys Crtl/Cmnd and Alt/Option to temporarily switch between select and convert vertex to adjust the paths. Changes will be reflected in the value graphs. You will get editable handles with scale and rotation because these are not spatial properties. Spatial properties, position, Anchor Point, all XY & Z coordinates are edited in the comp window or in the layer window after revealing the properties. IOW, you edit anchor point position paths by opening up the layer window and choosing Anchor Point from the display options.
    The Manual isn't wrong. Here's a link to the live docs.

  • I tunes 11 will not let me sync my I pod nano... keep getting error meessage:  the software required for this I pod was not installed correctly... I have tried to reinstall 6 times Dumped everything i tunes related no luck help!

    I recently updated to Itunes 11 and now no sync... get error message: The software required for this I pod was not installed correctly. Please reinstall Itunes to install the required software.  I backed up all music and deleted all related itunes items and still get this error after 6 attempts to reload itunes... i give up please help

    I recently updated to Itunes 11 and now no sync... get error message: The software required for this I pod was not installed correctly. Please reinstall Itunes to install the required software.  I backed up all music and deleted all related itunes items and still get this error after 6 attempts to reload itunes... i give up please help

  • Scheduled report failures - Unexpected error getting the HTTP response

    Getting this error when scheduled report executes:
    Unexpected error getting the HTTP response stream while generating report: http://cdmdb1c.nam.nsroot.net:4889/em/console/reports/render

    Hi..
    Thanks for the comment.
    Below is how my web.xml entry looks like.
    The requirement is to send a 404 error response and that will be handled by a servlet which inturn writes the output to the response object.
         <servlet>
              <servlet-name>ErrorPageServlet</servlet-name>
              <servlet-class>com.test.ErrorPageServlet</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>ErrorPageServlet</servlet-name>
              <url-pattern>/error</url-pattern>
         </servlet-mapping>
         <error-page>
              <error-code>404</error-code>
              <location>/error</location>
         </error-page>>>
    the first option to turn off the "show friendly html error pages" works fine.
    It would be better if I can get a different solution

  • Error in license check - Error getting the hardware key

    Hello,
    I'm trying to run SAP NetWeaver 7.0 - Java and ABAP Trial Version on Linux - VMware Edition
    but I still have a issue to log on, message : "error in license check"
    I try everything I found in forums, I have tested the license, see the trace below.
    I checked too files dev_w*
    It seems there is a problem with server message
    I checked in "dev_ms" file, but nothing has been wrote inside.
    Please could you help ? maybe someone met the same issue and solved it.
    Thanks
    trc file: "dev_slic", trc level: 2, release: "700"
    Test license for SAP SYSTEM: N4S
    rdisp/mshost: n4shost
    rdisp/msserv: sapmsN4S
    MsIAttachEx: connect to n4shost / sapmsN4S
    NiIInit: allocated nitab (2048 at 0xb72fa008)
    NiHsLInit: alloc host/serv bufs (100/100 entries)
    NiHsLGetNodeAddr: got hostname 'n4shost' from operation system
    NiIGetNodeAddr: hostname 'n4shost' = addr 192.168.155.1
    NiHsLGetServNo: got service name 'sapmsN4S' from operation system
    NiIGetServNo: servicename 'sapmsN4S' = port 0E.11/3601
    NiICreateHandle: hdl 0 state NI_INITIAL
    NiIInitSocket: set default settings for new hdl 0 / sock 4 (I4; ST)
    NiIBlockMode: set blockmode for hdl 0 FALSE
    NiITraceByteOrder: CPU byte order: little endian, reverse network, low val .. high val
    NiHsLGetServName: found port number 0E.11/3601 in cache
    NiIGetServName: port 0E.11/3601 = servicename 'sapmsN4S'
    ***LOG Q0I=> NiPConnect2: connect (111: Connection refused) [nixxi.cpp 2769]
    ERROR => NiPConnect2: SiPeekPendConn failed for hdl 0 / sock 4
    "dev_slic" [noeol] 26L, 1378C 1,0-1 Top
    dev_w8
    M Wed Oct 19 11:46:48 2011
    M ***LOG Q16=> ThGetMsHwId, DpMBufHwIdGet (HWID_PENDING) [thxxmbuf.c 512]
    M *** ERROR => SlicLikeyGetHardwareKey: no hwid from MSG server: -1 [sliclikey.c 1250]
    M *** ERROR => wlikey_check_webas: Error getting the hardware key. You might find some information in file "dev_ms" on the message server. [sliclikey.c 1269]
    M ***LOG Q16=> ThGetMsHwId, DpMBufHwIdGet (HWID_PENDING) [thxxmbuf.c 512]
    M *** ERROR => SlicKCheckLicense: did not get hwid from message server [slicch.c 306]
    M *** ERROR => no hwid from msg-server received [likeyapi_w.c 2257]
    M ***LOG Q16=> ThGetMsHwId, DpMBufHwIdGet (HWID_PENDING) [thxxmbuf.c 512]
    M *** ERROR => SlicLikeyGetHardwareKey: no hwid from MSG server: -1 [sliclikey.c 1250]
    M *** ERROR => wlikey_check_webas: Error getting the hardware key. You might find some information in file "dev_ms" on the message server. [sliclikey.c 1269]
    M *** ERROR => ThCheckReqInfo: message send/receive failed [thxxhead.c 17124]
    M
    M Modeinfo for User T8/M0
    M
    M tm state = 2
    M uid = 9
    M term type = 0x2
    M display = 0x0
    M cpic_no = 0
    M cpic_idx = -1
    M usr = >SAPSYS <
    M terminal = > <
    M client = >000<
    M conversation_ID = > <
    M appc_tm_conv_idx = -1
    M its_plugin = NO
    M allowCreateMode = YES
    M blockSoftCanel = NO
    M session_id = >4E9DB1D2B02B3BF6E1000000C0A89B01<
    M ext_session_id = >4E9DB1D2B02B3BF6E1000000C0A89B01<
    M imode = 2
    M mode state = 0x42
    M mode clean_state = 1
    M task_type = ZTTABTC
    M lastThFc = THFCBTC
    M lastAction = TH_IACT_NO_ACTION
    M th_errno = 0
    M rollout_reason = 0
    M last_rollout_level = 7
    M async_receives = 0
    M cpic_receive = 0
    M em handle = 2
    M roll state = 2
    M abap state = 2
    M em state = 3
    M eg state = 1
    M spa state = 3
    M enq state = 0
    M softcancel = 0
    M next hook = T-1/U-1/M255
    M master hook = T-1/U-1/M255
    M slave hook = T-1/U-1/M255
    M debug_tid = 255
    M debug_mode = 0
    M mode type = 0x1
    M debug = 0
    M msg_count = 31
    M tcode = > <
    M client conversation_ID = > <
    M server conversation_ID = > <
    M lock = 0
    M max enq infos = 0
    M act enq infos = 0
    M em_hyper_hdl = 0xa665a3b0
    M plugin_info = NULL
    M act_plugin_hdl = -1
    M act_plugin_no = 0
    M max_plugin_no = 0
    M async_receives = 0
    M vm = no VM
    M
    M *** ERROR => ThMBufFullRead: ThOpcodeToMsg [thxxmbuf.c 225]
    M *** ERROR => ThMBufGet: ThMBufFullRead [thxxmbuf.c 183]
    L *** ERROR => BtcEvtRaise: ThScheduler failed (target=, rc=4) [btcevt.c 223]
    L *** ERROR => BtcEojRaise: BtcEvtRaise failed: jobname=BI_WRITE_PROT_TO_APPLLOG , jobcount=11414801, status=A [btcevt.c 52]

    Hi,
    As you are running a Trial version, I do not think HA/ASCS would be relevant for you.
    As you found in the dev_ms trace, the port 3601 for message server is not accessible:
    NiIGetServName: port 0E.11/3601 = servicename 'sapmsN4S'
    ***LOG Q0I=> NiPConnect2: connect (111: Connection refused) http://nixxi.cpp 2769
    ERROR => NiPConnect2: SiPeekPendConn failed for hdl 0 / sock 4
    Check via command netstat if the port 3601 is free for use. The hardware key is obtained from message server and since this port is not available, neither is the message server/the hardware key. Perhaps a VM restart could also help.
    Regards,
    Srikishan

  • How to get the EJB "Cached Beans Current Count" in Command-Line

    I use WebLogic console to monitor EJB's "Cached Beans Current Count" property in monitor tab, but I want to get the result in Command-Line using "weblogc.Admin".
    What arguments to be used?
    I can get the EJB property use:
    java -cp weblogic.jar weblogic.Admin -url t3://svr:7001 -username weblogic -password weblogic GET -mbean mydomain:Application=myear,Name=myejb
    .jar,Type=EJBComponent
    How can I to get the "Cached Beans Current Count"

    Hello,
    This should do the trick
    $JAVA_HOME/bin/java -cp $CLASSPATH weblogic.Admin -url <server_url> -username <username> -password <password> GET -pretty -type EJBCacheRuntime -property CachedBeansCurrentCount
    Also see http://e-docs.bea.com/wls/docs81/admin_ref/cli.html for more info.
    Cheers,
    Hoos
    Message was edited by hoos at Nov 29, 2004 1:50 AM

  • Es-cli Error getting the alarms with getAlarms

    Hi All,
    We are using Sun Management Center Server Version 4.0 Build: 15,H491 and I am haveing a problem seeing alarms for all clients. We would really appreciate any help.
    This is what I am doing and the results:
    $ /opt/SUNWsymon/sbin/es-cli
    Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
    Use is subject to license terms.
    loginHost: hostname
    Password: ********
    Login is successful.
    getLoadedModules a=rdfnur01The command is currently running in the background.
    >
    The command has ended its operation.
    print== getLoadedModules: Results 1/3 ===============================================
    Module Name=Common Config Reader
    Module Key=Config-Readerelp
    Description=Common Config Reader Module
    Agent Name=rdfnur01
    Agent Port=1161
    Version=1.0
    == getLoadedModules: Results 2/3 ===============================================
    Module Name=Kernel Reader
    Module Key=kernel-reader
    Description=Kernel Reader
    Agent Name=rdfnur01
    Agent Port=1161
    Version=2.0
    == getLoadedModules: Results 3/3 ===============================================
    Module Name=File Scanning [var/adm/messages Log]
    Module Key=fscan+syslog
    Description=File Scanning
    Agent Name=rdfnur01
    Agent Port=1161
    Version=2.0
    ================================================================================
    getAlarms -lUsing the last output as the input to the current command...
    The command is currently running in the background.
    >
    The command has ended its operation.
    print== getAlarms: Results 1/1 ======================================================
    Domain=IMS Core Nodes
    Agent Name=rdfnur01
    Agent Port=1161
    State=Fail
    Message=Error getting the alarms.
    ================================================================================
    getAlarms a=rdfnur01The command is currently running in the background.
    >
    The command has ended its operation.
    print== getAlarms: Results 1/1 ======================================================
    Domain=IMS Core Nodes
    Agent Name=rdfnur01
    Agent Port=1161
    State=Fail
    Message=Error getting the alarms.
    ================================================================================
    getAlarms a=rdfnur01The command is currently running in the background.
    >
    The command has ended its operation.
    print== getAlarms: Results 1/1 ======================================================
    Domain=IMS Core Nodes
    Agent Name=rdfnur01
    Agent Port=1161
    State=Fail
    Message=Error getting the alarms.
    ================================================================================
    >

    Hello user13499843,
    If you click on the "Alarms" tab for that Agent (rdfnur01) in the Java Console, do you see alarms there either? Do you see alarms in the Alarms tab for any of your Agents? If not... have you applied patches 143323-04 (SPARC) or 143324-05 (x86) on your SunMC Server? Those patches break the Alarms tab in SunMC (a regression) and would also break es-cli in the way that you posted.
    Solution: downgrade to 143323-03/143324-04 ... once your Alarms tab works in the Java Console es-cli should work for you as well. You may also want to check the versions of your other SunMC patches (http://forums.halcyoninc.com/showthread.php?t=104)
    Regards,
    [email protected]

  • Error 127: The specified file or directory name is invalid

    Hello,
    I am trying, for the first time, to Groom a users home directory. I had created user Home directory policy and have added vault and groom...

    On 5/14/2013 7:16 AM, nwadmsitn wrote:
    >
    > Hi,
    >
    > I'm trying to evaluate File Reporter. I have installed the agent on a
    > OES11 box. This agent is acting as my proxy agent.
    >
    > Then i setup a policie to scan a volume on 2 differents server. One is
    > OES11, the other is OES2.
    >
    > When i launch my policies i have very differents result :
    > - Volume Free Space : After 5 attempts finally it is working
    > -File System DATA : I have most of the time this error : (127) - The
    > specified file or directory name is invalid. Sometimes Operation is
    > successfull but in the reports i have only data for 1 of the 2 volume
    > and only for 2 directories
    >
    > In the log file of the nfr proxy agent i have this kind of error :
    > 01 2013-05-14 13:00:29 7200 3 0006 5953 7f674b5e0700
    > SRSScanAndCollectFileSystemDataService::FinalizeSc anDataEntry() - Worker
    > thread encountered an error and is exiting, Scan ID = "18", Result = 0.
    >
    > Can someone help me ?
    >
    > Stephane
    >
    >
    Stephane,
    Just to clarify a few things:
    1. Do you get these results for both scan targets? Or only a proxied
    scan of the OES11 or OES2 volume?
    2. What sort of volumes are being scanned? NSS? AFP? NCP? What's the
    underlying Linux filesystem type, if applicable?
    Thanks for helping us understand your problem better.
    - NFMS Support Team

  • Unable to get the composite instance for the invocation. This could be because instance has not yet been created or because the audit level for the SOA infra has been set to Off

    I am on Oracle 11.1.1.7 BPM suite on W8 64 bit. I can't launch the flow trace and get the error "Unable to get the composite instance for the invocation. This could be because instance has not yet been created or because the audit level for the SOA infra has been set to Off".  I have set the audit level to development at the soa-infra>SOA Administration> Common Properties > Audit level set to development and Capture Composite Instance State is Checked.
    Can somebody advice.
    Thanks

    Can you please confirm me the following steps...
    Log in to the EM console, Expand soa-infra (soa_server1) , go to the partition where your composite is been deployed, Click on your composite, On the right, click on the dropdown Settings and choose Composite Audit Level. you can choose to set the Audit Level for this composite. If you choose Inherit, it will take the settings to what the server is being set to. Otherwise, we can override it by choosing Off, Production, or Development.
    Make sure your setting for that composite is not Off, keep inherit or production or development.
    Thanks,
    N

  • Unable to get automatic event handling for OK button.

    Hello,
    I have created a form using creatobject. This form contains an edit control and Search, Cancel buttons. I have set the Search buttons UID to "1" so it can handle the Enter key hit event. Instead its caption changes to Update when i start typing in the edit control and it does not respond to the Enter key hit. Cancel happens when Esc is hit.
    My code looks like this -
    Dim oCreationParams As SAPbouiCOM.FormCreationParams
            oCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
            oCreationParams.UniqueID = "MySearchForm"
            oCreationParams.BorderStyle = SAPbouiCOM.BoFormBorderStyle.fbs_Sizable
                    Dim oForm As SAPbouiCOM.Form = SBO_Application.Forms.AddEx(oCreationParams)
    oForm.Visible = True
    '// set the form properties
            oForm.Title = "Search Form"
            oForm.Left = 300
            oForm.ClientWidth = 500
            oForm.Top = 100
            oForm.ClientHeight = 240
            '// Adding Items to the form
            '// and setting their properties
            '// Adding an Ok button
            '// We get automatic event handling for
            '// the Ok and Cancel Buttons by setting
            '// their UIDs to 1 and 2 respectively
            oItem = oForm.Items.Add("1", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
            oItem.Left = 5
            oItem.Width = 65
            oItem.Top = oForm.ClientHeight - 30
            oItem.Height = 19
            oButton = oItem.Specific
            oButton.Caption = "Search"
            '// Adding a Cancel button
            oItem = oForm.Items.Add("2", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
            oItem.Left = 75
            oItem.Width = 65
            oItem.Top = oForm.ClientHeight - 30
            oItem.Height = 19
            oButton = oItem.Specific
            oButton.Caption = "Cancel"
    oItem = oForm.Items.Add("NUM", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            oItem.Left = 105
            oItem.Width = 140
            oItem.Top = 20
            oItem.Height = 16
            Dim oEditText As SAPbouiCOM.EditText = oItem.Specific
    What changes do i have to make to get the enter key to work?
    Thanks for your help.
    Regards,
    Sheetal

    Hello Felipe,
    Thanks for pointing me to the correct direction.
    So on refering to the documentation i tried out a few things. But I am still missing something here.
    I made the following changes to my code -
    oForm.AutoManaged = True
    oForm.SupportedModes = 1 ' afm_Ok
    oItem = oForm.Items.Add("1", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
            oItem.Left = 5
            oItem.Width = 65
            oItem.Top = oForm.ClientHeight - 30
            oItem.Height = 19
    oItem.SetAutoManagedAttribute(SAPbouiCOM.BoAutoManagedAttr.ama_Visible, 1, SAPbouiCOM.BoModeVisualBehavior.mvb_Default)
            oButton = oItem.Specific
            oButton.Caption = "OK"
    AND
    oForm.Mode = SAPbouiCOM.BoFormMode.fm_OK_MODE
    oItem = oForm.Items.Add("1", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
            oItem.Left = 5
            oItem.Width = 65
            oItem.Top = oForm.ClientHeight - 30
            oItem.Height = 19
    oItem.AffectsFormMode = False
    I get the same behaviour OK button changes to update and enter key does not work.
    Could you please tell me find what is it that i am doing wrong?
    Regards,
    Sheetal

  • How to get the art handle of a newly created art.

    Hi all,
    Is there any way through which we can get the art handle of a newly created art, just after its creation on the document?
    Thanks.

    Unfortunately, there is nothing to really do this. I asked for years, and eventually gave up. The best I came up with -- and it sucks -- is to watch for kArtPropertiesChangedNotifier and when that triggers, you look at the selected art and assume that was what was 'created' or 'edited'. Of course, telling the difference between the two is a problem

  • Whenever I update my iPhone software, it asks me to sign in to iCloud with an old email address.  My other devices all have the correct address.  How can I get the correct address for my iPhone?  The only Apple ID that works for logging in is my new one.

    Whenever I update my iPhone software, it asks me to sign in to iCloud with an old email address.  My other devices all have the correct address.  How can I get the correct address for my iPhone?  The only Apple ID that works for logging in is my new one.

    To change the iCloud ID you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted to turn off Find My iPhone (if you're using iOS 7), then sign back in with the ID you wish to use.  If you don't know the password for your old ID, or if it isn't accepted, go to https//appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Tap edit next to the primary email account, tap Edit, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https//appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

Maybe you are looking for