Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Eclipse RCP EJB client

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I'm trying to do an Eclipse RCP application where I have two plugins and a RPC application. The first plugin is a plugin from existing JAR archives and I've added the JARs needed for any client using GlassFish here. The second plugin, that depends on the first, has a service locator in it used to retrieve remote EJBs from the GlassFish server. The context seems to be generated ok but no matter where I put my remote interfaces (the same plugin directly, the same plugin as JAR, another plugin from existing JAR archives, etc...) I get this error "javax.naming.NamingException: ejb ref resolution error for remote business interface... Root exception is java.lang.ClassNotFoundException:...". I think that this is related to the Eclipse framework.. the way loading the classes probably...

So I've ran out of ideas. Could someone help me on this? Where should I put the EJB remote interfaces classes to get this to work ?

Thank you,
 
I'm sure glad that he's gone. Now I can read this tiny ad in peace!
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic