Hi!

> > That is precisely (and only) what it is intended for, yes :-) Any jBoss
> > clients loading classes from the server will be using that.
>
> I thougt that, but I have tried to load the interfaces from the webserver
> with the following ClassLoader:
>
> ---- snipp ----
>   try {
>    Thread current = Thread.currentThread();
>    urls[0] = new URL("http://"+server+":8083/");
>    ClassLoader cl = new URLClassLoader(urls);
>    current.setContextClassLoader(cl);
>   } catch(Exception ex) {
>    System.err.println("[EJBClient] ClassLoader: " + ex);
>   }
> ---- snapp ----
>
> But the interfaces where not found ...

Have you tried to access the classes directly from that CL? It works for me
(although I don't do the above. I use Dynamic ClassLoading through RMI).

/Rickard




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to