ObjectDB Database Search

101-150 of 200 results

Changing from client server to embedded mode

;    //Gives Failed to connect to server localhost:6136 When I use Persistence.createEntityManagerFactory("$objectdb/db/myDB.odb"); // Connect but not fetches the object stored in ... to move between the two modes. Your last connection url ( "$objectdb/db/myDB.odb" ) is valid in embedded mode

The server cannot start in CentOS

all connections ? I will try tomorrow. gzdillon Lai Yang The server seems connected , but I set my pc ip ... for objectdb server? TIA gzdillon Lai Yang Hi, I have not connected a server ... ; gzdillon Lai Yang No need to change the configuration. See the manual for details on connecting

explorer NullPointerException

the other issue that you mentioned, the [Recent Connections ] menu - could you post a stack trace? The stack ... , and it is not related to the [Recent Connections ] menu. support Support 1、the stack what I posted  is exactly about [Tools Options], and [Recent Connections ] is normal。 2、what I mean is that: the time

Mismatch client-server protocol prefix

. It also happens on the node which also runs the DB server. - Connection on localhost ... have also been reported due to other issues. Since the same connection and sockets are used ... communication. It could be because of concurrent use of the same connection and sockets (i.e. same

Replicated cluster recovery

they are bound to one node and after connection problem application must create new PM via PMF?   br Tomasz ... to another node or they are bound to one node and after connection problem application must create new PM ... /support/151   hare is the connection url: javax.jdo.option.ConnectionURL=objectdb://localhost

Database absolute filepath

somehow. ThreaT Ashton Hogan ObjectDB 2.5.7 adds the ability to retrieve connection details. Please try ... ()); System.out.println(emf.getProperties().get("objectdb. connection .path")); EntityManager em = emf ... ().get("objectdb. connection .path")); em.close(); emf.close(); } } support Support Why did you call it test. tmp

unable to fix DB with Doctor (ArrayIndexOutOfBoundsException)

One of my databases has failed (suddenly we were not able to connect with it from Java /with other DBs connection works fine/ and it is also not possible to connect with it from ObjectDB Explorer). DB was used by ver 2.6.9_09. I tried to fix it with ObjectDB Doctor (from ver. ver 2.6.9_09

Spring Data JPA

manager factory and this initiates a connection to the server with username and password "anonymous ... . This is related to the way that ObjectDB manages the Metamodel , which involves a connection to the database. In obtaining that connection outside an EntityManager (by invoking getMetamodel

OutofMemory error with Object DB 2.0

, Password: public   support Support I am not able to connect to the ftp site objectdb.com to upload ... is up and working. Ping as well. It may be a firewall in your workplace. support Support I can connect to other ftp sites from my PC, but cannot connect to objectdb.com Our IT team is still looking into

500Mb ObjectDb database opening issue

(): openTempDataStore took [2510] ms Also checked to open DB without network connection (disabled local connection

Cannot save or update entity on Spring App

@Component @Transactional public class LanguageRepository { // Injected database connection ... { // Injected database connection : @PersistenceUnit(unitName="pu") EntityManagerFactory ... LanguageRepository extends DefaultRepository{ // Injected database connection : @PersistenceContext private

Index causes increased memory usage

database application, that simply connects to the application that supplies our data and stores it in ... instances), not 30 database connections . You can use as many  PersistanceManager  instances ... of our embedded ObjectDB database application, that simply connects to the application that supplies

Replication error - parsing objectdb config

with a connection error) it failed with the exception below. Is there something wrong with my config? Caused by: com ... \$replication but I'm having some trouble connecting to the slave database: [ObjectDB 2.2.1_01] javax ... the number of Points using a connection to the slave database. Should this work? I've tried the slave

Activation Issue

the meta model. At this state the connection to the (activated) server doesn't exists and the client ... it doesn't matter because it dies before connecting . The project starts a Spring application context ... the Retrieving Metamodel without Connection feature (which was implemented following your request two years ago

Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities

get the connection need to traverse the LAZY relationship from the EntityManagerFactory and will able able to use it as long as the EntityManagerFactory is open. The connection used in not ... , which is what you are encountering. As long as the Entity is not serialized, and the connections

Out of Memory Error

even though the connections are closed properly. We are observing many instances like ... ; EntityManagerFactory  instances have bot been closed (note: closing the connections , i.e. the EntityManager instance is insufficient, as an  EntityManagerFactory if open keeps a connection

Entity with java.util.Date column gives ClassCastException in BIRT

.eclipse.datatools. connectivity .oda.OdaException ;     java.lang.ClassCastException ... .java:121) Caused by: org.eclipse.datatools. connectivity .oda.OdaException ;     java ... .ResultSet.getTimestamp(ResultSet.java:351) at org.eclipse.datatools. connectivity .oda.consumer.helper

ODB-WeakRefPurger threads not closing at all

thread for every DB Connection (using JDO and PersistenceManager) and not closing any of it. I've counted the DB connections during whole run of the application and it was +- the same as count of live ... connections . Is the timeout for closing purger threads configurable, so I could try raising

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

database connection : @PersistenceContext(unitName = "guest-pu") private EntityManager em;   ... connection :     @PersistenceContext private EntityManager em;     // Stores ... (TransactionAttributeType.REQUIRED) public class GuestDao {     // Injected database connection

Empty temporary dat files in the temp folder

to which we continuously have a connection (open EntityManagerFactory). For each user action we create an EntityManager ... databases as large data sink. And for optimized data access we hold the connection to the EntityManager. In ... a breakpoint - and take a look into temp - "     + "All Database connections are closed

JPA - ExceptionInInitializerError when creating EntityManager

services. It is successfully connected . Connection is OK. Restart Database server (SQL Server ... part of my project again i.e. adding Libraries, Setup Database Connections & Persistence Unit

Difficulty with the BIRT plugin

Hi, am trying to get the BIRT plugin to work. Firstly: connecting to an odb server doesn't ... is using. Next: connecting directly to a file datasource seems to work, in the sense that I can ping ... is invalid or no connection to the server. Do you see a difference between using embedded mode or

License State

and notarisation issues. The macos changes its mac-id every time I connect to our office via VPN ... forgot to disconnect the VPN connection there is no valid enhancement for the whole build ... would extend my gradle task and let it fail fast in case I forgot to disconnect the VPN connection . best

Convert embedded database to server

your application using a client-server connection url . support Support Thank you support for your answer. What are the pros and cons between an embedded database ( with remote connection enabled ) and a real ... be available when the  application closes its connections to the database or stopped. In

Log is almost empty (log level 'trace')

side and the other on the client side. If there is a connection problem, an exception stack trace should be written ... a special request to do that by a new connection . This is used by the stop command , but could theoretically happen also by any software that connects the server and sends that special code

Explorer in 2.3

, threads, query-cache, memory usage, etc...) to use for tuning b. Show all database connections ... 'recent connections '. 2. When editing a field in an @Embedded object, I get an error message

Password in Embedded Mode?

of the file without providing the correct password when obtaining a connection .  In my case, I'm interested in obtaining a JPA connection : Map map = new HashMap (); map.put("blah.blah.password

Replication failed

Dear support members, I am trying to set up a replication url in objectdb.conf and have the the following error in the log files: [ObjectDB 2.3.4] javax.persistence.PersistenceException Failed to connect to server 127.0.0.1:6136 ( Connection refused) (error 522) at com.objectdb.jpa.EMF

ObjectDB Clustering VS Hadoop Hbase

using composite urls the order of the urls defines the connection priority. No need to restart the master server to add a new slave since the configuration  of the master-slave connection

Vacuum - Reclaiming Unused Space In Odb

, but if the slave and master servers are running and there is a connection between them then replication will be completed. Even if there is a failure, restarting the slave and the connection to the master

EntityManager creation taking long time

. CAPdev CAP Dev Check the maximum connections in the configuration file (on the server side), maybe ... and server on the same machine?  createEntityManager requires a new TCP/IP connection . Maybe the delay

Standalone server needs dependencies?

When I connect to embedded server it works good.  But when I connect to a standalone server, it will have invocation errors like can't find getters and setters.  To solve this I had to export my persistence classes to a jar in the server and add it to the class path when starting

How to do an Offline Database Backup?

; I must close all connections , wait for current database activity to stop, and prevent new connections until the backup is complete.  How can I guarantee that a database is no longer being used

ObjectDB Explorer very slow with remote con

remotely to see, if you provide connection details. support Support It sees that it wasn't Explorer's fault. By having just 1 SSH connection to the VPS, it works at an acceptable speed. Sorry and thanks for your reply. zmirc Mircea Chirac

Bulk Delete and Update - best practice?

the connection string in other circumstances but I need a method that can work in both embedded and server ... , would be more efficient. drop in the connection url should work also in server mode if the database is not in use by

-XMX settings recommendation

The default is 256M  what is the recommended settings based on?  It is the size of the DB? number of connections ?  If the DB has over 200GB of data and max connection of 400 then will I need to make this settings higher?  Thanks. Trianglehead Json Error There is no magic

coonection pooling

we have a single deployed application with 100 users. Depending on the logged user it will connect to different database when quering the ObjectDB. can we use persistence.xml to define this connection

Database server with an application

Hi, I read the database server section of the manual - and it looks like it is not possible to connect to a Database embedded with an application from another application - is that correct? The way to go is to have the DB server running by itself and then the 2 other applications connecting

run several embedded systems on one server, problem with double used port

specify a port as part of the connection url. This stack trace should not be generated if the configuration file includes the above line and no port is specified as part of the connection url (with the port= parameter). support Support

Freeze during save

HotSpot(TM) Client VM (25.151-b12 mixed mode): "RMI TCP Connection (2)-127.0.0.1" - Thread t@75 java.lang ... .concurrent.ThreadPoolExecutor$Worker) "JMX server connection timeout 74" - Thread t@74 java.lang.Thread ... .run(Thread.java:748) Locked ownable synchronizers: - None "RMI TCP Connection (1)-127.0.0.1

Exception in thread "ODB-StoreHandler-5094" java.lang.NullPointerException

when a database connection is closed during cleanup of the closed connection . We will need ... a connection that apparently was opened but never used (no login). There may be some impact over time

again merger missing logs + objectdb exception

We will try to find that query hgzwicker Hans-Georg Zwicker The connection between the  ... Support the broken references are something that we are aware of, not connected in general ... . The connection between the queries that failed and the corruption of the the  ObjectProperty

Automatic Switch to Replicated Server Limitations

ObjectDB supports master-slave replication, with the ability to switch connections automatically to another server when a server goes down, by specifying a composite url . Currently this feature ... when connecting . Additional servers are only used later, as backup, and not initially during connecting

Best practise loading big data

The current reading scenario is scetched here: Open DB connection to existing DB with one persisted ... connection with an open transaction but no referenced objects from outside the DB. Then I ran ... connection , create an entitiy manager and start to read the first half of the MyValue objects in nested

preUpdate-methods are called when there is no change

updating the Entity even there was no change. RepositoryModelData repository = connection .find(RepositoryModelData.class, 1); repository.getObsTypes().iterator().next(); connection .getTransaction().begin(); connection .getTransaction().commit(); // -- will result in a call of @PreUpdate annotated

File lock exception on odb$

tried to upload the databases to the ftp site but I'm unable to connect - is it still available with the same connection details? felixobjectdb Richard Szurgot Ok, the ftp problem was on my end

query returns failed to read from database file

directly after startup (creating the database connection , factory ...). our startup immediately activies the webSocket server ( after creating the database connection , factory ...), hundreds

ObjectDB 2.8.6

Fixed an issue with viewing class Ids in the Explorer (see issue #2677 ). Fixed a regression bug (in version 2.8.5) in using AS in JOIN ( issue #2666 ). Fixed a connection pool issue related ... logging for server connections (see  issue #2645 ). Changed how the server handles stop requests (see  issue #2645 ).

Exception in thread "main" java.lang.NoSuchFieldError: __odbTracker

: __odbTracker at com.package.Network.__odbSet_ Connections (Network.java:1) at com.package.Network ... which is referenced in generated method:  __odbSet_ Connections   br Tomasz     Tomasz

huge heap usage

Zwicker You can see the number of open connections by filtering by PMImpl :     You can see that these connections are held by one  EntityManagerFactory (EMF):   support Support thanks, this helps pretty much hgzwicker Hans-Georg Zwicker