Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-15701

Fix wrong grep escaping on wsprovide and wsconsume scripts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.2.0.GA
    • None
    • Scripts
    • None

      Wrong grep escaping on wsprovide and wsconsume scripts.

      How to reproduce:
      On solaris11 with latest upgrade of grep:

      [hudson@dev36-03 bin]$ ./wsprovide.sh -h
      grep: illegal option -- e
      grep: illegal option -- m
      grep: illegal option -- g
      grep: illegal option -- r
      Usage: grep [-c|-l|-q] -bhinsvw pattern file . . .
      ... wsprovide help message  ...
      [hudson@dev36-03 bin]$
      

      On RHEL:
      Security manager is activated with any non-related property that contains "cmgr" string, example:

      export JAVA_OPTS="-Daaacmgrbbb=false"
      ./wsconsume.sh https://raw.githubusercontent.com/jbossws/jbossws-cxf/master/modules/testsuite/shared-tests/src/test/resources/jaxws/smoke/tools/wsdl/TestServiceSoap12.wsdl
      

      cc: msvehla@redhat.com, rsvoboda@redhat.com, jperkins-rhn

              jperkins-rhn James Perkins
              mkopecky@redhat.com Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: