quality@glassfish.java.net

Uninstaller warnings

From: Wouter van Reeven <wouter_at_van.reeven.nl>
Date: Tue, 7 Oct 2008 22:23:33 +0200

Hi,


Using the uninstaller in build 28 I get these warnings:

WARNING: Cannot delete file [File=/home/wouter/java/gfv3/glassfishv3-prelude/.org.opensolaris,pkg/catalog/contrib.glassfish.sun.com ]
WARNING: Cannot delete file [File=/home/wouter/java/gfv3/glassfishv3-prelude/.org.opensolaris,pkg/catalog/dev.glassfish.sun.com ]
WARNING: Cannot delete file [File=/home/wouter/java/gfv3/glassfishv3-prelude/.org.opensolaris,pkg/catalog/release.glassfish.org ]
WARNING: Cannot delete file [File=/home/wouter/java/gfv3/glassfishv3-prelude/.org.opensolaris,pkg/catalog/contrib.glassfish.org ]
WARNING: Cannot delete file [File=/home/wouter/java/gfv3/glassfishv3-prelude/.org.opensolaris,pkg/state/installed ]
WARNING: Cannot delete file [File=/home/wouter/java/gfv3/glassfishv3-prelude/glassfish/lib/install/applications ]
WARNING: Cannot delete file [File=/home/wouter/java/gfv3/glassfishv3-prelude/.org.opensolaris,pkg/catalog ]
WARNING: Cannot delete file [File=/home/wouter/java/gfv3/glassfishv3-prelude/.org.opensolaris,pkg/state ]
WARNING: Cannot delete file [File=/home/wouter/java/gfv3/glassfishv3-prelude/.org.opensolaris,pkg/pkg ]
WARNING: Cannot delete file [File=/home/wouter/java/gfv3/glassfishv3-prelude/glassfish/lib/install ]
WARNING: Cannot delete file [File=/home/wouter/java/gfv3/glassfishv3-prelude/.org.opensolaris,pkg ]
WARNING: Cannot delete file [File=/home/wouter/java/gfv3/glassfishv3-prelude/glassfish/lib ]
WARNING: Cannot delete file [File=/home/wouter/java/gfv3/glassfishv3-prelude/glassfish ]
WARNING: Cannot delete file [File=/home/wouter/java/gfv3/glassfishv3-prelude/pkg/lib ]
WARNING: Cannot delete file [File=/home/wouter/java/gfv3/glassfishv3-prelude/pkg ]
WARNING: Cannot delete file [File=/home/wouter/java/gfv3/glassfishv3-prelude/glassfish ]
WARNING: Removal of shortcut failed. [Shortcut=Start Application Server ]
WARNING: Removal of shortcut failed. [Shortcut=Stop Application Server ]
WARNING: Removal of shortcut failed. [Shortcut=Start Update Tool ]

in order to get the uninstaller working I had to edit the file
install/bin/uninstaller and change the first line from

#!/bin/ksh

to

#!/bin/sh

As far as I can tell from the script this is not an issue with uninstaller but
with engine-wrapper or some application it calls. Is this a known issue?


Thanks,

Wouter

-- 
People: "If she weighs the same as a Duck, she's made of wood!"
Sir Bedevere: "And therefore...?"