Server index error

I am getting an indexoutofbounds error on server start. I have a jar of my server app and a deploy.xml, an SGS-apps.config and the SunGameServer jar in a folder. Upon launch I get:


java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.String.substring(Unknown Source)
        at com.sun.gi.framework.install.impl.InstallationURL.<init>(Installation
URL.java:121)
        at com.sun.gi.SGS.<init>(SGS.java:145)
        at com.sun.gi.SGS.main(SGS.java:330)

Searches have left me with nothing and I thought I followed the setup as best I could. Any thoughts?

Yeah can i see your SGS-apps.conf please? Just cut and paste it here

The comamnd line you are using to invoke the server would help


# Configure the games to be run on this SGS backend.
#
#Game ID   URL to XML deployment descriptor
#-------   --------------------------------
1         file:deploy.xml

java -jar SunGameServer.jar from the command line. This file is in the same folder as the above config file and the deploy.xml file

hmm… looks okay at frist galnce… let me check the code to see what lient hat is thats givign the parse error.

If you dont have a carriage return on the end of the line in the file, you might try adding it meanwhile just to see if it makes a difference…

sorry Jeff, looks like my goof. I took my one boot app and put it into the apps folder of the release folder and redide the app config for the release to pint to my app and voila! Prior to this I moved the SGS jar to my applicaitons classes folder. Now to put together my “how do I do this… and that?” questions (after rereading the docs and tuts). Thanks!