Smart Fox Server 2x and OpenJPA
Up next we are going to go ahead and set up our game server and our Java Persistence.
First lets install Smart Fox Server 2x. If you run through the default install it installs to C:\Program Files\SFS2X-RC1. I will refer to this directory as [SFSInstallDir]
Next we need to go ahead and apply the patch. It's a manual process to bear with the instructions:
- First stop the service.
- Extract all the files to a temporary location.
- go to the temp location and go into the SFS2x-RC1a-patch directory and you will see a Client and a Server directory. Go into Client and copy the unity folder to
[SFSInstallDir]\SFS2X\Client (it will ask you to replace SmartFox2.dll which is fine. - go into ActionScript3 and copy the file to
[SFSInstallDir]\SFS2X\Client\Flash\API again overwrite any files. - go up to the base patch directory and go into the Server folder. copy the 2 folders and put them into
[SFSInstallDir]\SFS2X and overwrite any files it prompts you for. - start up the service.
- copy openjpa-all-2.0.1.jar to
[SFSInstallDir]\SFS2X\lib - copy derby-10.5.3.0_1.jar, geronimo-jms_1.1_spec-1.1.1.jar, geronimo-jpa_2.0_spec-1.1.jar, geronimo-jta_1.1_spec-1.1.1.jar, serp-1.13.1.jar to
[SFSInstallDir]\SFS2X\lib
No comments:
Post a Comment