Results 1 to 2 of 2
  1. #1

    Address already in use: JVM_Bind

    Hi,

    We are using Moderato for our real time data replication java application. We are using the Port as below,



    In the host config file, we are having below 2 entries,

    127.0.0.1 localhost
    ::1 localhost

    The LightStreamer server is running in Windows Server, Windows 2008 Enterprise 64 bit. While starting the application using Start_LS_as_Application.bat, we are getting the below error and the server is going to stop mode.

    08.Jan.14 18:06:05,289 < WARN> Only minimal JMX management support is available with the current license.
    08.Jan.14 18:06:05,391 < WARN> Stopping service not available:
    com.lightstreamer.g.db: java.rmi.server.ExportException: Port already in use: 8888; nested exception is:
    java.net.BindException: Address already in use: JVM_Bind
    at com.lightstreamer.g.c.a(c.java) ~[lightstreamer.jar:na]
    at com.lightstreamer.g.a.a(a.java) ~[lightstreamer.jar:na]
    at com.lightstreamer.g.mb.a(mb.java) [lightstreamer.jar:na]
    at com.lightstreamer.e.y.a(y.java) [lightstreamer.jar:na]
    at com.lightstreamer.e.y.d(y.java) [lightstreamer.jar:na]
    at com.lightstreamer.o.b(o.java) [lightstreamer.jar:na]
    at com.lightstreamer.o.a(o.java) [lightstreamer.jar:na]
    at com.lightstreamer.LS.main(LS.java) [lightstreamer.jar:na]
    Caused by: java.rmi.server.ExportException: Port already in use: 8888; nested exception is:
    java.net.BindException: Address already in use: JVM_Bind

    We have checked both the port availability by using netstat -na and both the ports are not used by any other application.

    We have stopped the Mcaffee application even we are getting the above error.

    I have tried the LightStreamer server in Windows XP (different desktop machine) and its working fine with same ports.

    Please help us to get the solution for this issue.

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,093
    Is the stack trace of the originating exception available?
    I mean: is there more exception log after the reported snippet?

    We have no knowledge of a different behavior across different versions of Windows.
    As a test, please try adding the following element as a sibling of <port>8888</port> in the <rmi_connection> block:
    <data_port>7777</data_port>
    (where 7777 stands for a free port)

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 10:57 PM.
Lightstreamer Logo