Internal Website Search

101-150 of 200 results

Failed to resize file - file system limitation error

.o.UserException: Failed to resize file 'F:\CAP\AdherisHealthSolutions\DatabaseServer\data\patient ... .IOException: The requested operation could not be completed due to a file system limitation at java.io ... CAP Dev What is the current database file size and which file system do you use? If the database

Backup file always bigger than live db file

; And the backup file is always getting bigger even if the db file is not getting bigger.  Why is that? Trianglehead Json Error Does the database file itself remain the same size? Is the backup size different (either smaller or larger) from the database file size, or just the compressed (e.g. zip) versions

odb files and config file

/. But there were no obd files in it. I'm getting my EntityManager by doing this: EntityManagerFactory emf = Persistence.createEntityManagerFactory("$objectdb/db/account.odb"); I looked for the odb files and found it somewhere in my workspace metadata (eclipse plugins). What can I do to save the odb files in

Recovery file does not match db file

up, these errors started: ObjectDB 2.3.1_03] javax.persistence.PersistenceException Recovery file '/auctionologies/java/storage.odb$' does not match db file '/auctionologies/java/storage.odb' (error 145 ... , which has been fixed in version 2.4.0. Please check if the recovery file ( odb$ ) is empty, and if it is - just

Programatic configuration or configuration file loaded from classpath or file

/jpa/setting . However, I have a dynamic environment and don't want to place the configuration file in ... ;programmatically? b) Is it possible to place the configuration file in my own jar and have it loaded by ... , it must be read from the configuration file . b) ) Is it possible to place the configuration file in

virtual servers and one file

where the hard drives are also virtualized. From a certain size of the objectdb file (approx. 1.5 GB ... files access and only part of the virtual file is in the virtual server's cache. Have you ever heard ... that's a crutch. Could there be a way in the future to split the database across multiple files ? Thank

Empty temporary dat files in the temp folder

Hello, We have questions regarding the pagesX.dat files in the temp directory. We detected ... due to lack of memory. Some information to our scenario: We use one main database file ... with just 1 MB) If we access entities from one of the additional DB’s we get five new pagesX.dat files

Unable to delete the .odb file programatically

Hi, I created the test.odb file , read the contents and now trying the delete the odb file using objectd2.x. I see the folder there are two files created test.odb and test.odb$. Using the following code to delte the odb files     PersistenceManager pm = (PersistenceManager

Consequence of lost ODB$ Files?

Hi, We use the Object DB backup utility for most of our backups, however we also do file system backups. Recently our file system backups have been failing because the .odb$ (write files ... back up of the associated .odb (main database file ) and the .odb$ file is lost, will the main .odb file

Failed to read DB file while online backup is running

and also write) failed with an exception during an online backup of the same DB file was running and was close ... ._JdoUserException: Failed to read from file '/path_to_db/dbFile.odb' NestedThrowables: java.io ... by: com.objectdb.o._JdoUserException: Failed to read from file '/path_to_db/dbFile.odb

creating EntityManager on odb file created on Mac 64bit on Windows 32bit

Hello, I have an odb file created on my Mac OSX 64bit. When I further, in other program, create an EntityManagerFactory and later EntityManager on this file , every thing is working fine. But, when I transfer this program and odb file to Windows XP 32bit it crashes while creating

Feature Request for database.obj$ file

I've two questions and maybe feature requests regarding the $ file . a) is there a valid method ... there is a background thread, merging the database.obj and the database.obj§ files . As long as this daemon ... out for a corresponding database.ojb$ file . But of course we could not wait for ever so there is a timeout wich

Attempt to open a non existing file '/tmp/objectdb_xxxx/SortQueryItr_6.mrg'

applications at the same time on one machine - each application is using an ODB file (each one is using ... existing file '/tmp/objectdb_2116263629532821442/SortQueryItr_6.mrg'        ... .mrg file - but b/c there are several applications running at the same time - maybe one application

Database Files

Hi.  According the docs, "Every transaction commit is first written to the recovery file and then to the database".  During my testing, every time I make a transaction the recovery file keeps growing, but the actual odb file never changes unless I restart the server.  The  .odr

Password Protect Database File

Is there a way to encrypt the odb file so that if hackers somehow steal it they cannot access ... for a password for encrypted odb files . ThreaT Ashton Hogan The way to keep an ObjectDB database ... of complete drives, directories or files , and an ObjectDB database is an ordinary file . If you are going

JDO sequences from ORM file

.orm file , where X is a value passed to the PersistenceManagerFactory as the value of property ... for this type of file , though I can't see a mention of it in the manual. But I've tried creating one as ... (that are part of every build), but in a package.jdo file rather than an  orm file . Maybe the problem

Reading 1.x odb files in ObjectDB 2.x without upgrading

db odb file from version 1.x to 2.x, user is unable to open the odb files in the application which is having object db 1.x installed. Is there any way to read odb files from 1.x in object db 2.x ... was having one row but after converting to objectdb 2.x, no row was present the odb file .  But when i

Need disk usage and delete some old files

becomes too high , delete old date files from database. And recalculate disk usage back ?   kadirbasol Kadir BASOL Since an ObjectDB database is a single file you can simply check its size using the length ... file system root by: File root = com.objectdb.Utilities.getServerFileSystem(     

Unable to convert 1.x odb file to 2.x

well, but then on converting 1 of the DB files I got this error: java -jar converter.jar ../old.odb ../new.odb ObjectDB 1.0 - 2.0 file conversion Exception in thread "main" java.lang.RuntimeException: Internal Exception ... ) Please advice how to solve this. jakab Gergely Jakab I tried the conversion on another odb file

recovery enabled="false", still creates tablename.odb$ files

Running in embedded mode, configuration specifies " ".  Still, tablename.odb$ files ... ; What do we need to do to not utilize recovery files (not have orphan tablename.odb$ files )? CAPdev CAP Dev Could you please verify that this setting is in the correct  objectdb.conf file ? As

DB Files permissions

Hello, is it possible to configure default file permissions on created files ? ObjectDB creates DB files with 644 linux permissions. We would need 664. This should apply also to backup files created ... ()); backupQuery.setParameter("name", backupSubdir); thamal Tomas Hamal ObjectDB creates files using

mapping file is not being loaded

a simple configuration file to determine available persistence units, and then bootstraps ... (again, obtained from the configuration file ). After the entity manager factory is obtained, the Metamodel is empty - none of the entities referenced in the mapping file are present in the Metamodel

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 ... the Explorer: import java.io. File ; import com.objectdb.Utilities;     ...   

Change path for urls2.xml file

the creation path of this file ? I assumed it would be in relation to the home path, similar to the db and log files . jb11 James Evarts This file is created in a directory .objectdb under the user home ... and we do not want directory polluted with objectdb's files . Can't we just change it somehow in

zip file or JAR manifest missing

I found the message: Error opening zip file or JAR manifest missing: /E:/projects/ObjectDB/bin ... more Error opening zip file or JAR manifest missing: /E:/projects/ObjectDB/bin/objectdb.jar ... : Error opening zip file or JAR manifest missing: /E:/projects/ObjectDB/bin/objectdb.jar gzdillon Lai

Shrinking Database Files

file never shrinks when large number of objects are deleted and the only way to reclaim that space would be with Database Doctor. Is there a way to reclaim database file space? Is it worth trying to reclaim space?  (It may not be if it is a lengthy operation, or it tends to make the file

ODB tries to create log files inside its own jar on Win7

files inside objectdb.jar, which was inside the executable jar packaged by Eclipse.  Here's the end of the stack trace: [code]Caused by: com.objectdb.o.UserException: Failed to create a new file ... machine and it works fine.  (I didn't check where it creates its log files , but evidently

Problem with log file in an embedded db with netbeans platform application

that crash the application. This is part of the stack trace: java.io.FileNotFoundException: file :\C:\Users ... a new file ' file :\C:\Users\Ce\Desktop\ProteoB\ProteoApp\build\cluster\modules\ext\log\odb20110921.log ... (ProteoExplorerTopComponent.java:282) Follows my persistence.xml file :         ObjectDB

Redeployment in GlassFish - Failed to open file

. It seems that the database file is still in use. I have highlighted the cause by red color. How I can release the database file for redeployment? Every time, I need to stop the server, start it again and redeploy ... : Failed to open file 'D:\Projects\JPAWebObjectDB-test\build\web\WEB-INF\db\guests.odb' at com.objectdb

Logging archive contains non-objectdb log files

Hi, I'm dealing with problem, that objectdb's log archive folder contains several other log files which are not part of objectdb. We use single location for our application log files and also objectdb log files . When application crashes or retarts, we noticed that several of our log files reside

multiple different applications access one odb file

Hi, is it possible to access one odb file from different applications? What we would like to accomplish. We have one app (runs on Wildlfy server) and it uses xyz.odb DB file . The other two apps ... addon connects to the odb file , could it be adapted to make queries to the database. The customer

Using a file extension other than .odb

a parameter ending in .odb as a file name rather than a persistence unit name.  It makes opening a DB in my app as easy as selecting it from a file chooser. However, I wish that I could use a file ... ; Perhaps any string beginning with " file ://" could be treated this way. Edit: Or maybe better

DB Explorer and Doctor unable to open DB file

Hi, one of my DB files can not be open by neither DB explorer, nor the DB Doctor. Both are writing ... ; My application can work with the DB file without difficulties though (reading and storing the embedded type ... and converted this DB file to the new format. Any ideas how to resolve this ? jakab Gergely Jakab

Eclipse Public License - v 1.0

of the date such litigation is filed . All Recipient's rights under this Agreement shall terminate

Entity Management Settings

The configuration element specifies front end settings that are relevant on the client side and in embedded mode. The default configuration file contains the following element: The element The element specifies enhancement related settings: The agent attribute (whose value is "true" or "false

Posting Sample Code

. Whenever possible: Use a single Java file with one main class + static inner classes for entity

Use temporary files to enable very large transactions

further version. Can you implement it that ObjectDB used temporary files ? btc_es BTC EmbeddedSystems ... which this data is written to a temporary file . Even without speed optimizations, but with priority ... EmbeddedSystems Although ObjectDB already uses temporary files for many activities (e.g. processing large query

File lock exception on odb$

objectdb were not shutdown properly which in turn meant we had several odb$ files left behind. I ... below. No other process had a lock on the file , especially as the server had just been rebooted and the os allowed us to delete the files in question without any problem. In this case we weren't

Exception when the log file is full and no archive is defined

="debug") and logged to a file with limited size. We did not configure a log-archive (log-archive path="" retain="0"). That caused an exception when the log file reached its size limit. Here's the stack trace of that issue: com.objectdb.o.UserException: Failed to create a new file '' at com.objectdb

Multiple files support for search and persist

to seperate files ( Each file is binded to different disk ) How can i configure objectdb for multiple files ? is there any example ?   eix128 Kadir BAŞOL An ObjectDB database is a single file ... much more complicated). Currently you may be able to improve performance by: moving other files that ObjectDB use (e

Page cache File handling produced an java.io.IOException: Negative seek offset

  The Exception: Failed to read from file 'C:\Users\DEVELO~1\AppData\Local\Temp\objectdb ... .PersistenceException Failed to read from file 'C:\Users\DEVELO~1\AppData\Local\Temp\objectdb ... : com.objectdb.o.UserException: Failed to read from file 'C:\Users\DEVELO~1\AppData\Local\Temp\objectdb

Can't open DB-file with explorer, but from within my code it works

): 1) my recent db- file , created with the old-version, has been copied to the local db-folder of the new version automatically 2) But I can't open the db- file with the objectDB explorer ... - file programatically (from within my code) without any errors 4) the db doctor ends without error

ODB Server tries to write a log file to a weird location

; However sometimes happens, that the Server tries to create log file in location: $objectdb/log/ for which we don't ... above database files and it stopped doing it. Sometimes it doesn't help.       thamal Tomas Hamal The default location of the log file is $objectdb/log/ and it is used

ObjectDB tries to create a File in a localtion without write access

Hello, if we install our Product into the windows Program Files directory which have by default ... : Failed to create a new file 'IndexManager_12.mrg_filter' at com.objectdb.o._PersistenceException.b ... :78) ... 25 more Caused by: com.objectdb.o.UserException: Failed to create a new file 'IndexManager

Spring MVC JPA Tutorial - Maven Project

jetty:run The current directory should be  guestbook-spring (containing the  pom.xml file

Step 4: Add a Servlet Class

of the new source file with the following code: package guest; import java.io.IOException; import javax

Step 3: Define an EJB Session Bean

to create the new session bean (EJB) class. Now replace the content of the new source file

Step 4: Add a Servlet Class

the new servlet class. Now replace the content of the new source file with the following code: package

Getting Started with JPA and NetBeans

the ObjectDB distribution zip file . The distribution zip contains everything necessary (no external

Step 4: Add a Servlet Class

of the new source file with the following code: package guest; import java.io.IOException; import java