Registration of Debug Server to e Builder for Development Environment¶
Topics
Overview¶
How to register Resin to e Builder for development environment is described in this section.By doing this setting, developers can do necessary library registration or debugging.Warning
If e Builder 2012 Winter is to be updated to e Builder 2013 Spring or later,please delete Resin server settings and make sure that you register and use debug server.
Prerequisites¶
- Installation in e Builder main body or plug-in is completed.
- e Builder is started.
Server View Display¶
Select [Server] at [Window]→[View] from eclipse tool bar and display it.![]()
Display [New Server/Wizard] from [Server] view.
![]()
Note
The figure above shows the case where no server has been set.Users who has set another server in advance should select [New] by right click from the view. Select [intra-mart]→[Debug Server(Resin4.0)] from [New Server/Wizard].
Specify install directory of Resin server to Resin Home.If Cassandra is used, specify install directory of Cassandra to Cassandra Home and press Next button.![]()
If there is existing module project, it is associated with the debug server.Just press the Finish button, if there is no module project.![]()
If [Finish] button is pressed, debug server information set on [Server] view is displayed.
![]()
Open Debug Server overview in [Server] view.Please change the following settings as required.
- General Information
- Server name : It sets a name of this server.
- Host name : It specifies host name to be used at server startup time.
- Run time : It sets server which should be started at execution time of this setting.
- Configuration path : It sets configuration when this server is started.
- Open startup configuration : It sets details about startup configuration. Specificaly, VM argument at server execution time or class path to be set at execution time can be set.
- Server Property
- HTTP Port - It sets HTTP port of debug server.
- JavaScript Debug Port - It sets debug port for script development model.
- Server Startup Option
- JavaEE debug - It makes break poing of Java source available at debug startup time.
- JavaScript debug - It makes break poing of function container available at debug startup time.
- Cassandra server - It starts Cassandra server at debug server startup time.
![]()
Note
For the setting of memory area or heap area for server execution, the information set in [Argument] tab of [Open Startup Configuration] would be the top priority.Argument is set inside the text area of VM argument of above [Argument] tab.Initial value is set as below, but please change and adjust the following value when OutOfMemory occurs.Initial value : -Xss1m -Xmx512m -XX:MaxPermSize=256m -server
[Reference] Startup/Stop of Debug Server¶
If [Execute Server] button is pressed in [Server] view, debug server will be started.
If [Server Stop] button is pressed in [Server] view, debug server will be stopped.![]()
Warning
If e Builder license has expired, debug server cannot be started.Please refer to [License Registration] for e Builder license.
[Reference] Execution/Stop of Cassandra Server¶
When [Cassandra Server] is checked in server startup option of debug server,Cassandra server is started synchronously when debug server is started.Log at startup time can be viewed by selecting [Display selected Console]→[Running cassandra process] from [Computer],and switching the console. When you stop Cassandra server,please select [Display selected Console]→[Running cassandra process]and press [Finish] button after switching the console to Cassandra server.