Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-550

LocalTestManager: Incorrect url to test definition XMLs on MS Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.7.0, 4.6.1.CP01
    • 4.6.1
    • Testing
    • None

      An error occured in JBossTS testsuite executed on Windows. See log snippet:

      Caused by: java.net.UnknownHostException: C
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
      at java.net.Socket.connect(Socket.java:520)
      at java.net.Socket.connect(Socket.java:470)
      at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
      at sun.net.NetworkClient.openServer(NetworkClient.java:118)
      at sun.net.ftp.FtpClient.openServer(FtpClient.java:488)
      at sun.net.ftp.FtpClient.openServer(FtpClient.java:475)
      at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:270)
      at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:352)
      at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:973)
      at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:184)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:798)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
      at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
      at org.jdom.input.SAXBuilder.build(SAXBuilder.java:489)
      at org.jdom.input.SAXBuilder.build(SAXBuilder.java:847)
      at org.jboss.dtf.testframework.coordinator2.TestDefinitionRepository.parse(TestDefinitionRepository.java:62)
      at org.jboss.dtf.testframework.coordinator2.TestDefinitionRepository.<init>(TestDefinitionRepository.java:52)
      at org.jboss.dtf.testframework.local.LocalTestManager.getInstance(LocalTestManager.java:92)
      at org.jboss.dtf.testframework.local.JUnitTestSuite.setup(JUnitTestSuite.java:104)

      It seems there is an problem with creating correct URL for Windows to the configuration XMLs in org.jboss.dtf.testframework.local.LocalTestManager.getInstance(LocalTestManager.java:92).

      See Hudson job: http://hudson.qa.jboss.com/hudson/view/JBossTS/job/jbossts-testsuite-matrix/jdk=win_java15,label=Win2k3_x86/

              rhn-engineering-jhallida Jonathan Halliday
              istudens@redhat.com Ivo Studensky
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: