uCosminexus Application Server, Application Development Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Glossary]](FIGURE/GLOSS.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
This subsection describes the unsetup procedure for the debug environment built using Development Environment Instant Setup.
When Developer is uninstalled and re-installed before unsetup of environment built using Development Environment Instant Setup, see (2) When unsetup is performed manually.
- Note
- If a logical server is manually added in the debug environment built using Development Environment Instant Setup
- If a logical server is manually added in the debug environment built using Development Environment Instant Setup, delete the manually added logical server before unsetup.
- If unsetup is executed without deleting the manually added logical server, the logical server will still exist, which might result in an error while setting up with Development Environment Instant Setup after the unsetup.
- If an error occurs, delete the manually added logical server and host (InstantHost), unsetup u, and then re-execute the setup.
- Organization of this subsection
- (1) When Development Environment Instant Setup is used
- (2) When unsetup is performed manually
(1) When Development Environment Instant Setup is used
(2) When unsetup is performed manually
If Developer is uninstalled and re-installed before the unsetup of the environment built using Development Environment Instant Setup, manually unsetup the built environment as follows:
- Unsetup the J2EE server and performance tracer.
Execute the following Smart Composer functionality command and server management command (CUI) to unsetup the J2EE server and performance tracer:
- Stop the Web system (cmx_stop_target command)
Developer-installation-directory/manager/bin/cmx_stop_target-m localhost: port-number-for-HTTP-traffic-specified-for-Development Environment Instant Setup# -u Management-Server-management-user-ID-specified-for-Development Environment Instant Setup - p Management-Server-management-user-password-specified-for-Development Environment Instant Setup -mode ALL-s InstantWebSystem
|
- #
- 28080 for Standard setup.
- Unsetup the J2EE server (cjsetup command)
Developer-installation-directory/CC/server/bin/cjsetup-d cmx_InstantWebSystem_unit1_J2EE_01
|
- Deleting the Web system (cmx_delete_system command)
Developer-installation-directory/manager/bin/cmx_delete_system-m localhost: port-number-for-HTTP-traffic-specified-for-Development Environment Instant Setup#-u Management-Server-management-user-ID-specified-for-Development Environment Instant Setup -p Management-Server-management-user-password-specified-for-Development Environment Instant Setup -s InstantWebSystem
|
- #
- 28080 for Standard setup.
For details on commands, see the manual uCosminexus Application Server Command Reference Guide .
- Unsetup the Management Server.
Copy the following files and execute the cjsetup command (deleting the J2EE server) to unset up the Management Server:
- File to be copied
Developer-installation-directory/manager/config/templates/adminagent.properties
Developer-installation-directory/manager/config/templates/mserver.properties
Developer-installation-directory/manager/config/templates/mserver.xml
Developer-installation-directory/manager/config/templates/mserver.cfg
- Copy destination directory
Developer-installation-directory/manager/config
- Command to be executed (cjsetup command)
Developer-installation-directory/CC/ server/bin/cjsetup -d cosmi_m
|
- Unsetup the embedded database
For details on the unsetup of the embedded database, see Appendix B.3(3) Deleting an embedded database. Furthermore, delete the following directories manually:
- Directory-where-the-embedded-database-was-created/area
- Directory-where-the-embedded-database-was-created/bats
- Directory-where-the-embedded-database-was-created/conf
- Directory-where-the-embedded-database-was-created/ini
All Rights Reserved. Copyright (C) 2012, 2013, Hitachi, Ltd.