Just put your classpath in the /lib directory in Orions root. It works fine for
directory structure in that directory and if you need to really specify something
different or choose .jar files or something, edit application.xml in the config
directory right after this line:

        <!-- Path to the libraries that are installed on this server.
 These will accesible for the servlets, EJBs etc -->


You will see how the ../lib directory is already mapped, go ahead and do the same
for a jar file or another directory, or just put everything in the lib directory.

Ben

Steffen Stundzig wrote:

> Hi,
>
> I've a 'war' with a servlet. All needed jars and classes for the servlet
> resists under 'WEB-INF/lib' in the war-file, but orion doesn't find it
> automatically.
> My workaround is to build an 'ear' and in the root 'META-INF' I put an
> 'orion-application.xml' with an element <library> which explicitely
> includes the library path.
>
> The library path is 'the_unpacked_war/WEB-INF/lib'. But IMHO I think that all
> classes and jars in the WEB-INF/lib directory should by found automatically by
> the servlet container. Am I wrong? I've overlooked something?
>
> Regards
>         Steffen...
>
> --
> ______________________________________________________________________
> Steffen Stundzig                            mailto:[EMAIL PROTECTED]
> SMB GmbH                                        http://www.smb-tec.com

--
Ben Christensen
Novisum Development Inc.
www.novisum.com
[EMAIL PROTECTED]
780-909-4707



Reply via email to