Internal Website Search

101-150 of 200 results

Login Error (bad username 'admin' or password)

I am getting following error when i am trying to connect to server: [com.objectdb.o ... :132) at java.lang.Thread.run(Thread.java:662) Here is my connection string:      ... when i use localhost in the connection string.   Any help will be appriciated! peric.emil Emil

ClassCastException: cannot be cast to com.objectdb.spi.TrackableUserType

store( Object instance ) { PersistenceManager pm = connect () def transaction = pm.currentTransaction ... .main.logException( "com.epimss.lab.db. Connection .store(instance)", e ) } finally { if( transaction ... another instance, it tells me that there is another connection to the database.   If I restart

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 ... mentioned, our clients are not configured to connect to slave at all. Also, the GC issue started

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 ... .clarke St Clair Clarke OK. It runs now. Second search fails with: com.epimss.lab.db. Connection .store

Best setup for huge amount of transactions

Hi, let's say I have: one Manager object and 100-10,000 Connection objects with the Connection ... connection are writing to the same entity (Device). How can I improve the performance? Currently I ... should have an EntityManager per Connection (but this would be up to 10,000 open EntityManagers). Then I use

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

Open several objectdb databases the same time

but also starts an internal server, and additional processes can connect the that database using regular embedded mode API, but actually these additional database connections are implemented as client-server connections . support Support What about database access performance (read/write speed

using DbUnit with ObjectDb

connection .. with other providers it's possible to extract the jdbc connection from the EntityManager ... connection = new DatabaseConnection(((EntityManagerImpl) (em2.getDelegate())).getServerSession ... to have a method that would return a connection . freddieFishCake Jonathan Lister Currently ObjectDB

Feature Request for database.obj$ file

a write (or flush) from the database.obj$ file to database.obj during an opened database connection ... (or flush) from the database.obj$ file to database.obj during an opened database connection ...  but short-lived EntityManager connections . Check if you have an EntityManager that is open

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

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

steps 1. Update the package.jdo with an index defined 2. Convert the old odb file 3. Connect ... the old odb file 3. Connect to database, basically created a Persistance manager object for odb file ... file 3. Connect to database, basically created a Persistance manager object for odb file 2.x 4. Close

Using explorer with a live embedded db

an error when trying to connect : "...database ... currently in use by another process" I used an explorer on the same machine, trying to connect in both embedded and client-server mode. I could connect when I stopped my program that embedded the db. Is     still supposed to work

How force always recreate database on redeployment.

You should be able to drop the entire database if its file is not locked by Glassfish. See the connection ... : 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

ArrayIndexOutOfBoundsException at com.objectdb.o.ALS.c(ALS.java:89)

) for every packet grabbed which connect to an OpenDB database to add or update relevant entry's ... actor opens a connection to the database, does what it needs to do, and then closes the connection ... simultanious connections is not exceeded. Same problem Can someone please help! Thanks   tuec Tue

Groovy JPA example

DataSource.groovy to connect to the ObjectDB database? As far as I gather, ObjectDB doesn't ... , so you cannot configure a JDBC based data source. You can connect ObjectDB from Groovy as specified in #1 above, or ... ), and it will be ignored, as long as the connection to ObjectDB is properly set in a persistence.xml

Type ... is not defined as an entity (@Entity is missing) (error 302)

Hello, I am using ObjectDB 2.2.8_08 with eclipse 3.6 and Groovy objects. I am attempting to persist an instance of CultureRqst in the project com.epimss.lab by using a Connection class imported from ... .admin.db. Connection .store( Connection .groovy:579) at com.epimss.admin.db. Connection $store.call(Unknown

Lock prevents PersistenceManager.close when retainValues = false

) Client VM (25.151-b12 mixed mode): "RMI TCP Connection (6)-192.168.1.142" - Thread t@24 java.lang.Thread ... Connection (5)-192.168.1.142" - Thread t@23 java.lang.Thread.State: RUNNABLE at java.net ... : - None "JMX server connection timeout 18" - Thread t@18 java.lang.Thread.State: TIMED_WAITING at java.lang

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

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 ... below: we can reproduce the behaviour: - we opened explorer and opened a client/server connection to our embedded

Monitoring and Performance counters

Here are additional ideas from the Server connection management  forum thread: # of open connections to server for each open connection , see: database name that it is connected to Client username and IP address Also, a command to force any or all connections closed would be great. Any idea for other useful

stress test -> com.objectdb.o.InternalException: null

the connector? (the code that connects to ObjectDB - (which is still part of your code)) com.objectdb.o ... its connection to the pool. Then to ObjectDB (on the just closed EntityManager ) that had to commit changes using the connection (which has already been moved to the pool and could be allocated

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