hi,
i am bulging with a strange problem when trying to set up my SessionFactory:
<code>
logger.info("instanciating SessionController");
commonClasses = new Class[] {
org.xinity.base.XinityBaseObject.class,
org.xinity.base.XinityBaseUser.class,
org.xinity.base.XinityBaseGroup.class
Configuration cfg = new Configuration();
// adding common persistent classes
for (int i = 0; i < commonClasses.length; i++) {
cfg.addClass(commonClasses[i]);
}
...
new SchemaUpdate(cfg).execute(false);
SessionFactory sessions = cfg.buildSessionFactory();
</code>
When I run this code I sometimes! get the error:
<error>
11:15:30,744 INFO Configuration:283 - Mapping resource: org/xinity/base/XinityBaseObject.hbm.xml
11:15:51,814 ERROR Configuration:259 - Could not configure datastore from input stream
org.dom4j.DocumentException: Connection timed out: connect Nested exception: Connection timed out: connect
at org.dom4j.io.SAXReader.read(SAXReader.java:358)
...
</error>
Do you have an idea what the SAXParsers problem is? What is he trying to connect to? The file? I don't think it has s.th. to do with file-locking by eclipse/ant because I experienced the problem even if i checked file-lock right before starting server.
thanks alot
marie
Code:
Code: