Closed glassfishrobot closed 3 years ago
@glassfishrobot Commented @barchetta said: (I had to trim some text from the description to get this bug to save...)
It would be good if the reporter could state exactly what install bundled was used. SDK? Full or Web? With or without bundled JDK? I was unable to reproduce the problem with the web profile SDK without bundled JDK.
In any case the error is when installing the Java SE samples, and is caused by the fact that our Java SE IPS packages include support for both 32 and 64 bit windows and rely on the variant.os.bits configuration property to select which file to install. If that property is not set, then both files are installed resulting in the error reported.
variant.os.bits should be set to 32 or 64 in the [variants] section of:
installdir/.org.opensolaris,pkg/cfg_cache
like this:
[variants]
variant.os.bits = 32
For some reason it looks like that was not set for the Reporter. The work-around is to add such a line to cfg_cache if it doesn't exist.
Assigning to Snjezana since she knows this stuff well.
@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH-19724
@glassfishrobot Commented Reported by mathiasbehne
This issue has been marked as inactive and old and will be closed in 7 days if there is no further activity. If you want the issue to remain open please add a comment
This issue has been marked as inactive and old and will be closed in 7 days if there is no further activity. If you want the issue to remain open please add a comment
Application ID: [GlassFish Update Tool 2.3.5 (Build 56.2852)] Timestamp : [2013-02-24 22:36:24 Malay Peninsula Standard Time(Malay Peninsula Standard Time)] wx Version : [2.8.10.1] wx Platform : [WXMSW] Python Version: [2.4.6] Platform : [Microsoft-Windows-32bit-WindowsPE]
Traceback (innermost last): File "C:\Program Files (x86)\glassfish-3.1.2.2\updatetool\vendor-packages\updatetool\gui\mainframe.py", line 2086, in __image_install img.make_install_plan(pkg_list, tracker_task, lambda: False, False) File "C:\Program Files (x86)\glassfish-3.1.2.2\pkg\vendor-packages\pkg\client\image.py", line 2581, in make_install_plan self.call_imageplan_evaluate(ip, verbose) File "C:\Program Files (x86)\glassfish-3.1.2.2\pkg\vendor-packages\pkg\client\image.py", line 620, in call_imageplan_evaluate ip.evaluate() File "C:\Program Files (x86)\glassfish-3.1.2.2\pkg\vendor-packages\pkg\client\imageplan.py", line 464, in evaluate self.add_pkg_plan(f) File "C:\Program Files (x86)\glassfish-3.1.2.2\pkg\vendor-packages\pkg\client\imageplan.py", line 389, in add_pkg_plan pp.evaluate(self.old_excludes, self.new_excludes) File "C:\Program Files (x86)\glassfish-3.1.2.2\pkg\vendor-packages\pkg\client\pkgplan.py", line 148, in evaluate raise RuntimeError, ["Duplicate actions", ddups] RuntimeError: ['Duplicate actions', [(('dir', 'jdk7'), set([<pkg.actions.directory.DirectoryAction object at 0x09AB7030>, <pkg.actions.directory.DirectoryAction object at 0x08325CF0>])), (('dir', 'jdk7/demo'), set([<pkg.actions.directory.DirectoryAction object at 0x09AB7150>, <pkg.actions.directory.DirectoryAction object at 0x08325F30>])), (('dir', 'jdk7/demo/applets'), set([<pkg.actions.directory.DirectoryAction object at 0x09AB7530>, <pkg.actions.directory.DirectoryAction object at 0x0794D1D0>])), (('dir', 'jdk7/demo/applets/Animator'), set([<pkg.actions.directory.DirectoryAction object at 0x08592570>, <pkg.actions.directory.DirectoryAction object at 0x08EA8210>])), (('dir', 'jdk7/demo/applets/Animator/audio'), set([<pkg.actions.directory.DirectoryAction object at 0x09B5FAF0>, <pkg.actions.directory.DirectoryAction object at 0x07C02790>])), (('dir', 'jdk7/demo/applets/Animator/images'), set([<pkg.actions.directory.DirectoryAction object at 0x09B5FC10>, <pkg.actions.directory.DirectoryAction object at 0x07C028B0>])), (('dir', 'jdk7/demo/applets/Animator/images/Beans'), set([<pkg.actions.directory.DirectoryAction object at 0x08F9C150>, <pkg.actions.directory.DirectoryAction object at 0x080CCDD0>])), (('dir', 'jdk7/demo/applets/Animator/images/SimpleAnimation'), set([<pkg.actions.directory.DirectoryAction object at 0x08F9C270>, <pkg.actions.directory.DirectoryAction object at 0x080CCEF0>])), (('dir', 'jdk7/demo/applets/ArcTest'), set([<pkg.actions.directory.DirectoryAction object at 0x08592690>, <pkg.actions.directory.DirectoryAction object at 0x08EA8330>])), (('dir', 'jdk7/demo/applets/BarChart'), set([<pkg.actions.directory.DirectoryAction object at 0x085927B0>, <pkg.actions.directory.DirectoryAction object at 0x08EA8450>])), (('dir', 'jdk7/demo/applets/Blink'), set([<pkg.actions.directory.DirectoryAction object at 0x085928D0>, <pkg.actions.directory.DirectoryAction object at 0x08EA8570>])), (('dir', 'jdk7/demo/applets/CardTest'), set([<pkg.actions.directory.DirectoryAction object at 0x085929F0>, <pkg.actions.directory.DirectoryAction object at 0x08EA8690>])), (('dir', 'jdk7/demo/applets/Clock'), set([<pkg.actions.directory.DirectoryAction object at 0x08592B10>, <pkg.actions.directory.DirectoryAction object at 0x08EA87B0>])), (('dir', 'jdk7/demo/applets/DitherTest'), set([<pkg.actions.directory.DirectoryAction object at 0x08592C30>, <pkg.actions.directory.DirectoryAction object at 0x08EA88D0>])), (('dir', 'jdk7/demo/applets/DrawTest'), set([<pkg.actions.directory.DirectoryAction object at 0x08592D50>, <pkg.actions.directory.DirectoryAction object at 0x08EA89F0>])), (('dir', 'jdk7/demo/applets/Fractal'), set([<pkg.actions.directory.DirectoryAction object at 0x08592E70>, <pkg.actions.directory.DirectoryAction object at 0x08EA8B10>])), (('dir', 'jdk7/demo/applets/GraphLayout'), set([<pkg.actions.directory.DirectoryAction object at 0x09B5F0D0>, <pkg.actions.directory.DirectoryAction object at 0x08EA8D50>])), (('dir', 'jdk7/demo/applets/GraphLayout/audio'), set([<pkg.actions.directory.DirectoryAction object at 0x09268490>, <pkg.actions.directory.DirectoryAction object at 0x08AF02D0>])), (('dir', 'jdk7/demo/applets/GraphicsTest'), set([<pkg.actions.directory.DirectoryAction object at 0x08592F90>, <pkg.actions.directory.DirectoryAction object at 0x08EA8C30>])), (('dir', 'jdk7/demo/applets/JumpingBox'), set([<pkg.actions.directory.DirectoryAction object at 0x09B5F1F0>, <pkg.actions.directory.DirectoryAction object at 0x08EA8E70>])), (('dir', 'jdk7/demo/applets/JumpingBox/sounds'), set([<pkg.actions.directory.DirectoryAction object at 0x091D38B0>, <pkg.actions.directory.DirectoryAction object at 0x07CD5AD0>])), (('dir', 'jdk7/demo/applets/MoleculeViewer'), set([<pkg.actions.directory.DirectoryAction object at 0x09B5F310>, <pkg.actions.directory.DirectoryAction object at 0x08EA8F90>])), (('dir', 'jdk7/demo/applets/MoleculeViewer/models'), set([<pkg.actions.directory.DirectoryAction object at 0x08CFD5F0>, <pkg.actions.directory.DirectoryAction object at 0x08B1A150>])), (('dir', 'jdk7/demo/applets/NervousText'), set([<pkg.actions.directory.DirectoryAction object at 0x09B5F430>, <pkg.actions.directory.DirectoryAction object at 0x07C020D0>])), (('dir', 'jdk7/demo/applets/SimpleGraph'),
. . .
Environment
java 7, glassfish 3.1.2, javaee6