After hard coding the path to the mapping dtd, I was able to get the application to make it further. I guess as a resolution, I could host the DTD files on our web server, change the SYSTEM back to public and point the hibernate.cfg.xml file to that.
Now I am getting this error. I have no idea what it means and now idea of how to fix it. Anyone know?
Code:
12:32:23,288 INFO Environment:479 - Hibernate 3.1
12:32:23,335 INFO Environment:509 - hibernate.properties not found
12:32:23,335 INFO Environment:525 - using CGLIB reflection optimizer
12:32:23,335 INFO Environment:555 - using JDK 1.4 java.sql.Timestamp handling
12:32:23,850 INFO Configuration:1286 - configuring from resource: /hibernate.cfg.xml
12:32:23,850 INFO Configuration:1263 - Configuration resource: /hibernate.cfg.xml
12:32:24,288 INFO Configuration:468 - Reading mappings from resource: chgRequests/TaskForm.hbm.xml
12:32:24,710 INFO HbmBinder:265 - Mapping class: chgRequests.TaskForm.TaskForm -> change_request
12:32:24,866 INFO Configuration:1397 - Configured SessionFactory: null
12:32:24,866 INFO Configuration:1022 - processing extends queue
12:32:24,866 INFO Configuration:1026 - processing collection mappings
12:32:24,866 INFO Configuration:1035 - processing association property references
12:32:24,866 INFO Configuration:1057 - processing foreign key constraints
12:32:25,397 INFO DriverManagerConnectionProvider:41 - Using Hibernate built-in connection pool (not for production use!)
12:32:25,397 INFO DriverManagerConnectionProvider:42 - Hibernate connection pool size: 20
12:32:25,397 INFO DriverManagerConnectionProvider:45 - autocommit mode: false
12:32:25,413 INFO DriverManagerConnectionProvider:80 - using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost:3306/configmanagement
12:32:25,413 INFO DriverManagerConnectionProvider:86 - connection properties: {user=web, password=****}
12:32:25,960 INFO SettingsFactory:77 - RDBMS: MySQL, version: 5.0.15-nt
12:32:25,960 INFO SettingsFactory:78 - JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-3.1.12 ( $Date: 2005-11-17 15:53:48 +0100 (Thu, 17 Nov 2005) $, $Revision$ )
12:32:26,210 INFO Dialect:103 - Using dialect: org.hibernate.dialect.MySQLInnoDBDialect
12:32:26,257 INFO TransactionFactoryFactory:31 - Using default transaction strategy (direct JDBC transactions)
12:32:26,272 INFO TransactionManagerLookupFactory:33 - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
12:32:26,272 INFO SettingsFactory:125 - Automatic flush during beforeCompletion(): disabled
12:32:26,272 INFO SettingsFactory:129 - Automatic session close at end of transaction: disabled
12:32:26,272 INFO SettingsFactory:136 - JDBC batch size: 15
12:32:26,272 INFO SettingsFactory:139 - JDBC batch updates for versioned data: disabled
12:32:26,288 INFO SettingsFactory:144 - Scrollable result sets: enabled
12:32:26,288 INFO SettingsFactory:152 - JDBC3 getGeneratedKeys(): enabled
12:32:26,288 INFO SettingsFactory:160 - Connection release mode: auto
12:32:26,288 INFO SettingsFactory:184 - Maximum outer join fetch depth: 2
12:32:26,288 INFO SettingsFactory:187 - Default batch fetch size: 1
12:32:26,288 INFO SettingsFactory:191 - Generate SQL with comments: disabled
12:32:26,288 INFO SettingsFactory:195 - Order SQL updates by primary key: disabled
12:32:26,288 INFO SettingsFactory:338 - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
12:32:26,319 INFO ASTQueryTranslatorFactory:21 - Using ASTQueryTranslatorFactory
12:32:26,319 INFO SettingsFactory:203 - Query language substitutions: {}
12:32:26,319 INFO SettingsFactory:209 - Second-level cache: enabled
12:32:26,319 INFO SettingsFactory:213 - Query cache: disabled
12:32:26,319 INFO SettingsFactory:325 - Cache provider: org.hibernate.cache.EhCacheProvider
12:32:26,335 ERROR [action]:253 - Servlet.service() for servlet action threw exception
java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.hibernate.cfg.SettingsFactory.createCacheProvider(SettingsFactory.java:327)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:219)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
at chgRequests.SaveTask.execute(SaveTask.java:18)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)