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]
- Re: [jBoss-User] jBoss or Enhydra ? Jerzy Brzezicki
- Re: [jBoss-User] jBoss or Enhydra ? Charles Crain
- Re: [jBoss-User] jBoss or Enhydra ? Jerzy Brzezicki
- RE: [jBoss-User] jBoss or Enhydra ? marc fleury
- Re: [jBoss-User] jBoss or Enhydra ? Paul Morgan
- [jBoss-User] Dynamicly load classes to the client Ingo Bruell
- [jBoss-User] Dynamicly load classes to the client Tom Cook
- Re: [jBoss-User] Dynamicly load classes to the cl... Ingo Bruell
- Re: [jBoss-User] Dynamicly load classes to the cl... Rickard Oberg
- Re: [jBoss-User] Dynamicly load classes to the cl... Ingo Bruell
- Re: [jBoss-User] Dynamicly load classes to the cl... Rickard Oberg
- Re: [jBoss-User] Dynamicly load classes to the cl... Tom Cook
- Re: [jBoss-User] Dynamicly load classes to the cl... Ingo Bruell
- Re: [jBoss-User] Dynamicly load classes to the cl... Tom Cook
- Re: [jBoss-User] Dynamicly load classes to the cl... Rickard Oberg
- Re: [jBoss-User] Dynamicly load classes to the cl... Tom Cook
- Re: [jBoss-User] Dynamicly load classes to the cl... Rickard Oberg
- Re: [jBoss-User] Dynamicly load classes to the cl... Rickard Oberg
- RE: [jBoss-User] jBoss or Enhydra ? marc fleury
