Forum Discussion

fuLLon's avatar
fuLLon
New Contributor
13 years ago

wargenerator.bat enable WebUI

Hi there,

deploying a mockup using the wargenerator.bat works fine, but I couldn't figure out how to enable the WebUI. As parameters I tried:
-w true
-w TRUE
-w 1
-w enabled
-w ENABLED
-w on
-w ON
In every case Tomcat answers: "INFO: WebUI DISABLED", and when I call eg. the endpoint-root in the browser, it shows: "Log is disabled".
When I try only "-w" without any argument, it doesn't work either.

What parameter is correct to set the WebUI enabled?

Thanks in advance,
fuLLon

6 Replies

  • fuLLon's avatar
    fuLLon
    New Contributor
    ... and I'm wondering if it's possible enable WebUI when I start the mockup through mockservicerunner.bat? There isn't even an option for that.
  • bsk02's avatar
    bsk02
    Occasional Contributor

     

     

     

    <init-param>
    <description>enable Web UI</description>
    <param-name>enableWebUI</param-name> <param-value>true</param-value> </init-param>
  • bsk02's avatar
    bsk02
    Occasional Contributor

     

     

     

    <init-param>
        <description>enable Web UI</description>
        <param-name>enableWebUI</param-name>
        <param-value>true</param-value>
    </init-param>
  • bsk02's avatar
    bsk02
    Occasional Contributor

     I used true within double quotes and no space between -w & the value.  

     

    wargenerator -w"true" "<soapui project location>"

     

     After the war was deployed on Tomcat, the web file (under WEB-INF) has the setting true

     
    <init-param>
        <description>enable Web UI</description>
        <param-name>enableWebUI</param-name>
        <param-value>true</param-value>
    </init-param>
  • bsk02's avatar
    bsk02
    Occasional Contributor

     I used true within double quotes. The result is the same with/without space between -w & the value.  

     

    wargenerator -w"true" "<soapui project location>"

    wargenerator -w "true" "<soapui project location>"

     

     After the war was deployed on Tomcat, the web file (under WEB-INF) has the setting "true"

     
    <init-param>
        <description>enable Web UI</description>
        <param-name>enableWebUI</param-name>
        <param-value>true</param-value>
    </init-param>
  • bsk02's avatar
    bsk02
    Occasional Contributor

     I used true within double quotes. Result is the same with/without space between -w & the value.  

     

    wargenerator -w"true" "<soapui project location>"

    wargenerator -w "true" "<soapui project location>"

     

     After the war was deployed on Tomcat, the web file (under WEB-INF) has the setting "true"

     
    <init-param>
        <description>enable Web UI</description>
        <param-name>enableWebUI</param-name>
        <param-value>true</param-value>
    </init-param>