- This topic has 2 replies, 2 voices, and was last updated 13 years, 1 month ago by ssquire.
-
AuthorPosts
-
ssquireMemberI basically have 2 questions:
1. When I perform the tutorial I get the 1st screen up which says JavaServer Faces & has a button underneath stating “View Userlogintbls”. The problem comes when I click the button. I then get the following error:
HTTP Status 500 –
——————————————————————————–
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: org.hibernate.exception.GenericJDBCException: Cannot open connection
javax.faces.webapp.FacesServlet.service(FacesServlet.java:321)
com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)
com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)
org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:113)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)root cause
What do you think is happening? This is a pretty simple tutorial.
2. How do I change the 1st page that’s coming up, with the “view userlogintbl” button, to a different 1st page? I’ve already tried changing the “welcome-file-list” parameter in my web.xml file.
My installation details are below:
*** Date:
Friday, October 7, 2011 9:56:33 PM EDT** System properties:
OS=WindowsVista
OS version=6.1.0
Java version=1.6.0_13*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 9.1
Build id: 9.1-20110701*** Eclipse details:
MyEclipse for SpringVersion: 9.1.0
Build ID: 9.1.0 Build 10 (110630_1845)
Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Users\ssquire\AppData\Local\Genuitec\MyEclipse for Spring 9\myeclipseforspring.exe
-name
Myeclipseforspring
–launcher.library
C:\Users\ssquire\AppData\Local\Genuitec\MyEclipse for Spring 9\../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_3.2.0.v201103301700\eclipse_3215.dll
-startup
C:\Users\ssquire\AppData\Local\Genuitec\MyEclipse for Spring 9\../Common/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-install
C:\Users\ssquire\AppData\Local\Genuitec\MyEclipse for Spring 9
-configuration
C:\Users\ssquire\AppData\Local\Genuitec\MyEclipse for Spring 9\configuration
-vm
C:\Users\ssquire\AppData\Local\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\client\jvm.dll
cconwayMemberHopefully you’ve worked through this issue, but in case you haven’t it is likely that your database server isn’t running, or a connection parameter is incorrect.
If you’re using the Derby that comes pre-configured with MyEclipse, make sure it’s running by
opening the Servers tab and starting the MyEclipse Derby server. If you’re using another database, make sure you can test the connection to that database in the database connection wizard used to create/edit the connection.I see you asked the default page question in this other post, please let me know if the suggestion there helps you:
https://www.genuitec.com/forums/topic/change-default-page-for-spring-crud-scaffolding/
ssquireMemberThanks Cindy. Everything’s working at this point and I’m pressing forward. I appreciate your attentiveness.
-
AuthorPosts