gpt4 book ai didi

glassfish - 如何升级 Glassfish ?

转载 作者:行者123 更新时间:2023-12-02 22:00:50 32 4
gpt4 key购买 nike

我想在没有互联网连接的情况下升级 Glassfish。但我已经下载了最新版本。

我已完成以下步骤,
例如。 galssfish-3.0旧版本glassfish-3.1新版本

步骤:1我刚刚复制了 glassfish-3.0/glassfish/domains/domain1 并粘贴到 glassfish-3.1/glassfish/domains

步骤:2glassfish-3.1/bin ./asadmin我只是给出命令 asadmin> start-domain --upgrade

然后我检查了版本asadmin>版本输出是

Version = GlassFish Server Open Source Edition 3.1.1 (build 12)<br/>
Command version executed successfully.

这是正确的还是我需要采取其他方法来实现这一目标?如果错误请指导我正确的方法。

有人可以帮助我吗?

提前致谢,

Gnik

最佳答案

关于Oracle GlassFish Server 3.1 Upgrade Guide你做对了。

本指南中有一些有关已部署应用程序迁移的提示:

Application archives (EAR files) and component archives (JAR, WAR, and RAR files) that are deployed in the source server do not require any modification to run on Oracle GlassFish Server 3.1. Components that may have incompatibilities are deployed on GlassFish Server 3.1 with the compatibility property set to v2 and will run without change on GlassFish Server 3.1. You may, however, want to consider modifying the applications to conform to Java EE 6 requirements.

...

Applications and components that are deployed in the source server are deployed on the target server during the upgrade. Applications that do not deploy successfully on the target server must be deployed manually on the target server by the user.

If a domain contains information about a deployed application and the installed application components do not agree with the configuration information, the configuration is migrated unchanged, without any attempt to reconfigure the incorrect configurations.

您应该仔细阅读本指南,并检查部署的应用程序在服务器启动或手动重新部署期间是否有任何错误/异常。

前段时间,我按照更新指南中的说明从 3.0 更新到了 3.1.1,但记不起任何更大的问题。

关于glassfish - 如何升级 Glassfish ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10877005/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com