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

Tests compilation failed on Solaris9 machine, unmappable character for encoding ASCII

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: EAP_EWP 5.1.0_CR1
    • Fix Version/s: EAP_EWP 5.1.0_CR3
    • Component/s: None
    • Labels:
      None
    • Environment:

      Solaris 9
      [hudson@dev66 hudson]$ locale
      LANG=
      LC_CTYPE="C"
      LC_NUMERIC="C"
      LC_TIME="C"
      LC_COLLATE="C"
      LC_MONETARY="C"
      LC_MESSAGES="C"
      LC_ALL=

    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Set property file.encoding to UTF-8.

      export MAVEN_OPTS="$MAVEN_OPTS -Dfile.encoding=UTF-8"

      Show
      Set property file.encoding to UTF-8. export MAVEN_OPTS="$MAVEN_OPTS -Dfile.encoding=UTF-8"

      Description

      Framework tests compilation failed on Solaris9 machine, ended with ... WrappedEndpointImpl.java:[51,13] unmappable character for encoding ASCII
      http://hudson.qa.jboss.com/hudson/view/EAP5-jbossws/job/eap51-jbossws-cxf-sun6/jdk=java16_default,label=sol9_x86/6/consoleText

      Possible solutions:
      (1) Modify stack main pom.xml, add to <pluginsManagement> section
      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-compiler-plugin</artifactId>
      <configuration>
      <encoding>UTF-8</encoding>
      </configuration>
      </plugin>

      (2) Change file WrappedEndpointImpl.java, remove 2 lines
      51: // récupère la pièce attachée
      141 // récupère le contenu du fichier

      http://anonsvn.jboss.org/repos/jbossws/framework/tags/jbossws-framework-3.1.2.SP7/testsuite/test/java/org/jboss/test/ws/jaxws/samples/swaref/WrappedEndpointImpl.java
      http://anonsvn.jboss.org/repos/jbossws/framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/swaref/WrappedEndpointImpl.java

      From my POV is (1) better, workaround exists.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  asoldano Alessio Soldano
                  Reporter:
                  rsvoboda Rostislav Svoboda
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: