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