Address already in use: JVM_Bind

Hello,
I have a application client-server, the socket client connects to the server. After awhile, the server pushes news connections back. In the part client appears:
java.net.ConnectException: Connection refused: connect
I detect the problem and try to reconnect the server, it gives: Address already in use: JVM_Bind
Can I avoid the first one?
Have I to close the clients before the server reconnects?
Thank you.
Regards.

Is that one of those Windows built-in firewalls or a real one? With >firewall I was thinking of it getting overwhelmed by too many >connections.the firewall is in other computer.
How many connections per second do you get? If there are hundreds >it could still be listen queue. The default length is 50 (unless the OS >forces it smaller) which should be enough for most situations.In this moment, there are 183 connections, one in ESTABLISHED and the rest in CLOSE_WAIT, but today it doesn't produce the error. Per second it must have few connections.
Run "netstat -n". Are there tens of thousands of connections in >TIME_WAIT or something? Or just open sockets? Is there a related >error message in system log files (Unix) or Control panel -> >Admininstrative -> Event Viewer (Windows)? There aren't events in the viewer.
The server gets no >exceptions (you are careful to log everything)? I'm thinking of running >out of file/socket descriptors or socket buffers or something.When in the client appears this error, in the server doesn't appear anything
When you get the error does it start working after a while >automatically? I'm thinking if it is listen queue overflow that should >clear itself automatically.No, I have to close the program and open again. If the program detects it and intents close server socket and open directly, it produces Address already in use: JVM_Bind.
When the socket "breaks" run "telnet localhost ThePortNumber" on >the server computer - does it connect? Run "netstat -n" on the server, >is there a LISTENING entry for the socket?I probe the next time
I don't think server sockets suddenly somehow spontaneously break.Ok, it can reach the limit, but then mi question is how open again the server socket

Similar Messages

  • Problem with Embedded OC4J: Address already in use: JVM_Bind

    When I try to run a Servlet in JDeveloper 10g it works fine. But when I stop the Embedded OC4J and try to run the Servlet again, the following message appears in the log:
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\oracle\ora10g\jdev\jdk\bin\javaw.exe -hotspot -classpath C:\oracle\ora10g\jdev\j2ee\home\oc4j.jar;C:\oracle\ora10g\jdev\jdev\lib\jdev-oc4j.jar -Xverify:none -Ddisable.checkForUpdate=true -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doracle.dms.sensors=NONE -Doc4j.jms.usePersistenceLockFiles=false com.evermind.server.OC4JServer -config C:\oracle\ora10g\jdev\jdev\system9.0.5.0.0.1375\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    03/10/23 14:23:01 Error starting ORMI-Server. Unable to bind socket: Address already in use: JVM_Bind
    Process exited with exit code 7.
    What could be causing this problem?
    Thanks in advance!

    Modify the config/rmi.xml file to have the host attribute in the tag as follows:
    <rmi-server port="23791" host="server-ip-address">
    </rmi-server>
    After that, place the log4j-your-jdev-version.jar in appserverhome/j2ee/home/lib folder.
    Restart the server. The bind problem would disappear.
    Hope this solves your problem :-)
    Ramesh

  • Address already in use: JVM_Bind error in DOS

    Hello,
    I am writing a multi threaded client server (Both client and server are multi threaded) program.where I have set of clients performing secure file transfer amongst them self. Here there is a Indexing server who is keeping record of all the files contained by clients. A client will make a request for a file to the Indexing Server which intern return the port no. and address of the client having that file. Now this client will connect to another client (Which now will act as server) to get the file and public key .
    Now I am connecting to server by using fix port number.
    Socket client = new Socket("127.0.0.1",2345)
    Also since the request for file from another client can come therefor I am creating a thread to start listning port on client side by,
    serverSocket serversocket = new serverSocket(client.getLocalport);
    //provided that connection to server with port 2345 already made.
    but when I am running this program through "DOS" it is giving me an error Address already in use: JVM_Bind.
    //checked through netstat and found that localport for the client is bound to 2345 (That is obvious)
    But when I am running this program in unix I am getting no error.

    ServerSocket.setReuseAddress(true) does not work on vista. Why? The following code is OK on XP, but throw the above exception on vista.
         @Test
         public void test() throws Throwable {
              Thread t = new Thread() {
                   public void run() {
                        ServerSocket ss;
                        try {
                             ss = new ServerSocket( 11111 );
                             System.out.println( "In Thread: " + ss );
                             System.out.println( "In Thread: " + ss.accept() );
                        } catch (IOException e) {
                             e.printStackTrace();
              t.start();
              Socket cs = new Socket( (String)null, 11111 );
              System.out.println( cs );
              ServerSocket s = new ServerSocket();
              s.setReuseAddress( true );
              s.bind( new InetSocketAddress( cs.getLocalPort() ) );
              System.out.println( s );
         }

  • Error starting HTTP-Server: Address already in use: JVM_Bind

    Hello,
    I installed IAS 10.1.2.0.2. then I tried to start an application and get the following:
    D:\Oracle_Home_IAS\j2ee\home>java -jar oc4j.jar
    07/01/08 10:04:00 Error starting HTTP-Server: Address already in use: JVM_Bind
    07/01/08 10:04:01 Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)
    initialized
    07/01/08 10:04:01 !!! No valid java compiler found !!!
    07/01/08 10:04:01 javac.exe not found under D:\MDK\jre\1.4.2, please use a valid
    jdk or specify the location of your java compiler in server.xml using the <java
    -compiler .../> tag

    If I had to guess, you are starting HTTP Server on the same port as some other service.
    BTW, Oracle Express is not a supported platform for Mobile Server.

  • Problem Address already in use: JVM_Bind with HSQLDB

    hi im using NetBeans5.0 and hsqldb1.8 with jdk1.4. after starting the database server frm code when my application launches and try to acess database it gives me error below. i tried using command "netstat" so that i can findout the alreasy used port and make it free for my application. but port im usiing oening port-8084 and shutdown port 9081, both are free. but still m getting this error.
    [Server@1a9876e]: [Thread[HSQLDB Server @1a9876e,5,main]]: run()/openServerSocket():
    java.net.BindException: Address already in use: JVM_Bind
            at java.net.PlainSocketImpl.socketBind(Native Method)
            at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
            at java.net.ServerSocket.bind(ServerSocket.java:318)
            at java.net.ServerSocket.<init>(ServerSocket.java:185)
            at java.net.ServerSocket.<init>(ServerSocket.java:97)
            at org.hsqldb.HsqlSocketFactory.createServerSocket(Unknown Source)
            at org.hsqldb.Server.openServerSocket(Unknown Source)
            at org.hsqldb.Server.run(Unknown Source)
            at org.hsqldb.Server.access$000(Unknown Source)
            at org.hsqldb.Server$ServerThread.run(Unknown Source)Cananyone help me in this problem.

    sunlover1984 wrote:
    Sorry, to use such short forms in forums as i dont know much about this. i rarly use java forum. well, i removed the code that i gave u for server starting. but still it is giving me the same error. this time i put it in a java bean file.(Hint "u" is just another short form).
    Did you try the suggestion to put a log statement just before you start the server? Or put a breakpoint at that line and see how often it is reached.
    Because the only reason for this problem is that something is already listening at that port.
    And if there's really nothing listening before you start you application, then only your application itself can listen there already, so the logical conclusion for me would be that you're starting the Server twice.

  • Error starting ORMI-Server.  Unable to bind socket: Address already in use:

    hi,
    I run the folowing command "start_oc4j.bat" to start Oc4j.
    It starts successfully.
    Then I start "BPEL PM Server".
    I get the following error,
    "Error starting ORMI-Server. Unable to bind socket: Address already in use: JVM_Bind".
    I understand the above errror because both of them are trying to bind to the same port. And both of them are trying to start ORMI server. Can some one suggest how to get rid of this problem.
    I tried giving different port numbers for them, but that did not work. Let me know, how to over come this problem.
    with regards
    shaila

    You may have another OC4J running on your computer.
    You should change the port number in the file config/rmi.xml.

  • "BindException: Address already in use" error all the time!

    I made a simple program that streams lines of text across the network/internet and a simple client program to display that text. The problem is, regardless of what port I choose, I always get this exception on the server's side:
    C:\Users\Nathan\Desktop>java LyricalUploader
    Started Listening
    Bound
    Started Listening
    Starting.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 LyricalUploader.main(LyricalUploader.java:11)What bothers me is it creates the ServerSocket just fine (that's what the output saying "Bound" means) and if I replace the new LyricalThread(ss.accept()).start(); line in the code below with new LyricalThread(ss.accept()).run();, it works fine, It just can't handle more than one client. I have tried many many ports and they all have the same result. What am I doing wrong?
    Here is the code:
    import java.net.*;
    import java.io.*;
    import javax.swing.JFileChooser;
    public class LyricalUploader{
    public static void main(String args[]){
      ServerSocket ss = null;
      int c=0;
      try{
        while(true){
          System.out.println("Started Listening");
          ss = new ServerSocket(49625);
          System.out.println("Bound");
          new LyricalThread(ss.accept()).start();
      catch(Exception e){
        e.printStackTrace();
        System.exit(1);
    import java.net.*;
    import java.io.*;
    public class LyricalThread extends Thread{
      Socket s = null;
      public LyricalThread(Socket so){
        s=so;
      public void run(){
        try{
          System.out.print("Starting.");
          PrintWriter out = new PrintWriter(s.getOutputStream());
          BufferedReader fin =new BufferedReader(new FileReader("Lyrics.txt"));
          System.out.print(".");
          String line = fin.readLine();
          System.out.println(".Done!");
          while(true){
            while(line!=null){
              out.println(line);
              //System.out.println(line);
              line=fin.readLine();
              Thread.sleep(1600);
            fin.close();
            System.out.println("End of Lyrics.txt file.");
            fin =new BufferedReader(new FileReader("Lyrics.txt"));
        catch(Exception e){
          e.printStackTrace();
          return;
      public static void main(String arg[]){
        new LyricalThread(null).start();
    }And the Client code:
    import java.net.*;
    import java.io.*;
    import javax.swing.JFileChooser;
    public class LyricalReader{
      public static void main(String args[]) throws Exception{
        Socket s = null;
        BufferedReader sin = null;
        FileOutputStream out = null;
        try{
          System.out.println("Started");
          System.out.print("Connecting...");
          s = new Socket("2.9.19.94",49625);
          System.out.println("Done!");
          System.out.print("Finding song...");
          sin = new BufferedReader(new InputStreamReader(s.getInputStream()));
          String line = sin.readLine();
          System.out.println("Done!\nStarted reading:\n\n\n\n\n\n");
          while(true){
            System.out.println(line);
            line = sin.readLine();
        }catch(Exception e){
          e.printStackTrace();
          sin.close();
          s.close();
          out.close();
        System.exit(0);
    }

    Hi,
    your Server must create only one ServerSocket, not multiples! So write
      try{
        ss = new ServerSocket(49625);
        System.out.println("Bound");
        while(true){
          System.out.println("Started Listening");
          new LyricalThread(ss.accept()).start();
      catch(Exception e){
        e.printStackTrace();
        System.exit(1);
      }and take the creation of the ServerSocket outside the while-loop.
    Martin

  • ERROR: transport error 202: bind failed: Address already in use

    Hey guys,
    I created 2 WL 10.3 Domains. I can start the admin server in domain but when I start the second admin server i get the following error:
    starting weblogic with Java version:
    ERROR: transport error 202: bind failed: Address already in use
    ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
    JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../.
    ./../src/share/back/debugInit.c:690]
    FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_E
    RROR_TRANSPORT_INIT(197)
    Starting WLS with line:
    C:\bea\JDK160~1\bin\java -client -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket
    ,address=8453,server=y,suspend=n -Djava.compiler=NONE -Xms512m -Xmx512m -XX:Com
    pileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -XX:MaxPermSize=160m
    -Xverify:none -Xverify:none -da:org.apache.xmlbeans... -ea -da:com.bea... -da:
    javelin... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.
    sbconsole... -Dplatform.home=C:\bea\WLSERV~1.3 -Dwls.home=C:\bea\WLSERV~1.3\serv
    er -Dweblogic.home=C:\bea\WLSERV~1.3\server -Dweblogic.management.discover=tru
    e -Dwlw.iterativeDev=true -Dwlw.testConsole=true -Dwlw.logErrorsToConsole=true
    -Dweblogic.ext.dirs=C:\bea\patch_wlw1030\profiles\default\sysext_manifest_classp
    ath;C:\bea\patch_wls1030\profiles\default\sysext_manifest_classpath;C:\bea\patch
    cie670\profiles\default\sysextmanifest_classpath;C:\bea\patch_alsb1031\profile
    s\default\sysext_manifest_classpath -Dweblogic.Name=TestAdmin2 -Djava.security.p
    olicy=C:\bea\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
    ERROR: transport error 202: bind failed: Address already in use
    ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
    JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../.
    ./../src/share/back/debugInit.c:690]
    FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_E
    RROR_TRANSPORT_INIT(197)
    Stopping PointBase server...
    I changed the port address of both admins but I dont' think that's the issue. Can someone tell me whats going on.
    Thanks

    Hi
    Iam getting the Same Error , Can you provide me some information on what changes did you made to the setDomainEnv.cmd file to make this work
    thanks in advance

  • Web Service Client, BindException, Address already in use, saaj.SOAPExcepti

    Hello,
    Am caught up with an error and i can't get past it, need some help here.
    My application is a batch processing web service client, reads some input rows, sends web service requets, processes the responses and logs it.
    The application runs well in normal mode, but under load(more thread count), I get this wierd error and I can't make it go away.
    java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
    Caused by: java.net.BindException: Address already in use: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    I have properly closed the connections after each web service calls, but it still says Address in use. Please refer below for the complete stack trace and a piece of the code. Am using SAAJ and JWSDP and am not using AXIS api. I have searched the web but couldn't find any solutions.
    This is not an error that server is not closing connections properly as I was able to test with SOAPUI and LoadRunner with even higher threads and it ran without problems. SOAPUI and LoadRunner scripts were executed from the same client machine as my application uses. Please help.
    For each inputrow
    SOAPConnection connection = null;
    try
    SOAPConnectionFactory soapConnFactory = SOAPConnectionFactory.newInstance();
    connection = soapConnFactory.createConnection();
    SOAPMessage request = getRequest(inputRow);
    SOAPMessage response = connection.call(request, "http://<<server>>:<<port no>>/Domain/Services/Mgmt");
    finally
    if (connection != null)
    connection.close();                         
    }catch(SOAPException se){
    System.out.println("Error while closing connection. " + se.getMessage());
    connection = null;
    } // End of for loop
    Stack Trace:
    java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptio
    nImpl: Message send failed
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOA
    PConnection.java:121)
    at ClientImpl.getResponse(ClientImpl.java:440)
    at input.InputSampler$MyCallable.call(Sampler.java:63)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOA
    PConnection.java:325)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedP
    ost.run(HttpSOAPConnection.java:150)
    ... 12 more
    Caused by: java.net.BindException: Address already in use: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.<init>(Unknown Source)
    at sun.net.www.http.HttpClient.New(Unknown Source)
    at sun.net.www.http.HttpClient.New(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
    Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Sour
    ce)
    at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown S
    ource)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOA
    PConnection.java:282)
    Is there something like connection pooling for web services, is that the answer to this issue, if yes, please let me know where i should start.
    Thanks
    Dev

    Move server socket creation out of while loop. You don't need to create new server socket every time.

  • Error starting ORMI Server: address already in use

    - Linux RedHat 3 ES installed
    - Forms&Reports 904 installed
    EM:
    BI_Forms repeatly tries to start, but fials:
    "Error starting ORMI Server: address already in use"

    You may have another OC4J running on your computer.
    You should change the port number in the file config/rmi.xml.

  • Per-VRF TACACS config gets "Address already in use" error

    I have created a per-VRF TACACS config on a couple of network devices. I can ping the ACS servers through the VRF. TACACS makes the attempt to contact the servers, but the following message shows up in the log when I debug TACACS:
    *Mar 11 08:57:38 starts: TAC+: Opening TCP/IP to x.x.x.x/49 timeout=5
    *Mar 11 08:57:38 starts: TAC+: TCP/IP open to x.x.x.x/49 failed -- Address already in use
    I can't find anything on CCO that references the "Address already in use" message.
    Has anyone run into this?

    Hmmm...no, the server group is still there. Did you see the other post which describes the bug ID? The link to the bug is:
    http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCsl45701
    Do you get the IP address is in use log message?

  • Socket Error: Address already in use

    Hello all,
    I'm trying to get the Trac bug tracking system installed on my system(running snow leopard). After quite a bit of tinkering I've managed to install Trac, but as of now, its a standalone entity. I am trying to get this linked to the apache webserver, but having no success. Has anybody done this before? I haven't used unix to this level before and so am struggling with that as well... any info on this is much appreciated.
    One of the instructions to test run Trac as a standalone component was using this command tracd --port 8000 /path/to/myfolder (according to installation instructions at http://trac.edgewall.org/wiki/TracInstall). I stopped it using Ctrl-Z and now when I try to run it again, get the following message and error:
    Traceback (most recent call last):
    File "/usr/local/bin/tracd", line 8, in <module>
    loadentrypoint('Trac==0.12', 'console_scripts', 'tracd')()
    File "build/bdist.macosx-10.6-universal/egg/trac/web/standalone.py", line 290, in main
    File "build/bdist.macosx-10.6-universal/egg/trac/web/standalone.py", line 257, in serve
    File "build/bdist.macosx-10.6-universal/egg/trac/web/standalone.py", line 109, in _init_
    File "build/bdist.macosx-10.6-universal/egg/trac/web/wsgi.py", line 231, in _init_
    File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/SocketS erver.py", line 400, in _init_
    self.server_bind()
    File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/BaseHTT PServer.py", line 108, in server_bind
    SocketServer.TCPServer.server_bind(self)
    File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/SocketS erver.py", line 411, in server_bind
    self.socket.bind(self.server_address)
    File "<string>", line 1, in bind
    socket.error: [Errno 48] Address already in use
    Can somebody please guide me to fix this?
    Message was edited by: capemacuser
    I realize that closing the terminal window "frees" the socket. But, is there something else that I can do while stopping the running application to ensure that the socket also gets "freed"?

    Control-Z does "stop" the process, but it doesn't kill it. Use Control-C to do that. Then, you may have to wait a couple of minutes for the OS to free up your socket until you can try again.

  • Ftp (GNU inetutils) 1.6 error : [ftp: bind: Address already in use]

    hi,
    recently I discovered that I cant connect to many ftp servers using the common command line ftp client from a 64bit archlinux box.
    I tried connecting from other PCs at the same network (iMac) and it works without problems, the error is general, shows with every ftp server I tried,
    the client connects and then freezes or returns an error (depending on the ftp server)
    ftp: bind: Address already in use
    I got no firewall or iptables rules, I installed ncftp with pacman and it works, so I assume it's a ftp (GNU) client error,
    thanks
    GL

    Hi,
    see
    http://forum.java.sun.com/thread.jsp?forum=136&thread=417946
    http://forum.java.sun.com/thread.jsp?forum=136&thread=430814
    -- markus.

  • Address already in use: connect

    Dear all,I've got always this following exception, if I get three times the method getDimensionTree. This method simply reads one dimension tree in Essbaseand constructs a DataTreeModel (like JTree) with the member names.The source is like a sample code from Hyperion, but whyever it is crashing using the EES 6.5 with Essbase 6.5.3.I believe, that the connections aren't removed. But however the getConnections-iterator is always returning null. And I debug the logsbefore and after a connect and disconnect, to be sure everything is closed.I tried this with Essbase 7.0 and EDS 7.0 and it works perfect, but I am not allowed to use the version 7 because of other tools combination. There I am using the m_olapServer.connect(true, false), whichis not available at the 6.5 JAPI. Therefore there is apublic void connect(boolean useEesSvrAtOlapSvrNode) throws EssException with useEesSvrAtOlapSvrNode - If true, the enterprise server at the node where this olap server resides is used to traffic the requests between the JAPI client and the olap server. If false, the enterprise server that authenticated the user is used to traffic the requests.but I cannot understand the sense of the parameter flag. But I think that this doesn't matter.22:03:15,171 ERROR [EssbaseQuery] com.essbase.api.base.EssException: Cannot connect to enterprise server. Address already in use: connectcom.essbase.api.base.EssException: Cannot connect to enterprise server. Address already in use: connect at com.essbase.api.session.EssOrbPluginTcpip.openConnection(EssOrbPluginTcpip.java:177) at com.essbase.api.session.EssOrbPluginTcpip.openConnection(EssOrbPluginTcpip.java:164) at com.essbase.api.session.EssOrbPluginTcpip.openConnection(EssOrbPluginTcpip.java:164) at com.essbase.api.session.EssOrbPluginTcpip.openConnection(EssOrbPluginTcpip.java:164) at com.essbase.api.session.EssOrbPluginTcpip.openConnection(EssOrbPluginTcpip.java:164) at com.essbase.api.session.EssOrbPluginTcpip.openConnection(EssOrbPluginTcpip.java:164) at com.essbase.api.session.EssOrbPluginTcpip.openConnection(EssOrbPluginTcpip.java:164) at com.essbase.api.session.EssOrbPluginTcpip.openConnection(EssOrbPluginTcpip.java:164) at com.essbase.api.session.EssOrbPluginTcpip.openConnection(EssOrbPluginTcpip.java:164) at com.essbase.api.session.EssOrbPluginTcpip.openConnection(EssOrbPluginTcpip.java:164) at com.essbase.api.session.EssOrbPluginTcpip.openConnection(EssOrbPluginTcpip.java:164) at com.essbase.api.session.EssOrbPluginTcpip.openConnection(EssOrbPluginTcpip.java:164) at com.essbase.api.session.EssOrbPluginTcpip.openConnection(EssOrbPluginTcpip.java:164) at com.essbase.api.session.EssOrbPluginTcpip.openConnection(EssOrbPluginTcpip.java:164) at com.essbase.api.session.EssOrbPluginTcpip.openConnection(EssOrbPluginTcpip.java:164) at com.essbase.api.session.EssOrbPluginTcpip.openConnection(EssOrbPluginTcpip.java:164) at com.essbase.api.session.EssOrbPluginTcpip.openConnection(EssOrbPluginTcpip.java:164) at com.essbase.api.session.EssOrbPluginTcpip.openConnection(EssOrbPluginTcpip.java:164) at com.essbase.api.session.EssOrbPluginTcpip.openConnection(EssOrbPluginTcpip.java:164) at com.essbase.api.session.EssOrbPluginTcpip.openConnection(EssOrbPluginTcpip.java:164) at com.essbase.api.session.EssOrbPluginTcpip.openConnection(EssOrbPluginTcpip.java:164) at com.essbase.api.session.EssOrbPluginTcpip.invokeMethod(EssOrbPluginTcpip.java:79) at com.essbase.api.session.EssOrbPluginTcpip.invokeMethod(EssOrbPluginTcpip.java:68) at com.essbase.api.session.EssOrbPlugin.getChildMemberNames(EssOrbPlugin.java:454) at com.essbase.api.base.EssCollection.getMembers(EssCollection.java:201) at com.essbase.api.base.EssCollection.<init>(EssCollection.java:59) at com.essbase.api.metadata.EssMember.getChildMembers(EssMember.java:871) at de.ebcot.bsctool.dw.essbase.EssbaseQuery.traverseDimension(EssbaseQuery.java:206)     public DataTreeModel getDimensionTree() throws DWException {          m_olapServer = (IEssOlapServer) m_domain.getOlapServer(m_config.getProperty(NamesEssbase.KEY_OLAP_SERVER_NAME));          // Open connection with olap server          m_olapServer.connect(true);          m_olapServer.setClientCachingEnabled(true);          m_olapServer.updatePropertyValues();        DataTreeModel   returnValue = null;        IEssCubeOutline cubeOutline = null;        try        {            cubeOutline = m_olapServer.getApplication(config.getProperty(NamesEssbase.KEY_APPLICATION_NAME)).getCube(config.getProperty(                    NamesEssbase.KEY_DATABASE_NAME)).openOutline();            IEssIterator  dims           = cubeOutline.getDimensions();            IEssDimension foundDimension = (IEssDimension) dims.getAt(0);            Node root = new Node(foundDimension.getDimensionRootMember().getName());            traverseDimension(root, foundDimension.getDimensionRootMember());            returnValue = new DataTreeModel(root);        } catch (EssException x) {            LOG.error(x, x);            throw new DWException("Failure while reading dimension members from cube: " + x.getMessage());        } finally {            try            {                if (cubeOutline.isOpen())                {                    LOG.debug("Closing cube...");                    cubeOutline.close();                    LOG.debug("Cube closed.");                } } catch (EssException x) {                LOG.error(x, x);                throw new DWException("Cannot close the cube: " + x.getMessage());            } } return returnValue; } // recursivley traverse of the tree to get every node private void traverseDimension(Node node, IEssMember mbr) throws EssException {           IEssIterator mbrs = mbr.getChildMembers(false);           for (int i = 0; i < mbrs.getCount(); i++)           {               NodeCombination child = new NodeCombination(((IEssMember) mbrs.getAt(i)).getName());               node.addNode(child);               traverseDimension(child, (IEssMember) mbrs.getAt(i));           } }Kind regards,Oliver Wolff

    We are seeing a similar exception, after not many calls:
    {http://xml.apache.org/axis/}stackTrace:java.net.BindException: Address already in use: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:391)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:252)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:239)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:385)
    at java.net.Socket.connect(Socket.java:543)
    at sun.reflect.GeneratedMethodAccessor208.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:618)
    at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:153)
    at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:120)
    at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
    at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)

  • Address already in use

    Hi Guys!
    I'm using Oracle9ias 9.0.3. When I execute
    $opmnctl startall, I get the next error in all instances (<instance>.default_island.1):
    java.net.BindException: Address already in use
    at java.net.PlainSocketImpl.socketBind(Native Method)
    I have 3 instances, each one with different port rmi, configured in opmn.xml.
    I used -Drmi.debug=true -Drmi.verbose=true in java-options and I got in the log:
    RMIServer.DEBUG: using OPMN, address is ZERO_ADDRESS, use local address instead
    RMIServer.DEBUG: creating RMIServer ServerSocket for address: antares.txp/127.0.0.1 port: 3114
    RMIServer.DEBUG: Launching RMIServer thread
    RMIServer.DEBUG: creating RMIServer ServerSocket for local address: antares.txp/127.0.0.1 port: 3114
    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:447)
    at java.net.ServerSocket.<init>
    Any idea??
    Thanks!
    Carlos Guerra

    Try to use netstat -an to see if there is anything listening on this port (you should see "LISTEN" on far right on line). There is no process id or whatever, you just know there is a server socket open - might be a different program, might be a running instance incorrectly shuted down...
    On the left there is a local address, on right there is a remote address (might be a connection from the same host, of course)
    If there is nothing running before starting server, there is probably a port mismatch in your settings (i. e. rmi port for next started instance is the same as jms or http port of prevous one... I don't know about all of the ports settings.
    Sometimes, especially on Windows there is a situation when server socket is not correctly closed and you have to restart Windows itself.
    Myrra

Maybe you are looking for

  • TEM-Training and event managment

    dear All, i need to make one Training program dependent on anothet one. i mean course B should have a prerequisite of course A in simple terms to attend course B he should have attended course A what is the relationship or customozation needed to be

  • I have a new computer and need to install Creative Suite 5

    I have downloaded the files with no problem.  I can start the install, enter the serial number, log in with my Adobe ID -- and when it gets to approx. 10% -- the installation stops and asks for a disk with this message.  Please insert disk Adobe Desi

  • Updated to 10.4.8 now Dock locks when right clicking icons

    After I updated my system with the 10.4.8 and the new itunes my computer loads a lot slower and when I click on an icon in the dock it either otally freezes the Finder for a bit or it just freezes the Dock with the right click menu stuck open and una

  • Demo version of  "SAP interactive forms by Adobe"?

    hi everyone, I would like to know if there is a way to download a demo version of "SAP interactive forms by Adobe"? I was asked to do so, in order to explore that solution, but I do not manage to do it. Thanks in advance Pierre

  • Movie Trailers - 2 Problems

    I think it's really cool that you can watch Movie Trailers on the Apple TV, but I have 2 issues with it. Maybe some of you are having these problems as well: - The trailers are sorted in Alphabetical order, which makes it impossible to know which tra