HELP! Having trouble connecting to EJB with RMI client

I've got a simple stateless session EJB deployed and I'm trying to connect
to it using a standalone
RMI client. I'm getting the following error back when I first do a
context.lookup("ejb/beanname"):
org.omg.CORBA.COMM_FAILURE: minor code: 1 completed: Maybe
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Exception.java:42)
at java.lang.RuntimeException.<init>(RuntimeException.java:47)
at org.omg.CORBA.SystemException.<init>(SystemException.java:49)
at org.omg.CORBA.COMM_FAILURE.<init>(COMM_FAILURE.java:77)
at org.omg.CORBA.COMM_FAILURE.<init>(COMM_FAILURE.java:63)
at
com.sun.corba.ee.internal.iiop.IIOPConnection.purge_calls(Compiled Code)
at com.sun.corba.ee.internal.iiop.ReaderThread.run(Compiled Code)
Any troubleshooting advice would be greatly appreciated.
BTW: After this error, iPlanet's cxs process seems to die! Until I restart
cxs I get no connection failures
of the form:
javax.naming.CommunicationException:
Cannot connect to ORB. Root exception is org.omg.CORBA.COMM_FAILURE:
minor code: 1398079490 completed: No
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.lang.RuntimeException.<init>(RuntimeException.java:47)
at org.omg.CORBA.SystemException.<init>(SystemException.java:49)
at org.omg.CORBA.COMM_FAILURE.<init>(Compiled Code)
at org.omg.CORBA.COMM_FAILURE.<init>(Compiled Code)
at com.sun.corba.ee.internal.iiop.IIOPConnection.writeLock(Compiled
Code)
at com.sun.corba.ee.internal.iiop.IIOPConnection.send(Compiled Code)
at com.sun.corba.ee.internal.iiop.IIOPOutputStream.invoke(Compiled
Code)
at
com.sun.corba.ee.internal.iiop.ClientRequestImpl.invoke(ClientRequestImpl.ja
va:74)
at
com.sun.corba.ee.internal.corba.ClientDelegate.invoke(ClientDelegate.java:16
0)
at
com.sun.corba.ee.internal.corba.InitialNamingClient.resolve(InitialNamingCli
ent.java:199)
at
com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialReferences(
InitialNamingClient.java:278)
at
com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_referenc
es(InitialNamingClient.java:187)
at
com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:1422
at
com.sun.corba.ee.internal.POA.POAORB.resolve_initial_references(POAORB.java:
541)
at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:252)
at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(Compiled Code)
at
com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:185)
at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:72)
.... stuff deleted....
Is RMI client support in iPlanet 6.0 truly this buggy or am I missing
something?
Jack Profit
[email protected]

Make sure to review the Converter sample and employ all of the workarounds
listed there.
David
Jack Profit wrote:
I've got a simple stateless session EJB deployed and I'm trying to connect
to it using a standalone
RMI client. I'm getting the following error back when I first do a
context.lookup("ejb/beanname"):

Similar Messages

  • I am having trouble connecting to internet with my iphone 5,  Are there any issues with with iphone 5 that would cause this problem?

    I am having trouble connecting to internet with my iphone 5,  Are there any issues with with iphone 5 that would cause this problem?

    Perhaps something in Apple's support article on troubleshooting problems with WiFi connections will help:
    http://support.apple.com/kb/TS1398
    Regards.

  • Having trouble sharing my folio with a client

    I'm having trouble sharing my folios with clients.  I clicked the share button and sent the e-mail to the client.  They received the e-mail and signed up for an adobe account.  When they try to log into Adobe Content Viewer on their iPad using their Adobe credentials they keep getting log in failed notices.  Does anyone know why this is happening?  Thanks.

    After they log in and accept the terms they should be able to log into the ACV with that account and download the folio.

  • IPhone 4 having trouble connecting to wifi with redirect

    Hi all,
    I was wondering if someone out there can help me.  I have an iPhone 4 running 5.0.1.  Ever since i upgraded to iOs 5, i have noticed trouble connecting to the wifi at work.  At home and school the phone connects perfectly.  At work we have a redirect page.  When going under safari it just uses my mobile network (which is not that strong).  I check the wifi menu and it seems as if it is "trying" to connect...it shows the grey pinwheel spinning next to the correct netowrk but nothing ever happens.  I try to "renew lease", i turn off wifi, i reset the phone.  Sometimes it connects first try.  Other times it takes HOURS.  I assumed maybe it was just the network, so i attempted to try to connect my nook, and the nook connects right away.  I never touched any settings, but i am very confused on to what may be going on here to explain the type of problem i am having since iOs 5.  Thank you in advance.
    Jenn

    You'll need to provide complete details before anyone will be able to offer suggestions.
    For future posts, please don't put a lot of excess characters in the subject line. Just a brief summary of the problem - e.g. "iPhone 3GS with iOS 5.01 cannot connect to WiFi" - will be sufficent. I've asked the Hosts to edit out the superfluous junk.
    Regards.

  • Please Help? Trouble Connecting Video Chat with People with AOL messenger

    Hey All,
    I got the following message when trying to connect to people using AOL messenger:
    There was a communications error during your chat, iChat encountered errors while communicating with participants in this chat
    I am using G5 (latest version) and iChat latest version. What is wrong> Please can someone help at all?
    Gary
    Power Mac G5   Mac OS X (10.4.7)  

    Hi Gary:
    Using the latest version of AIM won't work. The PC user MUST be using AIM 5.9 or before or Trillian.
    Have you tried connected to the PC AIM Bot listed here: http://www.ralphjohnsuk.dsl.pipex.com/ContactTesters.html (It's my PC auto responder). If you can connect, then it's probably the windows user configuration with the firewall that is preventing you from connecting.
    This may also help: http://www.mvldesign.com/videoconferencetutorial.html

  • Having trouble connecting iPod Touch with iTunes 8.2

    I have a first generation iPod Touch 16GB, before the recent 8.2 iTunes update (or it may have been 8.0, I tend to ignore those annoying 'please update now messages')my iTunes worked properly, and the Touch would sync whenever I connected it.
    Now when I connect the iPod to my computer it no longer shows up in iTunes, the computer (running Windows Vista Basic) recognizes the iPod is there, and the iPod charges properly. iTunes itself however is oblivious.
    I've tried completely reinstalling iTunes like the support page suggests, but the problem persists, it is getting quite annoying now since I cannot get the new 3.0 OS update or put new music on.
    Can anybody help?

    I have the same problem, but mine won't even take a charge from the computer, or my docks. I have to plug it into a wall wart usb charger and then it works fine. Can't get my computer to recognize/sync it since the "upgrade" to 8.2. The only responses worth a crap on this topic say to just be patient because it is now a known bug they are working on. IMO I wish Apple would stop acting like MS and stop releasing stuff that hasn't been properly beta tested. This glitch has occurred for thousands of users, and any basic cross platform testing process should have revealed this problem in the first 5 minutes. Yet ANOTHER embarrassing POS from the "new" Apple.

  • Having trouble connecting apple tv with ethernet

    I previously had my apple tv connected to a wireless bridge to connect to the internet. no for some reason it no longer wants to connect through the wireless bridge. It will work wirelessly though for some reason. It has an ip address, subnet mask number and ethernet number. there is no router address or dns number. I have tried to configure it manually but no luck. Any help would be appreciated. Thanks.

    P.S.
    Wondering if I need a different cable. I only have the HDMI running from Apple TV to the HDMI slot on the receiver. Do I need the red/yellow/white cable as well and if so, how would I connect that to Apple TV? Thx!

  • I unable to run ejb with application client using oc4j j2ee container

    Hi,
    I have installe oracle9i (1.0.2.2) oc4j j2ee container.
    I unable to run the ejbs . please help me how to run ejbs with application client and which files are shall configure.
    See the client application is :
    public static void main (String []args)
    try {
    //Hashtable env = new Hashtable();
    //env.put("java.naming.provider.url", "ormi://localhost/Demo");
    //env.put("java.naming.factory.initial", "com.evermind.server.ApplicationClientInitialContextFactory");
    //env.put(Context.SECURITY_PRINCIPAL, "guest");
    //env.put(Context.SECURITY_CREDENTIALS, "welcome");
    //Context ic = new InitialContext (env);
    System.out.println("\nBegin statelesssession DemoClient.\n");
    Context context = new InitialContext();
    Object homeObject = context.lookup("java:comp/env/DemoApplication");
    DemoHome home= (DemoHome)PortableRemoteObject.narrow(homeObject, DemoHome.class);
    System.out.println("Creating Demo\n");
    Demo demo = home.create();
    System.out.println("The result of demoSelect() is.. " +demo.sayHello());
    }catch ( Exception e )
    System.out.println("::::::Error:::::: ");
    e.printStackTrace();
    System.out.println("End DemoClient....\n");
    When I am running client application I got this type of Exception
    java.lang.SecurityException : No such domain/application: sampledemo
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java : 2040)
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java : 1884)
    at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java : 1491)
    at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java : 323)
    at com.evermind.server.rmi.RMIContext.lookup(RMIConext.java : 106)
    at com.evermind.server.administration.LazyResourceFinder.lookup(LazyResourceFinder.java : 59)
    at com.evermind.server.administration.LazyResourceFinder.getEJBHome(LazyResourceFinder.java : 26)
    at com.evermind.server.Application.createContext(Application.java: 653)
    at com.evermind.server.ApplicationClientInitialContext.getInitialContext(ApplicationClientInitialContextFactory.java :179 )
    at javax.naming.spi.NamingManager.getInitialContext(NamingManger.java : 246)
    at javax.naming.InitialContext.getDefaultInitialCtx(InitialContext.java : 246)
    at javax.naming.InitialContext.init(InitialContext.java : 222)
    at javax.naming.InitialContext.<init>(InitialContext.java : 178)
    at DemoClient.main(DemoClient.java : 23)
    .ear file is copied into applications directory.
    I have configured server.xml file like this
    <application name="sampledemo" path="../applications/demos.ear" />
    demos.ear file Contains following files
    application.xml
    demobean.jar
    Manifest.mf
    demobean.jar file contains following files
    application-client.xml
    Demo.class
    DemoBean.class
    DemoHome.class
    ejb-jar.xml
    jndi.properties
    Mainifest.mf
    Please give me your valuable suggestions. Which are shall i configure .
    Thanks & Regards,
    Badri

    Hi Badri,
    ApplicationClientInitialContextFactory is for clients which got deployed inside OC4J container..
    For looking up EJB from a stand alone java client please use RMIInitialContextFactory..So please change ur code....
    Also please check ur server.xml
    Since you have specified your ejb domain as "sampledemo"
    you have to use that domian only for look up..But it seems that you are looking up for "Demo" domain instead of "sampledemo" domain...So change your code to reflect that..
    Code snippet for the same is :
    Hashtable env = new Hashtable();
    env.put("java.naming.provider.url", "ormi://localhost/sampledemo");
    env.put("java.naming.factory.initial", "om.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.SECURITY_PRINCIPAL, "guest");
    env.put(Context.SECURITY_CREDENTIALS, "welcome");
    Context ic = new InitialContext (env);
    Hope this helps
    --Venky                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • I can not pair my itouch with my mac book pro version 10.6.6 .. it seems that maybe my itouch is having trouble connecting as my mac seems to pair, then waits for my itouch and it never works. please help!!

    can not pair my itouch with my mac book pro version 10.6.6 .. it seems that maybe my itouch is having trouble connecting as my mac seems to pair, then waits for my itouch and it never works. please help!!

    I am not certain this will fix your problem but I suggest you assign the printer a static IP address.
    Using the printer's front panel, select Menu > Network > WLAN > TCP/IP > Boot method, and change it to "static". Provide a static IP address that is on your LAN's subnet.
    For example, if you are using an AirPort Extreme, you might give it an IP address of 10.0.1.100. If you are using a Netgear or Linksys router that defaults to issuing 192.168.x.x addresses, you might give it an address of 192.168.1.100. That way, the printer will always "reside at the same address" on your network. If your router has the ability, you should reserve that address so that the router does not attempt to assign it to another DHCP device.
    Then, go to System Preferences > Print & Scan, and delete your existing printer with the "–" (minus) button. Add it again, using the "+" (plus) button. In the window that appears, select the IP pane, and from the Protocol menu select "Line Printer Daemon (LPD)". In the Address field type the IP address you gave your printer.
    If all goes well the "Pring Using" field will detect the printer at that address and automatically select the appropriate driver. You will see something similar to the following screenshot ("name" can be whatever you decide, and "location" is optional):
    Click Add, then you can close System Preferences.
    There are other possible reasons your printer is "not responding" which could include wireless interference from competing wireless networks, but try this "static IP" method first. It should mitigate the problem.

  • HT3887 Having trouble connecting blutooth on my laptop. Devices are paired but it says "not connected". I've gone thru System Pref. with no luck. Can anyone give me step by step help to reconnect BLUETOOTH? plz, ty

    Having trouble connecting blutooth on my laptop. Devices are paired but it says "not connected". I've gone thru System Pref. with no luck. Can anyone give me step by step help to reconnect BLUETOOTH? plz, ty

    Hi:
    There are no dumb questions...answers, yes, but not questions.   Sometime I use acronyms and forget that I should explain things a bit more. 
    Resetting those two things sometimes helps and cannot hurt.
    SMC=system management controller:
    http://support.apple.com/kb/HT3964
    PRAM=parameter random-access memory:
    http://support.apple.com/kb/PH4405
    If that does not help, delete the phone from your computer (system preferences>Bluetooth), restart, and then add it back in:
    http://support.apple.com/kb/PH3660
    Barry
    P.S.  If everything fails and you are near an Apple store, make an appointment with a "genius" and take the devices in for them to assist.

  • Im having trouble connecting my macbookpro to the tv. im using a mini display port to hdmi adapter, when i switch tv/video to hdmi on the tv nothing pops up, and i dont have the arrangement tap on the display settings, please help!

    im having trouble connecting my macbookpro to the tv. im using a mini display port to hdmi adapter, when i switch tv/video to hdmi on the tv nothing pops up, and i dont have the arrangement tap on the display settings, please help!

    I've found that the order of operations, so-to-speak, can be important when hooking up mini display port to HDMI.  I have the most success with the following operations in this order:
    1)  Plug HDMI cable into mini displayport adapter (the cable should not be plugged into either the TV or the computer at this point)
    2)  Plug the mini displayport end of your new super-cable to the computer.
    3)  Plug the HDMI end into your TV.
    4)  Switch inputs on your TV to the proper input.
    5)  If still nothing on the TV, try a different HDMI port on your TV.
    Hopefully this helps!  Good luck.

  • I'm having trouble connecting to apps, itunes store, internet on my iPhone 5 running iOS 7.0.4.  I am currently connected to a perfectly running WiFI connection.  Why am I not able to connect anything?  I've tried ALL the fixes suggested.  HELP!!!!!!!!!

    I'm having trouble connecting to apps, itunes store, internet on my iPhone 5 running iOS 7.0.4.  I am currently connected to a perfectly running WiFI connection.  This just started happening today (2/19/14)!  Why am I not able to connect anything?  I've tried ALL the fixes suggested.  HELP!!!!!!!!!  BTW, I know my Wi-Fi connection is good because I'm using it on my desktop and other people in my office are also connected on their iPhones and desktops.  Again, HELP!!!!

    You may not really be connected to your WiFi network.
    Your router may not have given your iPhone a valid IP address. Go to Settings > Wifi > your network name and touch the "i" to the right to see the network details. If the IP address starts with 169 or is blank then your router didn't provide an IP address and you won't be able to access the Internet.
    Sometimes the fix can be as simple as restarting your router (remove power for 30 seconds and restart). Next, reset network settings on your iPhone (Settings > General > Reset > Reset network settings) and then attempt to connect. In other cases it might be necessary to update the router's firmware with the latest from the manufacturer's support web pages.
    If you need more help please give more details on your network, i.e., your router make, model and version, the wifi security being used (WEP, WPA, WPA2), etc.

  • Having trouble connecting computer to TV with sound

    I have a 2010 macbook pro and a samsung LN40B550 LCD HDTV - having trouble connecting computer to TV with sound - I'm not sure which connectors I need and have purchased a few that aren't working (HDMI: DVI cable & Mini - DP to DVI adaptor).  Any help would be greatly appreciated. Thanks

    Sorry to tell you that DVI does not support sound.  You either have to use a HDMI cable (with the appropriate adapter) or tap your audio output port with a 'Y' type cable configuration for sound.
    Ciao.

  • HT5569 I am having trouble connecting to wifi can you help.

    I am having trouble connecting to wifi can you help.

    connectng with a pin # will not work with the ipad. you need to find out exactly what the actual wifi password is.
    pin and push buttons are used by wifi protected setup. which is an optional feture of WPA
    here are some ideas
    go to the routers home page (typically 192.168.1.1 or 192.168.1.254) and see if you can click on "show password"
    get the manual out, it should have the default user name and password you may need to access the routers page
    if your windows computer connects, then you should be able to right click the wifi connection and click on show password as well. this is somewhere in the properties page of the wifi connection
    also with windows its a good idea to click on "save wifi connection to usb drive" this can be used to connect other windows computers and xbox game consoles as well
    if your laptop computer is a mac book you can go to the keychain or icloud keycahin and reveal the actual passowrd as well.
    look at the actual router it might have directions on a sticker on how to access the routers configuration pages
    if you enter the wrong password on the ipad you need to forget the network and try again

  • I'm having trouble connecting my Intel iMac with the internet using wifi router

    I'm having trouble configuring my iMac to accept a connection with my Telstra Elite mobile broadband Wifi router.
    The iMac's Wifi is turned on and the elite router is selected in the Wifi list with a tick.
    The router is turned on, and connected to the internet.
    I'm able to surf the net and collect emails using my MacBook Pro ( what I'm using now) and my iPad with no hassles by connecting them to the Telstra Elite Wifi router. But I'm unable as yet to get a connection using the iMac.
    The Telstra router accepts up to 5 simultaneous connections.
    At present the display on the router says that three devices are connected. They being the iPad, the MacBook Pro and the iMac.
    Can anyone help me out?
    Gregory

    hburgess3 wrote:
    I'm having trouble connecting my apple tv to the wifi on my campus. To connect to this wifi on a computer or iphone you have to install a program.
    Why?
    Contact the school IT department,

Maybe you are looking for