How to get j2eeType=EJB through MEJB

Hi All,
I am having a problem retrieving EJB manged Objects.. When i executed the operation:
Set managed_object_set = mejb.queryNames(null, null);
I got the complete list of items with j2ee Types like JVM,J2EEApplication, J2EEServer, Servlet etc...
But i could not see any j2eeType with the name "StatelessSessionBean" Or other ejb types as per jsr 77.
Infact the obvious question is do i have a EJB component deployed at the first place. The answer is yes i do have a deployed EJB component. The syntax is as follows:
@Stateless public class SampleConverterBean implements SampleConverterRemote,SampleConverterLocal {}
This one is deployed and i could test it with a webmodule as well. But i do not see the j2eeType for that via the API call "mejb.queryNames(null, null);", i am not sure as whether i have written the EJB component as per the EJB 3.0 standard or not.
Can anybody pls help???

Hi Rupak,
The problem you are experiencing is because EJBs are not registered as managed objects in this preview version. Support for that will be available in the next major release of SAP NetWeaver coming out in 2007.
Thanks and regards,
Vladimir

Similar Messages

  • How to get customised reports through Flexible Analysis available in PMIS

    Dear Sir,
    Please guide us how to get customised reports through Flexible Analysis available in PMIS.
    Thanks & Regards,
    PM Team

    [Sap Help|http://help.sap.com/erp2005_ehp_04/helpdata/en/c1/375e9c449a11d188fe0000e8322f96/frameset.htm].
    Regards
    Narasimhan

  • 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

  • How can I access EJB  through executable jar file?

    Hello buddies!!
    I wonder if anyone could give me an explanation of how accessing EJB through executable jar file?Thanks!!

    Hi there,
    You'll need to install the J2EE SDK on the client and include the <j2ee install dir>\lib\j2ee.jar file in your CLASSPATH along with the Client Jar file that was generated by the deploytool when you deployed the application.
    In your client code the Context properties are as follows:
    Properties p = new Properties();
    p.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.cosnaming.CNCtxFactory");
    p.put(Context.PROVIDER_URL, "iiop://hostname:portnumber");
    Context cntx = new InitialContext(p).Hope this helps
    Amanda
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers

  • How to get my mail through without opening the mail app...

    Hi
    I have a tendancy to when ive finished using with my apps on my Mac I always go to top left and press quit itunes or quit mail etc
    if i do that to mail, obviously when a email comes through i dont get it straight through unless the mail program is open (like on my iphone, if an email comes it just comes straight through)
    what im asking is, is there a way for me to get my mail through straight away whilst the mail program is open? - thing is I like things tidy and dont like all these programs left open
    also what is the point of the red X in the top left corner?, if im on a website on safari and I press the X, safari is still open isnt it, but if i click back onto safari to re open the app it just goes to the homepage
    so really what is pressing the red X on the top left and quitting the app altogether, what is the difference?

    Mail has to be open to receive the new mail notification.
    Clicking the red x button just closes the window, does not quit the application.
    To quit the application, you have to select "Quit......" from the application menu.
    When an application is open, a white light indicator will be shown under the application icon in the Dock.

  • How to get list name through javascript?

    Hi,
    I wrote javascript for getting list items but here I'm hard coded list name as "Projects"(my list name). How can I get list name automatically with out hard coding,
    Appreciate if anyone help.
    Thank you.
    function DoLogicalDelete()
    var clientContext = null;
    var oList = null;
    var oListItem = null;
    // var lstItmIsDeleted = null;
    var itmID = getQuerystring('ID');
    clientContext = SP.ClientContext.get_current();
    oList = clientContext.get_web().get_lists().getByTitle('Projects');
    // var oListItemID = SP.ListOperation.Selection.getSelectedItems(clientContext);
    oListItem = oList.getItemById(itmID); // getting ID
    clientContext.load(oListItem,"Title", "IsDeleted"); // load items to oListItem
    oListItem.set_item('IsDeleted', true);
    oListItem.update();
    clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded),Function.createDelegate(this, this.onQueryFailed));

    Not sure on which context you are executing the code. If you executing this from the list form and trying to get the current list, then you may need to get the list name from the breadcrumb/list title field. Refer to the following posts for more information
    http://sharepoint.stackexchange.com/questions/39008/how-to-get-list-name-from-js-object-model-list-name-from-url-problem
    http://itrob.be/sharepoint-get-all-lists-names-in-javascript-spservice-and-jquery/
    --Cheers

  • How to get work done through Sub Contracting

    Hi.. guys..
    my current client is in textile(Embroidery).
    They get order from clent and do work. after finsihing work, if they find
    some defect in fisished goods they send it for job to external party and get it done.
    in short they get thier work through sub contracting.
    Please let me know to main this situation i.e. inventory and production maangement
    Thanks
    hemant

    Hi,
        There is not any facility like this in B 1, but there is one work arround. I applied this at one of my client site and it is working.
      Maintain A diffrent warehouse for subcontractor and transfer the defect item in subcontractor whse , when u got it back from that , do one more inventory transfer from sub contractor whse to your whse
    hope this will help u
    thanks
    Deepak Tyagi

  • How to get pc audio through seperate stereo receiver - Audig

    Hello,
    I have an Audigy 2 SC and a yamaha 5. stereo receiver + subwoofer:
    http://www.yamaha.ca/av/Hometheatre/YHT70S.jsp
    I've been trying to get my pc audio (songs,dvd's,pc games) to go through the receiver. Thus far I have only been able to hear audio through the green input (one of the line outs) yet I only hear audio on the right side of the 5.. Only the front right, back right and center speaker are emitting the audio. In the options I have de-selected the "Digital Output Only" tab, set the speaker settings at 2.. The cable that I'm using is a headphone jack at one end (into green input port) and RCA's at the other hooking into my AUX inputs on the receiver.
    How do I get either get 5. or just the front speakers to work properly?
    Many thanks for anyones help

    Hi and welcome..
    didnt use Bluetooth for audio  , but Try to look at windows system sound section,... like a receiver you have to choose where sound comes , think windows could that not know automatic  ...there should be in the a menue where you can  change to bluetooth device instead of internal Audio  ... 
    sincerely KalvinKlein
    Thinkies 2x X200s/X301 8GB 256GB SSD @ Win 7 64
    Ideas Centre A520 ,Yoga 2 256GB SSD,Yoga 2 tablet @ Win 8.1

  • How to get remote ejb client working with Weblogic 8.1?

    I have Weblogic 8.1 running on a WinXP box behind my firewall. Port 7001 is open to WL and remote browsers can access the console.
    I have a client machine running WinXP on a different network that is remote to the WL server. It can ping the WL server machine.
    I use JVM 1.4.2_08 on all machines.
    If I put my client machine on the LAN with the WL server, then my EJB test client works fine. If I put the client machine on the remote network then the test client fails with a ClassCastException when trying to do a PortableRemoteObject.narrow on the bean home.
    I had this running fine on JBoss 3.22 using RMI over HTTP. I added an HTTP invoker service to my jboss.xml file. I don't know if something similar is needed on the Weblogic side - any ideas on that? All I've done on the WL side is turn on Tunneling - which obviously works because the remote client gets a correct home object when doing a lookup on the bean - based on the IOR string of the home obj.
    Below I include my client code, exception, ejb-jar.xml and my weblogic-ejb-jar.xml.
    Any ideas on what else needs to be done so that a remote client can do a PortableRemoteObject.narrow? My client.jar has all of the EJB classes, and runs fine when run from LAN.
    Thanks,
    --BobC
    Client Code
    Properties p = new Properties();
    p.put("java.naming.factory.initial", "weblogic.jndi.WLInitialContextFactory");
    p.put("java.naming.provider.url", "http://66.114.140.213:7001");
    InitialContext ic = new InitialContext(p);
    // Test register bean
    Object homeObj = ic.lookup("tacplanner/register");
    RegisterHome home = (RegisterHome) PortableRemoteObject.narrow(homeObj, RegisterHome.class); // <<< ClassCastException here
    Exception
    java.lang.ClassCastException
    at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:293)
    at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134)
    at com.nimblus.tacplanner.test.TestUtils.<init>(TestUtils.java:60)
    at com.nimblus.tacplanner.test.TestUtils.main(TestUtils.java:196)
    ejb-jar.xml
    <?xml version="1.0"?>
    <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN' 'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'>
    <ejb-jar>
    <enterprise-beans>
    <session>
    <ejb-name>register</ejb-name>
    <home> com.nimblus.tacplanner.server.ejb.stateless.RegisterHome</home>
    <remote> com.nimblus.tacplanner.server.ejb.stateless.Register</remote>
    <ejb-class>com.nimblus.tacplanner.server.ejb.stateless.RegisterSession</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    <resource-ref>
    <description>The Oracle Datasource</description>
    <res-ref-name>java:/OracleDS</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </session>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>register</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </ejb-jar>
    weblogic-ejb-jar.xml
    <?xml version="1.0"?>
    <!DOCTYPE weblogic-ejb-jar PUBLIC
    '-//BEA Systems, Inc.//DTD WebLogic 8.1.0 EJB//EN'
    'http://www.bea.com/servers/wls810/dtd/weblogic-ejb-jar.dtd'>
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>register</ejb-name>
    <stateless-session-descriptor>
    <pool>
    <max-beans-in-free-pool>100</max-beans-in-free-pool>
    </pool>
    </stateless-session-descriptor>
    <reference-descriptor>
    <resource-description>
    <res-ref-name>jdbc/OracleDS</res-ref-name>
    <jndi-name>OracleDS</jndi-name>
    </resource-description>
    </reference-descriptor>
    <enable-call-by-reference>True</enable-call-by-reference>
    <jndi-name>tacplanner/register</jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    --------------------

    Problem solved.
    For remote clients you need to generate and use the stub classes for EJB interfaces using Weblogic's appc utility.
    See: "http://e-docs.bea.com/wls/docs81/ejb/appc_ejbc.html#1151900"
    --BobC                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to get e-mail through i cloud

    Had to have e-mail sent to icloud. Have not synched yet to icloud but was told we can get to our email until then. Can not figure out how to.

    Welcome to the Apple Community.
    You can log into your account at iCloud.com using the web browser on your computer.

  • How to get work schedule through pernr

    I'd like to get one pernr's work schedule, just some data like how many hours does he work a day? which quota type does a absence type deduct?  Is there any BAPI or FM to get it?
       I check the img, and find that if you use pernr to get esg, and psg, than you can get it? but i don't think it is a good idea? so any way, help me , please.

    hi,
    use f.m HR_PERSON_READ_WORK_SCHEDULE
    Thanks
    Vishal kapoor

  • How to get audio input through 3.5mm on MacBook Air

    I am trying to use the 3.5mm jack on the MacBook Air as an input jack. I am running several Mic's to a sound board, and then using it's output to get the audio to my system. The problem is, when I plug the cable into the jack, it thinks it is speakers. Does anybody have a solution? I cannot find any way to manually adjust this from output to input. Also, using USB is not an otion, becuase it is coming from a sound board, not jus one mic.
    I am using a mid-2011 MBA with Lion 10.7.5
    Thanks!!!

    Maybe you can help me now?
    I have a iPhone 1/8 inch microphone adapter - 3.5mm 4 conductor TRRS Male to 3.5mm Microphone Input Jack from here. that allows me to plug my lapel mic directly into my iphone and record, it is great.
    I was hoping I could also use it on my MBPRetina to accomplish the same purpose. Do you know if that is possible? I tried and tested it recording a video in iMovie, and didn't notice any change.
    I went to the Sound Input Preferences, and do not notice the mic input changing when I plug it in or remove it. In other words, it always says "internal mic."
    My lapel mic is battery operated, with a fresh battery, and it was turned on.
    What am I doing incorrectly? Any help would be wonderfully appreciated!

  • How to get unique users through resource name using OIM 10g API

    Hello,
    I have a scenario where i have a resource 'TRY' with multiple request allowed,so if user 'A' requests for
    resource 'TRY' 3 times then i can see in user 'A' resource profile 3 occurrences of resource 'TRY' & when i
    use getAssociatedUsers() API it gives me 3 occurrences of user 'A',so is there any available API for searching
    unique users based on resource name ?
    Thank-You
    Rahul Shah

    You can get the logged in user name using the below java code:
    ADFContext adfCtx = ADFContext.getCurrent();
    SecurityContext secCntx = adfCtx.getSecurityContext();
    String user = secCntx.getUserPrincipal().getName();
    HTH

  • How to get constant Value through RSQL Query

    Is it possible to get constant value in rsql query?
    Eg: select bBU, 0 Dummy column, part_number from test_rs

    No. This is not available in IOP. What do you want to achieve using this?

  • How to get system date through forms 6i?

    Sir,
    I am trying to get system date in forms but i am getting some problem with it.
    My code is like this: I am using 6i forms with 10g database.
    SELECT SYSDATE INTO :VAR FROM DUAL;
    At the compilation it is giving error like
    ORA-00600 internal error argements
    can you help me please

    you can make this code instead of what you write in forms
    :VAR :=Sysdate;
    and make var variable of type date
    concern the error try to close the forms builder and open it again and recompile your form.
    hope this will help you

Maybe you are looking for