ObjectDB Database Search
1-50 of 68 resultsStep 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 ... package name should be guest. Click Finish to create the new servlet class. Now replace the content
|
|
Step 4: Add a Servlet Class
In this step we will add a servlet to manage guestbook web requests: Open the [Create Servlet ... New Other... Web Servlet and clicking Next . The Java package name should be guest ... to create the new servlet class. Now replace the content of the new source file with the following code
|
|
Potential ObjectDB bug
. servlet .http.HttpServlet.service(HttpServlet.java:790) [jboss- servlet -api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at io.undertow. servlet .handlers.ServletHandler.handleRequest(ServletHandler.java:85) [undertow- servlet -1.1.0.Final.jar:1.1.0.Final] at io.undertow. servlet .handlers.FilterHandler
|
|
Step 6: Set the Spring XML
of the Spring dispatcher servlet to the web.xml configuration file and to configure that servlet using ... of the web.xml file with the following new content: spring org.springframework.web. servlet ... to the Spring dispatcher servlet . Additional spring configuration is set in another XML file
|
|
Step 6: Set the Spring XML
of the Spring dispatcher servlet to the web.xml configuration file and to configure that servlet using ... : spring org.springframework.web. servlet .DispatcherServlet 2 spring *.html 30 index.jsp The settings above routes web requests with .html suffix to the Spring dispatcher servlet . Additional spring
|
|
Spring + Maven + persitence.xml
org.springframework.web. servlet .FrameworkServlet.processRequest(FrameworkServlet.java:894) org.springframework.web. servlet .FrameworkServlet.doGet(FrameworkServlet.java:778) javax. servlet .http.HttpServlet.service(HttpServlet.java:621) javax. servlet .http.HttpServlet.service(HttpServlet.java:722) root
|
|
Database is erased after deploying a new web application version
.glassfish.jersey. servlet .WebComponent.service(WebComponent.java:399) at org.glassfish.jersey. servlet .ServletContainer.service(ServletContainer.java:381) at org.glassfish.jersey. servlet .ServletContainer.service(ServletContainer.java:344) at org.glassfish.jersey. servlet .ServletContainer.service
|
|
javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getPropertyName
;Glassfish3.0.1 objectdb-2.2.5_10 JavaEE6 web app The error reports as: javax. servlet .ServletException ... it. The Glassfish3.01 log stacktrace is: WARNING: StandardWrapperValve[Faces Servlet ]: PWC1406: Servlet .service() for servlet Faces Servlet threw exception javax.validation.ValidationException: Annotated methods
|
|
Multiple inputs not supported on WHERE ?
. servlet .mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle ... . servlet .mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod ... . servlet .mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter
|
|
Glassfish 4 AbstractMethodError: com.objectdb.jpa.EMF.createEntityManager
:946) at org.glassfish.jersey. servlet .WebComponent.service(WebComponent.java:323) at org.glassfish.jersey. servlet .ServletContainer.service(ServletContainer.java:372) at org.glassfish.jersey. servlet .ServletContainer.service(ServletContainer.java:335) at org.glassfish.jersey. servlet .ServletContainer
|
|
How to Use a SF with extended Persistence Context?
(GuestServlet.java:40) [classes:] at javax. servlet .http.HttpServlet.service(HttpServlet.java:754) [jboss- servlet -api_3.0_spec-1.0.0.Final.jar:1.0.0.Final] at javax. servlet .http.HttpServlet.service(HttpServlet.java:847) [jboss- servlet -api_3.0_spec-1.0.0.Final.jar:1.0.0.Final] at org.apache.catalina.core
|
|
ObjectDB throws `NullPointerException` in internal code (`com.objectdb.o.ENH.b`)
.flow.server.VaadinServlet.service(VaadinServlet.java:398) at jakarta. servlet .http.HttpServlet.service(HttpServlet.java:614) at org.eclipse.jetty.ee10. servlet .ServletHolder$NotAsync.service(ServletHolder.java:1385) at org.eclipse.jetty.ee10. servlet .ServletHolder
|
|
Step 3: Add a Context Listener Class
source file with the following code: package guest; import javax.persistence.*; import javax. servlet ... an application scope attribute in the servlet context - when the web application starts ... is adding a servlet class that will manage the guestbook page.
|
|
Step 1: Create a Maven Web Project
.transaction jta 1.1 javax. servlet servlet -api 2.5 provided javax. servlet .jsp jsp-api 2.1 provided org
|
|
Step 1: Create a Maven Web Project
; javax. servlet servlet -api 2.5 provided javax. servlet .jsp jsp-api 2.1 provided
|
|
JPA Tutorials
Java, including Servlets , JSP and HTML. The first tutorial demonstrates a simple JPA web application with a Servlet and a JSP: JPA Web Application Tutorial This web application does not use EJB, so you should be able to run it on any servlet container (e.g. Apache Tomcat, Jetty, etc.), as well as
|
|
Step 3: Define an EJB Session Bean
application servers such as GlassFish and JBoss, and not by servlet containers, such as Tomcat and Jetty ... class and injects an instance of the EJB class into the servlet (as shown in the next step ... transaction begin and commit . The next step is adding a Servlet Class that will serve as the application controller.
|
|
Query Method NullPointerException on List iteration
) ~[spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE] at org.springframework.web. servlet .mvc.method.annotation ... -webmvc-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.web. servlet .mvc.method.annotation ... .6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.web. servlet .mvc.method.annotation
|
|
NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1
(ProxyInvocationHandler.java:72) ejb.PersonBeanLocal$$$view66.create(Unknown Source) servlet .TestServlet.processRequest(TestServlet.java:68) servlet .TestServlet.doGet(TestServlet.java:107) javax. servlet .http.HttpServlet.service(HttpServlet.java:734) javax. servlet .http.HttpServlet.service(HttpServlet.java:847) org
|
|
Step 4: Add a Controller Class
: package guest; import javax. servlet .http.HttpServletRequest; import org.springframework.beans.factory ... .web.bind.annotation.RequestMapping; import org.springframework.web. servlet .ModelAndView; @Controller
|
|
Step 4: Add a Controller Class
replace the content of the new source file with the following code: package guest; import javax. servlet ... ; import org.springframework.web. servlet .ModelAndView; @Controller public class GuestController
|
|
Guessbook tutorial: Java EE 6 JPA Tutorial - Maven Project
) at javax. servlet .http.HttpServlet.service(HttpServlet.java:688) at javax. servlet .http.HttpServlet ... : StandardWrapperValve[GuestServlet]: PWC1406: Servlet .service() for servlet GuestServlet threw exception ... (GuestServlet.java:36) at javax. servlet .http.HttpServlet.service(HttpServlet.java:688) at javax. servlet .http
|
|
Felix, rollback exception, error 613
) at javax. servlet .http.HttpServlet.service(HttpServlet.java:618) at javax. servlet .http.HttpServlet.service(HttpServlet.java:725) at org.apache ... (DispatcherServlet.java:49) at javax. servlet .http.HttpServlet.service(HttpServlet
|
|
Error reading UTF string
.ajax.cpr.RAServlet.doPost(RAServlet.java:94) [reverse.ajax.jar:] at javax. servlet .http.HttpServlet.service(HttpServlet.java:754) [jboss- servlet -api_3.0_spec-1.0.0.Final.jar:1.0.0.Final] at javax. servlet .http.HttpServlet.service(HttpServlet.java:847) [jboss- servlet -api_3.0_spec-1.0.0.Final.jar:1.0.0
|
|
TemporalType injection with Calendar using JPA
.container. servlet .WebComponent.service(WebComponent.java:414) at com.sun.jersey.spi.container. servlet .ServletContainer.service(ServletContainer.java:537) at com.sun.jersey.spi.container. servlet .ServletContainer.service(ServletContainer.java:699) at javax. servlet .http.HttpServlet.service(HttpServlet
|
|
Java EE Web Tutorial
. If you need a web application that can run on a simple servlet container (such as Tomcat or Jetty
|
|
Step 5: Add a JSP Page
that have already signed (which are retrieved from the request's "guests" attribute that is set by the servlet in
|
|
Step 6: Run the Java EE 6 Application
You can run the application now by right clicking the GuestServlet node (in the [Projects] window), selecting Run File , and then clicking OK (no need to change the servlet execution URI). Since we are using ObjectDB in embedded mode - the database file is created
|
|
Step 6: Run the Web Application
You can run the application now by right clicking the GuestServlet node (in the [Projects] window), selecting Run File , and then clicking OK (no need to change the servlet execution URI). Since we are using ObjectDB in embedded mode - the database file is created under the Tomcat directory
|
|
Step 5: Add a JSP Page
that have already signed (which are retrieved from the request's "guests" attribute that is set by the servlet in
|
|
Step 5: Add a JSP Page
from the request's "guests" attribute that is set by the servlet in the previous step). The next step
|
|
WebSphere Liberty Configuration
(EJSLocalNSLGuestDao_93abe9c6.java) at guest.GuestServlet.doGet(GuestServlet.java:24) at javax. servlet .http.HttpServlet.service(HttpServlet.java:687) at javax. servlet .http.HttpServlet.service(HttpServlet.java:790) at com.ibm.ws.webcontainer. servlet .ServletWrapper.service(ServletWrapper.java:1287
|
|
ObjectDB License Error I got
=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration server. servlet .encoding.charset=UTF-8 server. servlet .encoding.enabled=true server. servlet .encoding.force=true spring.jpa.open-in
|
|
Cannot initialize db after inserting a java.util.List
, but whenever I access the db through a servlet container I get this error: objectdb.java.util.ArrayList ... ) at org.mortbay.jetty. servlet .Context.startContext(Context.java:136) at org.mortbay.jetty.webapp ... ) at org.mortbay.jetty. servlet .Context.startContext(Context.java:136) at org.mortbay.jetty.webapp
|
|
Web Framework Recommendation for leveraging JPA + ObjectDB
web applications are: Servlet container (Tomcat / Jetty) with servlets and JSPs. Java EE application ... with either a servlet container or an application server. These 3 options are demonstrated in ObjectDB tutorials
|
|
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 ... .springframework.web. servlet .DispatcherServlet noHandlerFound WARNING: No mapping found for HTTP request ... .springframework.web. servlet .DispatcherServlet noHandlerFound WARNING: No mapping found for HTTP request
|
|
@Unique member combination not working
an existing value (('John','Doe')) support Support Thanks, it worked. I was using servlet context because I ... in the servlet context. Maybe you had an old EntityManagerFactory in the servlet context
|
|
Online backup problem
Hi, We are trying to create a servlet that performs database online backup. Unfortunately, even though no exception is thrown, backup files aren't created. When I turn on DEBUG logging in ODB, I ... the backup. support Support This is the code I used in my servlet : EntityManagerFactory emf = null;  
|
|
Mismatch client-server protocol prefix
.[.[.[/].[dispatcherServlet] : Servlet .service() for servlet [dispatcherServlet] in
|
|
Spring Data JPA
.ManagerServlet.doGet(ManagerServlet.java:353) at javax. servlet .http.HttpServlet.service(HttpServlet.java:621) at javax. servlet .http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core
|
|
can't get HashMap out of the database
; new String[] { "spring- servlet .xml" });   ... ; new String[] { "spring- servlet .xml" }); guestDao = context.getBean
|
|
Problems using Maven Repo
; javax. servlet   ... ; geronimo- servlet _3.0_spec  
|
|
error 990 ?
. servlet .mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:414) at org.springframework.web. servlet .mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:402) at org.springframework.web. servlet .DispatcherServlet
|
|
InvalidClassException
(SeaLogApiService.java:275) at com.spiffymap.mvp.server. servlet .JsonServlet.respond(JsonServlet.java:187) at com.spiffymap.mvp.server. servlet .JsonServlet.handle(JsonServlet.java:122) at com.spiffymap.mvp.server. servlet .JsonServlet.doGet(JsonServlet.java:427) at javax. servlet .http.HttpServlet.service
|
|
Internal error
.naviupdate.server.NaviupdaterServlet.init(NaviupdaterServlet.java:1144) at javax. servlet .GenericServlet.init(GenericServlet.java:244) at org.eclipse.jetty. servlet .ServletHolder.initServlet(ServletHolder.java:637) at org.eclipse.jetty. servlet .ServletHolder.initialize(ServletHolder.java:421) at org.eclipse
|
|
Error in production. Failed to commit transaction: Unexpected database state: BTree -152 is not found
2014-06-16 11:52:26,684 ERROR cl.intelidata. servlet .Fact .respondeRut (122 ): Unexpected internal ... .java:133) at java.lang.Thread.run(Unknown Source) 2014-06-16 11:52:26,686 ERROR cl.intelidata. servlet ... ) at cl.intelidata. servlet .Read.actualizaLectura(Read.java:143) at cl.intelidata. servlet .Read.doGet(Read
|
|
Server crash - Mismatch client-server protocol prefix
.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax. servlet .http.HttpServlet.service(HttpServlet.java:722) at org.apache.jasper. servlet .JspServletWrapper.service(JspServletWrapper.java:432) at org.apache.jasper. servlet .JspServlet.serviceJspFile(JspServlet.java:390) at org.apache.jasper. servlet
|
|
ArrayIndexOutOfBounds with Critera API and function call
we get this: 11:20:06,538 ERROR .. Servlet .service() for servlet .. threw exception: java.lang ... no longer comes, however the method is not found, he now says when executing: 15:20:03,104 ERROR Servlet .service() for servlet UIApplication threw exception: com.objectdb.o.UserException: Method 'getAge
|
|
NullPointerException on TreeSet load
: Servlet .service() for servlet [web.TimelinesServlet] in context with path [/Timelines] threw exception ... (TimelinesServlet.java:207) at web.TimelinesServlet.doGet(TimelinesServlet.java:71) at javax. servlet .http.HttpServlet.service(HttpServlet.java:634) at javax. servlet .http.HttpServlet.service(HttpServlet
|
|
Unexpected exception (Error 990) - NullPointerException
) at javax. servlet .http.HttpServlet.service(HttpServlet.java:707) at javax. servlet .http.HttpServlet
|