Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-4075

jbossws-native-2.0.1.SP2_CP08 testsuite doesn't save data to test.log

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • TBD EAP 4
    • 4.3.0.GA_CP08, 4.3.0.GA_CP09
    • Web Services
    • None
    • Tested on Sun JDK 1.6 Solaris SPARC 64 and on Fedora12 Sun JDK 1.6

    • Hide

      Before running tests change file output/tests/classes/log4j.xml.
      For example:
      <param name="File" value="${build.testlog}/test.log"/> to <param name="File" value="/tmp/test.log"/>

      Show
      Before running tests change file output/tests/classes/log4j.xml. For example: <param name="File" value="${build.testlog}/test.log"/> to <param name="File" value="/tmp/test.log"/>
    • Not Required

    Description

      Property build.testlog in log4j.xml is empty and so there is attempt to create test.log in system root and it fails.
      Used command is: ./build.sh tests

      wsprovide:
      [wsprovide] Generating from endpoint: org.jboss.test.ws.jaxws.samples.wssecurity.HelloJavaBean
      [wsprovide] Output directory: /home/rsvoboda/test/stack-native/output
      [wsprovide] Source directory: /home/rsvoboda/test/stack-native/output
      [wsprovide] log4j:ERROR setFile(null,true) call failed.
      [wsprovide] java.io.FileNotFoundException: /test.log (Permission denied)

      Affected files:
      https://anonsvn.jboss.org/repos/jbossws/stack/native/tags/jbossws-native-2.0.1.SP2_CP08/src/test/etc/log4j.xml
      https://anonsvn.jboss.org/repos/jbossws/framework/tags/jbossws-framework-2.0.1.GA_CP05/src/test/etc/log4j.xml

      Attachments

        Activity

          People

            rhn-engineering-ema Jim Ma
            rsvoboda@redhat.com Rostislav Svoboda
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: