I need to use Hibernate (last version) on a host, but with my very simple application on my pc I don't have problem while I deploy it on web host I've this error:
2006-07-25 13:35:07,577 [ERROR] Dbhsql.HibernateUtil -
Could not parse configuration: /home/hostingjava.it/sviluppo/WEB-INF/classes/hibernate.cfg.xml
org.hibernate.HibernateException: Could not parse configuration: /home/hostingjava.it/sviluppo/WEB-INF/classes/hibernate.cfg.xml
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1376)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1344)
at Dbhsql.HibernateUtil.<clinit>(HibernateUtil.java:48)
at backoffice.utenti.Autenticazione.aggRoot(Autenticazione.java:75)
at backoffice.utenti.Autenticazione.<init>(Autenticazione.java:31)
.
.
.
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.dom4j.DocumentException: access denied (java.io.FilePermission /usr/local/tomcat/apache-tomcat-5.5.12/work/Catalina/localhost/-sviluppo/loader/META-INF write) Nested exception: access denied (java.io.FilePermission /usr/local/tomcat/apache-tomcat-5.5.12/work/Catalina/localhost/-sviluppo/loader/META-INF write)
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1366)
... 39 more
I use HibernateUtil, the same of the tutorial
Why ?
Thanks!!
|