Error

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Post Reply
RockMan
Posts: 8
Joined: 09 Feb 2011, 01:49
Location: United States

Error

Post by RockMan »

1. SFS pro
2.I dont know what this is
3.I started edited the avatar chat and added my ip then i saved it and try to play flash movie and it did so when i try to start it it says error found.
4.The error I get is :
http://img193.imageshack.us/i/errorwg.jpg/
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Post by BigFIsh »

We need the beginning of the stack dump. The picture given is insufficient.

Please do the following steps:
1. Right click in the command prompt
2. Select 'Mark'
3. Mark the entire stack dump of the crash
4. Press 'Enter' to copy the information into your clipboard
5. Paste it here with Code tags.
Smartfox's forum is my daily newspaper.
RockMan
Posts: 8
Joined: 09 Feb 2011, 01:49
Location: United States

Post by RockMan »

|::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
| |
| ...::: SmartFoxServer :::... |
| Multiplayer Socket Server |
| version 1.6.6 |
| --- |
| (c) 2004 - 2009 gotoAndPlay() |
| www.smartfoxserver.com |
| www.gotoandplay.it |
| |
|::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|

::::::::::: { BlueBox INITED } ::::::::::::
: :
: Version 1.0.5 -- (c) 2008 gotoAndPlay() :
: :
:::::::::::::::::::::::::::::::::::::::::::
19:41:23.156 - [ INFO ] > Starting h2 engine...
19:41:23.562 - [ WARNING ] > Cannot start H2 Engine: org.h2.jdbc.JdbcSQLExceptio
n: Exception opening port 9009 (port may be in use), cause: java.net.BindExcepti
on: Address already in use: JVM_Bind [90061-60]
org.h2.jdbc.JdbcSQLException: Exception opening port 9009 (port may be in use),
cause: java.net.BindException: Address already in use: JVM_Bind [90061-60]
at org.h2.message.Message.getSQLException(Message.java:84)
at org.h2.util.NetUtils.createServerSocketTry(NetUtils.java:54)
at org.h2.util.NetUtils.createServerSocket(NetUtils.java:39)
at org.h2.server.TcpServer.start(TcpServer.java:125)
at org.h2.tools.Server.start(Server.java:362)
at it.gotoandplay.smartfoxserver.SmartFoxServer.bootH2Engine(SmartFoxSer
ver.java:530)
at it.gotoandplay.smartfoxserver.SmartFoxServer.run(SmartFoxServer.java:
579)
Caused by: java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at java.net.ServerSocket.<init>(ServerSocket.java:97)
at org.h2.util.NetUtils.createServerSocketTry(NetUtils.java:51)
... 5 more


--- [ System Info ] ------------------------------------------

System CPU(s): 1
VM Max memory: 66 MB

os.name: Windows XP
os.arch: x86
os.version: 5.1
java.version: 1.6.0_13
java.vendor: Sun Microsystems Inc.
java.vendor.url: http://java.sun.com/
java.vm.specification.version: 1.0
java.vm.version: 11.3-b02
java.vm.vendor: Sun Microsystems Inc.
java.vm.name: Java HotSpot(TM) Server VM


--- [ Network Cards ] -----------------------------------------

Card:MS TCP Loopback interface
-> 127.0.0.1
Card:Realtek RTL8139/810x Family Fast Ethernet NIC - Packet Scheduler Miniport
-> 192.168.1.2


--- [ Licence Loaded ] ------------------------------------

License Type -> PRO
License Owner -> --== Free Demo Licence ==--
Max. Clients -> 20
BlueBox Type -> Demo Version

--- [ Zones & Rooms ] -------------------------------------

19:41:27.265 - [ INFO ] > Default Buddy List Persister <INITED>
Zone: simpleChat

The Hall (id: 1, max: 50, pass:N)
The Kitchen (id: 2, max: 50, pass:N)
The Garden (id: 3, max: 50, pass:N)
The Bathroom (id: 4, max: 50, pass:N)
The Garage (id: 5, max: 50, pass:N)
The Living Room (id: 6, max: 50, pass:Y)
19:41:29.015 - [ INFO ] > Zone Extension [ json ] created, for zone:simpleChat
[jsonSample.as]: JSON Example initialized

19:41:29.031 - [ INFO ] > Default Buddy List Persister <INITED>
Zone: dbZone

MainRoom (id: 7, max: 10, pass:N)
19:41:30.187 - [ INFO ] > Zone Extension [ dbTest ] created, for zone:dbZone
[dbExtension.as]: Initing dbExtension
[dbExtension.as]: DB Manager is not active in this Zone!
19:41:30.859 - [ INFO ] > Zone Extension [ dbTestAdv ] created, for zone:dbZone
[dbExtensionAdv.as]: DB Manager is not active in this Zone!
19:41:31.984 - [ INFO ] > Zone Extension [ simpleExt ] created, for zone:dbZone
[simpleExt.as]: Hello from the Simple Extension Example!

Zone: sftris

The Entrance (id: 8, max: 50, pass:N)

Zone: mazeGame

The Entrance (id: 9, max: 50, pass:N)

Zone: loginZone

The Hall (id: 10, max: 50, pass:N)
19:41:32.515 - [ INFO ] > Zone Extension [ loginEx ] created, for zone:loginZone


Zone: multiChat

Main Lobby (id: 11, max: 50, pass:N)

Zone: yahtzee

The Entrance (id: 12, max: 50, pass:N)

Zone: slogin

The Lobby (id: 13, max: 50, pass:N)
The Garden (id: 14, max: 50, pass:N)
The Swimming Pool (id: 15, max: 50, pass:N)
19:41:33.265 - [ INFO ] > Zone Extension [ slogin ] created, for zone:slogin

Zone: pixel

The Basement (id: 16, max: 4, pass:N)
19:41:34.359 - [ INFO ] > Zone Extension [ pixel ] created, for zone:pixel
[pixelGame.as]: PixelGame extension started!

Zone: letters

Main (id: 17, max: 50, pass:N)
19:41:34.859 - [ INFO ] > Zone Extension [ Letters ] created, for zone:letters
[Letters.as]: Letters script running.

19:41:35.046 - [ INFO ] > Default Buddy List Persister <INITED>
Zone: messenger

Main (id: 18, max: 40, pass:N)
19:41:35.281 - [ INFO ] > Zone Extension [ smsg ] created, for zone:messenger

Zone: imgMan

MainLobby (id: 19, max: 50, pass:N)
19:41:35.625 - [ INFO ] > Zone Extension [ imgman ] created, for zone:imgMan
[imageManager.as]: Image Manager extension starts...

Zone: bomberman

Lobby (id: 20, max: 50, pass:N)

DB Manager Activated ( org.h2.Driver )
Zone: h2dbzone

Lobby (id: 21, max: 10, pass:N)
19:41:42.171 - [ INFO ] > Zone Extension [ h2db_ext ] created, for zone:h2dbzone

[internalDbDemo.as]: Initing dbExtension

java.lang.NullPointerException
at it.gotoandplay.smartfoxserver.data.buddylist.persistence.AdvancedBudd
yListPersister.checkIfTableExists(AdvancedBuddyListPersister.java:270)
at it.gotoandplay.smartfoxserver.data.buddylist.persistence.AdvancedBudd
yListPersister.init(AdvancedBuddyListPersister.java:40)
at it.gotoandplay.smartfoxserver.SmartFoxServer.setupZone(SmartFoxServer
.java:1896)
at it.gotoandplay.smartfoxserver.lib.ConfigReader.parse_Zones(ConfigRead
er.java:806)
at it.gotoandplay.smartfoxserver.lib.ConfigReader.readZoneConfig(ConfigR
eader.java:174)
at it.gotoandplay.smartfoxserver.SmartFoxServer.initServerSocket(SmartFo
xServer.java:339)
at it.gotoandplay.smartfoxserver.SmartFoxServer.run(SmartFoxServer.java:
607)
Problems in config file: null
it.gotoandplay.smartfoxserver.exceptions.ConfigurationException
at it.gotoandplay.smartfoxserver.lib.ConfigReader.readZoneConfig(ConfigR
eader.java:199)
at it.gotoandplay.smartfoxserver.SmartFoxServer.initServerSocket(SmartFo
xServer.java:339)
at it.gotoandplay.smartfoxserver.SmartFoxServer.run(SmartFoxServer.java:
607)

Errors found in configuration files.
Unable to start the server.


Shutting down server...

Press any key to continue . . .
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Post by BigFIsh »

Code: Select all

Cannot start H2 Engine: org.h2.jdbc.JdbcSQLExceptio
n: Exception opening port 9009 (port may be in use), cause: java.net.BindException
is the main cause of the error. It simply states that the port 9009 is currently in use by another program.

If you're using windows, type in the following command in your command prompt window:

Code: Select all

netstat -b -a
This will list down which port is currently in used along with its associated program.
Smartfox's forum is my daily newspaper.
Post Reply