This section provides instructions for uninstalling Unwired Accelerator from Tomcat using the Uninstaller.
Removing Unwired Accelerator
Shut down Tomcat, by opening a terminal window,
navigating to $SYBASE, and entering stoptomcat.sh
.
Navigate to $SYBASE/Uninstaller.
At the command line, type the following to launch the Unwired Accelerator Uninstaller:
java -jar uninstallUA70.jar
Use a real Java VM (such as the one located in $SYBASE/JDK1.4.2_06/bin/java),
and not the GNU Compiler for Java (GJC) that is typically located
in /usr/bin.
Answer the Uninstaller prompts. The Uninstaller removes Unwired Accelerator, and drops sampledb and portaldatabase.
Delete the Adaptive Server Enterprise database and log devices using instructions in the Adaptive Server Enterprise manuals. In summary:
Log in to Adaptive Server Enterprise.
Type the following to drop the databases and devices:
use master
go
sp_dropdevice portalData
go
sp_dropdevice portalLog
go
You can also drop portaldatabase and sampledb manually
by issuing these commands:
drop database portaldatabase
go
drop database sampledb
go
Typically the Uninstaller drops these databases as part of the uninstall.
Remove the physical files associated with portalData and portalLog, for example:
$SYBASE/ASE/data/portalData
$SYBASE/ASE/data/portalLog
Remove the UA log directory, UALogs<user_login>, for example, /tmp/UALogsmarkusb.