This week's book / license giveaways are in the JDBC and Relational Databases and Java in General forums.
We're giving away four copies each of PostGIS in Action and Java Advanced Topics Training and have the authors on-line!
See this thread and this one for details.
The moose likes EJB and other Java EE Technologies and the fly likes lookup for remote bean - failure (only from eclipse) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "lookup for remote bean - failure (only from eclipse)" Watch "lookup for remote bean - failure (only from eclipse)" New topic
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:

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: lookup for remote bean - failure (only from eclipse)