Skip to content

Instantly share code, notes, and snippets.

@ponsuke0531
Last active April 22, 2020 08:27
Show Gist options
  • Save ponsuke0531/746d292197637600bc9b3ed714377787 to your computer and use it in GitHub Desktop.
Save ponsuke0531/746d292197637600bc9b3ed714377787 to your computer and use it in GitHub Desktop.
localにあるGlassFishとPayaraのバージョンを確認する方法 ref: https://qiita.com/ponsuke0531/items/505e2ccd826511821c5b
asadmin> version
# こんな感じとか
$ /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.
$ /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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment