About Tomcat

forum_thread

ObjectDB 2.x is working without any activation code

Hi, I downloaded the objectDB from the http://www.objectdb.com/object/db/database/download and then added the objectdb.jar in my classpath. I used the default objectdb.conf file present in the objectdb.jar file and it is working without any activation code.. Is it is bug in objectdb or it works without actionvation code also. I am saving some information into the some.odb file and reading the informatin without any problem. What exactly is the activation code for ? Thanks & regards, ... 3. Trying to run the application whichi is using Tomcat 7.0   and getting the following exception ...

 
forum_thread

Web Framework Recommendation for leveraging JPA + ObjectDB

Hello dear ObjectDB Community ! First of all let me tell You: I am glad that I have revisited ObjectDB just recently; because with its newly added JPA compliance and affordability, it seems like a natural match to me. I have the following understanding: If I persist standardly against JPA/JDO, I can switch Persistence Engines as I see fit later on ! So that I can easily switch to a true OODBMS like ObjectDB, for instance. ... web applications are: Servlet container (Tomcat / Jetty) with servlets and JSPs. Java EE application ...

 
forum_thread

Attempt to execute a query using a closed EntityManager

Hi again! Suddenly, my app started to throw this exception. I would really appreciate some advices. ... java : 589 ) at org. apache . tomcat . util . net . JIoEndpoint $SocketProcessor. run ( ...

 
forum_thread

Cannot initialize db after inserting a java.util.List

Hi, I've spent some time trying to figure this out without success, so I'm asking for much appreciated help. I have an entity class like this: class Test { private List<String> list = new ArrayList<String>(); } I can persist and retrieve the obj just fine using standalone program, but whenever I access the db through a servlet container I get this error: objectdb.java.util.ArrayList cannot be cast to com.objectdb.spi.TrackableSysType This happens during EntityManagerFactory initialization.... exception doesn't happen when running GWT externally on Tomcat. Please try ObjectDB 2.0.3 build 02 that might fix this issue. ...

 
forum_thread

mapping file is not being loaded

Hi, I am evaluating ObjectDB by using it with an in-house developed library in order to prototype its capabilities / performance. I am having a problem in that the in-house library in question reads a simple configuration file to determine available persistence units, and then bootstraps them using the JPA Persistance.createEntityManagerFactory() method and passing in the persistence unit name (again, obtained from the configuration file ). ... is invoked. The prototype is running in a  Tomcat server with a RESOURCE_LOCAL transaction scope over a plain JDBC ...

 
forum_thread

Check for index existence ?

Hello, Is there a simple way to check if indexes specified in entities are well taken into account by ObjectDb ? Regards, Xirt ... I've added the args to my tomcat server but i'm sure that's was OK because name="*" output ...

 
forum_thread

How to open a running db in ObjectDB Explorer?

Hi! I've just discovered that I can't see the content of a database while it's in use. Is there any way in which I could do that? It's not nice at all to close the application, copy the db in another location, start the application then finally I could explore my data, but it will be just a copy of the data, not the live information. ... if I have 1 physical server with: 1 JVM 1 Tomcat which hosts 2 different webapps 1 ObjectDB server, in ...

 
forum_thread

Listing large number of complicated objects with paging.

Hi, For last few hours I was working on a problem with bad performance and memory problems with such a simple query: select prod from Product prod order by prod.id ASC Right now I have 55541 'Product' (attached to this post) entities in database and I'm trying to speed listing them with paging. The problem is, that running code that looks like this: ... part is that running this query needs lots of memory at tomcat side (attached screenshot) and after running it 3-4 times in a row ...

 
issue

Unexpected exception (Error 990)

Exception is thrown on commiting a transaction using this code: transaction.begin(); try { repository.setStatus(ImportStatusFlag.RUNNING_IMPORT); repository.setImportProgressMessage("Importing..."); //$NON-NLS-1$ repository.setImportProgressPercent(0); transaction.commit(); } finally { if (transaction.isActive()) { transaction.rollback(); } } "repository" is a Entity in database. Stracktrace as follows:   ... we only tried to restart the application server (Tomcat). edit ...

 
forum_thread

Spring LTW Problem

Hello! I use ObjectDB with Spring. Today i tried to swich from AspectJ compile time weaving to load time weaving. (To get Jrebel working properly) So i added  ... = "org.springframework.instrument.classloading.tomcat.TomcatInstrumentableClassLoader" useSystemClassLoaderAsParent = ...