LoginSignup
0
1

More than 3 years have passed since last update.

localにあるGlassFishとPayaraのバージョンを確認する方法

Last updated at Posted at 2017-05-22

version サブコマンドで確認できます。

(参考)Enterprise Server のバージョンを表示する (Sun GlassFish Enterprise Server v3 管理ガイド)

asadmin> version

例えばWindows

「/c/apps」に配置している場合。

# こんな感じとか
$ /c/apps/payara5/bin/asadmin version
Version string could not be obtained from Server [localhost:4848].
(Turn debugging on e.g. by setting AS_DEBUG=true in your environment, to see the details.)
Using locally retrieved version string from version class.
Version = Payara Server  5.194 #badassfish (build 327)
Command version executed successfully.

# こんな感じ
$ /c/app/glassfish-4.1/glassfish4/glassfish/bin/asadmin version
Version string could not be obtained from Server [localhost:4848].
(Turn debugging on e.g. by setting AS_DEBUG=true in your environment, to see the details.)
Using locally retrieved version string from version class.
Version = GlassFish Server Open Source Edition  4.1  (build 13)
Command version executed successfully.

例えばmacOS Sierra

GlassFishはHomebrewで配置しました。

$ /usr/local/Cellar/glassfish/4.1.2/libexec/glassfish/bin/asadmin version
Version string could not be obtained from Server [localhost:4848].
(Turn debugging on e.g. by setting AS_DEBUG=true in your environment, to see the details.)
Using locally retrieved version string from version class.
Version = GlassFish Server Open Source Edition  4.1.2  (build 1)
Command version executed successfully.
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1