Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7889847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T06:12:09+00:00 2026-06-03T06:12:09+00:00

I have a question how to run JAR files with the parameters using a

  • 0

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>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T06:12:10+00:00Added an answer on June 3, 2026 at 6:12 am

    Add arg elements as children of the application-desc element. E.G.

    <?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+"/>
      <!-- size.  The downloadable size of the JAR file in bytes. -->
      <jar href="/selenium-server-standalone-2.21.0.jar" size="21247" />
    </resources>
    <application-desc main-class="org.openqa.selenium.server.SeleniumServer">
        <argument>-timeout</argument>
        <argument>60000</argument>
        <!-- etc... -->
    </application-desc>
    </jnlp>
    

    Former comments (now deleted).

    • Uninstall the app. before testing the new JNLP. The launch files can be very update resistant. In fact, when changing the JNLP – I’d generally change the cache location (via the Java Control Panel) to test the new launch file.
    • JNLP. Check the (well-formedness and) validity (amongst other things) of the launch file using JaNaLA. Correct any errors in pink/red before proceeding to another test.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have question regarding the use of function parameters. In the past I have
I am using Drools Planner which ships with 21 Jar files in a directory
I have a server program running a java binary code (xx.jar file). While it
I use ant for creating .jar files in Eclipse. Works great. I have a
I have put my jar files in folder named myLibs under lib folder of
Situation : I have jar file on server PC (PC act as server), a.jar
So I have a maven project which produces a jar package containing some ant
I have written a standalone Java application that I've packaged into a jar file
I have question about sending emails from MVC3 application. I already read for exmple
I have question about how I can save the result of function I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.