Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-10252

[FIS]no_proxy in jvm argument not honoured in FIS Image

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • FIS 2.x-GA, fuse-7.4-GA
    • FIS 2.0
    • FIS
    • None
    • % %
    • +
    • Hide

      just define the env variable.

      export HTTP_PROXY=http://dummy.com
      export HTTPS_PROXY=http://dummy.com
      export NO_PROXY=.google.com\|.redhat.com
      export no_proxy=.google.com\|.redhat.com
      export JAVA_MAIN_CLASS=TestPing
      

      and run the script.

      sh-4.2$ /opt/run-java/run-java.sh
      exec java -Dhttps.proxyHost=dummy.com -Dhttp.proxyHost=dummy.com -Dhttp.nonProxyHosts="*.google.com|*.redhat.com" -XX:ParallelGCThreads=1 -XX:ConcGCThreads=1 -Djava.util.concurrent.ForkJoinPool.common.parallelism=1 -XX:CICompilerCount=2 -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -XX:+ExitOnOutOfMemoryError -cp .:/deployments/* TestPing
      https://access.redhat.com               Status:-> Red <-        Wrong domain - Exception: Unexpected end of file from server
      
      Show
      just define the env variable. export HTTP_PROXY=http: //dummy.com export HTTPS_PROXY=http: //dummy.com export NO_PROXY=.google.com\|.redhat.com export no_proxy=.google.com\|.redhat.com export JAVA_MAIN_CLASS=TestPing and run the script. sh-4.2$ /opt/run-java/run-java.sh exec java -Dhttps.proxyHost=dummy.com -Dhttp.proxyHost=dummy.com -Dhttp.nonProxyHosts= "*.google.com|*.redhat.com" -XX:ParallelGCThreads=1 -XX:ConcGCThreads=1 -Djava.util.concurrent.ForkJoinPool.common.parallelism=1 -XX:CICompilerCount=2 -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -XX:+ExitOnOutOfMemoryError -cp .:/deployments/* TestPing https: //access.redhat.com Status:-> Red <- Wrong domain - Exception: Unexpected end of file from server
    • Fuse 7.4 Sprint 45 - Dev #1

    Description

      One customer found that no_proxy was not honored in FIS image, he is using the latest one 2.0-47, I can reproduce the issue on 2.0.38 too.

      Attachments

        Activity

          People

            atarocch@redhat.com Andrea Tarocchi (Inactive)
            rhn-support-xiwu Xiaohui Wu
            Lukas Lowinger Lukas Lowinger
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: