Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (516)
Games in Android Showcase (122)
games submitted by our members
Games in WIP (577)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Game Development / Networking & Multiplayer / Need help getting project setup under Eclipse on: 2007-03-03 01:02:58
I've followed the instructions here: http://www.java-gaming.org/forums/index.php?topic=14033.0  ...however I'm still having troubles getting the server running when using trying to use a boot class that I specify. I can get the server running under Eclipse if there are no games specified in the conf/deploy.xml files, but that doesn't really do the trick!

Basically all I've done so far is create a project in Eclipse, hook up the references to SunGameServer.jar and setup the run/debug argument for the conf file (although, it seems to load it just fine without the arg). I've copied the ChatTestBoot.java file into my project (fixed the package reference in the file, but it's otherwise unchanged), under our project root package (it's the only java file in there so far), adjusted the conf and deploy.xml files to point to the right locations (I believe), but I'm still getting this exception when I try to run the server:

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>(InstallationURL.java:121)
   at com.sun.gi.framework.install.impl.DeployerImpl.<init>(DeployerImpl.java:123)
   at com.sun.gi.SGS.<init>(SGS.java:128)
   at com.sun.gi.SGS.main(SGS.java:197)
java.lang.InstantiationException: Missing Installation Loader
   at com.sun.gi.framework.install.impl.DeployerImpl.<init>(DeployerImpl.java:129)
   at com.sun.gi.SGS.<init>(SGS.java:128)
   at com.sun.gi.SGS.main(SGS.java:197)

Here is my SGS-apps.conf file:

#This file describes the games installed into this back end as a list of one line entries
#The entries make up a 2 column able as follows
#Game ID   URL Location of deployment XML
1   file:deployment.xml

Here is my deployment.xml file:

<?xml version="1.0" encoding="UTF-8"?>
<GAMEAPP gamename="ChatTest">
   <GLEAPP bootclass="com.bigfishgames.azur.server.ChatTestBoot" classpathURL="file:bin" />       
   <USERMANAGER serverclass="com.sun.gi.comm.users.server.impl.TCPIPUserManager"
      reconnect_key_ttl="30">       
      
      <PARAMETER tag="host" value="127.0.0.1" />       
      <PARAMETER tag="port" value="1150" /> 
      <VALIDATOR moduleclass="com.sun.gi.comm.users.validation.impl.FlatFileUserValidator">
         <PARAMETER tag="password_file_url" value="file:passwd.txt" />
      </VALIDATOR>      
   </USERMANAGER>   
</GAMEAPP>

The project structure looks like this:

<projectfolder>
    .project
    SGS-apps.conf
    passwd.txt
    deployment.xml
    <src>
        <com>
            <bigfishgames>
                <azur>
                    <server>
                        ChatTestBoot.java
    <bin>
        <com>
            <bigfishgames>
                <azur>
                    <server>
                        ChatTestBoot.class

I'm stumped at this point...I've tried playing around with the classpathURL to no effect. Any ideas?
2  Game Development / Networking & Multiplayer / Time table / pricing update? on: 2007-01-23 01:48:31
Hello, I work for a game company that is currently evaluating backend middleware products and we're currently whipping up some demo code with SGS - it seems very promising! However, one of the big questions for us is getting an idea of your release schedule and pricing. I've looked at the forums and as of a couple months ago I know that these questions were still up in the air, but I wanted to know if you had any updates.

Do you have an approximate time table for when SGS is going to be released as a full V1 product?
Do you have any ideas as to the licensing/pricing model(s) that will be available for a commercial product using our own hosting environment and data center?

I'm sure this is one of the topics that comes up all the time, so I apologize for asking it again. We're just very excited about SGS and it would fit what we're working on very well! Thanks in advance for your help.
Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

TehJavaDev (31 views)
2014-10-27 03:28:38

TehJavaDev (26 views)
2014-10-27 03:27:51

DarkCart (40 views)
2014-10-26 19:37:11

Luminem (21 views)
2014-10-26 10:17:50

Luminem (26 views)
2014-10-26 10:14:04

theagentd (32 views)
2014-10-25 15:46:29

Longarmx (61 views)
2014-10-17 03:59:02

Norakomi (57 views)
2014-10-16 15:22:06

Norakomi (46 views)
2014-10-16 15:20:20

lcass (43 views)
2014-10-15 16:18:58
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!