ObjectDB Database Search

1-50 of 76 results

Server Configuration

configuration file contains the following element: The element The element specifies how clients can connect ... connections . The default port is 6136 . If you use a different port, clients must also specify it in the connection URL string, as explained in the JPA Overview section. The max attribute specifies

Server connection management

The server does not appear to release broken connections . My typical development pattern ... logs: [odb:server:fatal] com.objectdb.o.UserException: Too many open connections (100) at com.objectdb ... setting that would tell the server to close connections after a period of inactivity. Also, how does

connection pooling

how do you handle connection pooling?  I don't understand how to open and close connection ... ; The element specifies how clients can connect to the server:     The port attribute specifies a TPC port on which the server is listening for new connections . Usually the default port 6136

Connecting to a remote objectdb server

.mydomain.com 6136 (worked fine, is able to connect ...) My db was configured below: On my application ... With all these configuration, I am still not able to connect on remote server. I am pretty sure that defaultObjectDBPersistenceUnit was used on my app. Also, if my app was able to connect

SSL cannot connect from client StackOverflow error

Hello, i am trying to set up the SSL for connections to objectDB server. I cannot connect the Client, when SSL is enabled. I can connect from Explorer, when "Use SSL" is checked, isn't there some ... .objectdb.o.CST.o(CST.java:150) thamal Tomas Hamal I can connect from Explorer, when "Use SSL" is checked

Connection is closed Caused by: java.io.EOFException

after an undetermined period. Caused by: com.objectdb.o.UserException: Connection is closed at com ... out of connections ? Or is there something obvious that I am not seeing? I am using objectdb-2.2.6_03   ... what is written there... com.objectdb.o.UserException: Too many open connections (100) at com.objectdb.o

Database connection url

sure about the connection url for the code, and for the explorer. I tried this: Transactor.emf ... .odb created under db-files/ nor can I connect to it from explorer. So, how does one set up odb as a server, and how does one connect to it from code, and from explorer? dmoshal David Moshal

Many connections possible? and will it makes problem in future?

My questions is about : 1-) Can objectdb server handle 200.000+ connections at the same time concurrently ? Does it have queue and cache ? 2-) is it dangerous to use that system on many online users ... connections , but they are limited by practical factors such as thread numbers (depending on your operating

ODBC - How to create a DSN connection in Window

Hi, is there a way to set DSN of ObjectDB in windows for excel data analysis? 搜索 复制 gzdillon Lai Yang You can use the connection URL , including protocol, host, port, path, username and password (when applicable) as DSN of ObjectDB databases. However, ObjectDB does not support ODBC or JDBC

ObjectDB Server Connection Permissions

It would be useful if instead of creating a web service layer on top of a database, I could just set up permissions to entities and entity variables for client connections . This would be beneficial when providing specific raw data where additional business logic is not required. I suppose

Cannot connect with client

Hello I am unable to connect to my remote DB due to this error.  What is the meaning, and how to solve it?  Please see attached. Trianglehead Json Error Make sure that the same ObjectDB version is used on both the server side and the client side. support Support I'm pretty sure

Connection performace after upgrade to objectdb 2

Connection performace after upgrade to objectdb 2

Database Replication and Clustering

and password attributes. The slave server uses these credentials to connect to the master server ... server. Connecting to the database cluster The configuration example shows a master database managed ... this example. However, if the first URL becomes unavailable, the connection automatically and temporarily

jakarta.persistence.EntityManager

StoredProcedureQuery EntityManagerFactory Since: Jakarta Persistence (JPA) 1.0 The Database Connection using JPA ... ( ConnectionFunction function ) Call the given function and return its result using the database connection underlying this EntityManager . Usually, the connection is a JDBC connection , but a provider might support

Database Management Settings

tests. The content of these temporary databases is deleted when you use the drop URL connection

jakarta.persistence.ConnectionConsumer

: - the connection type, usually java.sql. Connection An executable action which makes use of a native database connection . The connection is usually a JDBC connection . See Also: ConnectionFunction ... Methods void accept ( C connection ) Execute the action using the given connection . Parameters: connection

jakarta.persistence.ConnectionFunction

: - the connection type, usually java.sql. Connection A function which makes use of a native database connection to compute a result. The connection is usually a JDBC connection . See Also: ConnectionConsumer ... Instance Methods T apply ( C connection ) Compute a result using the given connection . Parameters

Close() Method of EMF throwing "PersistenceException: Connection is closed" on first attempt to close.

._PersistenceException: Connection is closed due to UserException: Connection is closed com.objectdb.o ... and just writing the condition to a log file, because if the database connection is closed, further attempts to close it are not necessary. support Support

Step 4: Add a Servlet Class

, IOException { // Obtain a database connection : EntityManagerFactory emf = (EntityManagerFactory ... , response); } finally { // Close the database connection : if (em.getTransaction().isActive()) em ... connection ) is constructed. If a new guest has registered (using a JSP form that is shown in

jakarta.persistence.EntityManagerFactory

Persistence (JPA) 1.0 The Database Connection using JPA article explains how to use EntityManagerFactory

jakarta.persistence.EntityTransaction

Jakarta Persistence (JPA) Interface jakarta.persistence.EntityTransaction Interface used to control transactions on resource-local entity managers. The EntityManager.getTransaction method returns the EntityTransaction interface. Since: Jakarta Persistence (JPA) 1.0 The Database Connection using

Pessimestic Locking doesn't release when application unexpectedly terminates.

;   Is there anyway the server can detect that a client (lock owner is no longer connected ... another feature - automatic resuming of a failed connection by the client. Currently in case of a failed connection the server can still accept requests for reconnecting in a transparent way

Modifying something with Explorer -> app JPQL with Enum doesn't work anymore

the change, close ObjectDB's connection , and run the project again. Important : do all that until a new number is printed. There is a 1 minute delay set. The same as 1, but keep ObjectDB's connection open ... this, it seems that the problem appears. So maybe Explorer disturbs something when connects , or there is a problem

jakarta.persistence.PersistenceConfiguration.transactionType()

. If PersistenceUnitTransactionType.RESOURCE_LOCAL , database connection properties may be specified

EntityManagerFactory objects being locked during EntityManager creation

, the locking thread's stack trace indictes a slower operation of creating a new connection to the server. Possible directions you may consider: Increasing the size of the connection pool to reduce the need for new connections . managing your own pool of unused EntityManager instances (the ObjectDB pool

Guessbook tutorial: Java EE 6 JPA Tutorial - Maven Project

to obtain a connection from a closed EntityManagerFactory at com.objectdb.o._PersistenceException.b ... a connection from a closed EntityManagerFactory at com.objectdb.o.MSG.d(MSG.java:61) at com.objectdb.o.OMF ... : Attempt to obtain a connection from a closed EntityManagerFactory at com.objectdb.o

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

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

mapping file is not being loaded

JDBC connection . The entity classes use  no  JPA annotations, as some of our internal

Filename.odb$ Persisting Issue

statements) nor minimal (are 7 database connections really required to demonstrate the issue?).  

listening on a particular IP aside localhost

I have being searching all around for how to do this but still no luck. I want objectdb to be able to listen in server mode to other connections from another machine where client is installed. I will like to have objectdb on machine A, while B,C, D can access the database in a using code like

Database is erased after deploying a new web application version

the web-app is running, I have no intention of closing the connection to the database

JDeveloper

Is there a tutorial or instructions as how to setup a connection in JDeveloper to ObjectDB? Thanks nat nat101 Nat Gross No, but you may be able to use the Maven examples (included in the ObjectDB download file) by importing them to JDeveloper. support Support ok. thanks. nat101 Nat Gross

Objectdb EntityManagerFactory problem

one  EntityManagerFactory per application, with multiple  EntityManager instances for multiple database connections . support Support

Memory leak in com.objectdb.o.CST

instances mistake. Regarding the CST instances, these are connections to the database. Please check if every created EntityManager instance is closed. support Support If there is connection pooling ... ? Trianglehead Json Error You are right, these objects may exist also in the connection pool

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

InternalException: null

.java:617) at java.lang.Thread.run(Thread.java:745) Every worker thread has its own connection