You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by Apache Wiki <wi...@apache.org> on 2007/10/21 21:34:04 UTC

[Db-derby Wiki] Update of "DerbyWindowsService" by AndreasKnees

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification.

The following page has been changed by AndreasKnees:
http://wiki.apache.org/db-derby/DerbyWindowsService

The comment on the change is:
added -h 0.0.0.0 option to enable derby server to accept cons from foreign hosts

------------------------------------------------------------------------------
   1. Set the application parameters that will configure the wrapper to start and stop the application using the appropriate Derby class and options:
      {{{
  wrapper.app.parameter.1=org.apache.derby.drda.NetworkServerControl
+ # number of arguments is 3
- wrapper.app.parameter.2=1
+ wrapper.app.parameter.2=3
  wrapper.app.parameter.3=start
+ # Option -h 0.0.0.0 means: listening on all interfaces, not only on localhost.
+ # This is needed to make the derby server accept connections from other hosts
+ # than the localhost.
+ wrapper.app.parameter.4=-h
+ wrapper.app.parameter.5=0.0.0.0
- wrapper.app.parameter.4=org.apache.derby.drda.NetworkServerControl
+ wrapper.app.parameter.6=org.apache.derby.drda.NetworkServerControl
- wrapper.app.parameter.5=true
+ wrapper.app.parameter.7=true
+ # number of arguments is 1
- wrapper.app.parameter.6=1
+ wrapper.app.parameter.8=1
- wrapper.app.parameter.7=shutdown}}}
+ wrapper.app.parameter.9=shutdown}}}
   1. Set the library search path so that JSW can find its Wrapper.dll. Set this parameter to the location of that DLL
     {{{
  wrapper.java.library.path.1=C:/Program Files/JavaServiceWrapper/lib}}}