This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 52854 - After cancel installation some app server's logg aren't removed
Summary: After cancel installation some app server's logg aren't removed
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Tools bundle (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: mslama
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-03 12:53 UTC by Petr Blaha
Modified: 2007-08-21 15:36 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Blaha 2005-01-03 12:53:02 UTC
[Build 20050102]
Steps to reproduce:
1) start installer, specify install directory, jdk
2) start installation
3) in 60% of progress bar cancel installation
Files related to App server isn't removed:
[blaha@localhost nb]$ ls -R
.:
_uninst
 
./_uninst:
as-install.log  as-uninstall.log  custom-uninstall.sh
Stack trace from console:
ServiceException: (error code = 2; message =
"Error deleting directory: rmdir:
`/home.local/blaha/testing/install/nb/_uninst':
Directory not empty
"; severity = 0) at
com.ibm.wizard.platform.linux.LinuxFileServiceImpl.deleteDirectory(LinuxFileServiceImpl.java:230)
at
com.installshield.wizard.service.file.PureJavaFileServiceImpl.deleteDirectory(PureJavaFileServiceImpl.java:79)
Comment 1 mslama 2005-04-08 16:38:00 UTC
Problem with non empty _uninst dir was already fixed. But this is more complex
problem as AS installer in silent mode does not support cancel.
If AS installer is started already:
1.We can either wait till it finishes and then uninstall AS and cancel asbundle
installer.
2.We can disable cancel during AS installation but in such case if AS
installation hangs asbundle installer and eventually AS installer it must be killed.
3.Kill AS installer. Problem is if file productregistry is already updated by AS
installer.
Comment 2 mslama 2007-08-21 15:34:20 UTC
New installer engine does not use AS installer but installs AS directly. Dmitry please confirm. Closing as FIXED.
Comment 3 dlipin 2007-08-21 15:36:41 UTC
confirm.