Problems running the SGS

Thanks, will fix the instructions

JK

I have been trying to get this running in IntelliJ. Setup is very similar to Eclipse.

VM Parameters

-Djava.util.logging.config.file=/Software/sgs/sgs-logging.properties
-Dcom.sun.sgs.config.file=/Software/sgs/sgs-config.properties
-Djava.library.path=/Software/sgs/lib/bdb/win32-x86

Program Parameters

conf/LaneServer.properties

Working Dir C:\Devel\Test\LaneServer
Under that I have two directories data and conf
data/LaneServer/dsdb/
conf/LaneServer.properties

By the way C:\Software\sgs is where the SunGame Server is installed.

Main Class: com.sun.sgs.impl.kernel.Kernel

LaneServer.properties
com.sun.sgs.app.name=LaneServer
com.sun.sgs.app.root=data/LaneServer
com.sun.sgs.app.port=1139
com.sun.sgs.app.listener=com.xpertss.laneserver.LaneServer

I am using IntelliJ 6.04, JDK 1.5.0_11, on WinXP Professional

I have included all of the jars you specified but also the client jar as I am working with both server and client in this project.

When I attempt to start the server I get the following stack trace:

SEVERE: Could not setup service
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at com.sun.sgs.impl.kernel.Kernel.createService(Kernel.java:440)
at com.sun.sgs.impl.kernel.Kernel.setupService(Kernel.java:457)
at com.sun.sgs.impl.kernel.Kernel.startupApplication(Kernel.java:329)
at com.sun.sgs.impl.kernel.Kernel.main(Kernel.java:642)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
Caused by: java.lang.UnsatisfiedLinkError: C:\Software\sgs\lib\bdb\win32-x86\libdb_java45.dll: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:993)
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:553)
at com.sun.sgs.impl.service.data.store.DataStoreImpl.(DataStoreImpl.java:456)
at com.sun.sgs.impl.service.data.DataServiceImpl.(DataServiceImpl.java:205)
… 13 more

I redownloaded the server and replaced the dll just to make sure I didn’t have a corrupted file or anything… Everything works fine under eclipse but not under IntelliJ IDE…

Any guesses??

Yup. This is your problem right here:


Caused by: java.lang.UnsatisfiedLinkError: C:\Software\sgs\lib\bdb\win32-x86\libdb_java45.dll:

The system is not finding the native library.
(1) Make sure you have the above library set however you set native libraries that libraries depend on in IntelliJ

(2) You may also have to set the PATH environment variable to
C:\Other Technologies\BerkleyDB\builds\win32\Release

P.S. If you get it working, please post instructions for the community!

The startup script supports osx-x86, but the native libs for BDB are not included in the distribution. If you need them I built them and they are available here:

http://www.alienos.com/articles/2007/03/16/darkstar-the-missing-osx-libraries

So far the new API looks great!

The startup script supports Linux-x86, but the native db libraries are missing. On Fedora Core, you can install them with:

yum install db4-java

Note that this is version 4.3 and includes its own db.jar, thus change sgs.sh to read:


...
$java -Djava.library.path=/usr/share/java/db.jar \
...

I just pursuaded my Ubuntu installation to upgrade to Feisty, from there a

apt-get installl libdb4.5-java

did the job :slight_smile:

Just have to remember to stick /usr/lib in the java.library.classpath

Endolf

After a bit of a fight, I’ve managed to get deadrat RHEL4 playing too. I had to install db4_java with up2date, which puts db4.2 on, I then db4.4 from the ark distribution (rpmfind got me the initial link) here, just picked of the mirror list. extracted it with rpm2cpio and copied the lib and jar to the right places. I’m sure thats not what redhat want you to do :slight_smile:

Version 4.2 has API changes that mean SGS won’t start up.

HTH

Endolf

Thanks, we’ll try to get this fixed by the next release. meanwhile I’m going to create stickied thread for this and copy our instructions over!

Again, thanks guys!

JK

Moved to problem with HashMap

Caused by: java.lang.UnsatisfiedLinkError: C:\Software\sgs\lib\bdb\win32-x86\libdb_java45.dll: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem

If you have errors like the above it is because you do not have the .NET Framework 2.0 installed on your machine. For XP users it is MS Update (KB829019). This was not fun to try and find…

By the way. UnsatisfiedLinkError is usually the result of the DLL not being found in the PATH. If however, you get the message about Reinstalling then check your machine for msvcm80.dll via a simple file search. If you don’t have it (WinXP its in C:\WINDOWS\WinSxS) then you’ll need to go to microsoft’s update site.

Okay,

We use NONE of the .net features or APIs.

Can someone explain why then its necessary to install .slow ?

Kind of looks like MSFT is basically just making it impossible to use Windows without installing .net. :confused:

JK

Where can i find the post about how to run SGS in eclipse ?

the FAQs section. See the top of the page.

Hello,

I want to make a video game in C++ and using the Darkstar project. But I don’t undersatand how integrate a client C++ in the Darkstar project. I didn’t find any documentation about this.

Have you got a solution for me???

Thank you,

We had a C/C++ API included in the EA release and we fully intend one for the new stack. We just havent had the time to pull that together yet and, to be honest, although we know its important we have a whole bunch of even MORE important thinsg to finish like the multi-node stack.

So your options are:
(1) Call the Java API from C by using JNI. This means running a VM inside of your process. The instructions for this are all in the JNI article in the Java 5 SDK download.

(2) Once we release the open source, port it yourself. The API is pretty thin and the protocol is designed to be easily implementable in other languages such as C.

(3) Wait for us to get the free cycles to do it for you.

I am getting a timeout error when running sgs-0.9.2-r2216 - I running on OpenSolaris w/ java 1.6

bash-3.00$ ls
ClientTutorial.pdf HelloPersistence3.properties SwordWorld.properties
HelloChannels.properties HelloTimer.properties data
HelloEcho.properties HelloUser.properties logging.properties
HelloLogger.properties HelloUser2.properties src
HelloPersistence.properties HelloWorld.properties tutorial.jar
HelloPersistence2.properties ServerAppTutorial.pdf
bash-3.00$ rm -r data/HelloWorld/d*/*
bash-3.00$ java -version
java version “1.6.0”
Java™ SE Runtime Environment (build 1.6.0-b105)
Java HotSpot™ Client VM (build 1.6.0-b105, mixed mode, sharing)
bash-3.00$ which sgs.sh
/export/home/langston/DarkStar/sgs-0.9.2-r2216/sgs.sh
bash-3.00$ pwd
/export/home/langston/DarkStar/sgs-0.9.2-r2216/tutorial
bash-3.00$ ls
ClientTutorial.pdf HelloPersistence3.properties SwordWorld.properties
HelloChannels.properties HelloTimer.properties data
HelloEcho.properties HelloUser.properties logging.properties
HelloLogger.properties HelloUser2.properties src
HelloPersistence.properties HelloWorld.properties tutorial.jar
HelloPersistence2.properties ServerAppTutorial.pdf
bash-3.00$ sgs.sh tutorial.jar HelloWorld.properties

  • /usr/java/bin/java -Djava.library.path=/export/home/langston/DarkStar/sgs-0.9.2-r2216/lib/bdb/solaris-x86 -Djava.util.logging.config.file=/export/home/langston/DarkStar/sgs-0.9.2-r2216/sgs-logging.properties -Dcom.sun.sgs.config.file=/export/home/langston/DarkStar/sgs-0.9.2-r2216/sgs-config.properties -cp /export/home/langston/DarkStar/sgs-0.9.2-r2216/lib/sgs.jar:tutorial.jar com.sun.sgs.impl.kernel.Kernel HelloWorld.properties
    May 15, 2007 9:52:45 AM com.sun.sgs.impl.kernel.Kernel
    INFO: The Kernel is ready, version: 0.9.2-r2216
    May 15, 2007 9:56:30 AM com.sun.sgs.impl.service.data.DataServiceImpl abort
    WARNING: abort txn:TransactionImpl[tid:1] throws
    com.sun.sgs.app.TransactionTimeoutException: abort txn:TxnTrampoline[originalTxn:TransactionImpl[tid:1]] failed: Transaction timed out after 224765 ms
    at com.sun.sgs.impl.service.data.store.DataStoreImpl.convertException(DataStoreImpl.java:1509)
    at com.sun.sgs.impl.service.data.store.DataStoreImpl.abort(DataStoreImpl.java:1259)
    at com.sun.sgs.impl.service.data.Context.abort(Context.java:241)
    at com.sun.sgs.impl.service.data.DataServiceImpl.abort(DataServiceImpl.java:482)
    at com.sun.sgs.impl.service.transaction.TransactionImpl.abort(TransactionImpl.java:177)
    at com.sun.sgs.impl.service.data.Context$TxnTrampoline.abort(Context.java:121)
    at com.sun.sgs.impl.service.data.store.DataStoreImpl.convertException(DataStoreImpl.java:1524)
    at com.sun.sgs.impl.service.data.store.DataStoreImpl.nextBoundName(DataStoreImpl.java:1064)
    at com.sun.sgs.impl.service.data.Context.nextBoundName(Context.java:208)
    at com.sun.sgs.impl.service.data.DataServiceImpl.nextBoundNameInternal(DataServiceImpl.java:592)
    at com.sun.sgs.impl.service.data.DataServiceImpl.nextServiceBoundName(DataServiceImpl.java:394)
    at com.sun.sgs.impl.util.BoundNamesUtil$BoundNamesIterator.hasNext(BoundNamesUtil.java:139)
    at com.sun.sgs.impl.service.channel.ChannelServiceImpl.removeAllSessionsFromChannels(ChannelServiceImpl.java:1002)
    at com.sun.sgs.impl.service.channel.ChannelServiceImpl.configure(ChannelServiceImpl.java:200)
    at com.sun.sgs.impl.kernel.ServiceConfigRunner.run(ServiceConfigRunner.java:118)
    at com.sun.sgs.impl.kernel.TaskHandler.runTransactionalTask(TaskHandler.java:134)
    at com.sun.sgs.service.TransactionRunner.run(TransactionRunner.java:56)
    at com.sun.sgs.impl.kernel.TaskHandler.runTaskAsOwner(TaskHandler.java:99)
    at com.sun.sgs.impl.kernel.schedule.MasterTaskConsumer.run(MasterTaskConsumer.java:91)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: com.sun.sgs.app.TransactionTimeoutException: Transaction timed out after 224765 ms
    at com.sun.sgs.impl.service.data.store.DataStoreImpl.checkTxnTimeout(DataStoreImpl.java:1577)
    at com.sun.sgs.impl.service.data.store.DataStoreImpl.abort(DataStoreImpl.java:1248)
    … 20 more
    May 15, 2007 9:56:30 AM com.sun.sgs.impl.service.transaction.TransactionImpl abort
    WARNING: abort TransactionImpl[tid:1] participant:DataServiceImpl[appName:“HelloWorld, store:DataStoreImpl[directory=”/export/home/langston/DarkStar/sgs-0.9.2-r2216/tutorial/data/HelloWorld/dsdb"]"] failed
    com.sun.sgs.app.TransactionTimeoutException: abort txn:TxnTrampoline[originalTxn:TransactionImpl[tid:1]] failed: Transaction timed out after 224765 ms
    at com.sun.sgs.impl.service.data.store.DataStoreImpl.convertException(DataStoreImpl.java:1509)
    at com.sun.sgs.impl.service.data.store.DataStoreImpl.abort(DataStoreImpl.java:1259)
    at com.sun.sgs.impl.service.data.Context.abort(Context.java:241)
    at com.sun.sgs.impl.service.data.DataServiceImpl.abort(DataServiceImpl.java:482)
    at com.sun.sgs.impl.service.transaction.TransactionImpl.abort(TransactionImpl.java:177)
    at com.sun.sgs.impl.service.data.Context$TxnTrampoline.abort(Context.java:121)
    at com.sun.sgs.impl.service.data.store.DataStoreImpl.convertException(DataStoreImpl.java:1524)
    at com.sun.sgs.impl.service.data.store.DataStoreImpl.nextBoundName(DataStoreImpl.java:1064)
    at com.sun.sgs.impl.service.data.Context.nextBoundName(Context.java:208)
    at com.sun.sgs.impl.service.data.DataServiceImpl.nextBoundNameInternal(DataServiceImpl.java:592)
    at com.sun.sgs.impl.service.data.DataServiceImpl.nextServiceBoundName(DataServiceImpl.java:394)
    at com.sun.sgs.impl.util.BoundNamesUtil$BoundNamesIterator.hasNext(BoundNamesUtil.java:139)
    at com.sun.sgs.impl.service.channel.ChannelServiceImpl.removeAllSessionsFromChannels(ChannelServiceImpl.java:1002)
    at com.sun.sgs.impl.service.channel.ChannelServiceImpl.configure(ChannelServiceImpl.java:200)
    at com.sun.sgs.impl.kernel.ServiceConfigRunner.run(ServiceConfigRunner.java:118)
    at com.sun.sgs.impl.kernel.TaskHandler.runTransactionalTask(TaskHandler.java:134)
    at com.sun.sgs.service.TransactionRunner.run(TransactionRunner.java:56)
    at com.sun.sgs.impl.kernel.TaskHandler.runTaskAsOwner(TaskHandler.java:99)
    at com.sun.sgs.impl.kernel.schedule.MasterTaskConsumer.run(MasterTaskConsumer.java:91)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: com.sun.sgs.app.TransactionTimeoutException: Transaction timed out after 224765 ms
    at com.sun.sgs.impl.service.data.store.DataStoreImpl.checkTxnTimeout(DataStoreImpl.java:1577)
    at com.sun.sgs.impl.service.data.store.DataStoreImpl.abort(DataStoreImpl.java:1248)
    … 20 more
    May 15, 2007 9:56:30 AM com.sun.sgs.impl.kernel.schedule.MasterTaskConsumer run
    WARNING: dropping a task that failed with a non-retryable exception: com.sun.sgs.impl.kernel.ServiceConfigRunner[owner:[ id=“app:HelloWorld” context=HelloWorld ]]
    java.lang.IllegalArgumentException: Already configured
    at com.sun.sgs.impl.service.session.ClientSessionServiceImpl.configure(ClientSessionServiceImpl.java:209)
    at com.sun.sgs.impl.kernel.ServiceConfigRunner.run(ServiceConfigRunner.java:118)
    at com.sun.sgs.impl.kernel.TaskHandler.runTransactionalTask(TaskHandler.java:134)
    at com.sun.sgs.service.TransactionRunner.run(TransactionRunner.java:56)
    at com.sun.sgs.impl.kernel.TaskHandler.runTaskAsOwner(TaskHandler.java:99)
    at com.sun.sgs.impl.kernel.schedule.MasterTaskConsumer.run(MasterTaskConsumer.java:91)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)

any hints?

Thanks

Jim

Very odd.

Ive never heard of HelloWorld throwing a timeout. It does almost nothing.

Just as a suggestion, make sure the object store is clean and try again. (you clean the object store by deleleting all the files in the dsdb directory.)

JK

I saw the note documented - I deleted the file in data/HelloWorld/dsdb each time I tried. I have tried again after cleaning out all the files in all the dsdb directories.

bash-3.00$ which sgs.sh
/export/home/langston/DarkStar/sgs-0.9.2-r2216/sgs.sh
bash-3.00$ sgs.sh tutorial.jar HelloWorld.properties

  • /usr/java/bin/java -Djava.library.path=/export/home/langston/DarkStar/sgs-0.9.2-r2216/lib/bdb/solaris-x86 -Djava.util.logging.config.file=/export/home/langston/DarkStar/sgs-0.9.2-r2216/sgs-logging.properties -Dcom.sun.sgs.config.file=/export/home/langston/DarkStar/sgs-0.9.2-r2216/sgs-config.properties -cp /export/home/langston/DarkStar/sgs-0.9.2-r2216/lib/sgs.jar:tutorial.jar com.sun.sgs.impl.kernel.Kernel HelloWorld.properties
    May 15, 2007 11:15:22 PM com.sun.sgs.impl.kernel.Kernel
    INFO: The Kernel is ready, version: 0.9.2-r2216
    May 15, 2007 11:19:07 PM com.sun.sgs.impl.service.data.DataServiceImpl abort
    WARNING: abort txn:TransactionImpl[tid:1] throws
    com.sun.sgs.app.TransactionTimeoutException: abort txn:TxnTrampoline[originalTxn:TransactionImpl[tid:1]] failed: Transaction timed out after 224764 ms
    at com.sun.sgs.impl.service.data.store.DataStoreImpl.convertException(DataStoreImpl.java:1509)
    at com.sun.sgs.impl.service.data.store.DataStoreImpl.abort(DataStoreImpl.java:1259)
    at com.sun.sgs.impl.service.data.Context.abort(Context.java:241)
    at com.sun.sgs.impl.service.data.DataServiceImpl.abort(DataServiceImpl.java:482)
    at com.sun.sgs.impl.service.transaction.TransactionImpl.abort(TransactionImpl.java:177)
    at com.sun.sgs.impl.service.data.Context$TxnTrampoline.abort(Context.java:121)
    at com.sun.sgs.impl.service.data.store.DataStoreImpl.convertException(DataStoreImpl.java:1524)
    at com.sun.sgs.impl.service.data.store.DataStoreImpl.nextBoundName(DataStoreImpl.java:1064)
    at com.sun.sgs.impl.service.data.Context.nextBoundName(Context.java:208)
    at com.sun.sgs.impl.service.data.DataServiceImpl.nextBoundNameInternal(DataServiceImpl.java:592)
    at com.sun.sgs.impl.service.data.DataServiceImpl.nextServiceBoundName(DataServiceImpl.java:394)
    at com.sun.sgs.impl.util.BoundNamesUtil$BoundNamesIterator.hasNext(BoundNamesUtil.java:139)
    at com.sun.sgs.impl.service.channel.ChannelServiceImpl.removeAllSessionsFromChannels(ChannelServiceImpl.java:1002)
    at com.sun.sgs.impl.service.channel.ChannelServiceImpl.configure(ChannelServiceImpl.java:200)
    at com.sun.sgs.impl.kernel.ServiceConfigRunner.run(ServiceConfigRunner.java:118)
    at com.sun.sgs.impl.kernel.TaskHandler.runTransactionalTask(TaskHandler.java:134)
    at com.sun.sgs.service.TransactionRunner.run(TransactionRunner.java:56)
    at com.sun.sgs.impl.kernel.TaskHandler.runTaskAsOwner(TaskHandler.java:99)
    at com.sun.sgs.impl.kernel.schedule.MasterTaskConsumer.run(MasterTaskConsumer.java:91)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: com.sun.sgs.app.TransactionTimeoutException: Transaction timed out after 224764 ms
    at com.sun.sgs.impl.service.data.store.DataStoreImpl.checkTxnTimeout(DataStoreImpl.java:1577)
    at com.sun.sgs.impl.service.data.store.DataStoreImpl.abort(DataStoreImpl.java:1248)
    … 20 more
    May 15, 2007 11:19:07 PM com.sun.sgs.impl.service.transaction.TransactionImpl abort
    WARNING: abort TransactionImpl[tid:1] participant:DataServiceImpl[appName:“HelloWorld, store:DataStoreImpl[directory=”/export/home/langston/DarkStar/sgs-0.9.2-r2216/tutorial/data/HelloWorld/dsdb"]"] failed
    com.sun.sgs.app.TransactionTimeoutException: abort txn:TxnTrampoline[originalTxn:TransactionImpl[tid:1]] failed: Transaction timed out after 224764 ms
    at com.sun.sgs.impl.service.data.store.DataStoreImpl.convertException(DataStoreImpl.java:1509)
    at com.sun.sgs.impl.service.data.store.DataStoreImpl.abort(DataStoreImpl.java:1259)
    at com.sun.sgs.impl.service.data.Context.abort(Context.java:241)
    at com.sun.sgs.impl.service.data.DataServiceImpl.abort(DataServiceImpl.java:482)
    at com.sun.sgs.impl.service.transaction.TransactionImpl.abort(TransactionImpl.java:177)
    at com.sun.sgs.impl.service.data.Context$TxnTrampoline.abort(Context.java:121)
    at com.sun.sgs.impl.service.data.store.DataStoreImpl.convertException(DataStoreImpl.java:1524)
    at com.sun.sgs.impl.service.data.store.DataStoreImpl.nextBoundName(DataStoreImpl.java:1064)
    at com.sun.sgs.impl.service.data.Context.nextBoundName(Context.java:208)
    at com.sun.sgs.impl.service.data.DataServiceImpl.nextBoundNameInternal(DataServiceImpl.java:592)
    at com.sun.sgs.impl.service.data.DataServiceImpl.nextServiceBoundName(DataServiceImpl.java:394)
    at com.sun.sgs.impl.util.BoundNamesUtil$BoundNamesIterator.hasNext(BoundNamesUtil.java:139)
    at com.sun.sgs.impl.service.channel.ChannelServiceImpl.removeAllSessionsFromChannels(ChannelServiceImpl.java:1002)
    at com.sun.sgs.impl.service.channel.ChannelServiceImpl.configure(ChannelServiceImpl.java:200)
    at com.sun.sgs.impl.kernel.ServiceConfigRunner.run(ServiceConfigRunner.java:118)
    at com.sun.sgs.impl.kernel.TaskHandler.runTransactionalTask(TaskHandler.java:134)
    at com.sun.sgs.service.TransactionRunner.run(TransactionRunner.java:56)
    at com.sun.sgs.impl.kernel.TaskHandler.runTaskAsOwner(TaskHandler.java:99)
    at com.sun.sgs.impl.kernel.schedule.MasterTaskConsumer.run(MasterTaskConsumer.java:91)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: com.sun.sgs.app.TransactionTimeoutException: Transaction timed out after 224764 ms
    at com.sun.sgs.impl.service.data.store.DataStoreImpl.checkTxnTimeout(DataStoreImpl.java:1577)
    at com.sun.sgs.impl.service.data.store.DataStoreImpl.abort(DataStoreImpl.java:1248)
    … 20 more
    May 15, 2007 11:19:07 PM com.sun.sgs.impl.kernel.schedule.MasterTaskConsumer run
    WARNING: dropping a task that failed with a non-retryable exception: com.sun.sgs.impl.kernel.ServiceConfigRunner[owner:[ id=“app:HelloWorld” context=HelloWorld ]]
    java.lang.IllegalArgumentException: Already configured
    at com.sun.sgs.impl.service.session.ClientSessionServiceImpl.configure(ClientSessionServiceImpl.java:209)
    at com.sun.sgs.impl.kernel.ServiceConfigRunner.run(ServiceConfigRunner.java:118)
    at com.sun.sgs.impl.kernel.TaskHandler.runTransactionalTask(TaskHandler.java:134)
    at com.sun.sgs.service.TransactionRunner.run(TransactionRunner.java:56)
    at com.sun.sgs.impl.kernel.TaskHandler.runTaskAsOwner(TaskHandler.java:99)
    at com.sun.sgs.impl.kernel.schedule.MasterTaskConsumer.run(MasterTaskConsumer.java:91)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)

– this is what is in the data directory after these messages —

bash-3.00$ cd data
bash-3.00$ ls
HelloChannels HelloPersistence HelloTimer HelloWorld
HelloEcho HelloPersistence2 HelloUser SwordWorld
HelloLogger HelloPersistence3 HelloUser2
bash-3.00$ cd HelloWorld
bash-3.00$ ls
dsdb
bash-3.00$ cd dsdb
bash-3.00$ ls -l
total 1280
-rw-r–r-- 1 langston langston 24576 May 15 23:15 __db.001
-rw-r–r-- 1 langston langston 131072 May 15 23:15 __db.002
-rw-r–r-- 1 langston langston 1253376 May 15 23:15 __db.003
-rw-r–r-- 1 langston langston 98304 May 15 23:15 __db.004
-rw-r–r-- 1 langston langston 352256 May 15 23:15 __db.005
-rw-r–r-- 1 langston langston 40960 May 15 23:15 __db.006
-rw-r–r-- 1 langston langston 16384 May 15 23:15 info
-rw-r–r-- 1 langston langston 10485760 May 15 23:15 log.0000000001
-rw-r–r-- 1 langston langston 16384 May 15 23:15 names
-rw-r–r-- 1 langston langston 16384 May 15 23:15 oids

I loaded up sgs on another system and I have not had problems with it, so
there must be something with my other system that is keeping it from running,
both my systems are OpenSolaris - same level of OS - so I will pluck away to
see if I can figure out what the problem is on my end.

Thanks,

Jim