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
|
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