Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

lookup for remote bean - failure (only from eclipse)

 
Yaron Rel
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • 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:

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic