About Tomcat

forum_thread

@Entity saved in Tomcat session - problem

Hi, I have found a problem, when storing @Entity object in Tomcat session. When starting or stopping Tomcat, I get nasty exception - please check attached log. Strange thing is, that after this exception everything works perfectly fine. The problem appears after using Enhancer. The nasty solution is to create copy of @Entity class as normal POJO and use it to store in session. The problem is, that we need the same logic for temporary users (without storing in DB) and permanent users (stored in database). A separate POJO makes the whole logic quite complicated.... I have found a problem, when storing @Entity object in Tomcat session. When starting or stopping Tomcat, I get nasty exception - please check attached log. Strange thing is, ...

 
forum_thread

Path in tomcat

Hi, If I put the .jar into /opt/Tomcat/lib/, then where the .conf should be in? And the .odb? When I debug the Eclipse web project, I export all things into a .war file. Then I use Tomcat's web deploy tool by the .war file. However, if I put objectdb into the project's /WEB-INF/, I may lost the db when I use Undeploy tool. TIA ... Hi, If I put the .jar into /opt/Tomcat/lib/, then where the .conf should be in? And the .odb? ... project, I export all things into a .war file. Then I use Tomcat's web deploy tool by the .war file. However, if I put objectdb into ...

 
forum_thread

use of Singleton into tomcat

hi all. i would write a class singleton that encapsulate the entitymanagerFACTORY    into it.(the entitymanagerFactory  IS A property of the only instance of class singleton. (the class singleton is not a Ejb!!!!!!!!!). into tomcat it not possible  use ejbs............. i have to manage the concurrency for the operations on db............... with a method static i can get the only instance of singleton for manage all operation on database. I get a instance of it into multiple servlet. ... (the class singleton is not a Ejb!!!!!!!!!). into tomcat it not possible  use ejbs............. i have to manage the ...

 
forum_thread

embed the .odb file in tomcat webapp container

hi all new at objectdb, just wondering if i put the odb file inside tomcat webapp, how do i change the "$objectdb/db/fm.odb"? thanks ... at objectdb, just wondering if i put the odb file inside tomcat webapp, how do i change the "$objectdb/db/fm.odb"? thanks ...

 
forum_thread

Problems with Tutorials » JPA Web App (Tomcat) » NetBeans JPA Web App

I made all the tutorial about the GuestBook but at the end, though it build correctly, when trying to run it, I got: C:\...\NetBeansProjects\JavaWebAppODB\nbproject\build-impl.xml:686: The module has not been deployed. BUILD FAILED (total time: 0 seconds) Can any body please help me with this error? It seems I've done everything correctly, but I still don´t know how to solve the problem, cheers, and thank you in advance,   Alan #1 2011-04-22 20:05 I made all the tutorial about the GuestBook but at the end, though it build correctly, when trying to run it, I g ...

 
forum_thread

How to resolve 404 errors with Eclipse/Maven Spring MVC

I have created a project as guided by www.objectdb.com/tutorial/jpa/eclipse/spring/run. When I abandon eclipse and use the maven command line to deploy this Spring MVC web app to jetty and point my browser to localhost:8080/Guestbook/ it works as your tutorial says! ... Juno (eclipse-jee-juno-SR1-win32-x86_64), maven 3 and Tomcat 6 to create a new maven project (with a dynamic web facet) and add Tomcat 6 as a server, it asks me if I want to move my guestbook app with the ...

 
tutorial

Step 7: Run the Spring Web App

Shows how to run the Eclipse Spring MVC JPA web application.... page = "guest.html" / > If Tomcat 6.0 is installed as a server in your Eclipse - you can run the ... Run As > Run on Server , selecting the Tomcat 6.0 server and clicking Finish . To ... To enable on the fly automatic enhancement (weaving) in Tomcat it has to be run with ObjectDB as a Java agent ( ...

 
tutorial

JPA Web App Tutorial - IntelliJ Project

Opening a JPA Maven web application project in the IntelliJ IDEA.... File > Settings > Application Servers . Add Tomcat 6 Server if not set already (Tomcat has to be downloaded separately). Define Run ...

 
tutorial

Java EE 6 JPA Tutorial - IntelliJ Project

Opening a Java EE 6 JPA Maven web application project in the IntelliJ IDEA.... File > Settings > Application Servers . Add Tomcat 6 Server if not set already (Tomcat has to be downloaded separately). Define Run Configuration: ...

 
tutorial

Spring MVC JPA Tutorial - IntelliJ Project

Opening a Spring MVC JPA Maven web application project in the IntelliJ IDEA.... File > Settings > Application Servers . Add Tomcat 6 Server if not set already (Tomcat has to be downloaded separately). Define Run Configuration: ...