• 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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,
 
Yeah, but how did the squirrel get in there? Was it because of the tiny ad?
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic