Hi again,

I just noticed that this error only occurs in 8.0-Snapshot but not in the latest official release 7.9... Unfortunately I need the array module in my use case which was added in 8.0

Christian

On Mon, Nov 10, 2014 at 9:14 PM, Christian Müller <christianmue1980a@gmail.com> wrote:
Hi all,

I just want to ask shortly whether it is generally possible to run BaseX in embedded mode within a webapp on tomcat?

Using a very simple examle like this: https://github.com/BaseXdb/basex/blob/master/basex-examples/src/main/java/org/basex/examples/local/QueryCollection.java

Throws me an error on
Context
context = new Context();

java.nio.file.FileSystemNotFoundException
    at com.sun.nio.zipfs.ZipFileSystemProvider.getFileSystem(ZipFileSystemProvider.java:171)
    at com.sun.nio.zipfs.ZipFileSystemProvider.getPath(ZipFileSystemProvider.java:157)
    at java.nio.file.Paths.get(Paths.java:143)
    at org.basex.util.Prop.homePath(Prop.java:142)
    at org.basex.util.Prop.<clinit>(Prop.java:96)
    at org.basex.core.GlobalOptions.<clinit>(GlobalOptions.java:20)
    at org.basex.core.Context.<init>(Context.java:77)
    at org.basex.core.Context.<init>(Context.java:69)
........

The same code works great when executing locally (e.g. within JUnit tests). Do you have any ideas? Is it generally possible or do I need to deploy the war application?

Thanks in advance,
Christian