uCosminexus Application Server, Application Development Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Glossary]](FIGURE/GLOSS.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
Before using Eclipse to operate the J2EE server, you must first register the environment information such as the J2EE server installation destination. This environment information is called the server runtime. Registering the server runtime enables you to add a J2EE server with Eclipse.
To register Cosminexus J2EE server runtime:
- From the bar, choose Window, and then Preferences.
The Preferences dialog box appears.
- In the left pane tree view, choose Server, and then Runtime Environment.
The Server - Runtime Environments page appears.
![[Figure]](FIGURE/ZU130400.GIF)
- Click the Add button.
The New Server Runtime Environment dialog box appears.
![[Figure]](FIGURE/ZU130500.GIF)
- Specify the following items:
Item name |
Specified value |
Select the type of runtime environment |
Select the J2EE server runtime type.
Select Cosminexus, and then Cosminexus J2EE. |
- Click the Next button.
The J2EE Server Runtime page appears. By default, Cosminexus J2EE is displayed as the runtime name.
![[Figure]](FIGURE/ZU130600.GIF)
- Click the Finish button.
The Cosminexus J2EE server runtime specified for Server runtime environment on the Server Runtime Environments page is now registered.
![[Figure]](FIGURE/ZU130700.GIF)
- Click the OK button.
- Organization of this section
- (1) Notes on creating server runtime
(1) Notes on creating server runtime
Note the following points when creating server runtime:
- If the JDK provided by Developer is not registered on the Installed JRE page, it will be automatically registered when creating Cosminexus J2EE server runtime. However, if you register the server runtime with the following procedure, JDK provided by Developer will not be registered automatically:
- In the left pane of the Preferences dialog box, choose Java, and then Installed JRE. The Installed JRE page appears.
- In the left pane of the Preferences dialog box, choose Server, and then Runtime environment. The Server Runtime Environment page appears.
- Register J2EE server runtime.
If you have registered Cosminexus J2EE server runtime by following this procedure, delete the registered Cosminexus J2EE server runtime once. Open the Preferences dialog box and register J2EE Server Runtime without displaying the Installed JRE page.
Note that when you uninstall Developer, the auto-registered JDK provided by Developer is not removed. Delete the JDK provided by Developer as and when required.
- Even if you click the Search button on the Server Runtime Environment page of the Preferences dialog box, Cosminexus J2EE server runtime is not searched.
- Do not select the Edit button or the Remove button when Cosminexus J2EE server runtime is being used in a server or a project.
All Rights Reserved. Copyright (C) 2012, 2013, Hitachi, Ltd.