[jboss-dev-forums] [Design of POJO Server] - Re: Missing org.jnp.server.NamingServer_Stub

adrian@jboss.org do-not-reply at jboss.com
Fri Nov 21 07:55:32 EST 2008


"adrian at jboss.org" wrote : 
  | Which way around is this test? It's not clear from the above description.
  | The old stub should be available in 4.2.x without the new interface methods?
  | 

I think this is 5.0.x lookup 4.2.x isn't it?

If you look at 4.2.x the server isn't using the dynamic proxy
because the stub exists on the server.


  | 2008-11-21 13:16:46,000 DEBUG [org.jboss.naming.Naming] NamingServer stub: NamingServer_Stub[UnicastRef2 [liveRef: [endpoint:[127.0.0.1:1098,org.jboss.net.sockets.Defa
  | ultSocketFactory at e048aaa4[bindAddress=/127.0.0.1]](local),objID:[0]]]]
  | 

So if the server used the stub class then the client must also do the same.

Can you try getting jboss-4.2.x to ignore stub classes and always use dynamic proxies?
i.e. start jboss-4.2.x with -Djava.rmi.server.ignoreStubClasses=true

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

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



More information about the jboss-dev-forums mailing list