Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-9539

wsconsume.sh does not support the -secmgr setting properly

    XMLWordPrintable

Details

    • Hide

      jbossws-cxf has 1 testcase, org.jboss.test.ws.jaxws.smoke.tools.WSConsumeScriptTestCase
      that sets the env var and generates a cmd it executes.
      The cmd looks like this

      /home/rsearls/j1/wfly10/wildfly/build/target/wildfly-10.0.0.Final/bin/wsconsume.sh \
        -v -k -o \
        /home/rsearls/j1/jbws/jbossws-cxf/modules/testsuite/shared-tests/target/test-resources/../wsconsume/java \
        /home/rsearls/j1/jbws/jbossws-cxf/modules/testsuite/shared-tests/target/test-resources/jaxws/smoke/tools/wsdl/TestServiceCatalog.wsdl
      

      You are welcome to use our test case.

      Show
      jbossws-cxf has 1 testcase, org.jboss.test.ws.jaxws.smoke.tools.WSConsumeScriptTestCase that sets the env var and generates a cmd it executes. The cmd looks like this /home/rsearls/j1/wfly10/wildfly/build/target/wildfly-10.0.0.Final/bin/wsconsume.sh \ -v -k -o \ /home/rsearls/j1/jbws/jbossws-cxf/modules/testsuite/shared-tests/target/test-resources/../wsconsume/java \ /home/rsearls/j1/jbws/jbossws-cxf/modules/testsuite/shared-tests/target/test-resources/jaxws/smoke/tools/wsdl/TestServiceCatalog.wsdl You are welcome to use our test case.

    Description

      wsconsume.sh, and wsconsume.bat does not properly support the -secmgr flag in the
      generated command. Changes to jboss-module.jar requires the -secmgr flag be positioned
      immediately after the jboss-module.jar declaration.

      eval \"$JAVA\" $JAVA_OPTS \
          -classpath \""$JBOSS_CLASSPATH"\" \
          org.jboss.modules.Main \
          -secmgr \
          -mp \""$JBOSS_HOME"/modules\" \
          org.jboss.ws.tools.wsconsume \
          '"$@"'
      

      This value is pass to this utility via the JAVA_OPTS env variable.

      Attachments

        Issue Links

          Activity

            People

              rsearls r searls
              rsearls r searls
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: