After more investigation it is working. I guess there was another process on the same port.
----- Message d'origine ---- > De : Julien HENRY <[email protected]> > À : [email protected] > Envoyé le : Mar 26 octobre 2010, 16h 38min 00s > Objet : [mojo-user] Selenium plugin does not run in the background > > Hi, > > I'm trying to set up Maven to start a selenium server before my tests then >stop > > it after the tests are done. I'm using the selenium-maven-plugin with >background > > property set to "true". But in fact the selenium server start but never goes >in > > the background so my build hang until I kill it. > > Running in debug mode I can see: > > [DEBUG] Configuring mojo > 'org.codehaus.mojo:selenium-maven-plugin:1.1:start-server' with basic > configurator --> > [DEBUG] (s) avoidProxy = false > [DEBUG] (s) background = true > [DEBUG] (s) browserSessionReuse = false > [DEBUG] (s) debug = false > [DEBUG] (s) defaultUserExtensions = > org/codehaus/mojo/selenium/default-user-extensions.js > [DEBUG] (s) defaultUserExtensionsEnabled = true > [DEBUG] (s) displayPropertiesFile = > D:\DevJava\jwebunit\jwebunit-selenium-plugin\target\selenium\display.properties > [DEBUG] (s) ensureCleanSession = false > [DEBUG] (s) logFile = > D:\DevJava\jwebunit\jwebunit-selenium-plugin\target\selenium\server.log > [DEBUG] (s) logOutput = false > [DEBUG] (s) pluginArtifactMap = {...} > [DEBUG] (s) port = 4444 > [DEBUG] (s) singleWindow = false > [DEBUG] (s) skip = false > [DEBUG] (s) timeout = -1 > [DEBUG] (s) trustAllSSLCertificates = false > [DEBUG] (s) workingDirectory = > D:\DevJava\jwebunit\jwebunit-selenium-plugin\target\selenium > [DEBUG] -- end configuration -- > Launching Selenium Server > Waiting for Selenium Server... > [DEBUG] Trying connection to: http://localhost:4444/selenium-server > [DEBUG] Using plugin artifact: > D:\DevJava\Params\Maven\DepotLocal\log4j\log4j\1.2.14\log4j-1.2.14.jar > [DEBUG] Using plugin artifact: >D:\DevJava\Params\Maven\DepotLocal\org\seleniumhq\selenium\server\selenium-server\1.0.3\selenium-server-1.0.3-standalone.jar >r > > [DEBUG] Reusing previously generated file: > D:\DevJava\jwebunit\jwebunit-selenium-plugin\target\selenium\user-extensions.js > [INFO] User extensions: > D:\DevJava\jwebunit\jwebunit-selenium-plugin\target\selenium\user-extensions.js > 16:26:22,728 INFO [org.openqa.selenium.server.SeleniumServer] Java: Sun > Microsystems Inc. 17.0-b17 > 16:26:22,728 INFO [org.openqa.selenium.server.SeleniumServer] OS: Windows >Vista > > 6.0 x86 > 16:26:22,733 INFO [org.openqa.selenium.server.SeleniumServer] v2.0 [a2], > with > > Core v2.0 [a2] > 16:26:22,822 INFO [org.openqa.selenium.server.SeleniumServer] > RemoteWebDriver > > instances should connect to: http://127.0.0.1:4444/wd/hub > 16:26:22,824 INFO [org.openqa.jetty.http.HttpServer] Version Jetty/5.1.x > 16:26:22,825 INFO [org.openqa.jetty.util.Container] Started > HttpContext[/selenium-server/driver,/selenium-server/driver] > 16:26:22,826 INFO [org.openqa.jetty.util.Container] Started > HttpContext[/selenium-server,/selenium-server] > 16:26:22,826 INFO [org.openqa.jetty.util.Container] Started HttpContext[/,/] > 16:26:22,854 INFO [org.openqa.jetty.util.Container] Started > org.openqa.jetty.jetty.servlet.servlethand...@1186fab > 16:26:22,854 INFO [org.openqa.jetty.util.Container] Started > HttpContext[/wd,/wd] > 16:26:22,858 INFO [org.openqa.jetty.http.SocketListener] Started >SocketListener > > on 0.0.0.0:4444 > 16:26:22,858 INFO [org.openqa.jetty.util.Container] Started > org.openqa.jetty.jetty.ser...@b09e89 > [DEBUG] Trying connection to: http://localhost:4444/selenium-server > [DEBUG] Trying connection to: http://localhost:4444/selenium-server > [DEBUG] Trying connection to: http://localhost:4444/selenium-server > [DEBUG] Trying connection to: http://localhost:4444/selenium-server > [DEBUG] Trying connection to: http://localhost:4444/selenium-server > [DEBUG] Trying connection to: http://localhost:4444/selenium-server > [DEBUG] Trying connection to: http://localhost:4444/selenium-server > [DEBUG] Trying connection to: http://localhost:4444/selenium-server > [DEBUG] Trying connection to: http://localhost:4444/selenium-server > [DEBUG] Trying connection to: http://localhost:4444/selenium-server > [DEBUG] Trying connection to: http://localhost:4444/selenium-server > > I'm using Maven 3 on Windows Vista. Do you have an idea of the problem? > > Thanks > > Julien > > > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
