Hello , i am beginner to sgs, and i was trying to follow the instruction of jeff about running the sgs 0.9 in eclipse,
the problem was that when i put just the two sgs config paths parameters in
the VM the run cut by exception that there is no main class, (and i set the main class to the kernel of sgs),
so i had to the first parameter the kernel class path the second parameter to the helloworld properties ,
and the two other to sgs config paths (all in VM Arguments)
(i am working under windows 2000)
this is what i got :
15/04/2007 08:44:00 com.sun.sgs.impl.kernel.Kernel
INFO: The Kernel is ready, version: 0.9.1-r2129
15/04/2007 08:44:00 com.sun.sgs.impl.kernel.Kernel startupApplication
SEVERE: Could not setup service
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.sun.sgs.impl.kernel.Kernel.createService(Kernel.java:438)
at com.sun.sgs.impl.kernel.Kernel.setupService(Kernel.java:455)
at com.sun.sgs.impl.kernel.Kernel.startupApplication(Kernel.java:327)
at com.sun.sgs.impl.kernel.Kernel.main(Kernel.java:651)
Caused by: java.lang.UnsatisfiedLinkError: no libdb_java45 in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.sleepycat.db.internal.db_javaJNI.(db_javaJNI.java:35)
at com.sleepycat.db.internal.DbEnv.(DbEnv.java:213)
at com.sleepycat.db.EnvironmentConfig.createEnvironment(EnvironmentConfig.java:932)
at com.sleepycat.db.EnvironmentConfig.openEnvironment(EnvironmentConfig.java:885)
at com.sleepycat.db.Environment.(Environment.java:30)
at com.sun.sgs.impl.service.data.store.DataStoreImpl.getEnvironment(DataStoreImpl.java:531)
at com.sun.sgs.impl.service.data.store.DataStoreImpl.(DataStoreImpl.java:434)
at com.sun.sgs.impl.service.data.DataServiceImpl.(DataServiceImpl.java:208)
… 8 more
Exception in thread “main” java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.sun.sgs.impl.kernel.Kernel.createService(Kernel.java:438)
at com.sun.sgs.impl.kernel.Kernel.setupService(Kernel.java:455)
at com.sun.sgs.impl.kernel.Kernel.startupApplication(Kernel.java:327)
at com.sun.sgs.impl.kernel.Kernel.main(Kernel.java:651)
Caused by: java.lang.UnsatisfiedLinkError: no libdb_java45 in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.sleepycat.db.internal.db_javaJNI.(db_javaJNI.java:35)
at com.sleepycat.db.internal.DbEnv.(DbEnv.java:213)
at com.sleepycat.db.EnvironmentConfig.createEnvironment(EnvironmentConfig.java:932)
at com.sleepycat.db.EnvironmentConfig.openEnvironment(EnvironmentConfig.java:885)
at com.sleepycat.db.Environment.(Environment.java:30)
at com.sun.sgs.impl.service.data.store.DataStoreImpl.getEnvironment(DataStoreImpl.java:531)
at com.sun.sgs.impl.service.data.store.DataStoreImpl.(DataStoreImpl.java:434)
at com.sun.sgs.impl.service.data.DataServiceImpl.(DataServiceImpl.java:208)
… 8 more
Thanks in advance,
lior