Yes, I did. Neither of these work:

 -D<name>=<value>
        set a Java system property
 -X<option>
        set Virtual Machine specific option

-X--enable-preview
-D--enable-preview


On Fri, Mar 20, 2020 at 1:19 PM Mark Thomas <ma...@apache.org> wrote:
>
> On 20/03/2020 13:50, ken edward wrote:
> > Hello,
> >
> > When I deploy my tomcat war it produces the below error message, telling me
> > to pass  the "--enable-preview".  I can add the "--enable-preview" to
> > my non-jsvc dev tomcat start.sh script to resolve the problem fine.
> > BUT, if I launch the production tomcat using the jsvc binary (to
> > bind to port 443 instead of 8443), the JSVC binary doesn't seem to
> > pass the "--enable-preview" parameter.
> >
> > If I try to add --enable-preview to the production JSVC
> > script environment:
> > "Invalid option --enable-preview
> > Cannot parse command line arguments"
> >
> > What must I do to allow JSVC to accept and pass the "--enable-preview"
> > parameter?
>
> Have you tried looking at the JSVC documentation?
>
> http://commons.apache.org/proper/commons-daemon/jsvc.html
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
> For additional commands, e-mail: user-h...@commons.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org

Reply via email to