You don't mention what version you are using, so I'm guessing 2.4.x.  The
MBean jar itself should be specified in a classpath extension in jboss.conf
(or you can put it into jboss/lib/ext, which I don't recommend.)  Any other
jar files that your MBean code itself needs can be place anywhere in the
JBoss startup classpath.  That would include jboss/lib/ext, which I still
don't recommend, or you can add them to the JBOSS_CLASSPATH in run.bat or
run.sh, which I prefer.

----- Original Message -----
From: "Anders Lindh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 17, 2002 6:17 PM
Subject: [JBoss-user] mbean classpath


> Hi,
>
> I want a mbean to use an utility jar, without including it in the system
> classpath (my ejb's use the same utility jar also). Can this be done?
> The mbean spec says that one can include many jar files in the archive
> attribute of a mbean tag, separated by commas. This doesn't however seem
> to work (Jboss didn't find my mbean if I moved it away from lib/ext, and
> changed the codebase attribute). Any clues?
>
> Thanks,
>
> - Anders
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to