0 Replies Latest reply on Jan 3, 2014 7:37 AM by Juergen Weber

    Dynamic stub downloading in JBoss 7 supported?

    Juergen Weber Newbie

      "Java clients can download IIOP stubs from the JBoss server. Dynamic stub downloading is transparent to the client code. It relies on codebase information embedded into the object references handed out by JBoss IIOP. " (JBoss IIOP - JBoss Community)

       

      Is this still supported in JBoss 7 ?

       

      I tried to wrap an Exception which is not in the client classpath in the remote exception, but got on the client:

       

      java.rmi.RemoteException: Error; nested exception is:

          java.lang.ClassNotFoundException: ex.MyException

          at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:234)

       

      How do you configure automatic classloading in the client?

       

      Background is to forward Hibernate Exceptions to the client without needing Hibernate jars in the client.

       

      Thanks, Juergen