• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

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,
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic