Tuesday, 27 August 2013

Can Maven Deploy a Module to JBoss?

Can Maven Deploy a Module to JBoss?

We have a Maven project that we are using to deploy several wars to a
JBoss server. We recently noticed that one of the jars that a couple of
our wars depend on, uses Xerial. When Xerial starts it tries to load up a
native driver, but only the first one successfully loads the native driver
and the rest fail and fall back on a pure Java implementation because the
native driver is already in a classloader. We would really like to gain
the performance back by being able to load the native driver on all the
wars.
It looks to me like the best way to do this would be add the jar we depend
on to the JBoss server as a module, and then have the services depend on
it.
My question is, is there a way we can get our Maven build to do this? Or
are we going about this in the completely wrong way?

No comments:

Post a Comment