On Sun, Jun 24, 2001 at 05:52:38PM +0200, Hernan Theiler wrote:
> Hello,
>
> I'm building a resource adapter using classes in some external jars.
> When deploying, the JBoss server gives an exception for the missing classes (that's
>ok), but I couldn't find a place to tell the deployer where to find the classes.
>
> Finaly, I added the external jars to the JBOSS_CLASSPATH variable in the RUN.BAT
>file (I'm working with Win2K) and it worked fine.
>
> Is there any other way to indicate the deployment path? maybe in some of the control
>files in the RAR file itself?
Either put the required classes somewhere the server can find them, e.g. by
adding them to the JBOSS_CLASSPATH, putting them in $JBOSS_HOME/lib/ext or
(possibly, I'm not really sure) adding a classpath extension thingy in
jboss.jcml.
These options are good if the classes are required elsewhere in the server,
e.g. by EJBs that use the resource adapter. If the classes are only required
by the resource adapter implementation then you can put the classes in
the RAR.
Toby.
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user