From: Wolfgang Meier <wolfgangmm@gm...> - 2005-09-29 09:41:51
> I'd like to do this in the intended way for eXist so I'm looking for guid=
ance about what is supposed to be the way to add extension modules that wil=
l work across the different ways of deploying eXist.
Just to be sure: I assume you included the new module in
WEB-INF/conf.xml? If yes, I don't really have a clue why it isn't
loaded in the tomcat context.
All modules are loaded via Java introspection, using
Class.forName(moduleClass) to look up the class. It should not make a
difference if the module is contained in exist-modules.jar or in
another jar in the classpath.
Concerning the classpath:
1) if you are starting eXist with the bootloader (contained in
start.jar), eXist will build its own classpath. All jars in e.g.
lib/optional are added by default, so putting your jar in there should
2) if you deployed eXist in tomcat, so the bootloader is not used and
every jar in WEB-INF/lib should be in the classpath.
Get latest updates about Open Source Projects, Conferences and News.