On 2002.10.08 19:32:40 -0400 [EMAIL PROTECTED] wrote: > In my jboss-service.xml file, I've got this little snippet: > > <mbean code = "org.jboss.deployment.ClasspathExtension" name = > "jboss:type=Service,name=ClasspathExtension"> > <attribute name = "MetadataURL">file:///d:/projects/webmt</attribute> > </mbean> > > First off, is that pretty much what is required? looks good to me. > > Second, given that D:/projects/webmt is where all the classes I want to > refer to get compiled, is that > the proper information. Without the "file:///" prefix, it assumed that > "d" was a unknown protocol - which > makes sense seeing as how we are dealing with a URL. Is that the right > syntax for a file?? If I only put > on two slashes (file://d:/projects/webmt) it sat there chugging away for > a > few seconds when starting up. > > Third, if that is correct, it didn't seem to work for me. I still get > class not found exceptions all over the place.
I haven't tried it with classes, which I would be tempted to put in a .jar, but it worked for me with resource files. Are you sure it is started before you try to load the classes? david jencks > > rp > > > > > David Jencks <[EMAIL PROTECTED]> > Sent by: [EMAIL PROTECTED] > 10/08/2002 03:52 PM > Please respond to jboss-user > > > To: [EMAIL PROTECTED] > cc: > Subject: Re: [JBoss-user] How-to: jboss.conf classpath > extension in JBoss 3.x?? > > > On 2002.10.08 15:39:38 -0400 [EMAIL PROTECTED] wrote: > > David, > > > > So, are you saying that I could write my own "user-service.xml" type > file > > > > to access/configure > > the ClassPathExtension mbean?? > > yes, or include it in soe other *-service.xml file you already use (such > as > conf/jboss-service.xml) > > > > Also, I've found source for it under > > org.jboss.deployment.ClasspathExtension. Is that the right > > beastie?? Doesn't look like it does much. > > That's the one, sorry I got the package wrong. It doesn't need to do > much, > just add a classloader for the supplied url. > > david jencks > > > > > Robert > > > > > > > > > > > > David Jencks <[EMAIL PROTECTED]> > > Sent by: [EMAIL PROTECTED] > > 10/08/2002 12:10 PM > > Please respond to jboss-user > > > > > > To: [EMAIL PROTECTED] > > cc: > > Subject: Re: [JBoss-user] How-to: jboss.conf classpath > > extension in JBoss 3.x?? > > > > > > You could put it in a jar and deploy the jar. > > You could use the ClasspathExtension mbean (somewhat undocumented) (in > > system module, org.jboss.system.ClassPathExtension.java) > > > > You could think about writing an mbean that is directly configured with > > whatever you are putting in this file, so you don't have to find and > read > > it. > > > > david jencks > > > > On 2002.10.08 13:51:05 -0400 [EMAIL PROTECTED] wrote: > > > Ok, with JBoss 2.4.x releases, we've added a classpath extension > > (solely > > > > > for use in a > > > development environment - not delivered that way) to the file > > > "jboss.conf" > > > using an MLET > > > tag, etc., etc. > > > > > > Now that we are moving to JBoss 3.x (3.0.3 to be exact, I think), how > > do > > > I > > > accomplish the > > > same thing?? > > > > > > The Quick Start Guide doesn't indicate this (at least clearly), so > can > > > > someone quickly > > > answer this?? > > > > > > Robert > > > > > > <br><font size=2 face="sans-serif">Ok, with JBoss 2.4.x releases, > we've > > > added a classpath extension (solely for use in a </font> > > > <br><font size=2 face="sans-serif">development environment - not > > > delivered that way) to the file "jboss.conf" using an > > > MLET</font> > > > <br><font size=2 face="sans-serif">tag, etc., etc. </font> > > > <br> > > > <br><font size=2 face="sans-serif">Now that we are moving to JBoss > 3.x > > > (3.0.3 to be exact, I think), how do I accomplish the</font> > > > <br><font size=2 face="sans-serif">same thing??<br> > > > </font> > > > <br><font size=2 face="sans-serif">The Quick Start Guide doesn't > > indicate > > > this (at least clearly), so can someone quickly</font> > > > <br><font size=2 face="sans-serif">answer this??</font> > > > <br><font size=2 face="sans-serif"><br> > > > Robert</font> > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > > > > <br><font size=2 face="sans-serif">David,</font> > > <br> > > <br><font size=2 face="sans-serif">So, are you saying that I could > write > > my own "user-service.xml" type file to > access/configure</font> > > <br><font size=2 face="sans-serif">the ClassPathExtension mbean?? > > </font> > > <br> > > <br><font size=2 face="sans-serif">Also, I've found source for it under > > org.jboss.deployment.ClasspathExtension. Is that the right</font> > > <br><font size=2 face="sans-serif">beastie?? Doesn't look like it > > does much. <br> > > <br> > > Robert<br> > > </font> > > <br> > > <br> > > <br> > > <table width=100%> > > <tr valign=top> > > <td> > > <td><font size=1 face="sans-serif"><b>David Jencks > > <[EMAIL PROTECTED]></b></font> > > <br><font size=1 face="sans-serif">Sent by: > > [EMAIL PROTECTED]</font> > > <p><font size=1 face="sans-serif">10/08/2002 12:10 PM</font> > > <br><font size=1 face="sans-serif">Please respond to jboss-user</font> > > <br> > > <td><font size=1 face="Arial"> </font> > > <br><font size=1 face="sans-serif"> To: > > > [EMAIL PROTECTED]</font> > > <br><font size=1 face="sans-serif"> cc: > > > </font> > > <br><font size=1 face="sans-serif"> Subject: > > Re: [JBoss-user] How-to: jboss.conf > > classpath extension in JBoss 3.x??</font></table> > > <br> > > <br> > > <br><font size=2 face="Courier New">You could put it in a jar and > deploy > > the jar.<br> > > You could use the ClasspathExtension mbean (somewhat undocumented) > > (in<br> > > system module, org.jboss.system.ClassPathExtension.java)<br> > > <br> > > You could think about writing an mbean that is directly configured > > with<br> > > whatever you are putting in this file, so you don't have to find and > > read<br> > > it.<br> > > <br> > > david jencks<br> > > <br> > > On 2002.10.08 13:51:05 -0400 [EMAIL PROTECTED] wrote:<br> > > > Ok, with JBoss 2.4.x releases, we've added a classpath extension > > (solely <br> > > > for use in a <br> > > > development environment - not delivered that way) to the file<br> > > > "jboss.conf" <br> > > > using an MLET<br> > > > tag, etc., etc. <br> > > > <br> > > > Now that we are moving to JBoss 3.x (3.0.3 to be exact, I think), > > how do<br> > > > I <br> > > > accomplish the<br> > > > same thing??<br> > > > <br> > > > The Quick Start Guide doesn't indicate this (at least clearly), so > > can <br> > > > someone quickly<br> > > > answer this??<br> > > > <br> > > > Robert<br> > > > <br> > > > <br><font size=2 face="sans-serif">Ok, with > > JBoss 2.4.x releases, we've<br> > > > added a classpath extension (solely for use in a </font><br> > > > <br><font size=2 > face="sans-serif">development > > environment - not<br> > > > delivered that way) to the file &quot;jboss.conf&quot; > using > > an<br> > > > MLET</font><br> > > > <br><font size=2 face="sans-serif">tag, > etc., > > etc. &nbsp;</font><br> > > > <br><br> > > > <br><font size=2 face="sans-serif">Now that > we > > are moving to JBoss 3.x<br> > > > (3.0.3 to be exact, I think), how do I accomplish > > the</font><br> > > > <br><font size=2 face="sans-serif">same > > thing??<br><br> > > > </font><br> > > > <br><font size=2 face="sans-serif">The Quick > > Start Guide doesn't indicate<br> > > > this (at least clearly), so can someone quickly</font><br> > > > <br><font size=2 face="sans-serif">answer > > this??</font><br> > > > <br><font size=2 > face="sans-serif"><br><br> > > > Robert</font><br> > > <br> > > <br> > > -------------------------------------------------------<br> > > This sf.net email is sponsored by:ThinkGeek<br> > > Welcome to geek heaven.<br> > > http://thinkgeek.com/sf<br> > > _______________________________________________<br> > > JBoss-user mailing list<br> > > [EMAIL PROTECTED]<br> > > https://lists.sourceforge.net/lists/listinfo/jboss-user<br> > > </font> > > <br> > > <br> > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > <br><font size=2 face="sans-serif">In my jboss-service.xml file, I've got > this little snippet:</font> > <br> > <br><font size=2 color=blue face="Courier New"><</font><font size=2 > color=#800000 face="Courier New">mbean</font><font size=2 color=#ff00ff > face="Courier New"> </font><font size=2 color=red face="Courier > New">code</font><font size=2 color=#ff00ff face="Courier New"> > </font><font size=2 color=blue face="Courier New">=</font><font size=2 > color=#ff00ff face="Courier New"> </font><font size=2 color=blue > face="Courier New">"org.jboss.deployment.ClasspathExtension"</font><font > size=2 color=#ff00ff face="Courier New"> </font><font size=2 color=red > face="Courier New">name</font><font size=2 color=#ff00ff face="Courier > New"> </font><font size=2 color=blue face="Courier New">=</font><font > size=2 color=#ff00ff face="Courier New"> </font><font size=2 color=blue > face="Courier New">"jboss:type=Service,name=ClasspathExtension"></font> > <br><font size=2 face="Courier New"> > </font><font size=2 color=blue face="Courier New"><</font><font size=2 > color=#800000 face="Courier New">attribute</font><font size=2 > color=#ff00ff face="Courier New"> </font><font size=2 color=red > face="Courier New">name</font><font size=2 color=#ff00ff face="Courier > New"> </font><font size=2 color=blue face="Courier New">=</font><font > size=2 color=#ff00ff face="Courier New"> </font><font size=2 color=blue > face="Courier New">"MetadataURL"></font><font size=2 > face="Courier New">file:///d:/projects/webmt</font><font size=2 > color=blue face="Courier New"></</font><font size=2 color=#800000 > face="Courier New">attribute</font><font size=2 color=blue face="Courier > New">></font> > <br><font size=2 color=blue face="Courier New"></</font><font size=2 > color=#800000 face="Courier New">mbean</font><font size=2 color=blue > face="Courier New">></font><font size=2 face="sans-serif"><br> > </font> > <br><font size=2 face="sans-serif">First off, is that pretty much what is > required?</font> > <br> > <br><font size=2 face="sans-serif">Second, given that D:/projects/webmt > is where all the classes I want to refer to get compiled, is that</font> > <br><font size=2 face="sans-serif">the proper information. Without > the "file:///" prefix, it assumed that "d" was a > unknown protocol - which</font> > <br><font size=2 face="sans-serif">makes sense seeing as how we are > dealing with a URL. Is that the right syntax for a file?? If > I only put</font> > <br><font size=2 face="sans-serif">on two slashes > (file://d:/projects/webmt) it sat there chugging away for a few seconds > when starting up.</font> > <br> > <br><font size=2 face="sans-serif">Third, if that is correct, it didn't > seem to work for me. I still get class not found exceptions all > over the place.</font> > <br> > <br><font size=2 face="sans-serif">rp</font> > <br> > <br> > <br> > <table width=100%> > <tr valign=top> > <td> > <td><font size=1 face="sans-serif"><b>David Jencks > <[EMAIL PROTECTED]></b></font> > <br><font size=1 face="sans-serif">Sent by: > [EMAIL PROTECTED]</font> > <p><font size=1 face="sans-serif">10/08/2002 03:52 PM</font> > <br><font size=1 face="sans-serif">Please respond to jboss-user</font> > <br> > <td><font size=1 face="Arial"> </font> > <br><font size=1 face="sans-serif"> To: > [EMAIL PROTECTED]</font> > <br><font size=1 face="sans-serif"> cc: > </font> > <br><font size=1 face="sans-serif"> Subject: > Re: [JBoss-user] How-to: jboss.conf > classpath extension in JBoss 3.x??</font></table> > <br> > <br> > <br><font size=2 face="Courier New">On 2002.10.08 15:39:38 -0400 > [EMAIL PROTECTED] wrote:<br> > > David,<br> > > <br> > > So, are you saying that I could write my own > "user-service.xml" type file<br> > > <br> > > to access/configure<br> > > the ClassPathExtension mbean?? <br> > <br> > yes, or include it in soe other *-service.xml file you already use (such > as<br> > conf/jboss-service.xml)<br> > > <br> > > Also, I've found source for it under <br> > > org.jboss.deployment.ClasspathExtension. Is that the right<br> > > beastie?? Doesn't look like it does much. <br> > <br> > That's the one, sorry I got the package wrong. It doesn't need to > do much,<br> > just add a classloader for the supplied url.<br> > <br> > david jencks<br> > <br> > > <br> > > Robert<br> > > <br> > > <br> > > <br> > > <br> > > <br> > > David Jencks <[EMAIL PROTECTED]><br> > > Sent by: [EMAIL PROTECTED]<br> > > 10/08/2002 12:10 PM<br> > > Please respond to jboss-user<br> > > <br> > > <br> > > To: > [EMAIL PROTECTED]<br> > > cc: <br> > > Subject: Re: > [JBoss-user] How-to: jboss.conf classpath<br> > > extension in JBoss 3.x??<br> > > <br> > > <br> > > You could put it in a jar and deploy the jar.<br> > > You could use the ClasspathExtension mbean (somewhat undocumented) > (in<br> > > system module, org.jboss.system.ClassPathExtension.java)<br> > > <br> > > You could think about writing an mbean that is directly configured > with<br> > > whatever you are putting in this file, so you don't have to find and > read<br> > > it.<br> > > <br> > > david jencks<br> > > <br> > > On 2002.10.08 13:51:05 -0400 [EMAIL PROTECTED] wrote:<br> > > > Ok, with JBoss 2.4.x releases, we've added a classpath > extension<br> > > (solely <br> > > <br> > > > for use in a <br> > > > development environment - not delivered that way) to the > file<br> > > > "jboss.conf" <br> > > > using an MLET<br> > > > tag, etc., etc. <br> > > > <br> > > > Now that we are moving to JBoss 3.x (3.0.3 to be exact, I > think), how<br> > > do<br> > > > I <br> > > > accomplish the<br> > > > same thing??<br> > > > <br> > > > The Quick Start Guide doesn't indicate this (at least clearly), > so can <br> > > > someone quickly<br> > > > answer this??<br> > > > <br> > > > Robert<br> > > > <br> > > > <br><font size=2 face="sans-serif">Ok, > with JBoss 2.4.x releases, we've<br> > > > added a classpath extension (solely for use in a > </font><br> > > > <br><font size=2 face="sans-serif">development > environment - not<br> > > > delivered that way) to the file &quot;jboss.conf&quot; > using an<br> > > > MLET</font><br> > > > <br><font size=2 face="sans-serif">tag, > etc., etc. &nbsp;</font><br> > > > <br><br> > > > <br><font size=2 face="sans-serif">Now > that we are moving to JBoss 3.x<br> > > > (3.0.3 to be exact, I think), how do I accomplish > the</font><br> > > > <br><font size=2 face="sans-serif">same > thing??<br><br> > > > </font><br> > > > <br><font size=2 face="sans-serif">The > Quick Start Guide doesn't <br> > > indicate<br> > > > this (at least clearly), so can someone > quickly</font><br> > > > <br><font size=2 face="sans-serif">answer > this??</font><br> > > > <br><font size=2 face="sans-serif"><br><br> > > > Robert</font><br> > > <br> > > <br> > > -------------------------------------------------------<br> > > This sf.net email is sponsored by:ThinkGeek<br> > > Welcome to geek heaven.<br> > > http://thinkgeek.com/sf<br> > > _______________________________________________<br> > > JBoss-user mailing list<br> > > [EMAIL PROTECTED]<br> > > https://lists.sourceforge.net/lists/listinfo/jboss-user<br> > > <br> > > <br> > > <br> > > <br> > > <br><font size=2 face="sans-serif">David,</font><br> > > <br><br> > > <br><font size=2 face="sans-serif">So, are you > saying that I could write<br> > > my own &quot;user-service.xml&quot; type file to > access/configure</font><br> > > <br><font size=2 face="sans-serif">the > ClassPathExtension mbean??<br> > > &nbsp;</font><br> > > <br><br> > > <br><font size=2 face="sans-serif">Also, I've > found source for it under<br> > > org.jboss.deployment.ClasspathExtension. &nbsp;Is that the > right</font><br> > > <br><font size=2 face="sans-serif">beastie?? > &nbsp;Doesn't look like it<br> > > does much. &nbsp;<br><br> > > <br><br> > > Robert<br><br> > > </font><br> > > <br><br> > > <br><br> > > <br><br> > > <table width=100%><br> > > <tr valign=top><br> > > <td><br> > > <td><font size=1 face="sans-serif"><b>David > Jencks<br> > > &lt;[EMAIL PROTECTED]&gt;</b></font><br> > > <br><font size=1 face="sans-serif">Sent > by:<br> > > [EMAIL PROTECTED]</font><br> > > <p><font size=1 face="sans-serif">10/08/2002 > 12:10 PM</font><br> > > <br><font size=1 face="sans-serif">Please > respond to jboss-user</font><br> > > <br><br> > > <td><font size=1 face="Arial">&nbsp; > &nbsp; &nbsp; &nbsp; </font><br> > > <br><font size=1 face="sans-serif">&nbsp; > &nbsp; &nbsp; &nbsp; To: &nbsp;<br> > > &nbsp; &nbsp; >&nbsp;[EMAIL PROTECTED]</font><br> > > <br><font size=1 face="sans-serif">&nbsp; > &nbsp; &nbsp; &nbsp; cc: &nbsp;<br> > > &nbsp; &nbsp; &nbsp;</font><br> > > <br><font size=1 face="sans-serif">&nbsp; > &nbsp; &nbsp; &nbsp; Subject:<br> > > &nbsp; &nbsp; &nbsp; &nbsp;Re: [JBoss-user] How-to: > &nbsp;jboss.conf<br> > > classpath extension in JBoss 3.x??</font></table><br> > > <br><br> > > <br><br> > > <br><font size=2 face="Courier New">You could > put it in a jar and deploy<br> > > the jar.<br><br> > > You could use the ClasspathExtension mbean (somewhat > undocumented)<br> > > (in<br><br> > > system module, org.jboss.system.ClassPathExtension.java)<br><br> > > <br><br> > > You could think about writing an mbean that is directly > configured<br> > > with<br><br> > > whatever you are putting in this file, so you don't have to find > and</font> > <br><font size=2 face="Courier New">> read<br><br> > > it.<br><br> > > <br><br> > > david jencks<br><br> > > <br><br> > > On 2002.10.08 13:51:05 -0400 [EMAIL PROTECTED] > wrote:<br><br> > > &gt; Ok, with JBoss 2.4.x releases, we've added a classpath > extension<br> > > (solely <br><br> > > &gt; for use in a <br><br> > > &gt; development environment - not delivered that way) to the > file<br><br> > > &gt; &quot;jboss.conf&quot; <br><br> > > &gt; using an MLET<br><br> > > &gt; tag, etc., etc. <br><br> > > &gt; <br><br> > > &gt; Now that we are moving to JBoss 3.x (3.0.3 to be exact, I > think),<br> > > how do<br><br> > > &gt; I <br><br> > > &gt; accomplish the<br><br> > > &gt; same thing??<br><br> > > &gt; <br><br> > > &gt; The Quick Start Guide doesn't indicate this (at least > clearly), so<br> > > can <br><br> > > &gt; someone quickly<br><br> > > &gt; answer this??<br><br> > > &gt; <br><br> > > &gt; Robert<br><br> > > &gt; <br><br> > > &gt; &lt;br&gt;&lt;font size=2 > face=&quot;sans-serif&quot;&gt;Ok, with<br> > > JBoss 2.4.x releases, we've<br><br> > > &gt; added a classpath extension (solely for use in a > &lt;/font&gt;<br><br> > > &gt; &lt;br&gt;&lt;font size=2 > face=&quot;sans-serif&quot;&gt;development<br> > > environment - not<br><br> > > &gt; delivered that way) to the file > &amp;quot;jboss.conf&amp;quot; using<br> > > an<br><br> > > &gt; MLET&lt;/font&gt;<br><br> > > &gt; &lt;br&gt;&lt;font size=2 > face=&quot;sans-serif&quot;&gt;tag, etc.,<br> > > etc. &amp;nbsp;&lt;/font&gt;<br><br> > > &gt; &lt;br&gt;<br><br> > > &gt; &lt;br&gt;&lt;font size=2 > face=&quot;sans-serif&quot;&gt;Now that we<br> > > are moving to JBoss 3.x<br><br> > > &gt; (3.0.3 to be exact, I think), how do I accomplish<br> > > the&lt;/font&gt;<br><br> > > &gt; &lt;br&gt;&lt;font size=2 > face=&quot;sans-serif&quot;&gt;same<br> > > thing??&lt;br&gt;<br><br> > > &gt; &lt;/font&gt;<br><br> > > &gt; &lt;br&gt;&lt;font size=2 > face=&quot;sans-serif&quot;&gt;The Quick<br> > > Start Guide doesn't indicate<br><br> > > &gt; this (at least clearly), so can someone > quickly&lt;/font&gt;<br><br> > > &gt; &lt;br&gt;&lt;font size=2 > face=&quot;sans-serif&quot;&gt;answer<br> > > this??&lt;/font&gt;<br><br> > > &gt; &lt;br&gt;&lt;font size=2 > face=&quot;sans-serif&quot;&gt;&lt;br&gt;<br><br> > > &gt; Robert&lt;/font&gt;<br><br> > > <br><br> > > <br><br> > > -------------------------------------------------------<br><br> > > This sf.net email is sponsored by:ThinkGeek<br><br> > > Welcome to geek heaven.<br><br> > > http://thinkgeek.com/sf<br><br> > > _______________________________________________<br><br> > > JBoss-user mailing list<br><br> > > [EMAIL PROTECTED]<br><br> > > https://lists.sourceforge.net/lists/listinfo/jboss-user<br><br> > > </font><br> > > <br><br> > > <br><br> > <br> > <br> > -------------------------------------------------------<br> > This sf.net email is sponsored by:ThinkGeek<br> > Welcome to geek heaven.<br> > http://thinkgeek.com/sf<br> > _______________________________________________<br> > JBoss-user mailing list<br> > [EMAIL PROTECTED]<br> > https://lists.sourceforge.net/lists/listinfo/jboss-user<br> > </font> > <br> > <br> ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user