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?

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.

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 &quot;jboss.conf&quot; using an
> > MLET</font>
> > <br><font size=2 face="sans-serif">tag, etc., etc. &nbsp;</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 &quot;user-service.xml&quot; type file to access/configure</font>
> <br><font size=2 face="sans-serif">the ClassPathExtension mbean??
> &nbsp;</font>
> <br>
> <br><font size=2 face="sans-serif">Also, I've found source for it under
> org.jboss.deployment.ClasspathExtension. &nbsp;Is that the right</font>
> <br><font size=2 face="sans-serif">beastie?? &nbsp;Doesn't look like it
> does much. &nbsp;<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
> &lt;[EMAIL PROTECTED]&gt;</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">&nbsp; &nbsp; &nbsp; &nbsp; </font>
> <br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp;
> &nbsp; &nbsp; &nbsp;[EMAIL PROTECTED]</font>
> <br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp;
> &nbsp; &nbsp; &nbsp;</font>
> <br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject:
> &nbsp; &nbsp; &nbsp; &nbsp;Re: [JBoss-user] How-to: &nbsp;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>
> &gt; Ok, with JBoss 2.4.x releases, we've added a classpath extension
> (solely <br>
> &gt; for use in a <br>
> &gt; development environment - not delivered that way) to the file<br>
> &gt; &quot;jboss.conf&quot; <br>
> &gt; using an MLET<br>
> &gt; tag, etc., etc. <br>
> &gt; <br>
> &gt; Now that we are moving to JBoss 3.x (3.0.3 to be exact, I think),
> how do<br>
> &gt; I <br>
> &gt; accomplish the<br>
> &gt; same thing??<br>
> &gt; <br>
> &gt; The Quick Start Guide doesn't indicate this (at least clearly), so
> can <br>
> &gt; someone quickly<br>
> &gt; answer this??<br>
> &gt; <br>
> &gt; Robert<br>
> &gt; <br>
> &gt; &lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;Ok, with
> JBoss 2.4.x releases, we've<br>
> &gt; added a classpath extension (solely for use in a &lt;/font&gt;<br>
> &gt; &lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;development
> environment - not<br>
> &gt; delivered that way) to the file &amp;quot;jboss.conf&amp;quot; using
> an<br>
> &gt; MLET&lt;/font&gt;<br>
> &gt; &lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;tag, etc.,
> etc. &amp;nbsp;&lt;/font&gt;<br>
> &gt; &lt;br&gt;<br>
> &gt; &lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;Now that we
> are moving to JBoss 3.x<br>
> &gt; (3.0.3 to be exact, I think), how do I accomplish
> the&lt;/font&gt;<br>
> &gt; &lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;same
> thing??&lt;br&gt;<br>
> &gt; &lt;/font&gt;<br>
> &gt; &lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;The Quick
> Start Guide doesn't indicate<br>
> &gt; this (at least clearly), so can someone quickly&lt;/font&gt;<br>
> &gt; &lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;answer
> this??&lt;/font&gt;<br>
> &gt; &lt;br&gt;&lt;font size=2 face=&quot;sans-serif&quot;&gt;&lt;br&gt;<br>
> &gt; Robert&lt;/font&gt;<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


Reply via email to