quality@glassfish.java.net

Re: Uninstaller warnings

From: Nolan Luu <Nolan.Luu_at_Sun.COM>
Date: Tue, 07 Oct 2008 16:33:32 -0700

Hello Wouter,

Yes, they are known issues; nevertheless, please update them with your
env/build info & comments if applicable:

[Issue 6032
<https://glassfish.dev.java.net/issues/show_bug.cgi?id=6032>]
[UB][INSTALLGUIDE] uninstall gives WARNING: Cannot delete file
[Issue 5856
<https://glassfish.dev.java.net/issues/show_bug.cgi?id=5856>]
[UB][RELEASE NOTES/INSTALL GUIDE] uninstall.exe does not remove the shortcut
[Issue 5580
<https://glassfish.dev.java.net/issues/show_bug.cgi?id=5580>]
Uninstaller requires ksh

Thanks,

-Nolan


Wouter van Reeven wrote:
> 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
>
>