About Tomcat

forum_thread

Activation Issue

Hi, We bought a site license the yesterday. I ran the activation class this morning. That generated the activation key. I took that key as per the instructions, added it to the objectdb.conf inside the jar, and everything was happy. (this was with 2.3.7). However after a reboot I'm now getting the evaluation license restriction message again at compile time (which was I was seeing before putting the activation key in objectdb.conf). I tried upgrading to 2.3.7_02 and updating objectdb.conf with the activation key, but get the same behaviour. ... when I restarted the objectdb server, and then started tomcat, with tomcat throwing the eval license exception. Nothing had been changed or ...

 
forum_thread

Server connection management

The server does not appear to release broken connections. My typical development pattern is to keep reloading my war file in tomcat until the permgen space runs out, and then I kill and restart tomcat. After a few days of this, the server stops responding, and I see the following in the server logs: ... development pattern is to keep reloading my war file in tomcat until the permgen space runs out, and then I kill and restart tomcat. After a few days of this, the server stops responding, and I see the ...

 
tutorial

Step 6: Run the Web Application

Shows how to run the NetBeans/JPA web application tutorial.... in embedded mode - the database file is created under the Tomcat directory. You can stop the Tomcat server and open the database file in ObjectDB Explorer : ...

 
tutorial

Step 6: Run the Web Application

Shows how to run the Eclipse/JPA Web Application Tutorial.... in embedded mode - the database file is created under the Tomcat directory. You can stop the Tomcat server and open the database file in ObjectDB Explorer : ...

 
issue

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 the application isn't available at all. I had the situations multiple times that my database server took longer to boot after a power outage than the tomcat machine. This leads to an unusable application until i restart tomcat. ... server took longer to boot after a power outage than the tomcat machine. This leads to an unusable application until i restart tomcat. Other JPA providers are able to fetch the Metamodel without ...

 
forum_thread

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 the application isn't available at all. I had the situations multiple times that my database server took longer to boot after a power outage than the tomcat machine. This leads to an unusable application until i restart tomcat. ... server took longer to boot after a power outage than the tomcat machine. This leads to an unusable application until i restart tomcat. Other JPA providers are able to fetch the Metamodel without ...

 
issue

Exception occurs on Linux during commit

I wrote and tested my code on Windows 7 in a tomcat environment. When deployed on Linux (under tomcat) I get the following exception during a call to commit. Code: pm.currentTransaction().begin(); pm.makePersistent(p); pm.currentTransaction().commit();   Stacktrace: ... I wrote and tested my code on Windows 7 in a tomcat environment. When deployed on Linux (under tomcat) I get the following exception during a call to commit. Code: ...

 
forum_thread

High availability and other pratical questions

Hi,   I've just started developing a mobile app which will use a server side, hopefully handling a lot of processing and traffic. I was inteding to use TomEE+ with built-in OpenJPA and Postgres DB, initially on one master server but as it grows more master servers will be set (in different geo locations/data centers) using some data sync mechanism between them.   Now that i've met ObjectDB I want to check the option using it instead of postgres so I have few questions regarding it: ... Embedded mode is faster, so embedding ObjectDB in the main Tomcat server will improve performance. You should be able to access embedded ObjectDB from other Tomcat servers (and also replicate that database, etc.) but currently this is ...

 
forum_thread

Eclipse/JPA database tutorial

Hello Sir/Madam, I followed all the steps correctly as given in the tutorial. But when i run it , I'm getting an error saying, the resource not available. Please help regarding the issue as soon as possible. Thank you. ... Is it a problem with Tomcat by any chance? I have uploaded the project. Its eclipse ... Apparently the tutorial requires some updates for Tomcat 7 with newer Eclipse versions: Add an annotation to the ...

 
forum_thread

WebService : Failed to get reference value of field using enhanced method

Hi, I try to use objectdb from Tomcat Webservice without webservice it's works fine:   error: Failed to commit transaction: Failed to get reference value of field field persistence.PolicyEntity.policyString using enhanced method ... Hi, I try to use objectdb from Tomcat Webservice without webservice it's works fine: ... I added objectdb.jar to Tomcat-Dir/lib directory. (I use axis2 Web Service Framework) Once it ...