Joined: Wed Sep 28, 2005 6:33 am Posts: 1
|
I have a stand alone application that it's launched every night, randomly some days appear an error when it's launched. The error it's like when i have a the network down.
In the night this script it's launched 4 times in sequence and only the first excecution have this error... the other 3 are ok!...
A name resolution problem of hibernate.sourceforge.net the first execution?
Ideas?
Thanks!
Matteo
Hibernate version:
3.0.1
Debug level Hibernate log excerpt:
Exception in thread "main" org.hibernate.MappingException: Error reading resource: com/myprojext/beans/mapping/NameMapping.hbm.xml
at org.hibernate.cfg.Configuration.addResource(Configuration.java:449)
at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1313)
at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1285)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1267)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1234)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1162)
at com.gullivertown.dbupdate.DbOnlineInstance.connect(DbOnlineInstance.java:28)
at com.gullivertown.importer.ParseTerminalDb.<init>(ParseTerminalDb.java:48)
at com.gullivertown.launcher.Launcher.main(Launcher.java:95)
Caused by: org.hibernate.MappingException: org.dom4j.DocumentException: hibernate.sourceforge.net Nested exception: hibernate.sourceforge.net
at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:405)
at org.hibernate.cfg.Configuration.addResource(Configuration.java:446)
... 8 more
Caused by: org.dom4j.DocumentException: hibernate.sourceforge.net Nested exception: hibernate.sourceforge.net
at org.dom4j.io.SAXReader.read(SAXReader.java:353)
at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:395)
... 9 more
|
|