ObjectDB Database Search

51-100 of 200 results

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

Access to client/server database from multiple applications

Is there a preferred way to run a client- server database so that updates from one application are immediately visible to another? The way I managed this was to run PersistenceManagerFactory.getDataStoreCache().evictAll(true,MyClass.class) to ensure that a query on MyClass would contain updated

Embedding ObjectDB on server application

I'm trying to integrate ObjectDB as part of a server software I am developing. I'm a little lost ... on 4th line is server app's trace) javax.persistence.Persistence.createEntityManagerFactory(Persistence ... . support Support That is precisely the issue! Since I have to export the project from eclipse, the server

Database is erased after deploying a new web application version

Hello, I'm a new ObjectDB user and currently working on a Java web application that's running ... application (WAR file) and deploy it from Tomcat's manager, I get a new empty database. I assume ... )? If the database is located in a directory that is cleaned by the web server on every new deployment

Undeployment of an remote Glassfish application locks objectdb log file

the "domain1\ applications " folder on the Glassfish server and find that the WebApplication ... ; Compile and deploy the WebApplication to an remote Glassfish server . Don't forget to set an admin password on the Glassfish server and enable "secure admin". Now, log in remotely to the Glassfish

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 ... have experience with this. thanks peric.emil Emil Perić If you can run all these 3 applications on your web

How to have a distribuited GWT application with ObjectDB and Spring?

Hello to everyone! I've been developing a GwT application as a project for my computer science faculty. It consists in 2 or 3 hosts running it, each of one has a client and a server ... has got its own client/ server in the same host. The problems comes out when point A has finished

Unable to run NetBeans/JPA Web Application Tutorial

I followed each and every step of NetBeans/JPA Web Application Tutorial but when i am trying to run the web application the following error is prompted on the run console: Start is in progress... start?path=/GuestBook FAIL - Application at context path /GuestBook could not be started C:\GuestBook

Problem undeploying Glassfish3.1.1 web application cleanly

objectdb-2.3.7_18 When I undeploy a Glassfish3.1.1 web application when using @PersistenceContext EntityManager injection, using the undeploy feature under the Glassfish server node   ... embedded mode. What is the correct procedure for undeploying such a web application that prevents

How to connect to an embedded ObjectDB in a JPA/JEE application?

It is easy to change the properties in persistence.xml file to connect to an ObjectDB server . But I could not find any reference who to connet to an embedded objectdb in a JEE/JPA application ... the client- server connection url with an embedded connection url, e.g. an absolute file path

Integrating the ObjectDB logging into the application logging based on slf4j

We would like to write the logs of ObjectDB with into the log of our application . What do you use for logging? With or without slf4j and if so, what concrete implementation? Do you see a way ... it to work (e.g. in client server mode on the client side and on the server side). support Support

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 ... of a failed connection the server can still accept requests for reconnecting in a transparent way ... with the performance and stability of objectdb server . We've tried various in-memory solutions and Objectdb blows

Evaluating ObjectDB for SaaS Application

of one writer and multiple readers provides better performance because the coordination between the servers

virtual servers and one file

Hi ObjectDB Team In the past, we have often found that our customers use virtualized servers ... instead of a few milliseconds. Copying the database to an explicit server solves the problem ... files access and only part of the virtual file is in the virtual server's cache. Have you ever heard

Server connection management

The server does not appear to release broken connections. My typical development pattern ... tomcat. After a few days of this, the server stops responding, and I see the following in the server ... (TOL.java:115) at com.objectdb. Server .runCommand( Server .java:200) at com.objectdb. Server .run( Server

Connecting to a remote objectdb server

I am trying to configure my application in a client- server objectdb setup via tcp/ip. So I first made sure that the remote objectdb server is running using telnet from my local.  $ telnet db.mydomain.com 6136 (worked fine, is able to connect...) My db was configured below: On my application

Client server mode no longer works after JRE install

Hi I had client server mode working with no problems with my application . Then suddenly I ... java from the machine and included a jdk in my application there were no problems, client server mode ... application . So how do I do server -b -client? cmahony Craig Mahony Hi. I fumbled around with batch files

Mismatch client-server protocol prefix

.springframework.orm.jpa.JpaSystemException: com.objectdb.o.UserException: Mismatch client- server protocol prefix ... client- server protocol prefix] with root cause com.objectdb.o.UserException: Mismatch client- server ... :757) I checked multiple times if the versions match. They do. DB server version 2.6.2. Client

How to develop for a server license

Hello, our company recently aquired a server license, which can only be activated ... the application without restrictions if they can't use the key to generate an activiation code for their local objectdb? Can they simply use the generated activation code of the server (linux) or do they need

Convert embedded database to server

your application using a client- server connection url . support Support Thank you support for your answer ... , which is faster. The main drawback is that the embedded server depends on the main application , so will not ... Hello, What is the right way to convert an embedded database to a server one ? As a result

ObjectDb Supports Clustering of Servers?

application in more than one linux (Jobss) servers . In this case user request can go to any server depends on the availability of the servers (This is for load balancing ). As of now we are using Oracle ... detail so that we can choose this in our future applications . (we have tested it by doing small

Single Server License and Embedded Mode

We have an application that runs on a single server in embedded mode to write server million records.  Is it possible to use the single server license for embedded mode use?  I've looked ... server that needs to write the number of records over the evaluation limit, it doesn't seem to fit

Changing from client server to embedded mode

Hi, I have created a java web application and used ObjectDB in client Server mmode. It worked as per my expection. In Client server mode I used     Persistence ... ;    //Gives Failed to connect to server localhost:6136 When I use Persistence

Server closes if large query runs out of memory

on your application . Reducing the number working threads in the server can also help. More specific analysis ... ;the objectdb server can run out of memory and stop if a query deals with too many objects. This isn't ... query is run on the server , results are sent to the client and deleted there. This enables

Embedded server feature

-free functioning? For my case it would be really beneficial: 1 physical server with SSD 1 JVM running on it 2 web applications on Tomcat 1 ObjectDB Server deployed, in embedded server mode 2 ObjectDB databases for those 2 webapps, both would use the server in embedded mode for stellar performance

Server vs embedded mode in multi-instance scenario

have a user base of about 2,000 to 60,000 users that could possibly be using their application at any ... concerns as well as auto scale during peak usage, at least for the benefit of our web application ... there will only be one active instance of the app, use embedded mode inside the web application

Auto Generated Values

is 50). A sequence is global to the application and can be used by one or more fields in one or ... server , IDs are allocated in groups. The number of IDs in each allocation is specified by

Database Replication and Clustering

, which is managed on an ordinary ObjectDB  database server . Any ObjectDB database on any server ... databases is very easy and only requires running an ObjectDB database server with appropriate  ... above, a full URL has to be specified including user and password attributes. The slave server uses

JPA Entity Fields

above are required when applicable . ObjectDB, however, does not enforce using any of these annotations ... and the Department classes, and the application is responsible to keep them synchronized. Inverse fields ... and make their values accessible to your application by marking the version fields in your entity classes

General Settings and Logging

The configuration element specifies ObjectDB settings that are relevant to both the server ... ) is applied on both the server side and the client side, when using client- server mode, and has no effect ... with URLs (in client server mode). The password attribute specifies if passwords should also be saved

ObjectDB - JPA Object Database for Java

  Boost your application database performance. Database performance is critical as it is the bottleneck in most applications . ObjectDB is extremely fast and much faster than any other JPA ... and eliminates the ORM layer. The result is better performance and faster applications , especially

JPA Primary Key

generation is discussed in detail in the Generated Values section. Application Set Primary Key ... value is not generated and the application is responsible to set a primary key by initializing ... class Project { @Id long id; // must be initialized by the application : } A primary key field

BIRT/ODA ObjectDB Driver

and restarting the IDE. Note: See this issue regarding matching the driver version to the ObjectDB server version when using client- server mode. ObjectDB/JPA Data Source To create an ObjectDB data source: Open ... connection URL - either embedded (e.g. c:\points.odb ) or client- server (e.g.  objectdb

WeakRef Purge ObjectDb threads not stopping with Tomcat (in application container)

? • When we perform web application reloads on our servers we observe memory leaks.  As the memory allocated to the previous web application instance is not garbage collected due to these threads being alive. • We are also suspecting the server taking a long time to stop

Server out of memory exceptions

I've started to get memory exceptions on objectdb instances running as a server . The objectdb log reports this as: [2011-07-29 23:28:41 #20 server ] java.lang.OutOfMemoryError: Java heap space [2011-07-29 23:28:41 #21 server ] java.lang.OutOfMemoryError: Java heap space at java.net.SocketInputStream

Retrieving JPA Entity Objects

is then added to the persistence context as a managed entity object and returned to the application ... to ensure that the application deals with the most up to date version of an entity object, just in ... may continue recursively when applicable (e.g. to entity objects that the Address object references, if any).

What are the main benefits of using ObjectDB?

By using ObjectDB you can reduce development time and costs and improve your application ... the execution time of object oriented applications significantly. For instance, collection and map ... , eliminating the intermediate ORM layer further accelerates applications . For instance, ObjectDB

Is ObjectDB better than Object Relational Mapping (ORM)?

of a relational database is mandatory (e.g. as a result of a customer request or when a new application ... ), you can develop portable applications that can use both ObjectDB and relational databases. This way you have the best of both worlds - use ObjectDB when applicable for faster development and better

Date and Time in JPQL and Criteria Queries

that are evaluated to the date and time on the database server when the query is executed: CURRENT_DATE ... once on the client side, the current date and time expressions are re-evaluated on the server

Improve ObjectDB Server

ObjectDB as a console application  including on headless servers and JVM with no GUI and Swing ... Improve ObjectDB Server to behave and feel more like a traditional db- server : - Remove SWING dependency (i.e. remove the tray icon or make it external from the core server ) - Provide the possibility

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

We are testing client- server architecture. Our server has the following config: path = "$temp ... ; However sometimes happens, that the Server tries to create log file in location: $objectdb/log/ for which we don't have explanation. In our situation this ends with Permission denied, as the ODB Server doesn't

JPA Web App Tutorial - NetBeans Project

To open and run the  JPA Web Application tutorial project in NetBeans: Download and extract the project zip file: JPA Web App - Maven Project (6KB) Open the Maven project in NetBeans ... Project . Run the project: Select Run Run Main Project... (or F6 ). Choose or define the server and click

Java EE 6 JPA Tutorial - NetBeans Project

To open and run the  Java EE 6 Web Application tutorial project in NetBeans: Download and extract the project zip file: Java EE JPA Web App - Maven Project (7KB) Open the Maven ... ). Choose or define the server and click  OK . If  a browser is not opened - open it at http://localhost:8080/Guestbook/.

Spring MVC JPA Tutorial - NetBeans Project

Tomcat as a server and click  OK . Note: To run the application on GlassFish - change

Getting Started with JPA

This tutorial demonstrates how to create and run a simple JPA application . The demonstrated application uses JPA to store and retrieve simple  Point entity objects, where each  Point ... . The sample application is also explained in details in  Chapter 1 of the  ObjectDB Manual

Getting Started with JPA - Maven Project

JPA database driven application in Eclipse or NetBeans . Building a new application step by step ... application as a Maven project:      Getting Started with JPA - Maven Project (3KB) If Maven is installed - extract the zip and run the application from the command line by: mvn test

Step 1: Create a Java EE 6 Web Project

a Project Name (e.g. Guestbook ). Select GlassFish Server Open Source Edition 3 (Java EE 6) as the Target runtime. Note: You may have to add GlassFish 3 as a new server by clicking the New Runtime... button and the Download additional server adapters link. Follow the instructions and specify the path

Spring MVC and JPA Tutorial

This tutorial demonstrates how to create and run a full Java Spring MVC (Model View Controller) web application using Tomcat (or GlassFish), JPA, ObjectDB and Maven. The demo web application manages ... addition, the demonstrated application is available as a Maven project:

Step 1: Install BIRT and ObjectDB Driver

matching the driver version to the ObjectDB server version when using client- server mode. The next step is creating a BIRT Report project .

Spring MVC JPA Tutorial - Eclipse Project

. Run the project in Eclipse: Right click the project node and select  Run As Run On Server ... project is imported into the IDE). Choose or define the server and click  Finish . Eclipse