简体   繁体   中英

Upgrading Jackson in GlassFish 4.1

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM