Hi,
 
I have upgraded java version to 21. The problem is gone.
Thank you.
 
16.11.2023, 15:49, "Ветошкин Владимир" <en-tra...@yandex.ru>:
Yes,
 
Result of the server instance:
java.vm.compressedOopsMode: 32-bit java.vm.info: mixed mode, sharing java.vm.name: OpenJDK 64-Bit Server VM java.vm.specification.name: Java Virtual Machine Specification java.vm.specification.vendor: Oracle Corporation java.vm.specification.version: 12 java.vm.vendor: Azul Systems, Inc. java.vm.version: 12.0.2+3
 
Result of the standalone instance:
java.vm.compressedOopsMode: 32-bit
java.vm.info: mixed mode, sharing
java.vm.name: OpenJDK 64-Bit Server VM
java.vm.specification.name: Java Virtual Machine Specification
java.vm.specification.vendor: Oracle Corporation
java.vm.specification.version: 12
java.vm.vendor: Azul Systems, Inc.
java.vm.version: 12.0.2+3
 
 
 
16.11.2023, 15:40, "Christian Grün" <christian.gr...@gmail.com>:
Are they use different methods to copy databases? Or that jdk bug only?
 
It’s exactly the same; when db:copy is called, the function isn’t aware of whether it has been called by a server or standalone/client instance.
 
Are you sure that both the server and the standalone version of BaseX use the same JRE? You can e.g. check this with the following query:
 
for $p in proc:property-names()[starts-with(., 'java.vm.')]
return $p || ': ' || proc:property($p)
 
 
 
 
16.11.2023, 15:00, "Christian Grün" <christian.gr...@gmail.com>:
Hi, this definitely looks like a bug in the JDK context. What happens if you upgrade your JDK to a newer version?
Best, Christian
 
 
On Thu, Nov 16, 2023 at 12:56 PM Ветошкин Владимир <en-tra...@yandex.ru> wrote:
 
Hi everyone.
 
Since I have changed jdk version to 12 (azul) - I get error, when I copy database (db:copy).
It's only in basexserver. When I run basex - everything is ok.
 
Error:
Improper use? Potential bug? Your feedback is welcome: Contact: basex-talk@mailman.uni-konstanz.de Version: BaseX 9.1.2 Java: Azul Systems, Inc., 12.0.2 OS: Linux, amd64 Stack Trace: java.lang.NoClassDefFoundError: Could not initialize class sun.nio.fs.UnixCopyFile at java.base/sun.nio.fs.UnixFileSystemProvider.copy(UnixFileSystemProvider.java:258) at java.base/java.nio.file.Files.copy(Files.java:1297) at org.basex.io.IOFile.copyTo(IOFile.java:319) at org.basex.core.cmd.Copy.copy(Copy.java:83) at org.basex.query.up.primitives.name.DBCopy.apply(DBCopy.java:43) at org.basex.query.up.NameUpdates.apply(NameUpdates.java:58) at org.basex.query.up.ContextModifier.apply(ContextModifier.java:132) at org.basex.query.up.Updates.apply(Updates.java:156) at org.basex.query.QueryContext.iter(QueryContext.java:351) at org.basex.query.QueryProcessor.iter(QueryProcessor.java:90) at org.basex.core.cmd.AQuery.query(AQuery.java:109) at org.basex.core.cmd.XQuery.run(XQuery.java:22) at org.basex.core.Command.run(Command.java:257) at org.basex.core.Command.execute(Command.java:93) at org.basex.server.ClientListener.run(ClientListener.java:140)
-- 
С уважением,
Ветошкин Владимир Владимирович
 
 
 
-- 
С уважением,
Ветошкин Владимир Владимирович
 
 
 
-- 
С уважением,
Ветошкин Владимир Владимирович
 
 
 
-- 
С уважением,
Ветошкин Владимир Владимирович
 

Reply via email to