[jboss-dev-forums] [Design of POJO Server] - Re: CNFE when using PojiProxy/Remoting

adrian@jboss.org do-not-reply at jboss.com
Fri Jul 25 12:05:16 EDT 2008


As I said on the call, the problem is the TCL not getting set properly.
When you invoke on the EJB Container it overrides the dynamicInvoke
to do this, e.g. StatefulContainer


  |    public InvocationResponse dynamicInvoke(Object target, Invocation invocation) throws Throwable
  |    {
  |       long start = System.currentTimeMillis();
  |       
  |       ClassLoader oldLoader = Thread.currentThread().getContextClassLoader();
  |       EJBContainerInvocation newSi = null;
  |       pushEnc();
  |       try
  |       {
  |          Thread.currentThread().setContextClassLoader(classloader);
  | 
  | // etc.
  | 

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

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



More information about the jboss-dev-forums mailing list