[OS] Need Help on OSJava setup on Tomcat

Ashwini Kumar Kamble ashwinikam at cybage.com
Fri Apr 20 02:23:53 EDT 2018


This problem got resolved, but internal code is not predictable sometimes it asks for

OSSolverService or OSSolverService-win32


From: Ashwini Kumar Kamble
Sent: Friday, April 13, 2018 4:44 PM
To: 'os at list.coin-or.org'
Subject: RE: Need Help on OSJava setup on Tomcat

Any idea what these statements mean

Try chmod u+x on the file OSSolverService. If this does not work see the next bullet point. - I tried this but no impact
   * (if necessary) add grant tomcat6 policies in OSServer/doc/tomcat6-policy.txt - what this statement means? I have added the policies in Catalina. policy, but no impact

Regards,
Ashwini Kumar

From: Ashwini Kumar Kamble
Sent: Friday, April 13, 2018 11:56 AM
To: 'os at list.coin-or.org'
Subject: Need Help on OSJava setup on Tomcat

Any thoughts?


This where we reached..carriedout all possible steps specified in INSTALL.txt, still the issues persist.

java.io.IOException: Cannot run program "C:\COINORTom9\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\OSServer\WEB-INF/classes/OSSolverService": CreateProcess error=5, Access is denied
       at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
       at java.lang.Runtime.exec(Runtime.java:620)
       at java.lang.Runtime.exec(Runtime.java:485)
       at org.optimizationservices.oscommon.util.StandardOSSolver.solve(StandardOSSolver.java:167)
       at org.optimizationservices.oscommon.util.OSServiceUtil$SolverThread.run(OSServiceUtil.java:5039)
       at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: CreateProcess error=5, Access is denied
       at java.lang.ProcessImpl.create(Native Method)
       at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
       at java.lang.ProcessImpl.start(ProcessImpl.java:137)
       at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
       ... 5 more

Regards,
Ashwini Kumar

From: Ashwini Kumar Kamble
Sent: Wednesday, April 11, 2018 8:45 PM
To: 'support at optimizationservices.org'
Subject: Need Help on OSJava setup on Tomcat

Hi,

Trying to setup OSJava, facing lots of show-stoppers.


-          The svn branch used to check out the base is ...
svn co https://projects.coin-or.org/svn/OS/branches/OSjava OSjava

-          Followed Tomcat installation for windows

o   OSThirdParty/scripts/get-third-party inclusion is not updated - have updated same with latest version of jars

-          The installation is based on Tomcat 6 and Eclipse Gallio - I tried to use latest version of Eclipse -Oxygin and Tomcat 8

o   Lots of project parameter I have updated - jar version in OSThirdParty, RUN Time environment to 8

-          Project got deployed successfully on Tomcat 8 - for Windows and Linux


-          Showstopper - while executing "test.bat"

o   Access denied as specified in installation.doc, I have added the grant permission to catalini.policy - tried only for windows

o   Some kind of linkage error

o   The problem is either accessing WEB-INF/classes/OSServices

o   Tried on Linux as well, same problem as I download platform specific file from http://www.coin-or.org/download/binary/OS/OSSolverService/

For linux it gives OSSolverService-2.3.5-linux-x86-gcc4.4.1  inside the zip and the test.sh is not compatible to execute.

Any help please.

Regards,
Ashwini Kumar

"Legal Disclaimer: This electronic message and all contents contain information from Cybage Software Private Limited which may be privileged, confidential, or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution, or use of the contents of this message is strictly prohibited. If you have received this electronic message in error please notify the sender by reply e-mail to and destroy the original message and all copies. Cybage has taken every reasonable precaution to minimize the risk of malicious content in the mail, but is not liable for any damage you may sustain as a result of any malicious content in this e-mail. You should carry out your own malicious content checks before opening the e-mail or attachment." www.cybage.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/os/attachments/20180420/1c86bca9/attachment-0001.html>


More information about the OS mailing list