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/or...
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
basex-talk@mailman.uni-konstanz.de