FAQ

  1. I get the message "java.net.BindException: Address already in use" when starting the server.

  2. I get the message "Exception in thread "main" java.lang.NoClassDefFoundError: org/moock/unity/core/Unity" when starting the server.

  3. My process list is filling up with Unity processes.
  1. I get a java.net.BindException: Address already in use when starting the server.
    Some other application, possibly another instance of Unity 2 Multiuser Server is already using the socket specified in uconfig.xml. Either stop the application using that port or choose another port.

  2. I get the message "Exception in thread "main" java.lang.NoClassDefFoundError: org/moock/unity/core/Unity" when starting the server.
    This means the unity_core.jar file cannot be found. Check the startup command you are using and ensure that unity_core.jar is added to the classpath with the "-cp" option and the location specified is in fact where the jar file resides.

  3. My process list is filling up with Unity processes.
    Unity uses 2 threads per connection. With a large number of connections Unity will use up a lot of processes and may exceed the process limit which on many machines is 1024. To prevent this you can use green threads if your JVM supports by adding the java option "-green".