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 876783
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T11:29:24+00:00 2026-05-15T11:29:24+00:00

I am trying to use Selenium RC but i keep getting this error whenever

  • 0

I am trying to use Selenium RC but i keep getting this error whenever i start the server.

The command i use is

java -jar selenium-server.jar -multiwindow -htmlsuite *iexplore http://localhost/app testsuite.html testsuiteoutfile.html


    Starting Selenium Server....
    18:14:29.086 INFO - Java: Sun Microsystems Inc. 10.0-b23
    18:14:29.086 INFO - OS: Windows XP 5.1 x86
    18:14:29.102 INFO - v2.0 [a2], with Core v2.0 [a2]
    18:14:29.227 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub
    18:14:29.227 INFO - Version Jetty/5.1.x
    18:14:29.242 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
    18:14:29.242 INFO - Started HttpContext[/selenium-server,/selenium-server]
    18:14:29.242 INFO - Started HttpContext[/,/]
    18:14:29.336 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@2bbd86
    18:14:29.352 INFO - Started HttpContext[/wd,/wd]
    18:14:29.367 INFO - Started SocketListener on 0.0.0.0:4444
    18:14:29.367 INFO - Started org.openqa.jetty.jetty.Server@14ed9ff
    HTML suite exception seen:
    java.lang.RuntimeException: sessionId 69367 doesn't exist; perhaps this session was already stopped?
            at org.openqa.selenium.server.FrameGroupCommandQueueSet.getQueueSet(FrameGroupCommandQueueSet.java:220)
            at org.openqa.selenium.server.browserlaunchers.HTABrowserLauncher.writeSessionExtensionJs(HTABrowserLauncher.java:117)
            at org.openqa.selenium.server.browserlaunchers.HTABrowserLauncher.createHTAFiles(HTABrowserLauncher.java:102)
            at org.openqa.selenium.server.browserlaunchers.HTABrowserLauncher.launch(HTABrowserLauncher.java:63)
            at org.openqa.selenium.server.browserlaunchers.HTABrowserLauncher.launchHTMLSuite(HTABrowserLauncher.java:155)
            at org.openqa.selenium.server.htmlrunner.HTMLLauncher.runHTMLSuite(HTMLLauncher.java:121)
            at org.openqa.selenium.server.htmlrunner.HTMLLauncher.runHTMLSuite(HTMLLauncher.java:166)
            at org.openqa.selenium.server.SeleniumServer.runHtmlSuite(SeleniumServer.java:545)
            at org.openqa.selenium.server.SeleniumServer.boot(SeleniumServer.java:239)
            at org.openqa.selenium.server.SeleniumServer.main(SeleniumServer.java:198)
    18:14:30.320 INFO - Shutting down...

I tried to use a different port number and in debug mode and the output is shown here

No there are no other tests or applications running on port 4444. I even tried restarting my machine just to confirm.
Here is the error again when i tried to start it using port 6565 and in debug mode

    C:\workarea\wip\SeleniumSuite>runenssuite all
    Starting Selenium Server....
    18:35:06.088 INFO - Java: Sun Microsystems Inc. 10.0-b23
    18:35:06.104 INFO - OS: Windows XP 5.1 x86
    18:35:06.104 INFO - v2.0 [a2], with Core v2.0 [a2]
    18:35:06.119 INFO - Selenium server running in debug mode.
    18:35:06.135 DEBUG - add component: SocketListener0@0.0.0.0:6565
    18:35:06.166 DEBUG - add component: org.openqa.jetty.http.ResourceCache@18a47e0
    18:35:06.182 DEBUG - add component: org.openqa.selenium.server.ProxyHandler in HttpContext[/,/]
    18:35:06.182 DEBUG - add component: HttpContext[/,/]
    18:35:06.182 DEBUG - Added HttpContext[/,/] for host *
    18:35:06.182 DEBUG - add component: org.openqa.jetty.http.ResourceCache@89fbe3
    18:35:06.197 DEBUG - added SC{BASIC,null,user,CONFIDENTIAL} at /tests/html/basicAuth/*
    18:35:06.213 DEBUG - add component: org.openqa.jetty.http.handler.SecurityHandler in HttpContext[/selenium-server,/selenium-server]
    18:35:06.213 DEBUG - add component: org.openqa.selenium.server.StaticContentHandler in HttpContext[/selenium-server,/selenium-server]
    18:35:06.229 DEBUG - add component: org.openqa.selenium.server.SessionExtensionJsHandler in HttpContext[/selenium-server,/selenium-server]
    18:35:06.229 DEBUG - add component: org.openqa.selenium.server.htmlrunner.SingleTestSuiteResourceHandler in HttpContext[/selenium-server,/selenium-ser
    ver]
    18:35:06.229 DEBUG - add component: org.openqa.selenium.server.htmlrunner.SeleniumHTMLRunnerResultsHandler@1bf6770
    18:35:06.244 DEBUG - add component: org.openqa.selenium.server.CachedContentTestHandler@94948a
    18:35:06.244 DEBUG - add component: HttpContext[/selenium-server,/selenium-server]
    18:35:06.244 DEBUG - Added HttpContext[/selenium-server,/selenium-server] for host *
    18:35:06.260 DEBUG - add component: org.openqa.jetty.http.ResourceCache@c51355
    18:35:06.276 DEBUG - add component: org.openqa.selenium.server.SeleniumDriverResourceHandler in HttpContext[/selenium-server,/selenium-server]
    18:35:06.276 DEBUG - add component: HttpContext[/selenium-server/driver,/selenium-server/driver]
    18:35:06.291 DEBUG - Added HttpContext[/selenium-server/driver,/selenium-server/driver] for host *
    18:35:06.291 DEBUG - add component: org.openqa.jetty.http.ResourceCache@253498
    18:35:06.307 DEBUG - add component: WebDriver remote server
    18:35:06.322 DEBUG - add component: org.openqa.jetty.jetty.servlet.HashSessionManager@16930e2
    18:35:06.322 DEBUG - add component: org.openqa.jetty.jetty.servlet.ServletHandler@108786b
    18:35:06.354 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:6565/wd/hub
    18:35:06.354 DEBUG - add component: HttpContext[/wd,/wd]
    18:35:06.354 DEBUG - Added HttpContext[/wd,/wd] for host *
    18:35:06.369 DEBUG - Starting org.openqa.jetty.jetty.Server@18eb9e6
    18:35:06.369 INFO - Version Jetty/5.1.x
    18:35:06.369 DEBUG - LISTENERS: [SocketListener0@0.0.0.0:6565]
    18:35:06.385 DEBUG - HANDLER: {null={/selenium-server/driver/*=[HttpContext[/selenium-server/driver,/selenium-server/driver]], /selenium-server/*=[Htt
    pContext[/selenium-server,/selenium-server]], /=[HttpContext[/,/]], /wd/*=[HttpContext[/wd,/wd]]}}
    18:35:06.385 DEBUG - Starting HttpContext[/selenium-server/driver,/selenium-server/driver]
    18:35:06.385 DEBUG - Init classloader from null, sun.misc.Launcher$AppClassLoader@11b86e7 for HttpContext[/selenium-server/driver,/selenium-server/dri
    ver]
    18:35:06.401 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
    18:35:06.401 DEBUG - Starting HttpContext[/selenium-server,/selenium-server]
    18:35:06.401 DEBUG - Init classloader from null, sun.misc.Launcher$AppClassLoader@11b86e7 for HttpContext[/selenium-server,/selenium-server]
    18:35:06.416 DEBUG - Started org.openqa.jetty.http.handler.SecurityHandler in HttpContext[/selenium-server,/selenium-server]
    18:35:06.416 DEBUG - Started org.openqa.selenium.server.StaticContentHandler in HttpContext[/selenium-server,/selenium-server]
    18:35:06.416 DEBUG - Started org.openqa.selenium.server.SessionExtensionJsHandler in HttpContext[/selenium-server,/selenium-server]
    18:35:06.416 DEBUG - Started org.openqa.selenium.server.htmlrunner.SingleTestSuiteResourceHandler in HttpContext[/selenium-server,/selenium-server]
    18:35:06.432 DEBUG - Started org.openqa.selenium.server.SeleniumDriverResourceHandler in HttpContext[/selenium-server,/selenium-server]
    18:35:06.432 INFO - Started HttpContext[/selenium-server,/selenium-server]
    18:35:06.432 DEBUG - Starting HttpContext[/,/]
    18:35:06.432 DEBUG - Init classloader from null, sun.misc.Launcher$AppClassLoader@11b86e7 for HttpContext[/,/]
    18:35:06.447 DEBUG - Started org.openqa.selenium.server.ProxyHandler in HttpContext[/,/]
    18:35:06.447 INFO - Started HttpContext[/,/]
    18:35:06.447 DEBUG - Starting HttpContext[/wd,/wd]
    18:35:06.447 DEBUG - Init classloader from null, sun.misc.Launcher$AppClassLoader@11b86e7 for HttpContext[/wd,/wd]
    18:35:06.463 DEBUG - Starting org.openqa.jetty.jetty.servlet.ServletHandler@108786b
    18:35:06.463 DEBUG - New random session seed
    18:35:06.557 DEBUG - Started holder of class org.openqa.selenium.remote.server.DriverServlet
    18:35:06.557 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@108786b
    18:35:06.572 INFO - Started HttpContext[/wd,/wd]
    18:35:06.572 DEBUG - Session scavenger period = 30s
    18:35:06.588 INFO - Started SocketListener on 0.0.0.0:6565
    18:35:06.588 INFO - Started org.openqa.jetty.jetty.Server@18eb9e6
    18:35:06.604 DEBUG - Requested browser string '*iehta' matches *iehta
    18:35:06.697 DEBUG - Extracting /core to c:\DOCUME~1\702723~1\LOCALS~1\Temp\customProfileDir306604\core
    HTML suite exception seen:
    java.lang.RuntimeException: sessionId 306604 doesn't exist; perhaps this session was already stopped?
            at org.openqa.selenium.server.FrameGroupCommandQueueSet.getQueueSet(FrameGroupCommandQueueSet.java:220)
            at org.openqa.selenium.server.browserlaunchers.HTABrowserLauncher.writeSessionExtensionJs(HTABrowserLauncher.java:117)
            at org.openqa.selenium.server.browserlaunchers.HTABrowserLauncher.createHTAFiles(HTABrowserLauncher.java:102)
            at org.openqa.selenium.server.browserlaunchers.HTABrowserLauncher.launch(HTABrowserLauncher.java:63)
            at org.openqa.selenium.server.browserlaunchers.HTABrowserLauncher.launchHTMLSuite(HTABrowserLauncher.java:155)
            at org.openqa.selenium.server.htmlrunner.HTMLLauncher.runHTMLSuite(HTMLLauncher.java:121)
            at org.openqa.selenium.server.htmlrunner.HTMLLauncher.runHTMLSuite(HTMLLauncher.java:166)
            at org.openqa.selenium.server.SeleniumServer.runHtmlSuite(SeleniumServer.java:545)
            at org.openqa.selenium.server.SeleniumServer.boot(SeleniumServer.java:239)
            at org.openqa.selenium.server.SeleniumServer.main(SeleniumServer.java:198)
    C:\workarea\wip\SeleniumSuite>

Update #19:37
OK another update – if i change the browser from *iexplore to *iexploreproxy it seems to work. Is there any reason for this?

Update #21:45
I tried to donwload an older version of Selenium RC and the older version (0.9.2) works fine. Its possible that this is something that affects just the new version.

  • 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-05-15T11:29:25+00:00Added an answer on May 15, 2026 at 11:29 am

    An observation is noted in the command used to run your html suite: can you try the following command:

    java -jar selenium-server.jar -htmlSuite *iexplore "http://localhost/app" "testsuite.html" "testsuiteoutfile.html"
    

    Note1: make sure you are referring to the correct path where your ‘testsuite.html’ is located. Eg: “C:\testsuite.html”

    Note2: Same applies for the output file too, make sure you refer to the specific directory where you want to save your result.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to use PHPUnit with selenium I start the server java -jar
I am trying to use PHPUnit with selenium I start the server java -jar
I'm trying use to selenium with firefox on CentOS from command line like this:
I run GWT OBF (thus this isn't the problem), but when I use Selenium
Selenium's webdriver gives me that error when trying to use the Chrome or IE
I'm trying to use fsockopen() to check if a Selenium Server is running. When
I'm trying to use Selenium WebDriver to input text to a GWT input element
I am trying to use selenium.getEval() to get all of the elements with a
I'm trying use self-signed certificate (c#): X509Certificate2 cert = new X509Certificate2( Server.MapPath(~/App_Data/myhost.pfx), pass); on
I am trying use a Java Uploader in a ROR app (for its ease

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.