| Author |
lookup for remote bean - failure (only from eclipse)
|
Yaron Rel
Greenhorn
Joined: Aug 04, 2009
Posts: 20
|
|
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:
|
 |
 |
|
|
subject: lookup for remote bean - failure (only from eclipse)
|
|
|