Internal Website Search

51-100 of 200 results

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

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

Database is erased after deploying a new web application version

Hello, I'm a new ObjectDB user and currently working on a Java web application that's running within Tomcat and uses ObjectDB. Each time I upload a new version of the web ... )? If the database is located in a directory that is cleaned by the web server on every new deployment

Problem undeploying Glassfish3.1.1 web application cleanly

objectdb-2.3.7_18 When I undeploy a Glassfish3.1.1 web application when using @PersistenceContext ... yet been started, or was already stopped at org.glassfish. web .loader.WebappClassLoader.loadClass(WebappClassLoader.java:1411) at org.glassfish. web .loader.WebappClassLoader.loadClass(WebappClassLoader.java:1369

New Web Application Tutorials

New ObjectDB/JPA tutorials have been published today: Eclipse/JPA Web Application Tutorial NetBeans/JPA Web Application Tutorial The new tutorials demonstrate how to build a simple database driven web application using ObjectDB and JPA. Understanding these tutorials requires some familiarity

How find out ObjectDB version at runtime (in a web app)

Am getting inconsistent results with the "objectdb.temp.no-enhancement-crc-check" system property of objectdb-2.6.9_02 in a Glassfish web app. Can see correct version of objectdb-2.6.9_02 in /build/ web / WEB -INF/lib. When one runs the enhancer (which I am doing post-compile, pre-deploy

Web Framework Recommendation for leveraging JPA + ObjectDB

like ObjectDB, for instance. Immediately the following question pops up: Which Web Framework supports ... + ObjectDB" couple successfully in conjunction with a contemporary Web Framework ? Any hints ... web applications are: Servlet container (Tomcat / Jetty) with servlets and JSPs. Java EE application

Compile time enhancement using build.xml of a Netbeans web application

of a Netbeans web application project to specify ObjectDB compile time enhancement, for both single ... a Netbeans web application build.xml works for an entire build:         ... and does not execute the -post-compile-single Ant task in the usual Java web app build.xml. However, I

What are the steps of creating small web app?

Hello guys, I have a question about creating small new web application, I am almost done with researching and studying and I have covered all the important concepts e.g. # Starting from web technologies: HTML, CSS, JS, JQuery. # Moving to Java Technologies:  Core Java, Servlet, Managed Beans

Does ObjectDB create one instance of each entity class on (web app) load ?

ObjectDB: 2.7.1_06 [EDIT: Glassfish4.1.1 or Payara payara-4.1.2-174] I have been profiling a large web app with the NetBeans 8.2 Profiler. I can see that exactly one instance of each entity is present in memory, at web app startup, before I've loaded anything, and they won't garbage collect

Undeploying Glassfish web application does not disconnect from ObjectDB

Glassfish3.1.1 Netbeans7.1 ObjectDB 2.3.7_19 If I deploy a web application to Glassfish using ObjectDB as JPA provider, then undeploy, I can't access the database file in the ObjectDB explorer ... ObjectDB in embedded mode? Apparently undeploying a web application from GlassFish doesn't close

Unable to run NetBeans/JPA Web Application Tutorial

I followed each and every step of NetBeans/JPA Web Application Tutorial but when i am trying to run the web application the following error is prompted on the run console: Start is in progress... start?path=/GuestBook FAIL - Application at context path /GuestBook could not be started C:\GuestBook

Your Glassfish example on the web

Hi, I'm doing a school project with objectdb and glassfish. I have tried your web tutorial "Java EE JPA (Glassfish) with Netbeans". When I try to run the example and add an entry in the guestbook, it throws this exception: com.objectdb.o._PersistenceException: Attempt to obtain a connection from

ObjectDB License

and laptops of employees in that workplace. Servers that are leased or rented from third party web hosting and/or cloud hosting companies (including shared web hosting and VPS), if the hosted

Server Configuration

to the document root directory of a web server. Every database file in the data directory and in

Database Connection using JPA

connections during their lifetime. For instance, in a web application it is common to establish a separate

Online Backup

in applications that provide round the clock service (24/7/365) such as most web applications

Problem upgrading

. It's generating endless log files. I had to turn up Xmx to even see it before the JVM crashes. (Our web ... :1.3.0.RELEASE] at org.springframework. web .filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring- web -4.2.3.RELEASE.jar:4.2.3.RELEASE] at org.apache.catalina.core

Query Method NullPointerException on List iteration

.invoke(Method.java:564) ~[na:na] at org.springframework. web .method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) ~[spring- web -5.2.5.RELEASE.jar:5.2.5.RELEASE] at org.springframework. web .method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138

JBoss 7 startup fails

Hi, I was having a go with entity beans 3.x jboss 7, objectdb and the guestbook web application ... The WebContent/ WEB -INF/lib dir contains:     objectdb-jee.jar The WebContent/ WEB -INF/ web .xml ... .deployment] (DeploymentScanner-threads - 1) Found Guestbook_ObjectDB_ web .war in deployment directory

Spring + Maven + persitence.xml

):   org.springframework. web .util.NestedServletException: Request processing failed; nested ... org.springframework. web .servlet.FrameworkServlet.processRequest(FrameworkServlet.java:894) org.springframework. web .servlet.FrameworkServlet.doGet(FrameworkServlet.java:778) javax.servlet.http

Pre-detach loading: retrieval by navigation not working in if statement

: objectdb.temp.no-detach NOT USED This problems only seems to occur in my large web application ... web application parallel to the large web application, but the problem does not happen in the smaller web application (as I will demonstrate below), so there is no point making that available

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

classes are crucial to an Expert System web app I develop; please do not be further concerned ... here have been recorded carefully at every step, including Git tracking and tracking in a CMS web system. - I have used both a console test app and a NetBeans web app in Glassfish; the initial report

Potential ObjectDB bug

.apache.shiro. web .servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) [shiro- web -1.2.1.jar:1.2.1] at org.apache.shiro. web .servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) [shiro- web -1.2.1.jar:1.2.1] at org.apache.shiro.subject.support.SubjectCallable.doCall

BeanCreationException in spring data JPA with objectDB

.java:425) at org.springframework. web .servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:442) at org.springframework. web .servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:458) at org.springframework. web .servlet.FrameworkServlet.initWebApplicationContext

Web Application Tutorial

A tutorial that demonstrates how to use ObjectDB in a web application should be written and added to the Tutorials section. support Support The following web tutorials are now available: JPA Web Application in Eclipse JPA Web Application in NetBeans Java EE 6 (J2EE) in Eclipse Java EE 6 (J2EE) in NetBeans support Support

JRebel integration feature

have Netbeans7.1 web applications that will not run when JRebel 4.5.3 is active in combination ... for full redeployment of large web applications that take many minutes to fully redeploy. (No, this is not an ad ... ] Part of complex stacktrace when running my web application with ObjectDB and JRebel: INFO: JRebel

How to Use a SF with extended Persistence Context?

.AbstractServerConfig] (MSC service thread 1-9) JBoss Web Services - Stack CXF Server 4.0.2.GA 13:52:02,331 INFO  ... . web ] (MSC service thread 1-2) JBAS018210: Registering web context: /Guestbook 13:52:03,173 INFO  [org.jboss. web ] (MSC service thread 1-15) JBAS018210: Registering web context: /Paltzefomat 13:52

Minor typo on web page...

Minor typo on web page...

ObjectDB within a resource adapter module and Java EE Connector Architecture

associated with it ? Example: JPA-style: 2 separate end-project web apps leverage the same EJBs, which in ... EntityManager em; The 2 web apps end up using the same persistence.xml, and thus the same ObjectDB ... (1st specific web app project, uses shared CoreWeb, CoreEJB etc.) SpecWeb2 (2nd specific web app

Problem to use find method on an abstract Class: AbstractMethodError is thrown

thread 1-13) JBoss Web Services - Stack CXF Server 4.0.2.GA 08:17:22,563 INFO [org.apache.coyote ... :17:23,452 INFO [org.jboss. web ] (MSC service thread 1-14) JBAS018210: Registering web context: /Guestbook 08:17:23,452 INFO [org.jboss. web ] (MSC service thread 1-11) JBAS018210: Registering web context

PersistenceException UserException: Failed to validate persistence.xml

more Caused by: com.objectdb.o._PersistenceException: Failed to validate xml file C:\!heatboxes- web \build\ web \ WEB -INF\classes\META-INF\persistence.xml: at com.objectdb.o._PersistenceException.b ... .UserException: Failed to validate xml file C:\!heatboxes- web \build\ web \ WEB -INF\classes\META-INF\persistence

Cannot cast com.objectdb.jpa.Provider to PersistenceProvider

(ClassLoader.java:410) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) at org.glassfish. web .loader.WebappClassLoader.loadClass(WebappClassLoader.java:1708) at org.glassfish. web .loader ... :410) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) at org.glassfish. web .loader

How force always recreate database on redeployment.

Is there some easy way to force recreation/deletion of the current database on deployment of a web application (to Glassfish). My web application uses a @Singleton @Startup bean to create and persist a test model each run. I keep getting models on top of each other on rerunning my web application

UTF Error

.getValue(ValueExpressionImpl.java:184) at org.jboss.weld.module. web .el.WeldValueExpression.getValue ... .catalina.core.StandardPipeline.invoke(StandardPipeline.java:577) at com.sun.enterprise. web .WebPipeline ... :577) at com.sun.enterprise. web .WebPipeline.invoke(WebPipeline.java:99) at org.apache.catalina.core

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

with the current report and web application, but addressing this by our support team is expected ... for users that develop web application to post web applications as examples, but since it requires ... you more ideas about what might be. zmirc Mircea Chirac Attempt to run the web application at #1 above failed

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

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:     spring       ... .springframework. web .servlet.DispatcherServlet noHandlerFound WARNING: No mapping found for HTTP request

Path in tomcat

? 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 ... a tutorial, https://www.objectdb.com/tutorial/jpa/eclipse/ web /project Now, add ObjectDB support

Eclipse/JPA Java EE Tutorial

This is the Eclipse version of the Java EE JPA tutorial. It demonstrates how to create and run a full Java EE 6 MVC (Model View Controller) web application in Eclipse - using GlassFish, ObjectDB and JPA. The demo web application manages a basic guestbook page. Every visitor

Java EE 6 JPA Tutorial - NetBeans Project

To open and run the  Java EE 6 Web Application tutorial project in NetBeans: Download and extract the project zip file: Java EE JPA Web App - Maven Project (7KB) Open the Maven project in NetBeans: Select  File Open Project... . Select the  guestbook-jee6 directory

Spring MVC JPA Tutorial - Maven Project

The  Spring MVC JPA tutorial provides step by step instructions on how to build a simple Java/JPA Spring MVC database driven web application in  Eclipse or  NetBeans . Building a new ... and install ObjectDB or a Java web server - Maven will download the ObjectDB jar and the Jetty

NetBeans/JPA Java EE Tutorial

This is the NetBeans version of the  Java EE JPA tutorial. It demonstrates how to create and run a full Java EE 6 MVC (Model View Controller) web application in NetBeans - using GlassFish, ObjectDB and JPA. The demo web application manages a basic guestbook page

Step 4: Add a Servlet Class

In this step we will add a servlet to manage guestbook web requests: Open the [Create Servlet] dialog box by right clicking the guest package node (in the [Package Explorer] window), selecting  New Other... Web Servlet and clicking  Next . The Java package name should be guest. Enter

Entity is not related to ObjectDB, but i get exception from ObjectDB

.jar:] at granat.dp. web .action.StartDialogAction.execute(StartDialogAction.java:97) [dp.transfer-1.0-SNAPSHOT.jar:1.0-SNAPSHOT] at granat.dp. web .action.AbstractEventAction.run(AbstractEventAction.java:90) [dp.transfer-1.0-SNAPSHOT.jar:1.0-SNAPSHOT] at granat.dp. web .action.StartAction.execute

Spring MVC JPA Tutorial - IntelliJ Project

+F10 ). If the browser fails to open check the settings at  File Settings Web Browsers .

Step 6: Run the Java EE 6 Application

\Guestbook\ WEB -INF ). You can stop the GlassFish server and open the database file in ObjectDB Explorer

Step 6: Run the Java EE 6 Application

under the GlassFish directory (e.g. at domains\domain1\eclipseApps\Guestbook\ WEB -INF ). You can stop the GlassFish

Step 4: Add a Servlet Class

In this step we will add a servlet to manage guestbook web requests: Open the [New Servlet] dialog box by right clicking the guest package node (in the [Projects] window) and selecting New Servlet ... Enter GuestServlet as the class name - use exactly that case sensitive class name. The Java

Step 4: Add a Servlet Class

In this step we will add a servlet to manage guestbook web requests: Open the [New Servlet] dialog box by right clicking the guest package node (in the [Projects] window) and selecting New Servlet ... Enter GuestServlet as the class name - use exactly that case sensitive class name. The Java

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

with extended Persistence Context? [EDIT: 2006-09-29 New improved version of test mini web app with test ... transaction when a transaction is active' //BUT this causes another error (although web app still runs ... AND you restart Glassfish and Clean and Build and Deploy/Run, the web app runs and will display

error 990 ?

.Method.invoke(Unknown Source) at org.springframework. web .bind.annotation.support.HandlerMethodInvoker.doInvokeMethod(HandlerMethodInvoker.java:710) at org.springframework. web .bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:167) at org.springframework. web