uCosminexus Application Server, Application Setup Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
Execute the following command to start a J2EE application. If resource adapters are included in the J2EE application, all the resource adapters included in the J2EE application will also start automatically.
- Execution format
cjstartapp [server-name] [-nameserver provider-URL] -name J2EE-application-name
|
- Example of execution
cjstartapp MyServer -name account
For details on the cjstartapp command, see cjstartapp (Starting J2EE applications) in the uCosminexus Application Server Command Reference Guide.
- Note:
- When a J2EE application references J2EE resource adapters, you first start the J2EE resource adapters, and then start the J2EE application.
- You cannot control the starting order of resource adapters included in a J2EE application.
- When invoking Enterprise Beans included in other J2EE applications, start the called J2EE application and then start the calling J2EE application.
To start a J2EE application, compile all the JSP files included in the J2EE application.
Execute the following command:
- Execution format
cjstartapp [server-name] [-nameserver provider-URL] -name J2EE-application-name -jspc
|
- Example of execution
cjstartapp MyServer -name App1 -jspc
For details on the cjstartapp command, see cjstartapp (Starting J2EE applications) in the uCosminexus Application Server Command Reference Guide.
- Note:
- In the case of applications in the archive format, the JSP compilation results that are generated by JSP pre-compile when starting the application, are deleted when the application terminates.
- For using the JSP compilation results that are generated by JSP pre-compile when starting the application, even after the application terminates, execute the following procedures:
- Specify JSP pre-compile and start the application.
- Export the application.
- Use functionality like the redeploy functionality to switch to an application that contains JSP compilation results.
For switching between the J2EE applications, see 10.5 Switching between J2EE applications.
- Furthermore, after executing JSP pre-compiling at the start of the application, if the application fails to start, the application terminates and the JSP compilation results are deleted. Before executing JSP pre-compiling at the start of the application, confirm that the application can start normally.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.