Added: websites/production/db/content/derby/integrate/plugin_help/start_server.html ============================================================================== --- websites/production/db/content/derby/integrate/plugin_help/start_server.html (added) +++ websites/production/db/content/derby/integrate/plugin_help/start_server.html Wed Dec 19 18:20:21 2012 @@ -0,0 +1,442 @@ + + + + + + + + +Starting the Derby Network Server + + + + + + + + + +
+ +
+apache > db +
+ +
+ + + + +
+Apache DB Project +
+ + + + +
+
+
+
+ +
+ + +
+ +
+ +   +
+ + + + + +
+
Font size: +   +   +   +
+

Starting the Derby Network Server

+ + +

Starting the Derby Network Server

+
+

The Derby Network Server allows multiple applications running in different Java Virtual Machines to access a single Derby database. Once the Network Server is started client applications from within Eclipse, such as ij or other Java applications, can access a Derby database. Additionally, the Network Server allows for client applications outside of Eclipse on the localhost, or even on remote hosts to access the same database.

+ +

To start the Derby Network Server

+
+
+
    +
  • The Derby nature needs to be added to the project prior to starting the Network Server.
    +
    +
  • +
  • With the Java project selected, bring up the context menu and select the menu item, Apache Derby, Start Derby Network Server.
  • +
+Start Derby Network Server
    +
  • The pop-up box will appear which states the Apache Derby Network Server is attempting to be started.
  • +
  • If the network server startup is successful the Console view will display Server is ready to accept connections on port xxxx. For each project that has a running Network Server associated with it a green arrow appears next to the project name.
  • +
+Network Server started
    +
  • If other items that use the console as a display hide the Network Server console use the Display Selected Console drop down icon to the right of the console menu bar to make the Network Server console visible.
  • +
+
+
+ +

Derby Network Server Host value

+

By starting the Derby Network Server using the default values the server runs on the localhost, which is the host running Eclipse, on port 1527. To change the host name or the port number where the Derby Network Server is running see Setting Derby properties for a project.

+

The value used for the Network Server host name impacts the ability of remote hosts to connect to the Network Server. If the Network Server Host value in the Project Properties is set to localhost, only clients running on the host where Eclipse is running can connect to the network server. If an ip address or hostname (other than the name 'localhost') is used, client applications running on other hosts can connect to the Derby Network Server. For additional information about starting the Derby Network Server see the Derby Server and Administration Guide. The section called Starting the Network Server explains the effect of setting the value for the hostname differently.

+

If connections from other hosts will be allowed, it is recommended to run under the Java security manager and enable user authentication prior to starting the Derby Network Server.

+
+
+ +
 
+
+ + + Added: websites/production/db/content/derby/integrate/plugin_help/start_toc.html ============================================================================== --- websites/production/db/content/derby/integrate/plugin_help/start_toc.html (added) +++ websites/production/db/content/derby/integrate/plugin_help/start_toc.html Wed Dec 19 18:20:21 2012 @@ -0,0 +1,447 @@ + + + + + + + + +Getting Started with the Derby plug-ins for Eclipse + + + + + + + + + +
+ +
+apache > db +
+ +
+ + + + +
+Apache DB Project +
+ + + + +
+
+
+
+ +
+ + +
+ +
+ +   +
+ + + + + +
+
Font size: +   +   +   +
+

Getting Started with the Derby plug-ins for Eclipse

+ + +

Getting Started with the Derby plug-ins for Eclipse

+
+

The Apache Derby plug-ins for Eclipse provide a seamless integration between Eclipse and Apache Derby. It enables the use of the Derby database JAR files as an installable component to Eclipse. Additionally the ij SQL scripting tool and the Apache Derby Network Server can be run from the Eclipse console.

+

If you are new to Eclipse or Derby, the steps below will get you started using both! At the very least, follow the first four steps to become familiar with Eclipse and Derby.

+ +
+
+
+
+ +
 
+
+ + + Added: websites/production/db/content/derby/integrate/plugin_help/stop_server.html ============================================================================== --- websites/production/db/content/derby/integrate/plugin_help/stop_server.html (added) +++ websites/production/db/content/derby/integrate/plugin_help/stop_server.html Wed Dec 19 18:20:21 2012 @@ -0,0 +1,432 @@ + + + + + + + + +Stopping the Derby Network Server + + + + + + + + + +
+ +
+apache > db +
+ +
+ + + + +
+Apache DB Project +
+ + + + +
+
+
+
+ +
+ + +
+ +
+ +   +
+ + + + + +
+
Font size: +   +   +   +
+

Stopping the Derby Network Server

+ + +

Stopping the Derby Network Server

+
+

The Derby Network Server allows multiple applications running in different Java Virtual Machines to access a single Derby database.

+ +

To stop the Derby Network Server

+
+
+
    +
  • Select the Java project, bring up the context menu and select the menu item, Apache Derby, Stop Derby Network Server.
  • +
+Stop Derby Network Server
    +
  • The pop-up box will appear stating the Apache Derby Network Server is attempting to be stopped.
  • +
+
    +
  • If the network server shutdown is successful the Console view will say Shutdown successful. +
  • +
+Apache Derby Network Server stopped
    +
  • When the Network Server associated with a particular project is shutdown the green arrow designating a running server which appeared next to the project name, is no longer visible.
  • +
+
+
+ +
 
+
+ + + Added: websites/production/db/content/derby/integrate/plugin_help/sysinfo.html ============================================================================== --- websites/production/db/content/derby/integrate/plugin_help/sysinfo.html (added) +++ websites/production/db/content/derby/integrate/plugin_help/sysinfo.html Wed Dec 19 18:20:21 2012 @@ -0,0 +1,435 @@ + + + + + + + + +Running sysinfo for environment information + + + + + + + + + +
+ +
+apache > db +
+ +
+ + + + +
+Apache DB Project +
+ + + + +
+
+
+
+ +
+ + +
+ +
+ +   +
+ + + + + +
+
Font size: +   +   +   +
+

Running sysinfo for environment information

+ + +

Running sysinfo for environment information

+
+

+sysinfo provides information about the Derby system. This tool is useful in determing the current Java and Derby environments.

+ +

To launch sysinfo

+
    +
  • Select the project and bring up the context menu. Select the menu item, sysinfo (Derby System Information).
  • +
+sysinfo (Derby System Information)
    +
  • The Console view will show the output from running the sysinfo command. The output from sysinfo is divided into three sections:
      +
    • Java Information
    • +
    • Derby Information
    • +
    • Locale Information (if present)
      +
      +
    • +
    +
  • +
  • Additional info about using sysinfo can be found in the Derby Tools & Utility Guide.
  • +
+
+
+

Sample output from running sysinfo is shown below.

+sysinfo output
+
+ +
 
+
+ + +