My Oracle Support Banner

Updating GlassFish Server 3.x In A Closed Network Fails With An Exception com.sun.pkg.client.Constraint$DowngradeConflict (Doc ID 1379152.1)

Last updated on AUGUST 06, 2018

Applies to:

Oracle GlassFish Server - Version 3.0.1 to 3.1.1 [Release 3.0 to 3.1]
Information in this document applies to any platform.

Symptoms

You've followed the steps in the GlassFish Server documentation on how to apply a Closed Network patch, however when you attempt to update your GlassFish Server installation you receive the following error in your console window: 

Unrecognized exception: Package pkg-toolkit-incorporation contains constraint that requires downgrade of installed pkg pkg://release.glassfish.oracle.com/pkg-java@1.122,0-54.2834:20110610T185448Z: Pkg pkg-java: Optional min_version: 1.122-52 max_version: 1.122-52 defined by: pkg:/pkg-toolkit-incorporation
com.sun.pkg.client.Constraint$DowngradeConflict: Package pkg-toolkit-incorporation contains constraint that requires downgrade of installed pkg pkg://release.glassfish.oracle.com/pkg-java@1.122,0-54.2834:20110610T185448Z: Pkg pkg-java: Optional min_version: 1.122-52 max_version: 1.122-52 defined by: pkg:/pkg-toolkit-incorporation
at com.sun.pkg.client.Constraint.checkForWork(Constraint.java:369)
at com.sun.pkg.client.Image$ImagePlan.evaluateFmri(Image.java:471)
at com.sun.pkg.client.Image$ImagePlan.evaluate(Image.java:536)
at com.sun.pkg.client.Image.makeAndEvaluateImagePlan(Image.java:1773)
at com.sun.pkg.client.Image.makeInstallPlan(Image.java:1751)
at com.sun.pkg.client.Image.makeInstallPlan(Image.java:1724)
at com.sun.pkg.client.Image.installPackages(Image.java:1904)
at com.sun.pkg.bootstrap.Bootstrap._main(Bootstrap.java:244)
at com.sun.pkg.bootstrap.Bootstrap._main(Bootstrap.java:163)
at com.sun.pkg.bootstrap.Bootstrap.main(Bootstrap.java:113)

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.