Selenium server hangs "could n't create firefox profile" - firefox

I am trying to run selenium test suite from terminal using following command:
java -jar /var/lib/selenium/selenium-server.jar -timeout 60 -htmlSuite " firefox /usr/lib/firefox/firefox" "http://url " "/test- case/new/test_suite.html" "/test-case/selenium.html"
running the above command in terminal outputs following->
20:08:59.134 INFO - Launching a standalone server
20:08:59.175 INFO - Java: Oracle Corporation 25.45-b02
20:08:59.176 INFO - OS: Linux 3.13.0-52-generic amd64
20:08:59.186 INFO - v2.45.0, with Core v2.45.0. Built from revision 5017cb8
20:08:59.247 INFO - Default driver org.openqa.selenium.ie.InternetExplorerDriver registration is skipped: registration capabilities Capabilities [{ensureCleanSession=true, browserName=internet explorer, version=, platform=WINDOWS}] does not match with current platform: LINUX
20:08:59.300 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub
20:08:59.301 INFO - Version Jetty/5.1.x
20:08:59.303 INFO - Started HttpContext[/selenium-server,/selenium-server]
20:08:59.328 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler#256216b3
20:08:59.328 INFO - Started HttpContext[/wd,/wd]
20:08:59.329 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
20:08:59.329 INFO - Started HttpContext[/,/]
20:08:59.332 INFO - Started SocketListener on 0.0.0.0:4444
20:08:59.332 INFO - Started org.openqa.jetty.jetty.Server#133314b
jar:file:/var/lib/selenium/selenium-server.jar!/customProfileDirCUSTFFCHROME
20:08:59.465 INFO - Preparing Firefox profile...
<-----stuck here--->
After searching the web, I found a lot of solutions (answered before 2013). The summary of those solutions are incompatibility between selenium server and Firefox version. I tried most the solutions but none of them worked.
I am using ubuntu 14.04(docker-image). Firefox is running perfectly under xvfb. .py test suites are also running perfectly using selenium python module. The problem occurs only when the test suites are invoked from terminal.
Selenium server version: 2.45.0
Firefox version: 38.0
Need solution badly.

Related

NativeLibraryDarwin.java:64 - Failed to link the C library against JNA. Native methods will be unavailable

If you are working on a latest MacBook pro with M1 chip. Installing Cassandra and starting it might throw an error.
Steps
1: Installed Jdk8
2: Installed Cassandra 4.0.1
How to start: /opt/homebrew/opt/cassandra/bin/cassandra -f
Output:
ERROR [main] 2021-10-08 00:03:12,568 NativeLibraryDarwin.java:64 - Failed to link the C library against JNA. Native methods will be unavailable.
java.lang.UnsatisfiedLinkError: /opt/homebrew/Cellar/cassandra/4.0.1/tmp/jna9964159388012624603.tmp: dlopen(/opt/homebrew/Cellar/cassandra/4.0.1/tmp/jna9964159388012624603.tmp, 1): no suitable image found. Did find:
/opt/homebrew/Cellar/cassandra/4.0.1/tmp/jna9964159388012624603.tmp: no matching architecture in universal wrapper
/opt/homebrew/Cellar/cassandra/4.0.1/tmp/jna9964159388012624603.tmp: no matching architecture in universal wrapper
at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2442)
at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2498)
at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2694)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2627)
at java.base/java.lang.Runtime.load0(Runtime.java:768)
at java.base/java.lang.System.load(System.java:1837)
at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:1018)
at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:988)
at com.sun.jna.Native.<clinit>(Native.java:195)
at com.sun.jna.NativeLibrary.<clinit>(NativeLibrary.java:87)
at org.apache.cassandra.utils.NativeLibraryDarwin.<clinit>(NativeLibraryDarwin.java:55)
at org.apache.cassandra.utils.NativeLibrary.<clinit>(NativeLibrary.java:98)
at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:258)
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:763)
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:887)
INFO [main] 2021-10-08 00:03:12,596 MonotonicClock.java:199 - Scheduling approximate time conversion task with an interval of 10000 milliseconds
INFO [main] 2021-10-08 00:03:12,597 MonotonicClock.java:335 - Scheduling approximate time-check task with a precision of 2 milliseconds
WARN [main] 2021-10-08 00:03:12,597 StartupChecks.java:143 - jemalloc shared library could not be preloaded to speed up memory allocations
WARN [main] 2021-10-08 00:03:12,597 StartupChecks.java:187 - JMX is not enabled to receive remote connections. Please see cassandra-env.sh for more info.
ERROR [main] 2021-10-08 00:03:12,597 CassandraDaemon.java:909 - The native library could not be initialized properly.
Solution:
Find where is jna-..*.jar located. you can do this using
find /opt/homebrew/ -name '*.jar' | grep cassandra
Browse to https://search.maven.org/artifact/net.java.dev.jna/jna/5.8.0/jar and download the jar from top-right downloads button on the page.
Replace your jna-..*.jar file with the one you downloaded. In my case i replaced jna-5.6.0.jar. Remember to keep the file name as your previous file name. Example I moved jna-5.8.0.jar and renamed as jna-5.6.0.jar
mv /Users/mansooralikhan/Downloads/jna-5.8.0.jar /opt/homebrew/Cellar/cassandra/4.0.1/libexec/jna-5.6.0.jar
Restart cassandra
To echo Mansoor's answer, I'll add that the version of JNA shipped with Apache Cassandra 4.0 unfortunately is not compatible with the M1 architecture.
To remedy this, head to the "downloads" section of the JNA GitHub repo, where you should find the latest version of the JNA jar file.
https://github.com/java-native-access/jna#jna
Download JNA version 5.8 or higher, and replace the existing jna-5.6.0.jar file in Cassandra's lib/ directory (tarball-based installs).
Just to add to the answers here, I wanted to note for posterity that the issue with arm64 on Apple M1 devices not supported by JNA 5.6.0 has been raised with the Apache Cassandra project previously.
More recently, it has been reported in CASSANDRA-17019. I brought it up with the project devs/contributors and hopefully it gets reviewed and resolved soon. Cheers!

Problem running IntelliJ Idea remotely via xquartz (x11 for mac). java.awt.HeadlessException

At the moment I am trying to run Intellij Idea remotely using x11 over ssh, such that I see the widgets on my personal iMac, but the IDE is actually running on my work issued MacPro. This way I can work from home during the Corona outbreak with a decent size monitor without violating company policy concerning work related code on a personal computer. To that effect I enabled X11 forwarding on the SSH daemon running on my work machine, and installed xquartz on both machines. From my home machine I was able to ssh into my work machine and run x11 programs such as xclock and xeyes without any problems. When I try to run Idea, however I get an exception:
/Applications/IntelliJ\ IDEA.app/Contents/MacOS/idea
2020-03-17 20:29:57,056 [ 2940] ERROR - nsions.impl.ExtensionPointImpl - null
java.awt.HeadlessException
at java.desktop/java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:208)
at java.desktop/java.awt.Window.<init>(Window.java:548)
at java.desktop/java.awt.Frame.<init>(Frame.java:423)
at java.desktop/java.awt.Frame.<init>(Frame.java:388)
at java.desktop/javax.swing.JFrame.<init>(JFrame.java:180)
at com.intellij.openapi.wm.impl.welcomeScreen.FlatWelcomeFrame.<init>(FlatWelcomeFrame.java:93)
at com.intellij.openapi.wm.impl.welcomeScreen.FlatWelcomeFrameProvider.createFrame(FlatWelcomeFrameProvider.java:27)
at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame.lambda$createWelcomeFrame$1(WelcomeFrame.java:177)
at com.intellij.openapi.extensions.impl.ExtensionProcessingHelper.computeSafeIfAny(ExtensionProcessingHelper.java:45)
at com.intellij.openapi.extensions.ExtensionPointName.computeSafeIfAny(ExtensionPointName.java:60)
at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame.createWelcomeFrame(WelcomeFrame.java:177)
at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame.prepareToShow(WelcomeFrame.java:159)
at com.intellij.idea.IdeStarter.main(ApplicationLoader.kt:510)
at com.intellij.idea.ApplicationLoader$startApp$8$1.run(ApplicationLoader.kt:240)
at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:193)
at com.intellij.idea.ApplicationLoader$startApp$8.run(ApplicationLoader.kt:239)
at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:783)
at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:908)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:781)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:424)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:698)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:423)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
2020-03-17 20:29:57,058 [ 2942] ERROR - nsions.impl.ExtensionPointImpl - IntelliJ IDEA 2019.3.3 Build #IU-193.6494.35
2020-03-17 20:29:57,058 [ 2942] ERROR - nsions.impl.ExtensionPointImpl - JDK: 11.0.5; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o
2020-03-17 20:29:57,058 [ 2942] ERROR - nsions.impl.ExtensionPointImpl - OS: Mac OS X
2020-03-17 20:29:57,067 [ 2951] ERROR - nsions.impl.ExtensionPointImpl - Last Action:
2020-03-17 20:29:57,068 [ 2952] ERROR - llij.ide.plugins.PluginManager - java.awt.HeadlessException
java.util.concurrent.CompletionException: java.awt.HeadlessException
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319)
at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:787)
at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:908)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:781)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:424)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:698)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:423)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.awt.HeadlessException
at java.desktop/java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:208)
at java.desktop/java.awt.Window.<init>(Window.java:548)
at java.desktop/java.awt.Frame.<init>(Frame.java:423)
at java.desktop/java.awt.Frame.<init>(Frame.java:388)
at java.desktop/javax.swing.JFrame.<init>(JFrame.java:180)
at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame.<init>(WelcomeFrame.java:48)
at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame.createWelcomeFrame(WelcomeFrame.java:178)
at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame.prepareToShow(WelcomeFrame.java:159)
at com.intellij.idea.IdeStarter.main(ApplicationLoader.kt:510)
at com.intellij.idea.ApplicationLoader$startApp$8$1.run(ApplicationLoader.kt:240)
at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:193)
at com.intellij.idea.ApplicationLoader$startApp$8.run(ApplicationLoader.kt:239)
at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:783)
... 19 more
I tried setting one of the idea.vmoptions -Djava.awt.headless=false to help it figure out that there is a actually a remote display device, but this did not help matters. Any help welcome. I am sure I am not the only person working from home and hitting this problem.
The IntelliJ for Mac does not use X11. The moment you start IntelliJ, it will display on your MacPro. It's a big misunderstood for years that Java Application on MacOS could do X11 Forwarding.
You need to use IntelliJ for Linux, running on Linux (could be Docker Container) to do X11 Forwarding.

Protractor: OS X: The path to the driver executable must be set by the webdriver.chrome.driver system property

Just cannot get it to work on my mac.
Its been working fine on my windows machine w/t any config changes and so on but I installed it on my Mac and running out of ideas how to get it to work
Node Version: 3.10.7
Protractor Version: Version 4.0.13
Browser(s): Chrome
Operating System and Version OS X El Capitan
Installed drivers:
/usr/local/lib/node_modules/protractor/node_modules/webdriver-manager/selenium
and there's chromedriver_2.25
additionally:
downloaded from https://chromedriver.storage.googleapis.com/index.html?path=2.26/
copied to: /usr/local/lib/node_modules/protractor/node_modules/webdriver-manager/selenium
still not working
is there any way to set this in the conf file or something' ?
Log:
$ protractor conf_basic.js
[18:34:22] I/hosted - Using the selenium server at http://localhost:4444/wd/hub
[18:34:22] I/launcher - Running 1 instances of WebDriver
[18:34:23] E/launcher - The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver. The latest version can be downloaded from http://chromedriver.storage.googleapis.com/index.html
[18:34:23] E/launcher - WebDriverError: The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver. The latest version can be downloaded from http://chromedriver.storage.googleapis.com/index.html
at WebDriverError (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/error.js:27:5)
at Object.checkLegacyResponse (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/error.js:639:15)
at parseHttpResponse (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/http/index.js:538:13)
at client_.send.then.response (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/http/index.js:472:11)
at ManagedPromise.invokeCallback_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:1379:14)
at TaskQueue.execute_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2913:14)
at TaskQueue.executeNext_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2896:21)
EDIT
webdriver-manager update --versions.chrome 2.26
[07:32:45] I/update - selenium standalone: file exists /usr/local/lib/node_modules/protractor/node_modules/webdriver-manager/selenium/selenium-server-standalone-2.53.1.jar
[07:32:45] I/update - selenium standalone: v2.53.1 up to date
[07:32:45] I/update - chromedriver: file exists /usr/local/lib/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_2.26mac64.zip
[07:32:45] I/update - chromedriver: unzipping chromedriver_2.26mac64.zip
[07:32:45] I/update - chromedriver: setting permissions to 0755 for /usr/local/lib/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_2.26
[07:32:45] I/update - chromedriver: v2.26 up to date
[07:32:47] I/update - geckodriver: file exists /usr/local/lib/node_modules/protractor/node_modules/webdriver-manager/selenium/geckodriver-v0.11.1-macos.tar.gz
[07:32:47] I/update - geckodriver: unzipping geckodriver-v0.11.1-macos.tar.gz
[07:32:47] I/update - geckodriver: setting permissions to 0755 for /usr/local/lib/node_modules/protractor/node_modules/webdriver-manager/selenium/geckodriver-v0.11.1
[07:32:47] I/update - geckodriver: vv0.11.1 up to date
to gave it even more permission i went to: /usr/local/lib/node_modules/protractor/node_modules/webdriver-manager/selenium
and executed chmod 777 chromedriver_2.26
And I start it: webdriver-manager start --versions.chrome 2.26 as you told me to. Still no joy
[07:38:11] I/start - java -Dwebdriver.chrome.driver=/usr/local/lib/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_2.26 -Dwebdriver.gecko.driver=/usr/local/lib/node_modules/protractor/node_modules/webdriver-manager/selenium/geckodriver-v0.11.1 -jar /usr/local/lib/node_modules/protractor/node_modules/webdriver-manager/selenium/selenium-server-standalone-2.53.1.jar -port 4444
[07:38:11] I/start - seleniumProcess.pid: 509
07:38:12.779 INFO - Launching a standalone Selenium Server
07:38:12.887 INFO - Java: Oracle Corporation 25.101-b13
07:38:12.887 INFO - OS: Mac OS X 10.11.6 x86_64
07:38:12.965 INFO - v2.53.1, with Core v2.53.1. Built from revision a36b8b1
07:38:13.106 INFO - Driver provider org.openqa.selenium.ie.InternetExplorerDriver registration is skipped:
registration capabilities Capabilities [{ensureCleanSession=true, browserName=internet explorer, version=, platform=WINDOWS}] does not match the current platform MAC
07:38:13.107 INFO - Driver provider org.openqa.selenium.edge.EdgeDriver registration is skipped:
registration capabilities Capabilities [{browserName=MicrosoftEdge, version=, platform=WINDOWS}] does not match the current platform MAC
07:38:13.107 INFO - Driver class not found: com.opera.core.systems.OperaDriver
07:38:13.107 INFO - Driver provider com.opera.core.systems.OperaDriver is not registered
07:38:13.110 INFO - Driver class not found: org.openqa.selenium.htmlunit.HtmlUnitDriver
07:38:13.110 INFO - Driver provider org.openqa.selenium.htmlunit.HtmlUnitDriver is not registered
07:38:13.368 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub
07:38:13.368 INFO - Selenium Server is up and running
SOLUTION
sudo protractor cons.js OR
download chromedriver and copy it to usr/local/bin
I'm guessing you are starting webdriver-manager to launch your selenium standalone server. What you'll need to do is run webdriver-manager update --versions.chrome 2.26. Then when starting up your selenium standalone server, you'll run webdriver-manager start --versions.chrome 2.26.

SonarQube does not analyze files after upgrade from 4.2 to 4.3

After the upgrade of sonarqube 4.2 to 4.3 i'm getting this message:
13:15:18.349 WARN - File '%s' is ignored. It is not located in module basedir '%s'.
[repeated for (assuming) all my c# files]
13:15:18.349 INFO - 0 files indexed
We run sonar from msbuild, and pass in (among others) the command line argument:
-D sonar.sources="../../Source/"
Which is correctly resolved the full path is can see in the logging
the output displays
C:\projects\myproject\build\Tools\SonarRunner.2.3\bin..
SonarQube Runner 2.3
Java 1.7.0_51 Oracle Corporation (64-bit)
Windows 8 6.2 amd64
INFO: Runner configuration file:
C:\projects\project\build\Tools\SonarRunner.2.3\bin..\conf\sonar-runner.properties
INFO: Project configuration file: NONE
INFO: Default locale: "en_GB", source code encoding: "UTF-8"
INFO: Work directory: C:\projects\project\Build\Scripts.sonar
INFO: SonarQube Server 4.3
13:13:43.706 INFO - Load batch settings
13:13:43.924 INFO - User cache: C:\Users\username.sonar\cache
13:15:16.155 INFO - No quality gate is configured.
13:15:16.356 INFO - Base dir: C:\projects\project\Build\Scripts
13:15:16.356 INFO - Working dir: C:\projects\project\Build\Scripts.sonar
13:15:16.356 INFO - Source dirs: C:\projects\project\Source
13:15:16.356 INFO - Source encoding: UTF-8, default locale: en_GB
13:15:16.356 INFO - Index files
13:15:16.358 INFO - Excluded tests:
13:15:16.358 INFO - /.IntegrationTests//.*
13:15:16.358 INFO - /.UnitTests//.*
13:15:17.287 WARN - File '%s' is ignored. It is not located in module basedi
r '%s'.
Any suggestions on how to solve this?
This may help (update: url no longer available: Alternative)
"Module base directory can be specified for special cases
By default, the module base directory is guessed from the module identifier (like in the examples above). But it can be redefined using the sonar.projectBaseDir property."

Selenium RC stuck at Checking Resource aliases

I am trying to use Selenium RC to run regression tests on a website. I created a test suite using the Selenium IDE tool and 3 tests associated with it. These tests run successfully within the IDE but when I try to run them using Selenium server, I always get stuck at "Checking Resource aliases"
I'm using the following command:
java -jar /home/adam/selenium/selenium-server-standalone-2.31.0.jar -htmlSuite *firefox /usr/lib/iceweasel/firefox-bin http://devwebsite.com /root/selenium/tests/suite.html /root/selenium/results.html -firefoxProfileTemplate /root/.mozilla/firefox/9r0afiwh.profile -log debug.log
Last few lines of output where it gets stuck:
INFO: Launching a standalone server
13:51:10.594 INFO - Writing debug logs to debug.log
13:51:10.595 INFO - Java: Sun Microsystems Inc. 14.0-b16
13:51:10.596 INFO - OS: Linux 2.6.32-5-686 i386
13:51:10.603 INFO - v2.31.0, with Core v2.31.0. Built from revision 1bd294d
13:51:10.711 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub
13:51:10.712 INFO - Version Jetty/5.1.x
13:51:10.714 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
13:51:10.715 INFO - Started HttpContext[/selenium-server,/selenium-server]
13:51:10.715 INFO - Started HttpContext[/,/]
13:51:46.397 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler#867e89
13:51:46.398 INFO - Started HttpContext[/wd,/wd]
13:51:46.408 INFO - Started SocketListener on 0.0.0.0:4444
13:51:46.408 INFO - Started org.openqa.jetty.jetty.Server#86f241
jar:file:/home/adam/selenium/selenium-server-standalone-2.31.0.jar!/customProfileDirCUSTFFCHROME
13:51:46.508 INFO - Preparing Firefox profile...
13:51:48.019 INFO - Launching Firefox...
13:51:48.739 INFO - Checking Resource aliases
Everything seems to work right up to the point where it actually runs the tests. Researching around showed problems with people using "Test Case" instead of "Test Suite" when naming the test suite in HTML, which I'm not doing. I also removed the XML line in the test suite file to see if it would matter. I'm not using a proxy as another user here had an issue with this error.
This is all running on a headless Debian server. There are numerous guides for demonstrating how to set this up using Xvfb. I'm sure I'm missing something simple but I can't figure out what.
I personally use the selenium webdriver. That may be an alternative to the RC client if you have something to kick off the scripts.

Resources