我试图在 Eclipse 中启动我的 glashfish,但出现错误:Server GlassFish Server Open Source Edition 3 (Java EE 6) at localhost failed to start.
并建议这样做:
The configuration data for this domain must be upgraded to run with this
version of the software. To upgrade the data, run:
asadmin start-domain --upgrade
Then start the domain normally.
Command start-domain failed.
我的问题是如何从命令行升级它?
在我的 glasfish 文件夹中,我有 bin 文件夹,并且 bin 内包含一个名为 asadmin 的文件。当我 cd 到 bin 并运行 asadmin start-domain --upgrade 时,它抱怨 asadmin 命令不是命令。 . 任何人都知道如何从命令行运行 glassfish?