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

    Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 7.2.0.GA
    • Component/s: Scripts
    • Labels:
      None

      Description

      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: Martin Svehla, Rostislav Svoboda, James Perkins

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jamezp James Perkins
              Reporter:
              mkopecky Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: