About Tomcat

forum_thread

How to track memory leak with ObjectDb.

Hello, I suspect some memory leak in my application. ( turning app into OOM very fast ) In fact, some com.objectdb.o.MST objects are retaining a huge % of my heap space. While watching the dump file ( with Eclipse MAT ), i was not able to inspect carrefully the memory leak issue. That's is very hard to debug because of obfuscated objectdb code. Well, objectdb is closed source, ok so ... but, in production case, how can a developper do his debug job correctly with your obfuscated code ? ... ) during the lifecycle of the webapp ( close called on tomcat shutdown ). Might are they keeping MST objects or a kind of ...

 
forum_thread

Modifying something with Explorer -> app JPQL with Enum doesn't work anymore

Hi! Scenario: Copy attached DB into localhost ObjectDB server (I'm running 2.5.1_03). Open attached project JavaEE Maven with NetBeans (7.4 beta in my case). Start ObjectDB on localhost as server. Run project on Apache Tomee 1.5.2 standard. Take a look at NetBeans' output to see how many entities are found with field type GOOD. There are 2 ways generate the bug: ... is not referenced. Maybe you installed ObjectDB within Tomcat, and maybe I missed something in your instructions, but this ... Yes, sorry. I forgot that I have ObjectDB in Tomee (not Tomcat). Anyway, just add it in pom.xml. I look forward for news after ...

 
forum_thread

ODB 2 JDO enhancement

If I label a class @PersistenceCapable do I still need to explicitly enhance? Do I need a package.jdo file? This question relates to experiences with ODB 1, in which one has to: a) create a package.jdo, and b) run the Enhancer In my experience, using this with Tomcat, and running the enhancer in the contextListener class, there would often be errors relating to 'class not persistent capable'. So, in ODB 2 is there a way to mark a class as @PersistentCapable, and then let ODB take care of enhancement automatically?... run the Enhancer In my experience, using this with Tomcat, and running the enhancer in the contextListener class, there would ...

 
forum_thread

ObjectDB shuts down

Hi, we have a problem with OBjectDB shuts down every few days, sometimes every day. It always happens in the morning ie. after several hours of inactivity although we are not sure if this is the reason. Last night we maintained constant activity during the whole night (user were frequently using the application) and DB was OK. ... I experienced something similar when my app server (Tomcat/Tomee) was using too much memory (out of the total available), thus ...

 
tutorial

Step 3: Define an EJB Session Bean

Explains how to define an EJB session bean in a NetBeans Java EE web application.... and JBoss, and not by servlet containers, such as Tomcat and Jetty. By using EJB classes we can move some work from the ...

 
forum_thread

Embedded server feature

Is it safe to use this wonderful and undocumented feature in production, and rely on its problem-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 ... 1 JVM running on it 2 web applications on Tomcat 1 ObjectDB Server deployed, in embedded server mode 2 ...

 
forum_thread

Embedded Database Replication

As we all know, embedded databases out perform server databases on every occasion. The problem with embedded databases is that theyre difficult to scale. If I were to create an entire enterprise web application within a single jar file using embedded tomcat and embedded objectdb I would run into problems trying to cluster the data. Is there a way to cluster embedded objectdb? Perhaps some kind of external replicator application that can be used by server administrators to ensure replication is optimal and healthy?... web application within a single jar file using embedded tomcat and embedded objectdb I would run into problems trying to cluster the ...

 
forum_thread

WebSphere Liberty Configuration

Hi! I've been trying to get ObjectDB configured with WebSphere Liberty server. I have been able to get the sample app running in TomCat but when I run the jee version of the guestbook in WebSphere I get a combination of errors depending on how I tweak the configuration the most promising error I get is this one: ... I have been able to get the sample app running in TomCat but when I run the jee version of the guestbook in WebSphere I get a ...

 
issue

How to change properties in urls2.xml ?

Hello, I am using objectdb in an embedded case with network private access to each database. I see it exists a file name "urls2.xml". <url><main>/var/lib/tomcat7/db/myDb.odb;user=admin;password=admin</main><alt>objectdb://127.0.0.1:38059/;user=$code;password=a2e54ea3-d889-41a7-953c-dabc42877742</alt></url> This file is autogenerated by objectdb. And it describes the locals databases url and their port / user / password properties. ... the persistence.xml database local url doesn't work. ( Tomcat says "Connection refused" ) <properties> <property ...

 
tutorial

Step 3: Define an EJB Session Bean

Explains how to define an EJB session bean in an Eclipse Java EE 6 web application.... and JBoss, and not by servlet containers, such as Tomcat and Jetty. By using EJB classes we can move some work from the ...