Internal Website Search

51-100 of 200 results

package.jdo validation error (Connection timed out)

.objectdb.o._JdoUserException: Failed to validate xml file \RTDLogger.jar#package.jdo: Connection timed out: connect NestedThrowables: java.net.ConnectException: Connection timed out: connect The same ... to remove the following line: otherwise the XML parser may try accessing that url (and it will probably fail if you are behind a firewall). support Support

Connect to objectdb database

I am experiencing a problem with connecting to existing database using IntelliJ and Spring Boot ... = "objectdb-unit" com.objectdb.jpa.Provider name = "jakarta.persistence.jdbc. url " value = "objectdb://11.13 ... objectdb-unit Can someone help with connection to database. Thanks hbrabus Hrn This error

multiple connection using share folder

address or host name of that computer. Access the database using a full url connection including ... multiple system it shows failed to connect to server       prateek Prateek gupta

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

Attempt to store an instance of a non persistable type java.net.URL

Link(String name, String $ url ) //throws MalformedURLException { this.name = name; try { url = new URL ($ url ); } catch (MalformedURLException ex) { log_error(ex); } }     private URL url ; public URL getUrl() { return url ; } public void setUrl( URL url ) { this. url = url ; } I

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

Exceeding max connections and crashing

down and database lost connection with the JBOSS AS, several restarts got it up and running finally.  It seems when the database loses network connection it shutdowns but we cant be sure. Usualy database stops once a day with no apperent reason. Second cause we suspect is the number of network connections

Running ObjectDB on a node that does not have internet connectivity

Upon initializing our ObjectDB database on a node that does not have a connection to the outside ... .UnknownHostException: java.sun.com at java.net.PlainSocketImpl. connect (Unknown Source) at java.net.SocksSocketImpl. connect (Unknown Source) at java.net.Socket. connect (Unknown Source) at java.net.Socket. connect

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

Connections pool

Hi! Does ObjectDB keeps and reuses a pool of connections as MySQL JDBC driver does? I mean ... . Every EntityManagerFactory instance manages a pool of connections and reuses them when it creates new EntityManager instances. By default the maximum connection pool size is 50. You can change it in

Connection is closed (error 526)

. Exception in thread "main" [ObjectDB 2.2.7_08] javax.persistence.PersistenceException Connection is closed ... .java:308) Caused by: com.objectdb.o.UserException: Connection is closed at com.objectdb.o.MSG.d(MSG ... .PersistenceException Connection is closed (error 526) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery

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

connect with server

how to connect the data base on a remote server and share odbc in object db eng.ahmed ahmed how to publish the JPA database on  server and make client in the network can share the data base i want to know the right connection string. i used "Map properties = new HashMap ();   properties

unable to connect to remote server using VPN

I am trying to connect to remote server using VPN using user1 However, the server terminated the connection and  emitted below in the server log.  --------------------- [2018-04-14 13:13:33 #2 server] java.lang.ClassCastException: java.base/[Ljava.lang.Object; cannot be cast to [[B  

Retrieving Metamodel without connection

Hello! I use Spring Data JPA. It uses the Metamodel to create repository beans. This triggers a connection to the ObjectDB server. It happens on every start of the Context. If it fails ... until i restart tomcat. Other JPA providers are able to fetch the Metamodel without connecting to the DB

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

Number of current connections

Is there any way to find out the number of current connections to the DB server? natmaclin Natalia Levine Currently not. You may subscribe to this feature request and update it according to your needs. support Support

explorer fails to connect to embedded server

since a while it is not more possible to connect to our running application with the explorer as we did it before. The error message as shown in the picture appears hgzpincher Hans-Georg Zwicker Usually this error indicates using an Explorer version that is not compatible with the ObjectDB version

Safe to monitor listening port by connect/disconnect?

I wish to monitor our instances of ObjectDB using an automated tool that simply connects and then disconnects from the ObjectDB listening port once per second (frequency is configurable).  Will this cause any issue with the normal operation of ObjectDB? CAPdev CAP Dev It should be fine.  support Support

Connection performace after upgrade to objectdb 2

Connection performace after upgrade to objectdb 2

Invalid/Missing licence when connecting, however correct licence is definitely present

Invalid/Missing licence when connecting, however correct licence is definitely present

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

: 5000 Average X: 499.5 7.) Also, if I start both servers, and change the URL to connect ... described. Switching urls works only when the initial connection is to the master server ... ; which generates the following exception below. What am I doing wrong? It appears the connection manager fails

How to change properties in urls2.xml?

. ( Tomcat says " Connection refused" ) Thanks, Xirt xirt Sylvain You may  disable the url history ... PersistenceManager. Today, copying urls located in urls2.xml allow me to connect to my databases. Unfortunatly ... ... ( when i am watching urls2.xml file ) I am just asking how to have "static" url connection string. Xirt

Failover from Master to Slave

to the replicated database by changing connection url , i.e. by connecting to the replicated database using its own url . In that case, the new connection is an ordinary connection that is not limited to read ... to the replicated database url , switching the master and slave roles (in order to replicate changes in

Eclipse plugin problem (using ObjectDB as a separate bundle)

.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at com.epimss.lab.db. Connection .store( Connection ... ;  new Connection ( ISharedPreference.DB_OBJECTDB, "admin", "admin" ).store ... Please check the update urls and write them here (copy & paste from png doesn't work). I tried the first

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 ... url is not accurate and a new empty database (without the type) is created and used. support Support

Master database switching to read-only mode, possibly caused by slave failure

] javax.persistence.PersistenceException Connection is closed (error 526) at com.objectdb.jpa.EMImpl ... ) .............................................................. Caused by: com.objectdb.o.UserException: Connection is closed at com ... ? In that case, if you use a combined master/slave url requests to the master all the requests

How force always recreate database on redeployment.

: Connection URL Parameters To obtain a connection to an empty database (discarding existing content if any ... getting it to work. My connection URL in persistence.xml is: I run the server from /usr/local ... You should be able to drop the entire database if its file is not locked by Glassfish. See the connection

Login Error (bad username 'admin' or password)

addition, you should remove blanks from the connection url . support Support Thank you for qiuck response ... .conf on client as one on server. Also, i tried with removing blanks from the connection url ... I am getting following error when i am trying to connect to server: [com.objectdb.o

Replicated cluster recovery

/support/151   hare is the connection url : javax.jdo.option.ConnectionURL=objectdb://localhost ... 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

javax.persistence.PersistenceException Attempt to store an instance of a non persistable type java.net.URL

(String name, String $ url ) //throws MalformedURLException     {      ... ;          url = new URL ($ url );      ... ;     log_error(ex);         }     } private URL

Changing from client server to embedded mode

to move between the two modes. Your last connection url ( "$objectdb/db/myDB.odb" ) is valid in embedded mode ... an absolute path to that file as a connection url . support Support ... ;    //Gives Failed to connect to server localhost:6136 When I use Persistence

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

Retrieving Metamodel without Connection

a connection to the ObjectDB server. It happens on every start of the Context. If it fails ... restart tomcat. Other JPA providers are able to fetch the Metamodel without connecting to the DB. I ... getMetmodel works. If invoked before first connection to the server - the persistence unit model is analyzed locally on the client side. support Support

Can not connect to replication node

Hi, I tried to connect the database server using uri.. However the program emits error saying that no such Provider.. The code is below: var uri = "objectdb://10.11.12.3:6136/asli-webmapper/accesslog.odb;user=asli-webmapper;password=admin1"; var emf = Persistence.createEntityManagerFactory(uri

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 has the following limitations: The first server in the composite url has to be available

Query fails with failed to read

the explorer in client/server mode connecting to the database via our core module (which is using ... ObjectDB from explorer with the C/S connection on port 3333 hgzwicker Hans-Georg Zwicker Connection url objectdb://localhost:3333/? Another question, do you use the Explorer only to view data or

PersistenceManagerFactory.getConnectionURL() - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory String getConnectionURL () Get the URL for the data store connection . Return: the URL for the data store connection . Since: JDO 1.0

javax.jdo.datastore.JDOConnection

JDO Interface JDOConnection The underlying connection that is being used by a javax.jdo.PersistenceManager . Since: JDO 2.0 Public Methods void close () Returns this connection to the JDO ... a connection . If the object has not been returned and the JDO implementation needs a connection

PersistenceManagerFactory.setConnectionFactory2(connectionFactory) - JDO Method

 connectionFactory ) Set the second data store connection factory. This is needed for managed environments to get nontransactional connections for optimistic transactions. JDO implementations will support specific connection factories. The connection factory interfaces are not part of the JDO

JDOConnection.getNativeConnection() - JDO Method

, datastore-specific connection that this connection wraps. In general, it is not recommended that this native connection be used directly, since the JDO implementation has no way to intercept calls to it, so it is quite possible to put the PersistenceManager 's connection into an invalid state. Return: the native connection Since: JDO 2.0

PersistenceManagerFactory.setConnectionFactory(connectionFactory) - JDO Method

 connectionFactory ) Set the data store connection factory. JDO implementations will support specific connection factories. The connection factory interfaces are not part of the JDO specification. Parameters: connectionFactory - the data store connection factory. Since: JDO 1.0

PersistenceManagerFactory.getPersistenceManager(userid,password) - JDO Method

and password are used when obtaining datastore connections from the connection pool. After the first use ... for the connection password - the password for the connection Return: a PersistenceManager instance with default options. Since: JDO 1.0

javax.jdo.PersistenceManager

, this method obtains a datastore connection and verifies the consistency of the instances in the cache ... obtains a datastore connection , synchronizes the cache with the datastore using this connection and reports any exceptions. The connection obtained by this method is held until the end of the transaction

PersistenceManagerFactory.getConnectionFactory2Name() - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory String getConnectionFactory2Name () Get the name for the second data store connection factory. This is needed for managed environments to get nontransactional connections for optimistic transactions. Return: the name of the data store connection factory. Since: JDO 1.0

PersistenceManagerFactory.setConnectionFactory2Name(connectionFactoryName) - JDO Method

;String connectionFactoryName ) Set the name for the second data store connection factory. This is needed for managed environments to get nontransactional connections for optimistic transactions. Parameters: connectionFactoryName - the name of the data store connection factory. Since: JDO 1.0

PersistenceManagerFactory.getConnectionFactory2() - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory Object getConnectionFactory2 () Get the second data store connection factory. This is needed for managed environments to get nontransactional connections for optimistic transactions. Return: the data store connection factory. Since: JDO 1.0

PersistenceManager.flush() - JDO Method

. If an optimistic transaction is active, this method obtains a datastore connection , synchronizes the cache with the datastore using this connection and reports any exceptions. The connection obtained by

JDOConnection.close() - JDO Method

JDO Method in javax.jdo.datastore.JDOConnection void close () Returns this connection to the JDO implementation. The object must be returned to the JDO implementation prior to calling any JDO method ... to use a connection . If the object has not been returned and the JDO implementation needs a connection , a JDOUserException is thrown. Since: JDO 2.0