If you want additional jars/classes AND in war file form, I think it needs some small amount of self-assembly.

You may be able to take the war file distributed and add your extra jars (it is a zip file; or "jar -u") I've not tried - just read some page like
http://linuxproblems.org/wiki/Add_or_update_files_in_a_war_file
:-)

With maven, you can probably do that, or have your own war builder with the same dependency of jena-fuseki-core as the delivery module.

        Andy

On 16/01/15 13:59, Stian Soiland-Reyes wrote:
It should be safest to do the second option of WEB-INF/lib - otherwise
you might have to ensure that everything your JAR in tomcat/lib
requires is also in tomcat/lib (even if it is in WEB-INF/lib) - which
could cause conflicts.



On 16 January 2015 at 02:46, Trevor Donaldson <[email protected]> wrote:
Ok thanks.
On Jan 15, 2015 9:05 PM, "John A. Fereira" <[email protected]> wrote:

That depends on what you're using for your servlet container.  When I use
jetty I just create a lib directory in the directory where I've downloaded
fuseki, and  drop any jar files there (for example, if you want to connect
to an sdb that's where the sdb jar file would go.  Then the start up script
just needs to include those jar files in the classpath.  If you're
deploying to Tomcat the easiest way is to use jar to expand the fuseki.war
file.  Then you should see a WEB-INF/lib directory.   Drop your jar file
then the re-create the war file with the jar command.


-----Original Message-----
From: Trevor Donaldson [mailto:[email protected]]
Sent: Thursday, January 15, 2015 8:21 PM
To: [email protected]
Subject: Third Party Libraries in Fuseki 2

Where should I place third party libraries in Fuseki2? I am using
fuseki.war. I would like to use a custom shiro realm. I am not sure where
to place the custom.jar.

Thanks





Reply via email to