2 Istances on the same server. Is this possible?
Posted: 23 Jun 2009, 08:53
Hi,
i'm trying to create a pre-production and production environments on the same server. In the second instance config.xml i set the binding port and even the H2 port to avoid using the port used by the first but i'm getting this error log:
Any clue?
Regards
i'm trying to create a pre-production and production environments on the same server. In the second instance config.xml i set the binding port and even the H2 port to avoid using the port used by the first but i'm getting this error log:
Code: Select all
INFO | jvm 1 | 2009/06/22 18:01:35 |
INFO | jvm 1 | 2009/06/22 18:01:35 | 18:01:35.952 - [ SEVERE ] >
INFO | jvm 1 | 2009/06/22 18:01:35 |
INFO | jvm 1 | 2009/06/22 18:01:35 | [ --> FATAL ERROR <-- ]: Error initializing server.
INFO | jvm 1 | 2009/06/22 18:01:35 |
INFO | jvm 1 | 2009/06/22 18:01:35 | Check if server address and port are properly configured.
INFO | jvm 1 | 2009/06/22 18:01:35 |
INFO | jvm 1 | 2009/06/22 18:01:35 | Exception caught in SmartFoxServer
INFO | jvm 1 | 2009/06/22 18:01:35 | java.net.BindException: Address already in use
INFO | jvm 1 | 2009/06/22 18:01:35 | at sun.nio.ch.Net.bind(Native Method)
INFO | jvm 1 | 2009/06/22 18:01:35 | at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
INFO | jvm 1 | 2009/06/22 18:01:35 | at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
INFO | jvm 1 | 2009/06/22 18:01:35 | at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
INFO | jvm 1 | 2009/06/22 18:01:35 | at it.gotoandplay.smartfoxserver.SmartFoxServer.initServerSocket(SmartFoxServer.java:411)
INFO | jvm 1 | 2009/06/22 18:01:35 | at it.gotoandplay.smartfoxserver.SmartFoxServer.run(SmartFoxServer.java:607)
INFO | jvm 1 | 2009/06/22 18:01:36 |
INFO | jvm 1 | 2009/06/22 18:01:36 |
INFO | jvm 1 | 2009/06/22 18:01:36 | Shutting down server...
INFO | jvm 1 | 2009/06/22 18:01:36 |
STATUS | wrapper | 2009/06/22 18:01:38 | <-- Wrapper Stopped
Regards