Upgrading Jackson in GlassFish 4.1

十年热恋 提交于 2019-12-19 06:19:09

问题


I am using GlassFish 4.1, which includes Jackson 2.3.2.

I would like to upgrade to the newest version of Jackson (currently 2.4.4).

Is the procedure for upgrading Jackson in GlassFish 4.1 as simple as:

a) stopping GlassFish

b) deleting the osgi-cache

c) replacing the Jackson 2.3.2 jars in the glassfish/modules directory with newer versions

d) starting GlassFish

Thanks.


回答1:


Please @see https://java.net/jira/browse/GLASSFISH-21141

The procedure I followed was

  • asadmin stop-domain delete felix cache
  • $rm -rf domains/domain1/osgi-cache/felix/
  • copy jackson--2.4.2.jars as modules/jackson-.jar
  • asadmin start-domain


来源:https://stackoverflow.com/questions/27334528/upgrading-jackson-in-glassfish-4-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!