Joined: Sun May 08, 2011 4:28 am Posts: 1
|
org.apache.jasper.JasperException: org.hibernate.HibernateException: Could not parse configuration: /ormmapping/COLOMBOTODAY.cfg.xmll
this exception gives me sometimes in a web application on tomcat server, please help me to resolve this problem.
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: org.hibernate.HibernateException: Could not parse configuration: /ormmapping/COLOMBOTODAY.cfg.xml org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:498) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:308) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) root cause
javax.servlet.ServletException: org.hibernate.HibernateException: Could not parse configuration: /ormmapping/COLOMBOTODAY.cfg.xml org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774) org.apache.jsp.index_jsp._jspService(index_jsp.java:866) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:308) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) root cause
org.orm.PersistentException: org.hibernate.HibernateException: Could not parse configuration: /ormmapping/COLOMBOTODAY.cfg.xml model.NewsFactory.listNewsByQuery(NewsFactory.java:91) org.apache.jsp.index_jsp._jspService(index_jsp.java:201) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:308) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) root cause
org.hibernate.HibernateException: Could not parse configuration: /ormmapping/COLOMBOTODAY.cfg.xml org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1494) org.hibernate.cfg.Configuration.configure(Configuration.java:1428) org.orm.PersistentManager.<init>(PersistentManager.java:64) model.COLOMBOTODAYPersistentManager.<init>(COLOMBOTODAYPersistentManager.java:30) model.COLOMBOTODAYPersistentManager.instance(COLOMBOTODAYPersistentManager.java:40) model.NewsFactory.listNewsByQuery(NewsFactory.java:86) org.apache.jsp.index_jsp._jspService(index_jsp.java:201) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:308) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) root cause
org.dom4j.DocumentException: Error on line 16 of document : The entity name must immediately follow the '&' in the entity reference. Nested exception: The entity name must immediately follow the '&' in the entity reference. org.dom4j.io.SAXReader.read(SAXReader.java:482) org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1484) org.hibernate.cfg.Configuration.configure(Configuration.java:1428) org.orm.PersistentManager.<init>(PersistentManager.java:64) model.COLOMBOTODAYPersistentManager.<init>(COLOMBOTODAYPersistentManager.java:30) model.COLOMBOTODAYPersistentManager.instance(COLOMBOTODAYPersistentManager.java:40) model.NewsFactory.listNewsByQuery(NewsFactory.java:86) org.apache.jsp.index_jsp._jspService(index_jsp.java:201) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:308) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.30 logs.
Apache Tomcat/5.5.30
================================================================================= this is not permanent error it gives two three hours per day.
Last edited by sameera on Tue May 10, 2011 3:29 am, edited 3 times in total.
|
|