I have a question how to run JAR files with the parameters using a JNLP protocol . For example, to properly run the selenium-server-standalone-2.21.0.jar package I call it as:
selenium-server-standalone-2.21.0.jar -timeout 60000 -trustAllSSLCertificates -port 5555
When I add these parameters as:
<jar href="/selenium-server-standalone-2.21.0.jar -timeout 60000 -trustAllSSLCertificates -port 5555"/>
I’m getting error – no such file found. I guess that these parameters are treated as part of the file name and for this reason I got this error. Where can I place the parameters for the call JAR package in XML below.
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://test.com/">
<information>
<title>Selenium-Server-Standalone-2.21.0</title>
<vendor>ESKY Testers Toolkit</vendor>
<homepage href="http://www.esky.pl/"/>
<description>starts selenium server on client machine</description>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.4+"/>
<jar href="/selenium-server-standalone-2.21.0.jar"/>
</resources>
<application-desc main-class="org.openqa.selenium.server.SeleniumServer"/>
</jnlp>
Add
argelements as children of theapplication-descelement. E.G.Former comments (now deleted).