remote ejb client with websphere


EJB programming & troubleshooting: remote ejb client with websphere

  1. remote ejb client with websphere (3 messages)

    Hi I am having reall issues with unit tests that call my EJB's from outside of websphere. I have used the 'universal test page' in wasad to check the jndi set up is ok and it all seems fine. I then run my app and I get this exception: javax.naming.NamingException: The JNDI operation "lookup"on the context "localhost/nodes/localhost/servers/server1" with the name "ejb/AuthenticationManager" failed. Please get the root cause Throwable contained in this NamingException for more information. Root exception is java.lang.NoClassDefFoundError: com/ibm/ejs/jts/jts/CurrentFactory at at at at at at at javax.naming.InitialContext.lookup( at at at I have also tried using the eclipse plugin for jndi explorer and I get the same. Ive looked around on line and can see nothing that I havent already tried. A
  2. Try adding the jar containing com/ibm/ejs/jts/jts/CurrentFactory to your classpath. -Vinant
  3. Your client JVM needs a whole bunch of IBM JARs to successfully communicate with WebSphere. There's quite an old developer works article on IBMs website for this: A quick whizz round the WebSphere downloads look like this still exists as a download for WebSphere 6.1. This should let you use a SUN or IBM JVM as a client to a WebSphere J2EE application.
  4. Nothing works on client ejb for WAS. See my post on I could not understand why the IT guys @ IBM have not properly implemented the dynamic proxy into the code that returns back the remote ejb interface to the client. Still looking for a real/clean/was independent solution.