Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Error : OplRun is not responding, you must relaunch the RunConfig

    Posted 06/25/18 10:44 AM

    Originally posted by: lifelongOptimizer


    I have model which I can successfully run using oplrun from command line. But if I launch the same model from the IDE, I get the error "OplRun is not responding, you must relaunch the RunConfig". This is even before the model starts running, so I am pretty sure it is not a memory issue. I faced this issue with 12.6 and so upgraded to 12.8 last week, but the issue persists.I also recenly ran Windows Update(the machine runs on Windows 7 Professional).

    Any help to fix this will be appreciated. Here is the dump from the log file - 

     

    !SESSION 2018-06-25 11:17:56.655 -----------------------------------------------

    eclipse.buildId=Build 0

    java.fullversion=8.0.5.0 - pwa6480sr5-20170905_01(SR5)

    JRE 1.8.0 IBM J9 2.9 Windows 7 amd64-64 Compressed References 20170901_363591 (JIT enabled, AOT enabled)

    J9VM - d56eb84

    JIT  - tr.open_20170901_140853_d56eb84

    OMR  - b033a01

    BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US

    Command-line arguments:  -os win32 -ws win32 -arch x86_64 -clean

     

    !ENTRY ilog.odms.ide.core 1 0 2018-06-25 11:18:28.863

    !MESSAGE ODM Bundle is OFF

     

    !ENTRY ilog.odms.ide.core 4 0 2018-06-25 11:18:51.062

    !MESSAGE Oplrun process is not responding, you must relaunch the Run Configuration.

     

    !ENTRY ilog.odms.ide.core 4 0 2018-06-25 11:18:53.570

    !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:631)

                    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:228)

                    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:214)

                    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:141)

                    at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)

                    at javax.management.remote.rmi.RMIConnectionImpl_Stub.close(Unknown Source)

                    at javax.management.remote.rmi.RMIConnector.close(RMIConnector.java:516)

                    at javax.management.remote.rmi.RMIConnector.close(RMIConnector.java:456)

                    at ilog.odms.ide.internal.core.run.remote.IloRemoteOplrunLauncher.close(IloRemoteOplrunLauncher.java:567)

                    at ilog.odms.ide.internal.core.run.remote.IloRemoteRunController.fireRunTerminated(IloRemoteRunController.java:167)

                    at ilog.odms.ide.internal.core.run.IloAbstractRunController.requestAbort(IloAbstractRunController.java:817)

                    at ilog.odms.ide.internal.core.run.IloAbstractRunController.terminate(IloAbstractRunController.java:886)

                    at ilog.odms.ide.internal.core.run.remote.IloRemoteRunController$1.handleDebugEvents(IloRemoteRunController.java:155)

                    at org.eclipse.debug.core.DebugPlugin$EventNotifier.run(DebugPlugin.java:1151)

                    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

                    at org.eclipse.debug.core.DebugPlugin$EventNotifier.dispatch(DebugPlugin.java:1187)

                    at org.eclipse.debug.core.DebugPlugin$EventDispatchJob.run(DebugPlugin.java:431)

                    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    Caused by: java.net.ConnectException: Connection refused: connect

                    at java.net.DualStackPlainSocketImpl.connect0(Native Method)

                    at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:90)

                    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:380)

                    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:236)

                    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:218)

                    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)

                    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403)

                    at java.net.Socket.connect(Socket.java:666)

                    at java.net.Socket.connect(Socket.java:606)

                    at java.net.Socket.<init>(Socket.java:469)

                    at java.net.Socket.<init>(Socket.java:239)

                    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:52)

                    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:160)

                    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:625)

                    ... 17 more


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Error : OplRun is not responding, you must relaunch the RunConfig

    Posted 06/25/18 02:46 PM

    Hi,

    can you attach your complete project so that other users could try ?

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: Error : OplRun is not responding, you must relaunch the RunConfig

    Posted 06/25/18 03:54 PM

    Originally posted by: lifelongOptimizer


    Alex,

    This is not an issue with just one project, but with all the projects ( > 10 ) in my workspace. I uninstalled and re-installed OPL, but the error is still repeating. Could the recent Windows Update be the reason?

    Thanks!


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 4.  Re: Error : OplRun is not responding, you must relaunch the RunConfig

    Posted 06/26/18 12:29 AM

    https://www-01.ibm.com/support/docview.wss?uid=swg21568610Hi

    could  help

    You could also try

    oplide -clean

    in the command line

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 5.  Re: Error : OplRun is not responding, you must relaunch the RunConfig

    Posted 06/28/18 01:43 AM

    Originally posted by: lifelongOptimizer


    Alex,

    I tried both the solutions you mentioned,but the problem still persists. It is not a memory issue, as I tried increasing operating system stack size. The log is still the same as I have posted in my original post. I believe this is the error -

    ENTRY ilog.odms.ide.core 4 0 2018-06-25 11:18:53.570

    !MESSAGE Connection refused to host: 127.0.0.1; nested exception is:

                    java.net.ConnectException: Connection refused: connect

    !STACK 0

    But no idea how to fix this!

     

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 6.  Re: Error : OplRun is not responding, you must relaunch the RunConfig

    Posted 06/28/18 02:42 AM

    Hi,

    which cplex version do you use ?

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 7.  Re: Error : OplRun is not responding, you must relaunch the RunConfig

    Posted 06/28/18 05:34 AM

    Originally posted by: lifelongOptimizer


    I faced this problem with 12.6.1, so upgraded to 12.8 last week. But the problem still persists, irrespective of cplex version.


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 8.  Re: Error : OplRun is not responding, you must relaunch the RunConfig

    Posted 06/28/18 05:37 AM

    Hi,

    have you tried to delete your workspace ?

    Workspace

    The workspace is the working directory in which you store your resources and work with them.

    The workspace can be located anywhere on your file system, but its default location is:

    C:\Users\IBM_ADMIN\workspace

     

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 9.  Re: Error : OplRun is not responding, you must relaunch the RunConfig

    Posted 06/28/18 10:34 AM

    Originally posted by: lifelongOptimizer


    Tried this just now - didn't help. But I noticed that when I created the new workspace, opened OPL and imported the project, the IDE was stuck at "Building Workspace(0%)" and finally had to kill it using task manager. What could cause the building process to hang?


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 10.  Re: Error : OplRun is not responding, you must relaunch the RunConfig

    Posted 06/28/18 02:07 PM