Ok. I finished integrating it with the build system. The Boot class in now locatated at org.jboss.Boot.java
The jboss distribution now has 2 more files in the /bin directory: boot.jar <-- just holds the org.jboss.Boot.class boot.bat <-- Run org.jboss.Main under org.jboss.Boot The boot.bat may need to chanage since the externally settable evnviorment variable JBOSS_CLASSPATH would typicaly be in file format while boot.bat needs it to be in comma seperated URL format. So theoreticaly, all you need is boot.bat and boot.jar (~ 12K) on a client to boot a jboss server off the network. Anybody wana try? Regards, Hiram >From: "marc fleury" <[EMAIL PROTECTED]> >To: "Hiram Chirino" <[EMAIL PROTECTED]> >CC: <[EMAIL PROTECTED]> >Subject: [JBoss-dev] RE: Boot Classloader and Unified Classloader >Date: Thu, 21 Feb 2002 17:44:30 -0800 > >you bet your sweet ass it is useful, anything that makes JBoss embedable >(MBoss) is really useful. Go ahead > >marcf > >|-----Original Message----- >|From: Hiram Chirino [mailto:[EMAIL PROTECTED]] >|Sent: Thursday, February 21, 2002 2:34 PM >|To: [EMAIL PROTECTED] >|Cc: [EMAIL PROTECTED] >|Subject: Boot Classloader and Unified Classloader >| >| >|Hi Marc, >| >|I think i might have solved two problems that jboss had. >|1. The minimum number of jars you need to boot jboss off the network >|includes all the jars in the \lib dir ~ 480K. >|2. Integrating (or embeding) jboss into the process space of an >|existing app >|is hard since jboss does so much classloader juggling. >| >|I crated a "Boot" class that lets you start multiple main(String[]) >|applications each with it's own classloader and in it's own threadgroup. >|The classpath to the applications are in URL format so we should >|be able to >|use this Boot class load the jboss minimum jars from the network (like >|crimson and jmxri). >| >|Anyways.. I tested it out with JBoss, to see if my Boot class could boot >|the org.jboss.Main and it worked after a small tweak of the >|UnifiedClassLoader. >| >|The commnd line of the jboss boot looks something like: >|java -classpath mboot.jar chirino.mboot.Boot -cp >|file:../lib/jmxri.jar,file:../lib/jboss-boot.jar,file:../lib/jaxp.j >ar,file:../lib/getopt.jar,file:../lib/crimson.jar,file:run.jar >|org.jboss.Main default >| >|Yeah I know, I should read in the manifest to make it easier. >| >|I'm going to attach the sources. Let me know what you think. Is >|it a value >|add to the jboss boot process?? >| >|Regards, >|Hiram >| >| >| >| >|_________________________________________________________________ >|Chat with friends online, try MSN Messenger: http://messenger.msn.com >| > > >_______________________________________________ >Jboss-development mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/jboss-development _________________________________________________________________ Join the world�s largest e-mail service with MSN Hotmail. http://www.hotmail.com _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
