About Tomcat

forum_thread

How to configure where the ODB is stored?

Hi, The documentation is lacking in this respect. How do I configure where the ObjectDB database file is stored. I need to know where it is so I can inspect it with 'database explorer'. The docs say to set it to "$objectdb/db/points.odb" and that this defaults to "the installation directory of ObjectDB". BUT... I DIDN'T INSTALL OBJECTDB - my maven build downloaded it and embeded it. So, where is this file stored??? Also, the contents of the DB don't seem to be persisted between AppServer restarts.  ... but  the .odb file is under tomcat bin directory       ... current default directory will be used, which could be the Tomcat bin directory. Use the $objectdb prefix, e.g. ...

 
page

ObjectDB Object Database Features

ObjectDB provides a rich set of features, many of them as the result of supporting the JPA and JDO APIs.... Tested integration with Tomcat, Jetty, GlassFish, JBoss and Spring MVC. ... Web Application Tutorial (Tomcat/Jetty). Java EE 6 Web Tutorial ...

 
forum_thread

Mismatch client-server protocol prefix

Hello! We migrated one of our legacy webservices to Spring Boot/Spring MVC. Now i have a strange problem. At first the app runs perfectly for a couple of hours. After that it stops working and I get the following exception: ... our WAR to a standalone runnable WAR with embedded Tomcat. In addition we converted our Spring configuration from xml to ... all the Spring libraries to a newer version and maybe the tomcat configuration changed. The strange thing is that we use this setup for ...

 
forum_thread

JBoss 7 startup fails

Hi, I was having a go with entity beans 3.x jboss 7, objectdb and the guestbook web application but cannot come out of the swamp. I use eclipse indigo as IDE The "src" folder contains the pachake guest and within the classes: Guest.java, GuestListener.java and GuestServlet.java The WebContent/META-INF dir contains: context.xml ... ( MSC service thread 1-3 ) The Apache Tomcat Native library which allows optimal performance in production ... tutorial   - the other web examples can be used on Tomcat, Jetty and GlassFish, but not on JBoss. A ready to use Maven ...

 
issue

Unexpected error when loading all entity instance

Hi, when going through all entity instance to find orphaned entries we get the exception: ... the recording data along with the database files. We use Tomcat and hot deployment. Since you mentioned that there might be parallel access we changed to advanced deployment (shutdown Tomcat, deploy, start Tomcat). Using this approach it will be impossible for ...

 
forum_thread

How to enhance the JPA/Spring/MVC to implement RESTfull for CURL client?

Here is my attempt to enhance the JPA/MVC/eclipse tutorial to implement a RESTful service. Why does this not work with this curl command? I get 404. Can someone help me correct this? Do I need to change my web.xml servlet mapping in web.xml? I've been experimenting with and nothing seems to work. Thanks Siegfried Here is my web.xml fragment: ... <head>     <title>Apache Tomcat/7.0.35 - Error report</title> </head>   ...     <h3>Apache Tomcat/7.0.35</h3>   </body> </html> ...

 
tutorial

Java EE 6 Web Tutorial

This tutorial demonstrates how to create and run a full Java EE 6 MVC (Model View Controller) web application in Eclipse - using GlassFish, ObjectDB and JPA.... that can run on a simple servlet container (such as Tomcat or Jetty) see the JPA Web App Tutorial . The demo web ...

 
issue

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. It would be really useful if some kind of new external replicator application was created 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

Occasionally slow requests in load testing

We are running load testing against objectdb version 2.3.7_18. The performance is generally OK, however there are quite a few "spikes" in the performance where we are getting a lot of very slow response times from the DB, around 10 - 15 seconds. Looking at the DB server process with AppDynamics we can see that most of the requests get stuck in one of 2 places: com.objectdb.o.PGC:w: line number 232 com.objectdb.o.LFL:U: line number 1068 Please see the attached callgraph examples for full stack trace examples. ... else, I'd like to understand better what you mean. Our tomcat processes are running on similar servers with 800 threads without ... else, I'd like to understand better what you mean. Our tomcat processes are running on similar servers with 800 threads without ...

 
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 ...