Re: [basex-talk] Reloading jars on a running http server.

2021-04-30 Thread Christian Grün
Hi Reece, > You'll need to copy the kotlin-stdlib-1.4.32.jar file in addition to the > test.jar file to BaseX's lib directory. Please note that JAR libraries will only be unregistered after query evalution if they are moved into the repo directory. If a library is copied into the lib directory,

Re: [basex-talk] Reloading jars on a running http server.

2021-04-30 Thread Reece Dunn
Hi Christian, I'm not seeing any exceptions in the console window, even when enabling the debug setting. I'm using the AdoptOpenJDK 1.8. I also have AdoptOpenJDK 11, but I assume that will have the issue you described. It's a custom-built jar using Kotlin, built via gradle. One thing that it

Re: [basex-talk] Reloading jars on a running http server.

2021-04-30 Thread Christian Grün
Hi Reece, I’m sorry to hear that. Did you build a custom JAR file, or do you encounter problems with the JDK? Cheers, Christian On Thu, Apr 29, 2021 at 9:48 PM Reece Dunn wrote: > > Hi Christian, > > Thanks for the response. Unfortunately, I've not been able to get the > reloading working.

Re: [basex-talk] Reloading jars on a running http server.

2021-04-29 Thread Reece Dunn
Hi Christian, Thanks for the response. Unfortunately, I've not been able to get the reloading working. Kind regards, Reece On Wed, 21 Apr 2021 at 18:49, Christian Grün wrote: > Hi Reece, > > If you install your Java code as JAR file in the repository [1], the > code will be loaded and

Re: [basex-talk] Reloading jars on a running http server.

2021-04-21 Thread Christian Grün
Hi Reece, If you install your Java code as JAR file in the repository [1], the code will be loaded and unloaded every time when your query is executed. If you get an error message… java.lang.reflect.InaccessibleObjectException: Unable to make field private final

[basex-talk] Reloading jars on a running http server.

2021-04-20 Thread Reece Dunn
Hi all, I'm working on a Java class that I'm importing into an XQuery, so I can do additional processing on the data that isn't easily expressible in XQuery (or XSLT). In order to get BaseX to pick up a modified version of the jar file I'm building, I'm restarting the BaseX http server. This