It is getting strange. When I run my client code (JUnitTest) in debug mode with
a breakpoint set, everything works fine now. But in normal mode I still get the
exception:
javax.naming.NameNotFoundException: remote not bound
I really don't understand what's going on. What's different in debu
Thank you for your answers, but I still have the same problems.
@jaikiran:
When I do like you've posted, I get the following exception:
javax.naming.NoInitialContextException: Need to specify class name in
environment or system property, or as an applet parameter, or in an application
resource
Also, you can't declare @Local and @Remote on the same interface...
S,
ALR
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011442#4011442
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011442
___
Try this:
Context context = new InitialContext();
| context.lookup("TestEAR/UserManagerBean/remote");
instead of :
anonymous wrote :
| Properties props = new Properties();
| props.put(Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
| props.setProperty(Conte
Nobody has an idea?
If I posted in the wrong forum please move this topic to the right one.
Best regards,
Strunker
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011231#4011231
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=re