• 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

lookup for remote bean - failure (only from eclipse)

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
My problem is that for some reason, the path to my remote bean is being duplicated by the InitialContext as you can see also in the exception:
/my-app-ear-name/GeneralDao/my-app-ear-name/GeneralDao/remote

It happens only when I run unit-test from eclipse.
If this test run with maven, it works OK.
why is that happening?
How can I avoid this?
I work with jboss-5.1.0.GA , java 6.0.12

The way I do the lookup:


The exeption:


my remote bean declaration:


GeneralDaoIfcRemote:

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic