SJSAS 9.1 does not expose EJB 3.0 remote Interface via JNDI

I have successfully deployed a simple Stateful EJB 3.0 bean (CartBean, like the one in the Java EE 5 tutorial remote interface Cart) on SJSAS 9.1, located on machine host1.
After I deployed the CartBean, I browsed the SJSAS and noticed the existence of the following JNDI entries:
ejb/Cart
ejb/Cart__3_x_Internal_RemoteBusinessHome__
ejb/Cart#main.Cart
ejb/mgmt
ejb/myOtherEJB_2_x_bean ( +myOtherEJB_2_x_bean+ is a different 2.x bean that I have deployed as well)So, I am trying to access the remote interface of the CartBean from a remote machine, host2. The client application is a Java-standalone client.
I am using the Interoperable Naming Service syntax: corbaname:iiop:host1:3700#<JNDI name>
The problem is that the remote interface of the bean does NOT seem to be available via JNDI. I get the javax.naming.NameNotFoundException when I try to do a lookup like:
corbaname:iiop:host1:3700#ejb/Cart
On the other hand, the following lookups succeed:
corbaname:iiop:host1:3700#ejb/mgmt
corbaname:iiop:host1:3700#myOtherEJB_2_x_bean
and also the following succeeds:
corbaname:iiop:host1:3700#ejb/Cart__3_x_Internal_RemoteBusinessHome__So it seems like the Remote interface is not available via JNDI, rather only some internal SJSAS implementation (the object returned from the ejb/Cart__3_x_Internal_RemoteBusinessHome__ lookup is of type: com.sun.corba.se.impl.corba.CORBAObjectImpl
Why is this happening? I know there used to be a bug in Glassfish, but I thought it had been fixed since 2006.
Many thanks in advance, any help would be greatly appreciated.

The EJB 3.0 Remote Business references are not directly stored in CosNaming. EJB 3.0 Remote references do not have the cross-vendor interoperability requirements that the EJB 2.x Remote view had.
You can still access Remote EJB references from a different JVM as long as the client has access to SJSAS naming provider. Please see our EJB FAQ for more details :
https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html

Similar Messages

  • My Canon MX 922 does not scan. My printer is connected via cable. Wireless doesn't work either.

    My Canon MX 922 does not scan. My printer is connected via cable. Wireless doesn't work either.  I get an error message with multiple suggestions but none of them apply to my situation.
    I am so dissatisfied with this printer.  I'm sorry I got it from Amazon because now it is a hassle to return it.  I will never buy another Canon.
    The printer menus are confusing.  I hate using it.  I loved my previous Canon which finally stopped working after many years, that's why I purchased a newer Canon model.  Never again.  Stick with cameras.
    Marcy Hotz

    This note won't be as angry and frustrated as the last one...
    Because I still had my old printer drivers and other applications on my hard drive, I think the application was trying to connect with the old printer.  I deleted all the old stuff.
    I also had several scanning applications on my drive which just confused me.
    When I used the actual Canon MX922 application, I was able to scan but could only save as JPG, TIF or BMP (and one more, I forget which).  So I did some research on the Canon site and found out how to save documents as PDF files using the Canon IJ Scan Utility.
    It works now.  So I'm satisfied, will keep this maching.  I just had to take some time, sit down and focus on the problem.

  • "The interface name given does not specify a valid and existing interface."

    Hi nice guys,
     I'm trying to use the XNET APIs to set Master task to Slave with LIN protocol. As I have no Experience before, there's something problem like the Interface of the NI USB-8476S can't be detected. The prompted windows presents following infomation:
    Error -1074384758 occurred at XNET Create Session (Signal Output Single-point).vi:1
    Possible reason(s):
    NI-XNET: (Hex 0xBFF6308A) The interface name given does not specify a valid and existing interface. Solution: Use a valid and existing interface. These can be obtained using MAX, XNET system properties, or the LabVIEW XNET Interface IO name. If you are using CompactRIO, refer to the topic "Getting Started with CompactRIO" in the NI-XNET Hardware and Software Help.
    but in the NI MAX, the device is detected as "LIN0". Even the interface input control in the NI examples shows the error. But if I take the CAN Frame API, it works well.
    Does anyone have some idea. I'm so preciate. Tanks in advance.
    best regards
    Melo

    Melonetern,
    When do you receive these errors?  Does this happen when you try to run your code or our examples?  On top of that, does this error happen immediately or does it take a while?  Is this happening in LabVIEW or another interface?
    If you could give us the versions of software you are using as well as the XNET driver versions that would be very helpful.
    Matt J
    Professional Googler and Kudo Addict
    National Instruments

  • Mac OS X Server v10.7 does not show the ethernet link aggregated interface I created in Server Hardware Network Dialogue window. Are link aggregated ethernet connections not supported in Lion Server?

    Mac OS X Server v10.7 does not show the ethernet link aggregated interface i created. Does Lion server support ethernet link aggregated interfaces?

    Thanks for responding Cold--
    Hardware: Mac Pro  3.0 GHZ quad core xeon
    I read the link but it still does not explain why the aggregated dual ethernet interface does not show up in the Network tab of the hardware section Lion Server. I was able to see it on the network and looks to be using a single static IP that I assigned. My concern was that is this supported and will it allow for failover and double performance of the single network interface.
    Any thoughts?
    Thanks again!

  • DataControl does not expose a Commit operation

    Hi all,
    I'm using ADF & JDeveloperStudio Edition Version 11.1.1.3.0 PS2.
    I'm trying to insert a new row in my database from an input screen, using a task flow.
    My task flow has:
    - Behaviour -> Transaction set to Always Begin New Transaction: to create a new transaction when the flow starts.
    - method activity to call the Create operation from my DataControl
    - view activity for data-entry screen.
    - view activity for read-only, confirm screen to display the entered data and provide a Confirm button to proceed with inserting the data to the database.
    - return activity: has Behaviour -> End Transaction set to Commit to complete the insertion to the database. NOTE: I did not drag the Commit operation from my DataControl to the command button that navigates to this return activity—I explain below.
    Problem:
    When I hit the Confirm button on the confirm screen I get an HTTP 404 Error (The server has not found anything matching the Request-URI.)
    Nothing displays on either the Messages or Running: IntegragedWebLogicServer; nothing appears in the DefaultServer.log.
    I'm following [this section|http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/web_form.htm#sthref1906] from the Fusion Developer's Guide. I have deviated from the instructions on point 6 ("Because you need to commit the new data, the application needs to execute the commit operation of the data control. To do this, you can add a button that navigates to a return activity that calls the commit operation.") because my DataControl does not have a Commit operation. I suspect this is the cause of my problem.
    My DataControl was generated from a Session Bean, which was created from an Entity EJB, which was in turn generated from my database table (I have SELECT and INSERT grants on the table. All this is correct, I believe.
    I've compared my DataControl to that from JDeveloper's Cue Cards tutorial "Build a Web Application with EJB, JPA and JSF"; that tutorial's DataControl does not have a Commit operation either, but the tutorial does not try to use task flows.
    Any ideas as to why
    - I'm getting the error when I try to navigate from the confirm page to the return activity responsible for committing the insertion to the database?
    - my DataControl does not exhibit a Commit operation?
    Thanks for your help.
    Regards,
    Ken.

    Hi Shay,
    Thanks for response.
    I've tried your suggestion to call the persist... transaction method.
    Here are my steps:
    - Started with a fresh, even simpler task flow with only two activities: a view activity to display an input form, and a method activity to call the persistMyEntity(...) transaction method.
    - Added method activity, and dropped persistMyEntity(...) from my data control onto it. (Data control created from Session Bean.)
    - persistMyEntity(...) takes one parameter, a MyEntity object: I need to identify this parameter object using EL. There is no such object existing in any binding context at this point.
    - Added managed bean, of type MyEntity to the task flow in page flow scope. Updated the EL for the persistMyEntity(...) parameter to refer to this managed bean in page flow scope - *#{pageFlowScope.myEntity}*.
    - Added a view activity to task flow, and created the *.jspx* for it.
    - Dropped input text components onto the page for each of the entity's attributes that I want to persist to the database.
    - Manually bound the value for each input text component to the corresponding attribute in the managed bean - *#{pageFlowScope.myEntity.myAttribute}*
    When I run my task flow, I get following exception: oracle.jbo.NoDefException: JBO-25058: Definition myAttribute of type Attribute is not found in myAttribute.
    I would have thought I could expand the persistMyEntity(...) node within the Data Control panel and drag its parameter onto the screen as an ADF Form, with ADF looking after binding; then drag the persistMyEntity(...) method onto the method activity. My gut tells me I shouldn't have to add a managed bean to the task flow, of type required by the persistMyEntity(...) method, then manually bind it to the input text fields of the screen. It just seems 'wrong'.
    Is my approach incorrect?
    Many thanks,
    Ken.

  • Af:html does not expose the dir property !!!

    Hi,
    After working with ADF faces for sometime, I found that the af:html component does not have the dir property.(eg. <html dir="rtl">).This is very important for developers working on Arabic,Farsi,Urdu web sites.
    Is there a workaround for this !!!!
    Thanks
    Madani

    I already found the solution:
    open the file adf-faces-config.xml and add the this line
    <right-to-left>true</right-to-left>
    Madani

  • Sftdcc.exe does not timeout after closure of application launched via GP in kiosk mode.

    We are configuring a group policy to launch an application upon login to the Remote Desktop Server.
    The following group policy object is configured;
    User Configuration\Policies\Administrative Templates\Windows Components/Remote Desktop Services/Remote Desktop Session Host/Remote Session Environment
    By default, Remote Desktop Services sessions provide access to the full Windows desktop, unless otherwise specified with this setting, by the server administrator, or by the user
    in configuring the client connection. Enabling this setting overrides the "Start Program" settings set by the server administrator or user. The Start menu and Windows Desktop are not displayed, and when the user exits the program the session is automatically
    logged off.
    Start a program on connection - Enabled 
    Program path and file name "C:\Program Files (x86)\Microsoft Application Virtualization Client\sfttray.exe" /launch "universe 1"
    Working Directory
    This has also been tested running Notepad.exe
    The application launches successfully.
    Upon exiting the application the App-V client shuts the application down successfully but the RDS session does not log the user out or end the RDS session. The sftdcc.exe process
    does not timeout.
    Using Task Manager to end the sftdcc.exe process initiates the logout process.
    Is the following still valid for Server 2008 R2 and App-V v4.6 x64?
    Can’t find any reference to it via;
    http://technet.microsoft.com/en-us/library/dd464849.aspx
    How To Deal With Microsoft App-V sftdcc.exe when Sessions are not closed properly After installing Microsoft App-V for terminal servers
    users sessions are not closed properly after logoff. You can see through the Citrix Advanced Management Console that the session is in disconnected state and sftdcc.exe is running in the user session.
    There are two registry keys you can set for this problem to disappear:
    HKEY_LOCAL_MACHINE\Software\Softricity\SoftGrid Client\CurrentVersion\Configuration\
    Value Name: DCCSeamlessTimeout
    Type: REG_DWORD
    String: 0
     I have tried adding the DCCSeamlessTimeout to the HKLM\Software\Wow6432Node\Microsoft\Softgrid\4.5\Client\Configuration
    but this does not have any effect.

    Updates on this issue.
    if you are running window server 2008 R2 install this hot fix:
    KB2815716-v2-x64
    then add this registry values:
    reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\SysProcs" /v sftdcc.exe /t REG_DWORD /d 0
    reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\SysProcs" /v splwow64.exe /t REG_DWORD /d 0
    then reboot, and that will fix it.
    if you are running 2012 r2, then only add the registry values and reboot.
    Mohsen Almassud

  • FCE V4 does not recognize Panasonic  SDR-H20 Camera connected via USB

    I've just got FCE V4 and connected it to my imac and started using FCE V4. FCE says it cant locate my video camera 'Apple Firewire NTSC (720 x 480)'. I chose DV-NTSC in the Easy Setup because that was the default and I don't know what else to choose. I don't have a firewire cable, just the USB. The camera is recognized okay by iMovie. Does anyone know whether I need to:
    1. Get a firewire cable and connect that to the camcorder and imac
    2. Choose something other than DV-NTSC in 'Easy Setup'
    or if this camera SDR-H20 Video Camera does not work with FCE?
    Many thanks in advance
    Peg

    This camera will not work directly with FCE.
    FCE needs TAPE cameras shooting DV or HDV.
    The only other types of cameras that will work are those shooting AVCHD (High Definition).
    You will have to download the video files and convert them to DV with something like MPEG Streamclip:-
    http://www.squared5.com/

  • Leopard does not support reading/writing to SD card via network?

    I have a Pixma MX700. I can read and write to SD cards using the card reader built into this machine ... IF I use Windows XP. Leopard will mount the card and allow me to view it contents but the minute I try to import a file to my iMac, I get error code 1401.
    I've been told by Canon support that the new MP Navigator EX driver for Leopard disables reading from the memory card over a network. They claim Leopard does not support this function and reading the posts from others having the same issue using different multi-function printers, this would appear to be a Leopard issue, not a Canon issue.
    Can anyone confirm this and/or offer a fix?
    Thanks!

    Hi,
    Could you check for SAP Note   1952701 - DBSL supports new HANA version number
    Regards,
    Gaurav

  • Remote desktop client hangs and does not gracefully close when putting remote computer to sleep

    I have my home lan setup with a VPN and a web page on my router that allows me to remotely wake my Windows 7 computer if I need to access it. Problem I have is with the RDP client on other computers or the Terminal Service (TS) on mine (I don't know which
    is the issue). When I remotely tell my PC to sleep I expect the RDP client to gracefully close like it does if I select logout. Instead it hangs and then a disconnected/reconnected window pops up. I'm not sure if TS is sending the disconnect command to RDP
    or not, but I just know that RDP client things it should still be connected and is trying to reconnect to a PC that is already asleep.
    Is there a way to fix this RDP or TS issue or to I need to contact Microsoft more directly so they can fix it on their end?
    Just to be clear the wake up is working and the computer is going to sleep when I tell it to, the only issue is that it does not appear that the RDP client gracefully disconnects from the TS when that system is put to sleep.
    John B.

    Hi John,
    The default disconnection behavior is like what you see: just disconnect at once without any prompt message.
    We have no approach to change it. It's by design.
    Karen Hu
    TechNet Community Support

  • Super interfaces on EJB 3.0 Remote interface in OC4J 10.1.3

    We are implementing (on OC4J 10.1.3) an EJB 3.0 Stateless Session Bean with 2 business interfaces (remote and local) both of which extend an inteface we have defined in our system.
    When we look up the local interface we see our interface in the bean.
    When we look up the remote interface we do not see our interface in the bean.
    Any ideas?
    Thanks,
    Ed Dirago
    Computer Sciences Corp.
    FAA TFMS System

    The EJB 3.0 Remote Business references are not directly stored in CosNaming. EJB 3.0 Remote references do not have the cross-vendor interoperability requirements that the EJB 2.x Remote view had.
    You can still access Remote EJB references from a different JVM as long as the client has access to SJSAS naming provider. Please see our EJB FAQ for more details :
    https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html

  • Weblogic  does not build EJB

    Hi,
    I am using Weblogic 8.1.5 in my project and when ever I try to deploy my portal app, I get the error that the
    "MyTaskUtil.jcx was not found". I checked my console and I found that my EJB classes are not being built when I run the portal app build. I would like to give more details but I don't know where to start.
    Can anyone help me? Any help would be greatly appreciated.
    Thanks,
    Krishnan

    I'm having the same problem. Have you managed to solve this?

  • I have installed succesfully a PCI cards seen by windows but it does not appears in the device and interfaces tools of the Measurement and automation manager?

    Cannot install new objects in device and interface to use the ni-imaq library and to take image from my camera.

    Which PCI card did you install? The PCI-8252 and PXI-8252 will not appear in MAX. Does your card appear in the Windows Device Manager?

  • Flash Player plugin in Firefox does not play sound or crashes when connected via RDP (+RemoteFX)

    Hello everybody,
    I am using Windows 8.1 Enterprise in an VDI infrastructure to connect to my desktop residing in an Hyper-V environment providing also RemoteFX support. Therefore in my virtual desktop to which I connect through RDP a virtual graphic adapter offers direct GPU support and 3D acceleration.
    When using Firefox 25.0.1 in combination with the latest relase of Adobe Shockwave Player 11.9.900.152 (tried also several older releases), all embedded videos are only played without sound. Furthermore when trying to play a video on youtube that video starts fine for about 5sec and then an youtube error message is displayed saying something about technical problems.
    However, all videos incl. youtube are played flawless when using Internet Explorer on the same desktop.
    Is there any solution for that ? Is it a bug or simply not supported ?
    Thank you for your help !

    After a little bit of trial and error, then some digging it turns out flash over RDP/RemoteFX just isn't going to work. I did discover that Vimeo does work fine (sound and all) as it uses its own player, not flash. Here's a link to a discussion on the issue which should exlain it better than I can: How to get good video performance for remote access to virtualized computer? - Super User

  • Belkin UPS does not show up when connected to MacPro via USB

    I have just replaced my aging DP G4 machine with a MacPro. I added a UPS with a USB connection. It was advertised as being Mac compatible.
    After many tries to get the horrible Belkin software to work, I gave up. The worst part is that The UPS will not show up even in the Energy Saver preference pane.
    I checked if the USB connection is working OK on the UPS and it seems to work, although it reports itself as "Cypress Semiconductor Serial to USB" in the System profiler.
    Any ideas of what I could try to get this to work? As of now, it I am not around to shut down the machine, the battery backup is useless...

    I can't offer any real help here other than to say that the Belkin UPS does work with a Mac Pro. I was running one on my G5 and when I replaced that last week with a Mac Pro I simply plugged it in and it worked.
    I have never tried to use the Belkin software; I read somewhere on these forums I think that it's rubbish and because OS X supports UPS out of the box I have always relied on that.
    I am connected via USB. The Energy Saver UPS panel simply shows the UPS name as "UPS", and in System Profiler itsimply says "Belkin".
    BTW, I also have a Belkin UPS on my wife's iMac and it does exactly the same.
    I know they work because we have had power outs here and the UPS devices have kicked in just fine.
    I am guessing—but this is only a guess—that you may have some remnants of the Belkin software still on your system and that this may be interfering with Energy Saver. I would maybe try to do a finder search (apple+F from the desktop) for "Belkin" and see if that shows anything. Maybe ask Belkin what gets installed so you could check it's all gone?
    David

Maybe you are looking for

  • Us Payoll : Creation Of A New Tax Class

    Hi Experts, Has anyone earlier created a new tax class specification of PC 71 so that it is linked to some tax type. If yes how did you handle the impact on the other tax authorities when  the wagetypes  are linked to this specification? Did you crea

  • Audigy 2ZS Platinum Pro, GamePort

    Anyone having issues with this new driver for Vista and gameport not installing? Anyone know a work around to this? Thank you

  • TS3648 I have macbook OS x 10.5.8, how can I install new version.

    I have mackbook OS X 10.5.8 and I can not able to update any new version of OS X or install new version of iTunes(10.7....). please help me find out.

  • Cannot download Oracle 10g IDS (9.0.4)

    I try to download oracle internet developer suite 10g (9.0.4) but I get only 25.57 KB downloaded. This effect do i have on both files. Is there a problem on your site, or what is going wrong? Willem

  • Any idea on how to implement a "watch-list" of sort in C++?

    I need to implement a simple "watch-list" in c++.  I tried to do some research on the web, maybe try find an example but wasn't able to find any thing, codewise for a example of how to go about implementing.  Any ideas?