You won't find this in the servlet spec. "SomeClassName[some/object/id]/some/file/path" is a JBoss convention for specifying Java classes and resources dynamically downloaded by clients. It is used by org.jboss.web.WebClassLoader and by org.jboss.iiop.WebCL. See comments in
server/src/main/org/jboss/web/WebServer.java See also server/src/main/org/jboss/web/WebClassLoader.java iiop/src/main/org/jboss/iiop/WebCL.java Cheers, Francisco On Wed, 12 Feb 2003, James Cooley wrote: > Hi Dain, Scott, > > I wrote a servlet that accepts a request from a java.net.URLClassLoader > and returns the class. AFAIK I need only support requests of the kind > org/jboss/util/stream/Streams.class > but the exising WebServer class also supports > > "SomeClassName[some/object/id]/some/file/path" > > I can't find where this protocol is defined elsewhere - please point me > at the spec if we need to support it - I'm a bit blind as to what we > need as you can see from the next question ... > > I created a class-loader.war and I tried running the JRMP tests with > > ./testsuite/build.sh > -Djava.rmi.server.codebase=http://localhost:8080/class-loader/ > -Dtest=jrmp test > > but it doesn't work and I get > > ERROR [JRMPInvoker] Starting failed: java.rmi.server.ExportException: > Port already in use: 4447; > > What am I doing wrong? How can I test this. > > 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: > 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: 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