SP3 install failing for webview APM

book

Article ID: 132005

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) INTROSCOPE

Issue/Introduction

SP3 install failing for webview APM. I will upload hotfix logs to case. When attempting to install Webview it rolls back with following

Hotfix 10.7.0-HF29 was rolled back successfully

Log entries:
2019-05-09 15:15:56,610 [main] INFO  com.ca.fix.command.MigrateXmlCommand - Value: //Set[@name='SendServerVersion']/text() : false was migrated to new version of /opt/apm/Introscope10.7.0.45/config/webview-jetty-config.xml
2019-05-09 15:15:56,613 [main] INFO  com.ca.fix.command.DeleteTree - deleting folder work
2019-05-09 15:15:56,616 [main] ERROR com.ca.fix.apm.hotfix.Hotfix - Error while executing the scenario
java.nio.file.DirectoryNotEmptyException: work
    at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:242)
    at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
    at java.nio.file.Files.delete(Files.java:1126)
    at com.ca.fix.command.DeleteTree$1.postVisitDirectory(DeleteTree.java:78)
    at com.ca.fix.command.DeleteTree$1.postVisitDirectory(DeleteTree.java:1)
    at java.nio.file.Files.walkFileTree(Files.java:2688)
    at java.nio.file.Files.walkFileTree(Files.java:2742)
    at com.ca.fix.command.DeleteTree.executeImpl(DeleteTree.java:52)
    at com.ca.fix.command.CommandBase.execute(CommandBase.java:40)
    at com.ca.fix.HotfixBase.executeCommand(HotfixBase.java:187)
    at com.ca.fix.HotfixBase.deleteTree(HotfixBase.java:208)
    at com.ca.fix.apm.hotfix.Hotfix.migrateWVJettyConfiguration(Hotfix.java:2180)
    at com.ca.fix.apm.hotfix.Hotfix.wvHotfix(Hotfix.java:545)
    at com.ca.fix.apm.hotfix.Hotfix.scenario(Hotfix.java:183)
    at com.ca.fix.HotfixBase.apply(HotfixBase.java:135)
    at com.ca.fix.HotfixBase.execute(HotfixBase.java:68)
    at com.ca.fix.apm.hotfix.Hotfix.main(Hotfix.java:112)
2019-05-09 15:15:56,617 [main] INFO  com.ca.fix.apm.hotfix.Hotfix - Rolling back the scenario

Environment

AP 10.7 SP3

Resolution

All files for work and osgi were owned by root. Deleted directories or cleared files