Prakash Prabhakaran

Starting and Stopping derby using NetworkControl class

Wednesday Oct 03, 2007

The database can be stopped and started using the Derby NetworkServerControl class. For example, type java org.apache.derby.drda.NetworkServerControl start -h your—host -Dderby.system.home=/var/opt/SUNWportal/derby where -h argument is required, and must match the Portal Server host name chosen at install time. To run this command:

  • The derby.jar, derbytools.jar, and derbynet.jar files must be in your classpath. By default, these JAR files are installed into /usr/share/lib/Derby directory.

  • The system property derby.system.home must be set to:

    • /var/opt/SUNWportal/derby for Solaris.

    • /var/opt/sun/portal/derby for Linux.

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg
Comments:

Post a Comment:
  • HTML Syntax: NOT allowed