Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
Expand all | Collapse all

OPL IDE in linux can't connect to CPLEX server

  • 1.  OPL IDE in linux can't connect to CPLEX server

    Posted 10/10/13 09:31 AM

    Originally posted by: jpolako


    I'm trying to install opl studio in Linux (centos & ubuntu) and the installer file works fine, cplex and opl run perfectly under the terminal, but when I try to run the oplide (eclipse) the cplex server (http://localhost:8080/odme) show this message: "Not Reachable".

    I can't install windows on this computers, so I have to run CPLEX studio on Linux so, what can I do to fix this issue???

    Looking the log in the terminal this message is shown:

    INFO: Unable to sendViaPost to url[http://localhost:8080/odme/applicationserver/services/DeploymentManager]

    Throwable occurred: java.net.ConnectException: Connection refused

                    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:381)

                    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:243)

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

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

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

                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)

                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)

                    at java.lang.reflect.Method.invoke(Method.java:611)

                    at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:139)

                    at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:124)

                    at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)

                    at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321)

                    at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)

                    at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)

                    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)

                    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)

                    at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:520)

                    at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:191)

                    at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)

                    at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:327)

                    at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:206)

                    at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)

                    at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374)

                    at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)

                    at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)

                    at ilog.odms.applicationserver.deployment.ws.client.DeploymentManagerStub.listByType(DeploymentManagerStub.java:1457)

                    at ilog.odms.applicationserver.deployment.ws.client.IloDeploymentManagerWebService.listByType(IloDeploymentManagerWebService.java:244)

                    at com.ibm.ilog.optim.server.client.impl.CplexServerImpl.getDeployedApplications(CplexServerImpl.java:93)

                    at com.ibm.ilog.optim.server.client.impl.CplexServerImpl.getDeployedApplications(CplexServerImpl.java:1)

                    at ilog.odms.ide.server.ui.core.ServerDescription.computeInfo(ServerDescription.java:148)

                    at ilog.odms.ide.server.ui.core.ServerViewModel.build(ServerViewModel.java:65)

                    at ilog.odms.ide.server.ui.views.UpdateJob.run(ServersView.java:133)

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


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: OPL IDE in linux can't connect to CPLEX server

    Posted 10/15/13 04:52 AM

    Hi,

     

    have you installed CPLEX Enterprise Server ?

    Have you tried to execute simply ? Not execute on a server ?

     

    Regards

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: OPL IDE in linux can't connect to CPLEX server

    Posted 10/15/13 04:25 PM

    Originally posted by: jpolako


    Hi AlexFleischer,

    I've installed only IBM ILOG CPLEX Optimization Studio V12.5 Multiplatform Multilingual eAssembly (CRK87ML) and works fine in Windows but in Linux present this issue.

    I'll try to install IBM ILOG CPLEX Enterprise Server V12.5 Multiplatform Multilingual eAssembly (CRK88ML) and I'll tell you if it works.

    Thanks,

    jpolako


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 4.  Re: OPL IDE in linux can't connect to CPLEX server

    Posted 10/16/13 03:36 AM

    Hi,

     

    do not hesitate to attach some screenshots.

    You can also log a PMR.

    Did you follow all the steps in the documentation

    Automated CPLEX Enterprise Server installation for WAS

    ?

    The step-by-step procedures in this section describe the Automated Installation procedure for IBM ILOG CPLEX Enterprise Server on a WAS 7.0 instance. This procedure uses a script to issue the WAS configuration commands automatically.


    #DecisionOptimization
    #OPLusingCPLEXOptimizer