Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-1316

Fix launching webdriver tests from eclipse

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9
    • Component/s: None

      Description

      Running webdriver tests (like StudioReplayITCase) in eclipse produces the following error at startup:

      SLF4J: Class path contains multiple SLF4J bindings.
      SLF4J: Found binding in [jar:file:/home/anahide/.m2/repository/org/slf4j/slf4j-jdk14/1.5.3/slf4j-jdk14-1.5.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: Found binding in [jar:file:/home/anahide/.m2/repository/org/slf4j/slf4j-log4j12/1.6.0/slf4j-log4j12-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
      SLF4J: slf4j-api 1.6.x (or later) is incompatible with this binding.
      SLF4J: Your binding is version 1.5.5 or earlier.
      SLF4J: Upgrade your binding to version 1.6.x. or 2.0.x
      2012-11-20 15:42:22.001:INFO::Logging to STDERR via org.mortbay.log.StdErrLog
      DatabaseHelper: Database used for VCS tests: org.nuxeo.ecm.core.storage.sql.DatabaseH2
      failed org.mortbay.jetty.webapp.WebAppContext@7816fcc4{/,/tmp/NXOSGITestFramework818189204097751250613b1e4510d9-1970913925.1//web/root.war}: java.lang.ExceptionInInitializerError
      failed HandlerCollection@2d2ce574: java.lang.ExceptionInInitializerError
      Error starting handlers
      java.lang.ExceptionInInitializerError
      	at org.nuxeo.runtime.jtajca.NuxeoContainer.createTransactionManager(NuxeoContainer.java:485)
      	at org.nuxeo.runtime.jtajca.NuxeoContainer.initTransactionManager(NuxeoContainer.java:432)
      	at org.nuxeo.runtime.jtajca.NuxeoContainer.installTransactionManager(NuxeoContainer.java:143)
      	at org.nuxeo.runtime.jtajca.NuxeoContainer.install(NuxeoContainer.java:131)
      

      Others errors follow, and firefox window opened gives a "NOT FOUND" response

        Attachments

        1. tree.txt
          23 kB
          Anahide Tchertchian

          Issue Links

            Activity

              People

              • Assignee:
                atchertchian Anahide Tchertchian
                Reporter:
                atchertchian Anahide Tchertchian
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: