yandex-qatools / embedded-services

Embedded MongoDB/PostgreSQL for your tests
Other
39 stars 8 forks source link

how can i prefix?? #8

Closed sleepphoenix closed 8 years ago

sleepphoenix commented 8 years ago

this is not working... What's the problem???

try { postgres = new PostgresEmbeddedService("127.0.0.1", 54322, "", "", "MyDb", "/Users/minek-admin/workspace/database", true, 10000); postgres.start(); }catch(Exception e) { System.err.println("Start Error = " + e.getLocalizeMessage()); }

Result : ==================================

log4j:WARN No appenders could be found for logger (ru.yandex.qatools.embed.service.PostgresEmbeddedService). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Extract /Users/minek-admin/.embedpostgresql/postgresql-9.5.0-1-osx-binaries.zip START ......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Extract /Users/minek-admin/.embedpostgresql/postgresql-9.5.0-1-osx-binaries.zip DONE Start Error = null Exception in Application constructor Exception in thread "main" java.lang.RuntimeException: Unable to construct Application instance: class com.p3ec.spectrum.XerPrismSpectrum at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:907) at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$152(LauncherImpl.java:182) at com.sun.javafx.application.LauncherImpl$$Lambda$2/2088051243.run(Unknown Source) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$158(LauncherImpl.java:819) at com.sun.javafx.application.LauncherImpl$$Lambda$48/284535155.run(Unknown Source) at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$172(PlatformImpl.java:326) at com.sun.javafx.application.PlatformImpl$$Lambda$49/961216178.run(Unknown Source) at com.sun.javafx.application.PlatformImpl.lambda$null$170(PlatformImpl.java:295) at com.sun.javafx.application.PlatformImpl$$Lambda$51/1842210202.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$171(PlatformImpl.java:294) at com.sun.javafx.application.PlatformImpl$$Lambda$50/877171107.run(Unknown Source) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)