|
|
Removing All Application Deployed in J2EE SDK 1.3
by Jeff Hunter, Sr. Database Administrator
Introduction
The J2EE 1.3 SDK provides a script called "cleanup" that allows you to uninstall all applications and clean out the server's repository. Before running thecleanupscript, you will need to shut down and restart the server.
Running the "cleanup" script
Before running thecleanupscript, you will need to shutdown the server as in the following example:% j2ee -stop Shutting down the J2EE server. % cleanup This will delete all deployed applications and clean all log files Do you want to proceed (y/n) y Cleaning directory /usr/j2sdkee1.3.1/logs/cartman ... Cleaning directory /usr/j2sdkee1.3.1/repository/cartman ... Cleaning directory /usr/j2sdkee1.3.1/connector/adapters ... Cleaning directory /usr/j2sdkee1.3.1/public_html ... Cleaning directory /var/tmp/j2ee-ri-oracle ... Cleanup completed. Please restart j2ee server. % j2ee -verbose J2EE server listen port: 1050 Naming service started:1050 Binding DataSource, name = jdbc/InventoryDB, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true Binding DataSource, name = jdbc/DB2, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true Binding DataSource, name = jdbc/DB1, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true Binding DataSource, name = jdbc/EstoreDB, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true Binding DataSource, name = jdbc/Cloudscape, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true Binding DataSource, name = jdbc/XACloudscape, url = jdbc/XACloudscape__xa Binding DataSource, name = jdbc/XACloudscape__xa, dataSource = COM.cloudscape.core.RemoteXaDataSource@8275 1 Starting JMS service... Initialization complete - waiting for client requests Binding: < JMS Destination : jms/Queue , javax.jms.Queue > Binding: < JMS Destination : jms/Topic , javax.jms.Topic > Binding: < JMS Cnx Factory : jms/QueueConnectionFactory , Queue , No properties > Binding: < JMS Cnx Factory : TopicConnectionFactory , Topic , No properties > Binding: < JMS Cnx Factory : QueueConnectionFactory , Queue , No properties > Binding: < JMS Cnx Factory : jms/TopicConnectionFactory , Topic , No properties > Starting web service at port: 8000 Starting secure web service at port: 7000 J2EE SDK/1.3.1 Starting web service at port: 9191 J2EE SDK/1.3.1 J2EE server startup complete.