How to set an env variable in Glassfish 2.1

前端 未结 2 1670
攒了一身酷
攒了一身酷 2020-12-17 04:30

I want to deploy an application, that is currently deployed in Tomcat, in Glassfish version 2.1.

In the Tomcat server.xml I have an env variable defined in the serv

2条回答
  •  误落风尘
    2020-12-17 05:04

    Bring up the server, log into the admin console, navigate to the JVM options, and add a -D paramater, then restart.

提交回复
热议问题