Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Troubleshooting Guide

- Previous: Cannot Undeploy Or Redeploy Application With Open Streams to Jar Files (Windows Only)
- Next: Cannot Produce a JVM Thread Dump After Server Crash

# Cannot Reinstall Application Server After Manual Deletion of Directories

## Description

If the Application Server directories are deleted manually rather than by means of the included `uninstall` the program, subsequent attempts to reinstall the Application Server in the same directory fail. This is because the installation directory information stored in `/tmp/productregistry` file remains even though the program directories have been removed.

## Solution 1

Remove Application Server directory information from the `<location\>` property entries in the `/tmp/productregistry` file; for example, change:

    <location\>/opt/SUNWappserver/jdk</location\>

to

    <location\></location\>

## Solution 2

Reinstall the Application Server in a different directory.

- Previous: Cannot Undeploy Or Redeploy Application With Open Streams to Jar Files (Windows Only)
- Next: Cannot Produce a JVM Thread Dump After Server Crash

- © 2010, Oracle Corporation and/or its affiliates