i have a problem to run configure.init() in my Jetty-container (run-jetty-run in Eclipse with Springframework )
After reaching configure.init() the client-service blocks without any notice or exception. If i run the same code in a console-java program it works.
I would expect output:
Enter init()
OK init()
Server-Version:2.6.1
Does somebody has any idea or experience with it ? Java-Driver-version is 2.5.7.
Codesnippet:
public void arangoVersion() {
try {
configure = new ArangoConfigure();
write("Enter init()");
configure.init();
write("OK init()"); // never reached :(
arangoDriver = new ArangoDriver(configure);
write("Server-Version:" + arangoDriver.getVersion().getVersion());
} catch (ArangoException ax) {
write("Arango-Exception" + ax.getErrorMessage() + " , Nr. : "
+ ax.getCode());
} catch (Exception ex) {
write("Exception" + ex.getMessage() );
}
}
public void write( String text ) {
System.out.println( text );
// for web: logger.debug( text );
}
Thanks in advance