Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  "OplRun process is not responding, you must relaunch the Run Configuration"

    Posted 02/02/12 11:53 AM

    Originally posted by: SystemAdmin


    Hi everybody, I wrote a CPLEX model in CPLEX Optimization Studio 12.3, but randomly (depending on some input data) the solver stops with the error: "OplRun process is not responding, you must relaunch the Run Configuration". The error only occurs when running the model in the IDE: running it from command line does not lead to any error. The .log file in %APPDATA%\IBM\ILOG\CPLEX_Studio123\workspace\.metadata reports the following error:

    
    !ENTRY ilog.odms.ide.core 4 0 2012-02-02 17:35:59.406 !MESSAGE Oplrun process is not responding, you must relaunch the Run Configuration.   !ENTRY ilog.odms.ide.core 4 0 2012-02-02 17:36:02.372 !MESSAGE Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused: connect !STACK 0 java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused: connect at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:210) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:196) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122) at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source) at javax.management.remote.rmi.RMIConnectionImpl_Stub.close(RMIConnectionImpl_Stub.java:121) at javax.management.remote.rmi.RMIConnector.close(RMIConnector.java:492) at javax.management.remote.rmi.RMIConnector.close(RMIConnector.java:432) at ilog.odms.ide.internal.core.run.remote.IloRemoteOplrunLauncher.close(IloRemoteOplrunLauncher.java:442) at ilog.odms.ide.internal.core.run.remote.IloRemoteRunController.fireRunTerminated(IloRemoteRunController.java:165) at ilog.odms.ide.internal.core.run.IloAbstractRunController.requestAbort(IloAbstractRunController.java:757) at ilog.odms.ide.internal.core.run.IloAbstractRunController.terminate(IloAbstractRunController.java:824) at ilog.odms.ide.internal.core.run.remote.IloRemoteRunController$1.handleDebugEvents(IloRemoteRunController.java:153) at org.eclipse.debug.core.DebugPlugin$EventNotifier.run(DebugPlugin.java:1089) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.debug.core.DebugPlugin$EventNotifier.dispatch(DebugPlugin.java:1123) at org.eclipse.debug.core.DebugPlugin$EventDispatchJob.run(DebugPlugin.java:390) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:383) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:245) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:225) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:377) at java.net.Socket.connect(Socket.java:539) at java.net.Socket.connect(Socket.java:488) at java.net.Socket.<init>(Socket.java:385) at java.net.Socket.<init>(Socket.java:199) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:34) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:140) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:607) ... 17 more
    


    I have no clue why oplrun would have to connect to my loopback address (and only with certain input data files), but I've also checked firewall permissions, and nothing seems like to block it.

    Ideaas?

    Regards,
    Stefano
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: "OplRun process is not responding, you must relaunch the Run Configuration"

    Posted 02/06/12 04:21 PM

    Originally posted by: SystemAdmin


    Hi,

    can you solve your model outside the IDE? Use
    oplrun -p <your project>
    

    Trying that would help identify if the issue is in the IDE or at a lower level.

    Thanks
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: "OplRun process is not responding, you must relaunch the Run Configuration"

    Posted 02/07/12 10:36 AM

    Originally posted by: SystemAdmin


    As I said in the original post, "The error only occurs when running the model in the IDE: running it from command line does not lead to any error". So it seems to be an IDE-related issue. Moreover, the problem occurred with the x64 version of CPLEX studio. I also tried with the x86 one, and it works fine: could it be a bug?

    Regards,
    Stefano
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 4.  Re: "OplRun process is not responding, you must relaunch the Run Configuration"

    Posted 02/07/12 01:18 PM

    Originally posted by: SystemAdmin


    I would invite you to contact IBM support and submit your project so that they can investigate the origin of the issue and eventually file a bug report for this.
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 5.  Re: "OplRun process is not responding, you must relaunch the Run Configuration"

    Posted 02/08/12 04:01 AM

    Originally posted by: ArnaudS


    Hi,

    It is not really oplrun that try to connect to the loopback address but a java process.
    Can you check in your firewall permissions that there is no rules to block java.exe.

    Regards,
    Arnaud.
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 6.  Re: "OplRun process is not responding, you must relaunch the Run Configuration"

    Posted 02/08/12 05:36 AM

    Originally posted by: SystemAdmin


    The java process is not blocked by any firewall, but to be sure I also globally disabled it, and the error still occurs. The fact that it's showing up only with the x64 version makes me go for the "it's a bug" way. but before contacting the IBM Support I wrote here to be sure that there's nothing wrong on my side.

    Regards,
    Stefano
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 7.  Re: "OplRun process is not responding, you must relaunch the Run Configuration"

    Posted 03/26/12 04:14 AM

    Originally posted by: C.Lin


    Hi, have you found the solution, i also encoutered the same issue! Have not get any solution from IBM Support yet.
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 8.  Re: "OplRun process is not responding, you must relaunch the Run Configuration"

    Posted 03/26/12 06:50 AM

    Originally posted by: SystemAdmin


    Sorry for not having written a follow-up to this thread. Actually, since I updated CPLEX Optimization Studio to version 12.4 (do it, if you're using some previous versions), the problem has not been show up again. But unfortunately, I don't have the model whose solving process lead to this error anymore. If you can share your model, maybe someone can try it and see if the problem is showing up for them. Mind also that, at least in my personal experience, I found the x64 version of CPLEX a bit more unreliable compared to the x86 one (i.e., errors like this one are more likely to happen in the x64 version, rather than in the x86 one).

    Regards,
    Stefano
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 9.  Re: "OplRun process is not responding, you must relaunch the Run Configuration"

    Posted 06/20/12 09:02 AM

    Originally posted by: SystemAdmin


    Updating to 12.4 fixed this issue which I couldn't be able to reproduce any further.
    #DecisionOptimization
    #OPLusingCPLEXOptimizer