[JBoss-user] [EJB/JBoss] - Re: Problem using remote interface

2004-09-26 Thread jgbargar
First, let me clarify that the client is on the same machine - just not in the 
container (they're junit tests).  It is this attempt to get the remote interface that 
is proving problematic.  Using local interfaces from a web app deployed in JBoss as 
well as inter-EJB calls are working fine.  Both remote and local interfaces are 
deploying without error in JBoss and they are appearing fine in the jmx console JNDI 
listing:

 +- com.pixelfixx.service.WebManager (proxy: $Proxy60 implements interface 
com.pixelfixx.service.WebManagerRemoteHome,interface javax.ejb.Handle)
 +- local (class: org.jnp.interfaces.NamingContext)
  |   +- com.pixelfixx.service.WebManager (proxy: $Proxy40 implements interface 
com.pixelfixx.service.WebManagerLocalHome)

The only invokers I can see deployed are http and jmx, which as far as I know aren't a 
factor here.  Please let me know what I should look for if I am wrong on this.

RE: initial context values, what information would be useful beyond the environment 
info that I've already included in the code posting?  With the initial context I can 
list the bindings, but (again AFAIK) that is pretty much what I've listed above from 
the JNDI listing in jmx console.

One final comment about the theory that JBoss thinks the caller is local.  If I am 
specifically looking up the remote interface by jndi name, why would JBoss still 
return the local interface?

Feedback is much appreciated,

Jeremy

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849566#3849566

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849566


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Problem using remote interface

2004-09-26 Thread rimmeraj
Having been through this recently , you did not give us the proper info. What invokers 
are you using and what are your values in the inital context. Without this info I am 
flying blind but I am going to go out on a limb and say that jboss thinks you are 
local, ie  your machine name resolves to localhost. If you telnet to 1099 at the very 
end of the string you get back you will see what your JBOSS server thinks it's IP 
address is.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849545#3849545

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849545


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user