About path

forum_thread

SSL Problem

Hello, I have a problem to use the server with ssl. I have created the certificate using this command: keytool-genkeypair-dname "cn = Mark Jones, ou = JavaSoft, o = Sun, c = U.S."-alias business-keypass kpi135-keystore-storepass mykeystore ab987c-validity 180 Then I put in the configuration file objectdb: ... enabled = "true" > <server-keystore path = "$objectdb/ssl/mykeystore" password = "ab987c" /> <client-truststore path = "$objectdb/ssl/mykeystore" password = "ab987c" /> ...

 
forum_thread

Wrong select results

Hello, I got a realy strange SELECT problem. In explorer query "select p  from Player p where p.confirmed==false", given me some results with p.confirmed==TRUE. And when I try to do (see image) "select p, p.confirmed  from Player p where p.confirmed==false", I getting p->confirmed->true and p.confirmed->false. How so? <odb v2.6.5_05> And this problem not only in explorer ... />   <recovery enabled="true" sync="false" path="." max="128mb" />   <recording enabled="false" sync="false" path="." mode="write" />   <locking version-check="true" /> ...

 
forum_thread

Slow performance on Mac

- This code is tested on Windows and Mac. Windows is working great, Mac is very slow (read is 11 seconds on Mac, and 100 milliseconds on Windows). - Application is using Spring Boot console application (for JPA implementation) - MacOS Sierra 10.12.3, Core i7 CPU, 16GB RAM, SSD drive java version "1.8.0_131" Java(TM) SE Runtime Environment (build 1.8.0_131-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)   Running sample jar: ...   java -jar demo-0.0.1-SNAPSHOT.jar write /path/to/file.odb - To read data (write): ... -jar demo-0.0.1-SNAPSHOT.jar read /path/to/file.odb   Attached: - JAR file ...

 
forum_thread

InternalException & UserException using objectdb with Jboss AS 7.1.1 final

Hello. We are currently using ObjectDB in application server Jboss as 7.1.1.final. ObjectDB version is 2.5.3_02. The following errors occur when multiple ajax requests are executed: Caused by: com.objectdb.o.InternalException: Error reading UTF string Caused by: com.objectdb.o.UserException: Mismatch client-server protocol prefix Our current settings: Persistence.xml: ... <resources > <resource-root path = "objectdb-jee.jar" /> </resources > ... in integrated regime (the connection line is the absolute path to the database) <property name = ...

 
forum_thread

Get list of database files

Hi, we would like to know if there is any API we can use to get a list of all database files on an ObjectDB server. The ObjectDB explorer has such a feature (File->Open C/S Connection->Browse...). Thanks for help! ... You can also get the File (or directory) of a specific path on the server using: File root = Utilities. ... host, port, username, password, path, false ) ;   ObjectDB ...

 
forum_thread

Problem with @UniqueConstraint

It seems there is a problem with @UniqueConstraint. Same annotations using hibernate works fine - an error will be thrown - duplicate name. ObjectDB - no exception will be thrown. with best regardsPeter... ) * 1000000 ) ; String PATH = "c: \\ temp \\ test_" + r + ".odb" ; ... Persistence . createEntityManagerFactory ( PATH ) ; EntityManager em = emf. ...

 
forum_thread

Replaying recorded requests...

Hi, I get the following when ODB starts in embedded mode: Replaying recorded requests... then I get something like 500 lines of recordset information. Here is the relevant part of the config file: Questions: 1) Why am I seeing this if I've set recording enabled to false? 2) I... enabled = "true" sync = "false" path = "." max = "128mb" /> <recording enabled = "false" sync = "false" path = "." mode = "write" /> <processing cache = ...

 
issue

Sort of very large objects - out of memory

The attached test is failing with an out of memory exception when running with -Xmx512m It performs the following actions: 1) Create 5 persist threads which create and persist a large object in a loop 100 times each 2) Create 5 get threads which read 100 objects each in a loop based on object creation time and priority The message size should be around 1mb so I think there should be around 11mb of "live" data in play at any time. The objectdb cache settings are low in the config - database section is below for reference. ... enabled = "true" sync = "false" path = "." max = "128mb" /> <recording enabled = "false" sync = "false" path = "." mode = "write" /> <locking version-check ...

 
forum_thread

Unable to run NetBeans/JPA Web Application Tutorial

I followed each and every step of NetBeans/JPA Web Application Tutorial but when i am trying to the web application the following error is prompted on the run console: Start is in progress... start?path=/GuestBook FAIL - Application at context path /GuestBook could not be started C:\GuestBook\nbproject\build-impl.xml:1050: The module has not been deployed. See the server log for details. BUILD FAILED (total time: 2 minutes 13 seconds)   ... the run console: Start is in progress... start?path=/GuestBook FAIL - Application at context path /GuestBook could not be started ...

 
forum_thread

Replication error - parsing objectdb config

I'm trying to replicate a database using the following config: <server>   <connection port="6136" max="100" />   <data path="$objectdb/db-files" />   <replication url="objectdb://localhost:6126/DEV1/NewMessagePipe.odb;user=admin;password=admin" /> </server> ... port="6136" max="100" />   <data path="$objectdb/db-files" />   <replication ... = "6138" max = "100" /> <data path = "$objectdb/db-files" /> <replication url = ... enabled = "true" sync = "false" path = "." mode = "write" /> Logs from the master and ...