I think this deserves CVS access.  James, can you send me your sourceforge
id?  Then you can commit this yourself.

Regards,

Bill

p.s. [EMAIL PROTECTED]



> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of James
> Cooley
> Sent: Monday, February 17, 2003 1:34 PM
> To: [EMAIL PROTECTED]; Dain Sundstrom
> Subject: Re: [JBoss-dev] Remote class loading servlet
>
>
> Hi Dain,
>
>    I wrote a servlet (attached) and it looks like it will simplify
> things.
>
> It effectively replaces WebService and WebServer (WebService
> simply wraps WebServer). WebClassLoader doesn't have a dependency on
> WebServ* so it can operate as normal. I ran the DynLoadingUnitTestCase
> and it passes. Funnily enough it passes if it succeeds with
>       ./build.sh -Dtest=jrmp tests-client-unit
> but fails with
>       ./build.sh -Dtest=jrmp test
> I think this is how it's supposed to be called at any rate.
>
> A couple of points:
>
> 1. I didn't implement addClassLoader - AFAIK Scott said we will use the
> servlets class loader to retrieve all classes. Removing addClassLoader
> doesn't appear to cause a problem.
> 2. The WebServ* classes should be removed.
> 3. run.sh/run.bat will have to be updated with
>       -Djava.rmi.server.codebase=http://localhost:8080/class-loader/
> 4. Do we need to have a jmx service for this?
>
> I've been working on the 3.2 branch but it should work with 4.0. I have
> been using my own xdoclet ant script to build it as a .war - do you want
> me to use another deployment script as a template?
>
> I'll have some time over the next couple of days to write a compliant
> build script and make any other changes you may want.
>
> James
>
> Dain Sundstrom wrote:
> > We have a small project open for a volunteer.  In Jboss 2 and 3 we have
> > a custom lightweight web server (port 8083) that returns java class
> > files from the classLoader.getResouceAsStream to RMI clients (this is
> > how remote class loading happens).  I talked to Scott at JBoss
> Boot Camp
> > and we think it is a good idea to replace this with a plain old Servlet
> > for JBoss 4.0 so it can work with regular security, pooling and such.
> > This is a fairly simple piece of code and shouldn't take longer then a
> > day or two.  If you are interested the code can be found in
> > jboss-head/server/src/main/org/jboss/web/WebServer.java
> >
> > -dain
> >
> >
> >
> > -------------------------------------------------------
> > This SF.NET email is sponsored by:
> > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> > http://www.vasoftware.com
> > _______________________________________________
> > Jboss-development mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-development
> >
> >
>
>
>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to