Newbie question: Can't see session bean in business operations after deployment

Hi,
I've just deployed a session bean (using WLS 7.0) sucessfully, but I can't see
the deployed EJB in the business operations in studio. Am I suppose to update
something on the integrator side that references the EJB? Or is there something
else? Any help would be greatly appreciated.
Thanks
Aashish

Hi,
Sorry, but I don't know what you mean.
Could you explain it more detailed, please?
I see following, when start integrator.bat:
[code]
Developer 4.7 Build 999
Exception in thread "Thread-3" java.lang.NullPointerException
        at com.wm.app.b2b.dev.DevConnectDialog.itemStateChanged(DevConnectDialog.java:253)
        at javax.swing.JComboBox.fireItemStateChanged(Unknown Source)
        at javax.swing.JComboBox.selectedItemChanged(Unknown Source)
        at javax.swing.JComboBox.contentsChanged(Unknown Source)
        at javax.swing.AbstractListModel.fireContentsChanged(Unknown Source)
        at javax.swing.DefaultComboBoxModel.setSelectedItem(Unknown Source)
        at javax.swing.JComboBox.setSelectedItem(Unknown Source)
        at com.wm.app.b2b.dev.DevConnectDialog.<init>(DevConnectDialog.java:210)
        at com.wm.app.b2b.dev.DevMainFrame.doConnect(DevMainFrame.java:759)
        at com.wm.app.b2b.dev.DevMain$1.run(DevMain.java:195)
        at java.lang.Thread.run(Unknown Source)
        at com.wm.ui.UiFrame$7.run(UiFrame.java:344)
[/code]
Thanks.

Similar Messages

  • Calling session bean's business method through web dynpro component

    Hi All,
    Can anybody tell me how to call a session bean's methods through a web dynpro WITHOUT java-model or web service model ??
    I have following scenario:-
    1. Stateless Session bean having two business methods
    2. Web Dynpro component
    3.Now i want to call business methods without using any model. I have got following piece of code but I dont know how to go about it.
    4.Where do i have to set JNDI name for session bean? which interface will be looked for?
    5. Do I have to declare public part for EJB DC? If yes, how?
    //This is inside web dynpro component
    InitialContext   context = new InitialContext();
    o = context.lookup(JNDIName);
    TestSessionbeanHome homeRef = (TestSessionbeanHome) PortableRemoteObject.narrow( o,                                                                               
    TestSessionbeanHome.class);
    TestSessionbean beanRef = homeRef.create();
    <returnValue> = beanRef.<ejb method name>
    Please help to get a step-by-step approach to this case.
    Thanks and regards,
    Amey Mogare

    Hi,
    If  I comment out the part that is using session bean's business method, DC is building fine.
    And if I uncomment, then compiler is unabl eto resolve business method(s).
    And i would like to mention that my EJB + J2EE App DC is building properly, but it havent yet deployed properly as I am waiting for data-source-alias name prefix to be configured by ERP team. So will this be a reason why Web Dynpro DC is not able to resolve business methods ??
    Because Web Dynpro DC is able to resolved all interfaces of Session bean and entity bean. But when it comes to business method, its not able to resolve.
    Any more ideas why it is not happening?
    Pls help.
    Now i went through some forum posts regarding this and found that we also need to add EJB DC to Java Build Path for WebDynproDC>Properties>Java Build Path.
    I did this and now it is able to resolve business methods and DTOs as well. So to summarize I did following:-
    1. Added EJB DC (complete DC) as a Used DC to Web Dynpro DC with Buid-n-Deploy-n-Run time dependency
    2. Added Sharing reference of J2EE application DC to Web Dynpro DC -->Properties
    This reference I constructed as follows:-
    <vendorname>/<name of j2ee application as appearing under display name tag in application.xml (replacing '/' with '~')>
    So my Sharing Reference becomes:- <vendorname>/reqpstapscreqpstapja_reqid
    3. Added EJB DC to Java Build Path in Web Dynpro DC's properties
    4. Then I added following piece of code to get object of SessionBean class
    InitialContext context = new InitialContext();
    Object o = context.lookup("java:comp/env/ejb/SessionRequestIDBean");
    SessionRequestIDHome homeRef = (SessionRequestIDHome) PortableRemoteObject.narrow(o, SessionRequestIDHome.class);
    SessionRequestID beanRef = homeRef.create();
    beanRef.<business method>
    But After doing this I am facing another problem :-
    The build fails saying it is not able find the package for DTOs. But when I see the Component Controller's code it is not showing any red or yellow marks.
    Can anybody pls help me out here?
    Thanks and regards,
    Amey Mogare

  • How to call a web service from a session bean's business method???

    Hi Experts,
    Can anybody help in calling a web serivce frm a session bean's business method??
    Hw do we do that?
    I have one requirement where i want to send emails to set of users for which i have email sending web service ready.. How can i call it thru a session bean's business method???
    Pls help,
    Regards,
    Amey

    Hi Amey,
    You can achieve this using the followin 2 Step implementation:
    1. [Creating a Deployable Proxy|http://help.sap.com/saphelp_nw70/helpdata/EN/2d/b9766df88f4a24967dae38cb672fe1/frameset.htm]
    2. [Create a Client Bean|http://help.sap.com/saphelp_nw70/helpdata/EN/45/029840cf43495195da923f32262911/frameset.htm]
    Hope it helps.
    Regards,
    Alka.

  • Can't see EJB objects in Application Navigator after migration

    Hello
    I can't see any objects in Application Navigator after migration from previous version of JDeveloper (9.2.0.5), in System Navigator view I can see all sources. Has somebody any idea what the reason is?
    Tom

    In the application navigator you should see one node per EJB, when you stand on it you'll see the various source files in the structure window.

  • What can I do about an HTC One camera having a problem with a frozen display? I can take pictures but I can't see what I'm shooting until after the picture is taken.

    I can take pictures but I can't see what I'm shooting until after the picture is taken.  I've already had to do one hard reset which deletes all my data.  Is there any other solution?  Is it a glitch that would be resolved by getting a different phone?

        Thanks for the additional information AliciaG.! Let's test your camera in Safe Mode, follow the steps at this link http://vz.to/1mjT7T2 to restart your phone in Safe Mode. Keep us posted.
    AntonioC_VZW Follow us on Twitter at www.twitter.com/VZWSupport

  • Question about the Create Session Bean Wizard

    Hi,
    I'm using the Session Bean Wizard to generate a session facade in EJB 3.0. In step 2 «choose methods to expose through this facade», I only see 2 methods generated for each entity: findAll and remove.
    When I click Help on this page, the documentation specify the following:
    «Use the tree control to specify the core methods and entity methods you want to generate. Core Facade Methods Theese methods are used for basic CRUD (create, read, update, delete) functionality. »
    So why is the wizard only offering to generate findAll and remove?
    Also the remove method generated does not seem to delete anything as in the following :
    public void removeDcaRole(DcaRole dcaRole) {
    final EntityManager em = getEntityManager();
    try {
    final EntityTransaction et = em.getTransaction();
    try {
    et.begin();
    dcaRole = em.find(DcaRole.class, new DcaRolePK(dcaRole.getDcaNo(), dcaRole.getTRoleCode()));
    et.commit(); // where is the delete ???
    } finally {
    if (et != null && et.isActive()) {
    et.rollback();
    } finally {
    if (em != null && em.isOpen()) {
    em.close();
    Can I use the remove method as a starting point to an update ?
    Any comment on this would be appreciated.

    There are update and insert methods under the "core" section/
    See this image : http://www.oracle.com/technology/obe/obe1013jdev/10131/10131_ejb_30/images/b20105.gif
    You might want to follow this tutorial to see how it works:
    http://www.oracle.com/technology/obe/obe1013jdev/10131/10131_ejb_30/ejb_30.htm#t4

  • Can't lookup session bean in MBean and ApplicationLifeCyleListener

    Hi,
    i am migrating an application with mbean from OC4J to weblogic 10.3.2.
    as my application don't have a web module. i try to use the ApplicationLifeCycleListener
    to register the mbean (instruction from this oracle document page:
    http://download.oracle.com/docs/cd/E12839_01/web.1111/e13729
    /instmbeans.htm#i1099957).
    i register the mbean in the ApplicationLifeCycleListener.postStart method, but in the
    mbean's method (which is called by a javax.management.timer.Timer, created in the
    MBeanRegistration.postRegister method), i can't lookup the session bean.
    (i try to lookup the session bean in the ApplicationLifeCycleListener.postStart method, it fails too)
    if i register the mbean in a ServletContextListener, there is NO problem that i can
    lookup session bean in the mbean's method.
    why there is inconsistence in registrating mbean by servlet context listerer and by
    applicationlifecyclelistener???
    can anybody tell me the solution???
    is it impossible to call session bean in the MBean's method if the mbean is registered
    in the ApplicationLifeCycleListener ???
    *** i want to call a session bean's method periodically through the timer ***
    thank you very much.

    gimbal2 wrote:
    r035198x wrote:
    I put the interfaces in a separate XX-si-jar file always.
    The implementation jar then depends on that service interface jar which gets deployed on both the client and the server.
    This way I can distribute my si without including implementation which I can change without needing to affect the clients.Yeah, that seems like the only real solution to me. Using Maven it shouldn't be that hard to manage either now that I think about it. Did you ever get into trouble with a client being based on an outdated interface jar? I can imagine that it can be a bit of a release management drama to keep these things synced.Interface changes when they did happen resulted in full redeployments because the client usually has to change anyway to use the changed functionality. Most interactions are through static interfaces so this doesn't arise too much.
    In volatile interactions, a common approach is to define a generic interface EJB whose implementation can delegate the calls to other (potentially future) services. The problem with this is that return types have to be simple.
    >
    It's one of the reasons why I'm not a fan of optional interfaces in 3.1.Well the optional part is optional ;) To me it is a very useful addition since I usually only deal with local interfaces when I use EJB technology. I always found it a bit of a bother to HAVE to create an interface also, I welcome the change.It is handy to be able to roll out an app with a few classes all bundled in one deployment file if there is no requirement for multiple implementations of an interface or for remote invocation support.
    I just feel that it's a lot of flexibility to sacrifice when doing the interfaces is not really a lot of effort with today's development tools.

  • Display question - can't see drop-down menus

    I'm new to itunes and I somehow have screwed up how the drop down menus display. For example, when I click on File, I can't see the menu (there is a vague outline). If I move down the menu, I can only see what my courser is on, not all of the options on the menu. It's bizarre and it's very difficult to work with. It is only on itunes, all other applications are fine.

    Normal click inside the tool icon and hold the button down for one second while not moving the cursor.

  • Can't see SMB (Windows PCs) on network after upgrading to 10.6

    Just upgraded our office to 10.6 from 10.5 last week and now we can't see the handful of Samba shares in the Network shares list. Tired a couple things I've seen around to try to resolve this like manually setting the workgoup name in the NetBOIS tab, etc but to no avail. I can however access them via K and smb://servername/ but my users don't quite know that work around and I don't feel like having to walk them through it a dozen times before they remember. Anyone know what's going on? Thanks!

    Replying to my own post, but I experimented with removing some software that might cause trouble, and the problem went away.
    I removed iStat Menus (the old, pre-shareware version) and VirtualBox (newest, I think) so I don't know for sure which one of those was the culprit (if either), but hopefully this'll help people if they encounter similar problems.

  • How can i see the Asset purchase order & GR after settlement

    Hello Gurus,
    Would you please tell me how can i check the Asset Purchase order, which is settled (WBS Element)? How can i see the GR document for the specific asset? & if i treat as a expeneses toward the project where i get the GR/ PO in asset explorer?
    Warm Regards,
    Dhananjay Rahane.

    Dear,
    Dhanajay.
    Purchase order related to asset you can see in Asset Master itself. Go to AS03 - Environment  ( Menu bar ) - Click on Purchase Order. Here you will have all the relevant PO's relating to asset.
    GR you can see in PO at a Purchase Order history. The data relating to asset you can  see in left hand side navigation in AW01N Asset Explorer. Like as Vendor, PO's, etc.
    WBS in PO you can see in Account Assignment Tab if your PO is created with N. ( Network PO ). WBS linked to Network you can see in CJ20N ( Project Builder ). 
    WBS Actual values can see in report CJI3 Actual Cost & Revenues.
    I hope this helps you to solve your issue. If you have any doubts feel free to share.
    Regards,
    Pankaj A Bhalerao.

  • I can't see the Array element in actionscript after updating to latest nightly build

    hey guys... so i have a small issue... i just updated to the  latest nightlybuild, and for some reason i dont see Array as a datatype in the intelasence...
    When i do type "var temp:Array = new Array()" then i dont get any errors... but when i do "temp. " i dont see any functions that relate to the array datatype... i was wondering if thats a bug? or if its something that was taken out??
    oh, and i can't see Filereferencelist in the intelessence either...

    Does everything compile fine and the super class of your webservice is valid and in your library path?
    Please see my previous post about playerglobal.swc being read properly. You can verify this in a few different ways: compile, expand the SWC in package explorer, search in the open type dialog, etc.
    PLEASE make sure you're in a clean workspace. As I said before, once FB Beta 2 caches the SDK, you can't effectively force builder to refresh the cache. You can surgically remove the cache by deleting the .metadata/.plugins/com.adobe.flexbuilder.codemodel folder or you can start in a clean workspace, modify your nightly SDK, add it to FB and create your project.
    Jason San Jose
    Quality Engineer, Flash Builder

  • HT4859 can i see the contents of my iphone after a back-up to icloud?

    I just set my iphone to back-up on icloud and tried a sync.  I don't see any of my apps or photos on icloud?

    Welcome to the Apple Community.
    You can see the back up file at settings > iCloud > backup & storage > manage..... But you can't see the contents of the backup file.
    Is your profile correct, the iPhone 3G can't use iCloud.

  • NewBie Question: Can you make a website completely with Java?

    Greetings my new Fellow Java programmers. My name is Jason and I am a computer programmer and web developer. I am verse in the following:
    1. HTML/XHTML
    2. CSS
    3. Asp.net
    4. VB.Net
    5. SQL
    I want to expand my skills to include:
    1.JAVA
    2. Action Script
    3. Java Script
    4. Ajax
    I have always wanted to learn Java and now I think it is the right time. So my question is can you create a site complete with Java or have a majority of the site functions and look attributed to Java? Is it similar to creating a site with vb.net and asp.net which utilizes html as well? Please explain. I am eager to learn this language. Thank you.
    -RomDog
    ...ROOOOOF!

    RomDog wrote:
    Is it similar to creating a site with vb.net and asp.net which utilizes html as well? Please explain. I am eager to learn this language. Thank you.
    I find it strange that you have to ask this. Of course the end result will be HTML/XHTML, that's what the browsers want. I would think that if you know the .NET side of web development, these concepts (client/server technologies) should already be clear to you.
    The short answer is yes it is possible. However if you want to learn Ajax/Javascript/Actionscript, I would learn those technologies before you learn Java web development as they are completely unrelated. You know that Javascript is not Java, right? You can implement javascript/Ajax in your .NET web applications already.
    Before you want to learn Java web development, learn Java. Seriously, learn basic Java first. It will be a great deal harder (and ultimately a lot more frustrating) to jump directly into the web development side of Java without knowing any of the basics. One of the biggest differences between .NET and Java platforms is that Microsoft basically holds your hand when it comes to making decision about which APIs to use and how to attack a problem; Java leaves you to the wolves to select from a gigantic amount of APIs and tools available that can each solve a problem in their very own way. Freedom is great, but it can be very daunting when you are just beginning.
    So before you even think about web development, I suggest you explore the java tutorial and see if you can get to grips with the language and the tool set.
    [http://java.sun.com/docs/books/tutorial/|http://java.sun.com/docs/books/tutorial/]
    When you are comfortable with the Java language and you are sure that Java web/enterprise development is still something for you, then come back and ask the question again.

  • Admin server can't see session info when app is running in cluster

    All,
              We have 3 servers running WL6.0 sp1, 1 is running the admin server and the
              other 2 are running as part of a cluster.
              We have a web application that has been deployed to the cluster and is set
              for PersistantStoreType equal to replicated.
              Enable session monitoring is set.
              If one of the servers in the cluster is running and we connect to the admin
              server we can see both the servelet and session statistics for the
              application.
              If both servers are up and running, we can see the servelet statistics for
              both servers but the session information is always 0.
              Is this a bug or is there something else we need to have set.
              Thanks
              Eric
              

    Is this what you are looking for?
    monitor = new URLMonitor(new URLRequest("http://localhost/gateway.php"));
                   monitor.addEventListener(StatusEvent.STATUS,onStatus);
                    monitor.pollInterval = 5000;
                    monitor.start();
    I use it to poll a server every five seconds and when there is a change is status to connected it triggers the onStatus function I have defined elsewhere. Learned it from Lynda.com's videos...

  • Newbie Question: Can Flash do this?

    I would like to make some movies (whatever format would load
    the quickest on a website and produce the smallest file size) that
    show the stroke order and formation of Chinese characters.
    The viewer would see something like an animated GIF that
    shows the character being formed on the screen
    Can Flash be used in conjunction with a Wacom Tablet (or
    mouse, for that matter) to do this? If so, how would I do this--I'm
    a total newbie with Flash.
    If it can't can anyone suggest a program that could do this??
    I have the Adobe Master Collection, so I have access to all the
    programs.
    Thanks.

    Flash can do it, but not quite the way you're approaching it,
    I think. I would start with the complete character on the stage and
    use a series of animated masks to reveal the strokes in sequence,
    to make them 'appear' like they are being drawn.
    There are some other ways to go about this as well, but this
    would be the simplest by far.

Maybe you are looking for

  • How to change "Select a content category " text

    Hi folks, I really appreciate the support community, as I did deeper and deeper into the produce I've seen the same handful of names pop up across the board! Thanks for all your help! I was wondering how to change the "Select a content category>>" te

  • Quicktime Pro 7 on Snow Leopard displays black with uncompressed Quicktime

    Hi, I have searched these discussions but with no luck so far. Any help will be greatly appreciated but I have the feeling there may be no solution to my problem. Perhaps the new 64 Bit Quicktime 7 is missing the codecs I need. For more than five yea

  • Any diff. in loading data from (SD, MM , PP ) and from (SCM, CRM)

    Guyz-   Can some one tell me, whether there will be any difference between loading data in BW from modules like SD-MM-PP and loading data from SCM,CRM.   Any source of material/docs for loading data from SCM and CRM. Thanks in advance

  • No resize?

    hi, here is my code //Siobhan McGuire //Matriculation Number - 200404238 //My Calculator import java.awt.*; import javax.swing.*; import java.awt.event.*; class Calculator extends JFrame {      Calculator.setResizable(false);      //declares all calc

  • My i pad as well as my wives are loading very slowly

    jusy of late my i pad 2 as well as my wifes is running and loading very slowly , it is not the internet connection as i have tried on different internet connections