Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 10972 invoked from network); 12 Apr 2005 16:20:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Apr 2005 16:20:54 -0000 Received: (qmail 35330 invoked by uid 500); 12 Apr 2005 16:20:54 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 35298 invoked by uid 500); 12 Apr 2005 16:20:53 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 35282 invoked by uid 500); 12 Apr 2005 16:20:53 -0000 Delivered-To: apmail-incubator-derby-cvs@incubator.apache.org Received: (qmail 35276 invoked by uid 99); 12 Apr 2005 16:20:53 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 12 Apr 2005 09:20:50 -0700 Received: (qmail 10934 invoked by uid 65534); 12 Apr 2005 16:20:49 -0000 Message-ID: <20050412162049.10932.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: svnmailer-1.0.0-dev Date: Tue, 12 Apr 2005 16:20:49 -0000 Subject: svn commit: r161070 - in incubator/derby/code/trunk/frameworks: ./ NetworkServer/bin/ embedded/ embedded/bin/ To: derby-cvs@incubator.apache.org From: fuzzylogic@apache.org X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: fuzzylogic Date: Tue Apr 12 09:20:44 2005 New Revision: 161070 URL: http://svn.apache.org/viewcvs?view=3Drev&rev=3D161070 Log: Allow the user to specify the host/port on the command line or via the variables DERBY_SERVER_HOST and DERBY_SERVER_PORT in startNetworkServer and stopNetworkServer scripts. Committed for Lance Anderson Also, set svn:eol-style native on all the scripts. Modified: incubator/derby/code/trunk/frameworks/NetworkServer/bin/NetworkServerCo= ntrol.bat (contents, props changed) incubator/derby/code/trunk/frameworks/NetworkServer/bin/NetworkServerCo= ntrol.ksh (contents, props changed) incubator/derby/code/trunk/frameworks/NetworkServer/bin/dblook.bat (c= ontents, props changed) incubator/derby/code/trunk/frameworks/NetworkServer/bin/dblook.ksh (c= ontents, props changed) incubator/derby/code/trunk/frameworks/NetworkServer/bin/ij.bat (conte= nts, props changed) incubator/derby/code/trunk/frameworks/NetworkServer/bin/ij.ksh (conte= nts, props changed) incubator/derby/code/trunk/frameworks/NetworkServer/bin/setNetworkClien= tCP.bat (contents, props changed) incubator/derby/code/trunk/frameworks/NetworkServer/bin/setNetworkClien= tCP.ksh (contents, props changed) incubator/derby/code/trunk/frameworks/NetworkServer/bin/setNetworkServe= rCP.bat (contents, props changed) incubator/derby/code/trunk/frameworks/NetworkServer/bin/setNetworkServe= rCP.ksh (contents, props changed) incubator/derby/code/trunk/frameworks/NetworkServer/bin/startNetworkSer= ver.bat (contents, props changed) incubator/derby/code/trunk/frameworks/NetworkServer/bin/startNetworkSer= ver.ksh (contents, props changed) incubator/derby/code/trunk/frameworks/NetworkServer/bin/stopNetworkServ= er.bat (contents, props changed) incubator/derby/code/trunk/frameworks/NetworkServer/bin/stopNetworkServ= er.ksh (contents, props changed) incubator/derby/code/trunk/frameworks/NetworkServer/bin/sysinfo.bat (= contents, props changed) incubator/derby/code/trunk/frameworks/NetworkServer/bin/sysinfo.ksh (= contents, props changed) incubator/derby/code/trunk/frameworks/embedded/bin/dblook.bat (conten= ts, props changed) incubator/derby/code/trunk/frameworks/embedded/bin/dblook.ksh (conten= ts, props changed) incubator/derby/code/trunk/frameworks/embedded/bin/ij.bat (contents, = props changed) incubator/derby/code/trunk/frameworks/embedded/bin/ij.ksh (contents, = props changed) incubator/derby/code/trunk/frameworks/embedded/bin/setEmbeddedCP.bat = (contents, props changed) incubator/derby/code/trunk/frameworks/embedded/bin/setEmbeddedCP.ksh = (contents, props changed) incubator/derby/code/trunk/frameworks/embedded/bin/sysinfo.bat (conte= nts, props changed) incubator/derby/code/trunk/frameworks/embedded/bin/sysinfo.ksh (conte= nts, props changed) incubator/derby/code/trunk/frameworks/embedded/readme.html (contents,= props changed) incubator/derby/code/trunk/frameworks/readme.html (contents, props ch= anged) Modified: incubator/derby/code/trunk/frameworks/NetworkServer/bin/NetworkSe= rverControl.bat URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/frameworks/Ne= tworkServer/bin/NetworkServerControl.bat?view=3Ddiff&r1=3D161069&r2=3D161070 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/derby/code/trunk/frameworks/NetworkServer/bin/NetworkServerCo= ntrol.bat (original) +++ incubator/derby/code/trunk/frameworks/NetworkServer/bin/NetworkServerCo= ntrol.bat Tue Apr 12 09:20:44 2005 @@ -1,29 +1,29 @@ -@REM --------------------------------------------------------- -@REM -- This batch file is an example of how to run commands=20 -@REM -- in the Network Server framework -@REM -- -@REM -- REQUIREMENTS:=20 -@REM -- You must have the derby jar files as well as the=20 -@REM -- derby network server class files in your classpath. -@REM -- -@REM -- Check the setNetworkServerCP.bat file for an example of -@REM -- what to set. -@REM --=20 -@REM -- This file for use on Windows systems -@REM --------------------------------------------------------- - -rem set DERBY_INSTALL=3D -=20 -@if !"%CLASSPATH%"=3D=3D! call "%DERBY_INSTALL%"/frameworks/NetworkServer/= bin/setNetworkServerCP.bat -@if "%CLASSPATH%" =3D=3D "" call "%DERBY_INSTALL%"/frameworks/NetworkServe= r/bin/setNetworkServerCP.bat - -@REM --------------------------------------------------------- -@REM -- start Derby as a Network server -@REM --------------------------------------------------------- -java org.apache.derby.drda.NetworkServerControl %* - -@REM --------------------------------------------------------- -@REM -- To use a different JVM with a different syntax, simply edit -@REM -- this file -@REM --------------------------------------------------------- - +@REM --------------------------------------------------------- +@REM -- This batch file is an example of how to run commands=20 +@REM -- in the Network Server framework +@REM -- +@REM -- REQUIREMENTS:=20 +@REM -- You must have the derby jar files as well as the=20 +@REM -- derby network server class files in your classpath. +@REM -- +@REM -- Check the setNetworkServerCP.bat file for an example of +@REM -- what to set. +@REM --=20 +@REM -- This file for use on Windows systems +@REM --------------------------------------------------------- + +rem set DERBY_INSTALL=3D +=20 +@if !"%CLASSPATH%"=3D=3D! call "%DERBY_INSTALL%"/frameworks/NetworkServer/= bin/setNetworkServerCP.bat +@if "%CLASSPATH%" =3D=3D "" call "%DERBY_INSTALL%"/frameworks/NetworkServe= r/bin/setNetworkServerCP.bat + +@REM --------------------------------------------------------- +@REM -- start Derby as a Network server +@REM --------------------------------------------------------- +java org.apache.derby.drda.NetworkServerControl %* + +@REM --------------------------------------------------------- +@REM -- To use a different JVM with a different syntax, simply edit +@REM -- this file +@REM --------------------------------------------------------- + Propchange: incubator/derby/code/trunk/frameworks/NetworkServer/bin/Network= ServerControl.bat ---------------------------------------------------------------------------= --- svn:eol-style =3D native Modified: incubator/derby/code/trunk/frameworks/NetworkServer/bin/NetworkSe= rverControl.ksh URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/frameworks/Ne= tworkServer/bin/NetworkServerControl.ksh?view=3Ddiff&r1=3D161069&r2=3D161070 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/derby/code/trunk/frameworks/NetworkServer/bin/NetworkServerCo= ntrol.ksh (original) +++ incubator/derby/code/trunk/frameworks/NetworkServer/bin/NetworkServerCo= ntrol.ksh Tue Apr 12 09:20:44 2005 @@ -1,31 +1,31 @@ -## --------------------------------------------------------- -# -- This simple script is an example of how to run commands -# -- for the Network Server framework -# -- -# -- REQUIREMENTS:=20 -# -- You must have the derby and Network Server jar files in your CLASSP= ATH -# -- -# -- Check the setNetworkServerCP.ksh file for an example of -# -- what to set. -# --=20 -# -- This file for use on Unix ksh systems -# --------------------------------------------------------- - -# DERBY_INSTALL=3D - -[ -z "$CLASSPATH" ] && { - . "$DERBY_INSTALL"/frameworks/NetworkServer/bin/setNetworkServerCP.ksh -} - -# --------------------------------------------------------- -# -- start Derby Network Server -# --------------------------------------------------------- - -java org.apache.derby.drda.NetworkServerControl $* - - -# --------------------------------------------------------- -# -- To use a different JVM with a different syntax, simply edit -# -- this file -# --------------------------------------------------------- - +## --------------------------------------------------------- +# -- This simple script is an example of how to run commands +# -- for the Network Server framework +# -- +# -- REQUIREMENTS:=20 +# -- You must have the derby and Network Server jar files in your CLASSP= ATH +# -- +# -- Check the setNetworkServerCP.ksh file for an example of +# -- what to set. +# --=20 +# -- This file for use on Unix ksh systems +# --------------------------------------------------------- + +# DERBY_INSTALL=3D + +[ -z "$CLASSPATH" ] && { + . "$DERBY_INSTALL"/frameworks/NetworkServer/bin/setNetworkServerCP.ksh +} + +# --------------------------------------------------------- +# -- start Derby Network Server +# --------------------------------------------------------- + +java org.apache.derby.drda.NetworkServerControl $* + + +# --------------------------------------------------------- +# -- To use a different JVM with a different syntax, simply edit +# -- this file +# --------------------------------------------------------- + Propchange: incubator/derby/code/trunk/frameworks/NetworkServer/bin/Network= ServerControl.ksh ---------------------------------------------------------------------------= --- svn:eol-style =3D native Modified: incubator/derby/code/trunk/frameworks/NetworkServer/bin/dblook.bat URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/frameworks/Ne= tworkServer/bin/dblook.bat?view=3Ddiff&r1=3D161069&r2=3D161070 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/derby/code/trunk/frameworks/NetworkServer/bin/dblook.bat (ori= ginal) +++ incubator/derby/code/trunk/frameworks/NetworkServer/bin/dblook.bat Tue = Apr 12 09:20:44 2005 @@ -1,28 +1,28 @@ -@REM --------------------------------------------------------- -@REM -- This batch file is an example of how to start dblook in=20 -@REM -- an NetworkServer environment. -@REM -- -@REM -- REQUIREMENTS:=20 -@REM -- You must have the Derby libraries in your classpath -@REM --=20 -@REM -- See the setNetworkClientCP.bat for an example of -@REM -- how to do this. -@REM -- -@REM -- This file for use on Windows systems -@REM --------------------------------------------------------- - -rem set DERBY_INSTALL=3D -=20 -@if !"%CLASSPATH%"=3D=3D! call "%DERBY_INSTALL%"/frameworks/NetworkServer/= bin/setNetworkClientCP.bat -@if "%CLASSPATH%" =3D=3D "" call "%DERBY_INSTALL%"/frameworks/NetworkServe= r/bin/setNetworkClientCP.bat - -@REM --------------------------------------------------------- -@REM -- start dblook -@REM --------------------------------------------------------- -java org.apache.derby.tools.dblook %* - -@REM --------------------------------------------------------- -@REM -- To use a different JVM with a different syntax, simply edit -@REM -- this file -@REM --------------------------------------------------------- - +@REM --------------------------------------------------------- +@REM -- This batch file is an example of how to start dblook in=20 +@REM -- an NetworkServer environment. +@REM -- +@REM -- REQUIREMENTS:=20 +@REM -- You must have the Derby libraries in your classpath +@REM --=20 +@REM -- See the setNetworkClientCP.bat for an example of +@REM -- how to do this. +@REM -- +@REM -- This file for use on Windows systems +@REM --------------------------------------------------------- + +rem set DERBY_INSTALL=3D +=20 +@if !"%CLASSPATH%"=3D=3D! call "%DERBY_INSTALL%"/frameworks/NetworkServer/= bin/setNetworkClientCP.bat +@if "%CLASSPATH%" =3D=3D "" call "%DERBY_INSTALL%"/frameworks/NetworkServe= r/bin/setNetworkClientCP.bat + +@REM --------------------------------------------------------- +@REM -- start dblook +@REM --------------------------------------------------------- +java org.apache.derby.tools.dblook %* + +@REM --------------------------------------------------------- +@REM -- To use a different JVM with a different syntax, simply edit +@REM -- this file +@REM --------------------------------------------------------- + Propchange: incubator/derby/code/trunk/frameworks/NetworkServer/bin/dblook.= bat ---------------------------------------------------------------------------= --- svn:eol-style =3D native Modified: incubator/derby/code/trunk/frameworks/NetworkServer/bin/dblook.ksh URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/frameworks/Ne= tworkServer/bin/dblook.ksh?view=3Ddiff&r1=3D161069&r2=3D161070 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/derby/code/trunk/frameworks/NetworkServer/bin/dblook.ksh (ori= ginal) +++ incubator/derby/code/trunk/frameworks/NetworkServer/bin/dblook.ksh Tue = Apr 12 09:20:44 2005 @@ -1,29 +1,29 @@ -# --------------------------------------------------------- -# -- This simple script is an example of how to start dblook in=20 -# -- a NetworkServer environment. -# -- -#-- REQUIREMENTS:=20 -# -- You must have the Derby libraries in your classpath -# --=20 -# -- See the setEmbeddedCP.ksh for an example of -# -- how to do this. -# -- -# -- This file for use on Unix ksh systems -# --------------------------------------------------------- - -# DERBY_INSTALL=3D - -[ -z "$CLASSPATH" ] && { - . "$DERBY_INSTALL"/frameworks/NetworkServer/bin/setNetworkClientCP.ksh -} - -# --------------------------------------------------------- -# -- start dblook -# --------------------------------------------------------- -java org.apache.derby.tools.dblook $@ - -# --------------------------------------------------------- -# -- To use a different JVM with a different syntax, simply edit -# -- this file -# --------------------------------------------------------- - +# --------------------------------------------------------- +# -- This simple script is an example of how to start dblook in=20 +# -- a NetworkServer environment. +# -- +#-- REQUIREMENTS:=20 +# -- You must have the Derby libraries in your classpath +# --=20 +# -- See the setEmbeddedCP.ksh for an example of +# -- how to do this. +# -- +# -- This file for use on Unix ksh systems +# --------------------------------------------------------- + +# DERBY_INSTALL=3D + +[ -z "$CLASSPATH" ] && { + . "$DERBY_INSTALL"/frameworks/NetworkServer/bin/setNetworkClientCP.ksh +} + +# --------------------------------------------------------- +# -- start dblook +# --------------------------------------------------------- +java org.apache.derby.tools.dblook $@ + +# --------------------------------------------------------- +# -- To use a different JVM with a different syntax, simply edit +# -- this file +# --------------------------------------------------------- + Propchange: incubator/derby/code/trunk/frameworks/NetworkServer/bin/dblook.= ksh ---------------------------------------------------------------------------= --- svn:eol-style =3D native Modified: incubator/derby/code/trunk/frameworks/NetworkServer/bin/ij.bat URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/frameworks/Ne= tworkServer/bin/ij.bat?view=3Ddiff&r1=3D161069&r2=3D161070 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/derby/code/trunk/frameworks/NetworkServer/bin/ij.bat (origina= l) +++ incubator/derby/code/trunk/frameworks/NetworkServer/bin/ij.bat Tue Apr = 12 09:20:44 2005 @@ -1,37 +1,37 @@ -@REM --------------------------------------------------------- -@REM -- This batch file is an example of how to start ij in=20 -@REM -- an NetworkServer environment. -@REM -- -@REM -- REQUIREMENTS:=20 -@REM -- You must have the Derby and DB2 JCC libraries in your classpath -@REM --=20 -@REM -- See the setNetworkClientCP.bat for an example of -@REM -- how to do this. -@REM -- -@REM -- You may need to modify the values below for a different -@REM -- host, port, user, or password -@REM -- -@REM -- This file for use on Windows systems -@REM --------------------------------------------------------- - -rem set DERBY_INSTALL=3D -=20 -@if !"%CLASSPATH%"=3D=3D! call "%DERBY_INSTALL%"/frameworks/NetworkServer/= bin/setNetworkClientCP.bat -@if "%CLASSPATH%" =3D=3D "" call "%DERBY_INSTALL%"/frameworks/NetworkServe= r/bin/setNetworkClientCP.bat - -set IJ_HOST=3Dlocalhost -set IJ_PORT=3D1527 -set IJ_USER=3DAPP -set IJ_PASSWORD=3DAPP - -@REM --------------------------------------------------------- -@REM -- start ij -@REM -- host, port, user and password may need to be changed -@REM --------------------------------------------------------- -java -Dij.driver=3Dcom.ibm.db2.jcc.DB2Driver -Dij.protocol=3Djdbc:derby:ne= t://%IJ_HOST%:%IJ_PORT%/ -Dij.user=3D%IJ_USER% -Dij.password=3D%IJ_PASSWORD= % org.apache.derby.tools.ij - -@REM --------------------------------------------------------- -@REM -- To use a different JVM with a different syntax, simply edit -@REM -- this file -@REM --------------------------------------------------------- - +@REM --------------------------------------------------------- +@REM -- This batch file is an example of how to start ij in=20 +@REM -- an NetworkServer environment. +@REM -- +@REM -- REQUIREMENTS:=20 +@REM -- You must have the Derby and DB2 JCC libraries in your classpath +@REM --=20 +@REM -- See the setNetworkClientCP.bat for an example of +@REM -- how to do this. +@REM -- +@REM -- You may need to modify the values below for a different +@REM -- host, port, user, or password +@REM -- +@REM -- This file for use on Windows systems +@REM --------------------------------------------------------- + +rem set DERBY_INSTALL=3D +=20 +@if !"%CLASSPATH%"=3D=3D! call "%DERBY_INSTALL%"/frameworks/NetworkServer/= bin/setNetworkClientCP.bat +@if "%CLASSPATH%" =3D=3D "" call "%DERBY_INSTALL%"/frameworks/NetworkServe= r/bin/setNetworkClientCP.bat + +set IJ_HOST=3Dlocalhost +set IJ_PORT=3D1527 +set IJ_USER=3DAPP +set IJ_PASSWORD=3DAPP + +@REM --------------------------------------------------------- +@REM -- start ij +@REM -- host, port, user and password may need to be changed +@REM --------------------------------------------------------- +java -Dij.driver=3Dcom.ibm.db2.jcc.DB2Driver -Dij.protocol=3Djdbc:derby:ne= t://%IJ_HOST%:%IJ_PORT%/ -Dij.user=3D%IJ_USER% -Dij.password=3D%IJ_PASSWORD= % org.apache.derby.tools.ij + +@REM --------------------------------------------------------- +@REM -- To use a different JVM with a different syntax, simply edit +@REM -- this file +@REM --------------------------------------------------------- + Propchange: incubator/derby/code/trunk/frameworks/NetworkServer/bin/ij.bat ---------------------------------------------------------------------------= --- svn:eol-style =3D native Modified: incubator/derby/code/trunk/frameworks/NetworkServer/bin/ij.ksh URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/frameworks/Ne= tworkServer/bin/ij.ksh?view=3Ddiff&r1=3D161069&r2=3D161070 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/derby/code/trunk/frameworks/NetworkServer/bin/ij.ksh (origina= l) +++ incubator/derby/code/trunk/frameworks/NetworkServer/bin/ij.ksh Tue Apr = 12 09:20:44 2005 @@ -1,33 +1,33 @@ -# --------------------------------------------------------- -# -- This simple script is an example of how to start ij in=20 -# -- the Derby Network Server environment. -# -- -#-- REQUIREMENTS:=20 -# -- You must have the Derby and DB2 JCC libraries in your classpath -# --=20 -# -- See the setNetworkClientCP.ksh for an example of -# -- how to do this. -# -- -# -- This file for use on Unix ksh systems -# --------------------------------------------------------- - -# DERBY_INSTALL=3D - -[ -z "$CLASSPATH" ] && { - . "$DERBY_INSTALL"/frameworks/NetworkServer/bin/setNetworkClientCP.ksh -} -=20 -export IJ_HOST=3Dlocalhost -export IJ_PORT=3D1527 -export IJ_USER=3DAPP -export IJ_PASSWORD=3DAPP - -# --------------------------------------------------------- -# -- start ij -# --------------------------------------------------------- -java -Dij.driver=3Dcom.ibm.db2.jcc.DB2Driver -Dij.protocol=3Djdbc:derby:ne= t://$IJ_HOST:$IJ_PORT/ -Dij.user=3D$IJ_USER -Dij.password=3D$IJ_PASSWORD o= rg.apache.derby.tools.ij - -# --------------------------------------------------------- -# -- To use a different JVM with a different syntax, simply edit -# -- this file -# --------------------------------------------------------- +# --------------------------------------------------------- +# -- This simple script is an example of how to start ij in=20 +# -- the Derby Network Server environment. +# -- +#-- REQUIREMENTS:=20 +# -- You must have the Derby and DB2 JCC libraries in your classpath +# --=20 +# -- See the setNetworkClientCP.ksh for an example of +# -- how to do this. +# -- +# -- This file for use on Unix ksh systems +# --------------------------------------------------------- + +# DERBY_INSTALL=3D + +[ -z "$CLASSPATH" ] && { + . "$DERBY_INSTALL"/frameworks/NetworkServer/bin/setNetworkClientCP.ksh +} +=20 +export IJ_HOST=3Dlocalhost +export IJ_PORT=3D1527 +export IJ_USER=3DAPP +export IJ_PASSWORD=3DAPP + +# --------------------------------------------------------- +# -- start ij +# --------------------------------------------------------- +java -Dij.driver=3Dcom.ibm.db2.jcc.DB2Driver -Dij.protocol=3Djdbc:derby:ne= t://$IJ_HOST:$IJ_PORT/ -Dij.user=3D$IJ_USER -Dij.password=3D$IJ_PASSWORD o= rg.apache.derby.tools.ij + +# --------------------------------------------------------- +# -- To use a different JVM with a different syntax, simply edit +# -- this file +# --------------------------------------------------------- Propchange: incubator/derby/code/trunk/frameworks/NetworkServer/bin/ij.ksh ---------------------------------------------------------------------------= --- svn:eol-style =3D native Modified: incubator/derby/code/trunk/frameworks/NetworkServer/bin/setNetwor= kClientCP.bat URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/frameworks/Ne= tworkServer/bin/setNetworkClientCP.bat?view=3Ddiff&r1=3D161069&r2=3D161070 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/derby/code/trunk/frameworks/NetworkServer/bin/setNetworkClien= tCP.bat (original) +++ incubator/derby/code/trunk/frameworks/NetworkServer/bin/setNetworkClien= tCP.bat Tue Apr 12 09:20:44 2005 @@ -1,17 +1,17 @@ -@REM --------------------------------------------------------- -@REM -- This batch file sets the CLASSPATH environment variable -@REM -- for use with Derby products in Network Server mode -@REM -- -@REM -- To use this script from other locations, change the=20 -@REM -- value assigned to DERBY_INSTALL to be an absolute path=20 -@REM -- (set DERBY_INSTALL=3DC:\derby) instead of the current relative pat= h -@REM -- -@REM -- This file for use on Windows systems -@REM --=20 -@REM --------------------------------------------------------- - -rem set DERBY_INSTALL=3D - -FOR %%X in ("%DERBY_INSTALL%") DO SET DERBY_INSTALL=3D%%~sX - -set CLASSPATH=3D%DERBY_INSTALL%\lib\derby.jar;%DERBY_INSTALL%\lib\derbytoo= ls.jar;%DERBY_INSTALL%\lib\db2jcc.jar;%DERBY_INSTALL%\lib\db2jcc_license_c.= jar;%CLASSPATH% +@REM --------------------------------------------------------- +@REM -- This batch file sets the CLASSPATH environment variable +@REM -- for use with Derby products in Network Server mode +@REM -- +@REM -- To use this script from other locations, change the=20 +@REM -- value assigned to DERBY_INSTALL to be an absolute path=20 +@REM -- (set DERBY_INSTALL=3DC:\derby) instead of the current relative path +@REM -- +@REM -- This file for use on Windows systems +@REM --=20 +@REM --------------------------------------------------------- + +rem set DERBY_INSTALL=3D + +FOR %%X in ("%DERBY_INSTALL%") DO SET DERBY_INSTALL=3D%%~sX + +set CLASSPATH=3D%DERBY_INSTALL%\lib\derby.jar;%DERBY_INSTALL%\lib\derbytoo= ls.jar;%DERBY_INSTALL%\lib\db2jcc.jar;%DERBY_INSTALL%\lib\db2jcc_license_c.= jar;%CLASSPATH% Propchange: incubator/derby/code/trunk/frameworks/NetworkServer/bin/setNetw= orkClientCP.bat ---------------------------------------------------------------------------= --- svn:eol-style =3D native Modified: incubator/derby/code/trunk/frameworks/NetworkServer/bin/setNetwor= kClientCP.ksh URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/frameworks/Ne= tworkServer/bin/setNetworkClientCP.ksh?view=3Ddiff&r1=3D161069&r2=3D161070 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/derby/code/trunk/frameworks/NetworkServer/bin/setNetworkClien= tCP.ksh (original) +++ incubator/derby/code/trunk/frameworks/NetworkServer/bin/setNetworkClien= tCP.ksh Tue Apr 12 09:20:44 2005 @@ -1,14 +1,14 @@ -# --------------------------------------------------------- -# -- This script file sets the CLASSPATH environment variable -# -- for use with Derby products in Network Server mode -# -- -# -- To use this script from other locations, change the=20 -# -- value assigned to DERBY_INSTALL to be an absolute path=20 -# -- (export DERBY_INSTALL=3D/opt/derby) instead of the current relative p= ath -# -- -# -- This file for use on Unix ksh systems -# --=20 -# --------------------------------------------------------- -# DERBY_INSTALL=3D - -export CLASSPATH=3D"${DERBY_INSTALL}/lib/derby.jar:${DERBY_INSTALL}/lib/de= rbytools.jar:${DERBY_INSTALL}/lib/db2jcc.jar:${DERBY_INSTALL}/lib/db2jcc_li= cense_c.jar:${CLASSPATH}" +# --------------------------------------------------------- +# -- This script file sets the CLASSPATH environment variable +# -- for use with Derby products in Network Server mode +# -- +# -- To use this script from other locations, change the=20 +# -- value assigned to DERBY_INSTALL to be an absolute path=20 +# -- (export DERBY_INSTALL=3D/opt/derby) instead of the current relative p= ath +# -- +# -- This file for use on Unix ksh systems +# --=20 +# --------------------------------------------------------- +# DERBY_INSTALL=3D + +export CLASSPATH=3D"${DERBY_INSTALL}/lib/derby.jar:${DERBY_INSTALL}/lib/de= rbytools.jar:${DERBY_INSTALL}/lib/db2jcc.jar:${DERBY_INSTALL}/lib/db2jcc_li= cense_c.jar:${CLASSPATH}" Propchange: incubator/derby/code/trunk/frameworks/NetworkServer/bin/setNetw= orkClientCP.ksh ---------------------------------------------------------------------------= --- svn:eol-style =3D native Modified: incubator/derby/code/trunk/frameworks/NetworkServer/bin/setNetwor= kServerCP.bat URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/frameworks/Ne= tworkServer/bin/setNetworkServerCP.bat?view=3Ddiff&r1=3D161069&r2=3D161070 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/derby/code/trunk/frameworks/NetworkServer/bin/setNetworkServe= rCP.bat (original) +++ incubator/derby/code/trunk/frameworks/NetworkServer/bin/setNetworkServe= rCP.bat Tue Apr 12 09:20:44 2005 @@ -1,17 +1,17 @@ -@REM --------------------------------------------------------- -@REM -- This batch file sets the CLASSPATH environment variable -@REM -- for use with Derby products in NetworkServer mode -@REM -- -@REM -- To use this script from other locations, change the=20 -@REM -- value assigned to DERBY_INSTALL to be an absolute path=20 -@REM -- (set DERBY_INSTALL=3DC:\derby) instead of the current relative pat= h -@REM -- -@REM -- This file for use on Windows systems -@REM --=20 -@REM --------------------------------------------------------- - -rem set DERBY_INSTALL=3D - -FOR %%X in ("%DERBY_INSTALL%") DO SET DERBY_INSTALL=3D%%~sX - -set CLASSPATH=3D%DERBY_INSTALL%\lib\derby.jar;%DERBY_INSTALL%\lib\derbytoo= ls.jar;%DERBY_INSTALL%\lib\derbynet.jar;%CLASSPATH% +@REM --------------------------------------------------------- +@REM -- This batch file sets the CLASSPATH environment variable +@REM -- for use with Derby products in NetworkServer mode +@REM -- +@REM -- To use this script from other locations, change the=20 +@REM -- value assigned to DERBY_INSTALL to be an absolute path=20 +@REM -- (set DERBY_INSTALL=3DC:\derby) instead of the current relative path +@REM -- +@REM -- This file for use on Windows systems +@REM --=20 +@REM --------------------------------------------------------- + +rem set DERBY_INSTALL=3D + +FOR %%X in ("%DERBY_INSTALL%") DO SET DERBY_INSTALL=3D%%~sX + +set CLASSPATH=3D%DERBY_INSTALL%\lib\derby.jar;%DERBY_INSTALL%\lib\derbytoo= ls.jar;%DERBY_INSTALL%\lib\derbynet.jar;%CLASSPATH% Propchange: incubator/derby/code/trunk/frameworks/NetworkServer/bin/setNetw= orkServerCP.bat ---------------------------------------------------------------------------= --- svn:eol-style =3D native Modified: incubator/derby/code/trunk/frameworks/NetworkServer/bin/setNetwor= kServerCP.ksh URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/frameworks/Ne= tworkServer/bin/setNetworkServerCP.ksh?view=3Ddiff&r1=3D161069&r2=3D161070 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/derby/code/trunk/frameworks/NetworkServer/bin/setNetworkServe= rCP.ksh (original) +++ incubator/derby/code/trunk/frameworks/NetworkServer/bin/setNetworkServe= rCP.ksh Tue Apr 12 09:20:44 2005 @@ -1,14 +1,14 @@ -# --------------------------------------------------------- -# -- This script file sets the CLASSPATH environment variable -# -- for use with Derby products in NetworkServer mode -# -- -# -- To use this script from other locations, change the=20 -# -- value assigned to DERBY_INSTALL to be an absolute path=20 -# -- (export DERBY_INSTALL=3D/opt/derby) instead of the current relative p= ath -# -- -# -- This file for use on Unix ksh systems -# --=20 -# --------------------------------------------------------- -# DERBY_INSTALL=3D - -export CLASSPATH=3D"${DERBY_INSTALL}/lib/derby.jar:${DERBY_INSTALL}/lib/de= rbytools.jar:${DERBY_INSTALL}/lib/derbynet.jar:${CLASSPATH}" +# --------------------------------------------------------- +# -- This script file sets the CLASSPATH environment variable +# -- for use with Derby products in NetworkServer mode +# -- +# -- To use this script from other locations, change the=20 +# -- value assigned to DERBY_INSTALL to be an absolute path=20 +# -- (export DERBY_INSTALL=3D/opt/derby) instead of the current relative p= ath +# -- +# -- This file for use on Unix ksh systems +# --=20 +# --------------------------------------------------------- +# DERBY_INSTALL=3D + +export CLASSPATH=3D"${DERBY_INSTALL}/lib/derby.jar:${DERBY_INSTALL}/lib/de= rbytools.jar:${DERBY_INSTALL}/lib/derbynet.jar:${CLASSPATH}" Propchange: incubator/derby/code/trunk/frameworks/NetworkServer/bin/setNetw= orkServerCP.ksh ---------------------------------------------------------------------------= --- svn:eol-style =3D native Modified: incubator/derby/code/trunk/frameworks/NetworkServer/bin/startNetw= orkServer.bat URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/frameworks/Ne= tworkServer/bin/startNetworkServer.bat?view=3Ddiff&r1=3D161069&r2=3D161070 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/derby/code/trunk/frameworks/NetworkServer/bin/startNetworkSer= ver.bat (original) +++ incubator/derby/code/trunk/frameworks/NetworkServer/bin/startNetworkSer= ver.bat Tue Apr 12 09:20:44 2005 @@ -1,29 +1,61 @@ -@REM --------------------------------------------------------- -@REM -- This batch file is an example of how to start the -@REM -- Derby server in the Network Server framework -@REM -- -@REM -- REQUIREMENTS:=20 -@REM -- You must have the derby jar files as well as the=20 -@REM -- derby network server class files in your classpath. -@REM -- -@REM -- Check the setNetworkServerCP.bat file for an example of -@REM -- what to set. -@REM --=20 -@REM -- This file for use on Windows systems -@REM --------------------------------------------------------- - -rem set DERBY_INSTALL=3D -=20 -@if !"%CLASSPATH%"=3D=3D! call "%DERBY_INSTALL%"/frameworks/NetworkServer/= bin/setNetworkServerCP.bat -@if "%CLASSPATH%" =3D=3D "" call "%DERBY_INSTALL%"/frameworks/NetworkServe= r/bin/setNetworkServerCP.bat - -@REM --------------------------------------------------------- -@REM -- start Derby as a Network server -@REM --------------------------------------------------------- -java org.apache.derby.drda.NetworkServerControl start - -@REM --------------------------------------------------------- -@REM -- To use a different JVM with a different syntax, simply edit -@REM -- this file -@REM --------------------------------------------------------- - +@REM -- This file for use on Windows systems +@REM --------------------------------------------------------- + +@echo off +@rem set DERBY_INSTALL=3D + + +@if !"%CLASSPATH%"=3D=3D! call "%DERBY_INSTALL%"/frameworks/NetworkServer/= bin/setNetworkServerCP.bat +@if "%CLASSPATH%" =3D=3D "" call "%DERBY_INSTALL%"/frameworks/NetworkServe= r/bin/setNetworkServerCP.bat + +if "%JAVA_HOME%" =3D=3D "" goto setjavaMsg + +:set_host + +if "%1" =3D=3D "" goto setServerHost +set derbyHost=3D%1 +goto set_port + +:setServerHost +if not "%DERBY_SERVER_HOST%" =3D=3D "" goto setServerHost2 +set derbyHost=3Dlocalhost +goto set_port + +:setServerHost2 +set derbyHost=3D%DERBY_SERVER_HOST% + + +:set_port +shift +if "%1" =3D=3D "" goto setServerPort +set derbyPort=3D%1 +goto start_server + + +:setServerPort +if not "%DERBY_SERVER_PORT%" =3D=3D "" goto setServerPort2 +set derbyPort=3D1527 +goto start_server + +:setServerPort2 +set derbyPort=3D%DERBY_SERVER_PORT% + +:start_server + +@REM --------------------------------------------------------- +@REM -- start Derby as a Network server +@REM --------------------------------------------------------- +%JAVA_HOME%\bin\java org.apache.derby.drda.NetworkServerControl start -h %= derbyHost% -p %derbyPort% + +goto end +@REM --------------------------------------------------------- +@REM -- To use a different JVM with a different syntax, simply edit +@REM -- this file +@REM --------------------------------------------------------- + +:setJavaMsg +echo Please set JAVA_HOME in order to start the Network Server + +:end +set derbyPort=3D +set derbyHost=3D Propchange: incubator/derby/code/trunk/frameworks/NetworkServer/bin/startNe= tworkServer.bat ---------------------------------------------------------------------------= --- svn:eol-style =3D native Modified: incubator/derby/code/trunk/frameworks/NetworkServer/bin/startNetw= orkServer.ksh URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/frameworks/Ne= tworkServer/bin/startNetworkServer.ksh?view=3Ddiff&r1=3D161069&r2=3D161070 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/derby/code/trunk/frameworks/NetworkServer/bin/startNetworkSer= ver.ksh (original) +++ incubator/derby/code/trunk/frameworks/NetworkServer/bin/startNetworkSer= ver.ksh Tue Apr 12 09:20:44 2005 @@ -1,28 +1,61 @@ -## --------------------------------------------------------- -# -- This simple script is an example of how to start Derby=20 -# -- as a server inside the Network Server framework -# -- -# -- REQUIREMENTS:=20 -# -- You must have the derby and Network Server jar files in your CLASSP= ATH -# -- -# -- Check the setNetworkServerCP.ksh file for an example of -# -- what to set. -# --=20 -# -- This file for use on Unix ksh systems -# --------------------------------------------------------- -# --------------------------------------------------------- -# -- start Derby Network Server -# --------------------------------------------------------- - -# DERBY_INSTALL=3D - -[ -z "$CLASSPATH" ] && { - . "$DERBY_INSTALL"/frameworks/NetworkServer/bin/setNetworkServerCP.ksh -} - -java org.apache.derby.drda.NetworkServerControl start -# --------------------------------------------------------- -# -- To use a different JVM with a different syntax, simply edit -# -- this file -# --------------------------------------------------------- - +## --------------------------------------------------------- +# -- This simple script is an example of how to start Derby +# -- as a server inside the Network Server framework +# -- +# -- REQUIREMENTS: +# -- You must have the derby and Network Server jar files in your CLAS= SPATH +# -- +# -- Check the setNetworkServerCP.ksh file for an example of +# -- what to set. +# -- +# -- This file for use on Unix ksh systems +# --------------------------------------------------------- +# --------------------------------------------------------- +# -- start Derby Network Server +# --------------------------------------------------------- + +# DERBY_INSTALL=3D + +[ -z "$CLASSPATH" ] && { + . "$DERBY_INSTALL"/frameworks/NetworkServer/bin/setNetworkServerCP.ksh +} + +if [ -z "$JAVA_HOME" ] +then + JAVA_HOME=3D/usr/java +fi + +# --------------------------------------------------------- +# -- Determine the host and port to use by: +# -- 1. Check to see if the host and port are set on the command line +# -- 2. Check to see if DERBY_SERVER_HOST and DERBY_SERVER_PORT +# -- 3. Default to localhost/1527 +# --------------------------------------------------------- + +if [ "$1" ] +then + DERBY_SERVER_HOST=3D$1 +fi + +if [ -z "$DERBY_SERVER_HOST" ] +then + DERBY_SERVER_HOST=3Dlocalhost +fi + +if [ "$2" ] +then + DERBY_SERVER_PORT=3D$2 +fi + +if [ -z "$DERBY_SERVER_PORT" ] +then + DERBY_SERVER_PORT=3D1527 +fi + +$JAVA_HOME/bin/java org.apache.derby.drda.NetworkServerControl start -h $D= ERBY_SERVER_HOST -p $DERBY_SERVER_PORT + +# --------------------------------------------------------- +# -- To use a different JVM with a different syntax, simply edit +# -- this file +# --------------------------------------------------------- + Propchange: incubator/derby/code/trunk/frameworks/NetworkServer/bin/startNe= tworkServer.ksh ---------------------------------------------------------------------------= --- svn:eol-style =3D native Modified: incubator/derby/code/trunk/frameworks/NetworkServer/bin/stopNetwo= rkServer.bat URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/frameworks/Ne= tworkServer/bin/stopNetworkServer.bat?view=3Ddiff&r1=3D161069&r2=3D161070 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/derby/code/trunk/frameworks/NetworkServer/bin/stopNetworkServ= er.bat (original) +++ incubator/derby/code/trunk/frameworks/NetworkServer/bin/stopNetworkServ= er.bat Tue Apr 12 09:20:44 2005 @@ -1,26 +1,68 @@ -@REM --------------------------------------------------------- -@REM -- This batch file is an example of how to shutdown the -@REM -- Derby server in the Network Server framework -@REM -- -@REM -- REQUIREMENTS:=20 -@REM -- You must have the derby jar files as well as the=20 -@REM -- Network Server class files in your classpath. -@REM -- -@REM -- Check the setNetworkServerCP.bat file for an example of -@REM -- what to set. -@REM --=20 -@REM -- This file for use on Windows systems -@REM --------------------------------------------------------- - -rem set DERBY_INSTALL=3D -=20 -@if !"%CLASSPATH%"=3D=3D! call "%DERBY_INSTALL%"/frameworks/NetworkServer/= bin/setNetworkServerCP.bat -@if "%CLASSPATH%" =3D=3D "" call "%DERBY_INSTALL%"/frameworks/NetworkServe= r/bin/setNetworkServerCP.bat - -java org.apache.derby.drda.NetworkServerControl shutdown - -@REM --------------------------------------------------------- -@REM -- To use a different JVM with a different syntax, simply edit -@REM -- this file -@REM --------------------------------------------------------- - +@REM -- +@REM -- REQUIREMENTS: +@REM -- You must have the derby jar files as well as the +@REM -- derby network server class files in your classpath. +@REM -- +@REM -- Check the setNetworkServerCP.bat file for an example of +@REM -- what to set. +@REM -- This file for use on Windows systems +@REM --------------------------------------------------------- + +@echo off +@rem set DERBY_INSTALL=3D + + +@if !"%CLASSPATH%"=3D=3D! call "%DERBY_INSTALL%"/frameworks/NetworkServer/= bin/setNetworkServerCP.bat +@if "%CLASSPATH%" =3D=3D "" call "%DERBY_INSTALL%"/frameworks/NetworkServe= r/bin/setNetworkServerCP.bat + +if "%JAVA_HOME%" =3D=3D "" goto setjavaMsg + +:set_host + +if "%1" =3D=3D "" goto setServerHost +set derbyHost=3D%1 +goto set_port + +:setServerHost +if not "%DERBY_SERVER_HOST%" =3D=3D "" goto setServerHost2 +set derbyHost=3Dlocalhost +goto set_port + +:setServerHost2 +set derbyHost=3D%DERBY_SERVER_HOST% + + +:set_port +shift +if "%1" =3D=3D "" goto setServerPort +set derbyPort=3D%1 +goto stop_server + + +:setServerPort +if not "%DERBY_SERVER_PORT%" =3D=3D "" goto setServerPort2 +set derbyPort=3D1527 +goto stop_server + +:setServerPort2 +set derbyPort=3D%DERBY_SERVER_PORT% + +:stop_server + +@REM --------------------------------------------------------- +@REM -- shutdown Derby as a Network server +@REM --------------------------------------------------------- +%JAVA_HOME%\bin\java org.apache.derby.drda.NetworkServerControl shutdown -= h %derbyHost% -p %derbyPort% + +goto end +@REM --------------------------------------------------------- +@REM -- To use a different JVM with a different syntax, simply edit +@REM -- this file +@REM --------------------------------------------------------- + +:setJavaMsg +echo Please set JAVA_HOME in order to start the Network Server + +:end +set derbyPort=3D +set derbyHost=3D Propchange: incubator/derby/code/trunk/frameworks/NetworkServer/bin/stopNet= workServer.bat ---------------------------------------------------------------------------= --- svn:eol-style =3D native Modified: incubator/derby/code/trunk/frameworks/NetworkServer/bin/stopNetwo= rkServer.ksh URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/frameworks/Ne= tworkServer/bin/stopNetworkServer.ksh?view=3Ddiff&r1=3D161069&r2=3D161070 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/derby/code/trunk/frameworks/NetworkServer/bin/stopNetworkServ= er.ksh (original) +++ incubator/derby/code/trunk/frameworks/NetworkServer/bin/stopNetworkServ= er.ksh Tue Apr 12 09:20:44 2005 @@ -1,25 +1,61 @@ -# --------------------------------------------------------- -# -- This simple script is an example of how to shutdown Derby=20 -# -- running as a server inside the Network Server framework -# -- -# -- REQUIREMENTS:=20 -# -- You must have the derby jar files as well as the=20 -# -- derby network server class files in your classpath. -# -- -# -- Check the setNetworkServerCP.ksh file for an example of -# -- what to set. -# --=20 -# -- This file for use on Unix ksh systems -# --------------------------------------------------------- - -# DERBY_INSTALL=3D - -[ -z "$CLASSPATH" ] && { - . "$DERBY_INSTALL"/frameworks/NetworkServer/bin/setNetworkServerCP.ksh -} - -java org.apache.derby.drda.NetworkServerControl shutdown -# --------------------------------------------------------- -# -- To use a different JVM with a different syntax, simply edit -# -- this file -# --------------------------------------------------------- +## --------------------------------------------------------- +# -- This simple script is an example of how to shutdown Derby +# -- running as a server inside the Network Server framework +# -- +# -- REQUIREMENTS: +# -- You must have the derby and Network Server jar files in your CLAS= SPATH +# -- +# -- Check the setNetworkServerCP.ksh file for an example of +# -- what to set. +# -- +# -- This file for use on Unix ksh systems +# --------------------------------------------------------- +# --------------------------------------------------------- +# -- shutdown Derby Network Server +# --------------------------------------------------------- + +# DERBY_INSTALL=3D + +[ -z "$CLASSPATH" ] && { + . "$DERBY_INSTALL"/frameworks/NetworkServer/bin/setNetworkServerCP.ksh +} + +if [ -z "$JAVA_HOME" ] +then + JAVA_HOME=3D/usr/java +fi + +# --------------------------------------------------------- +# -- Determine the host and port to use by: +# -- 1. Check to see if the host and port are set on the command line +# -- 2. Check to see if DERBY_SERVER_HOST and DERBY_SERVER_PORT +# -- 3. Default to localhost/1527 +# --------------------------------------------------------- + +if [ "$1" ] +then + DERBY_SERVER_HOST=3D$1 +fi + +if [ -z "$DERBY_SERVER_HOST" ] +then + DERBY_SERVER_HOST=3Dlocalhost +fi + +if [ "$2" ] +then + DERBY_SERVER_PORT=3D$2 +fi + +if [ -z "$DERBY_SERVER_PORT" ] +then + DERBY_SERVER_PORT=3D1527 +fi + +$JAVA_HOME/bin/java org.apache.derby.drda.NetworkServerControl shutdown -h= $DERBY_SERVER_HOST -p $DERBY_SERVER_PORT + +# --------------------------------------------------------- +# -- To use a different JVM with a different syntax, simply edit +# -- this file +# --------------------------------------------------------- + Propchange: incubator/derby/code/trunk/frameworks/NetworkServer/bin/stopNet= workServer.ksh ---------------------------------------------------------------------------= --- svn:eol-style =3D native Modified: incubator/derby/code/trunk/frameworks/NetworkServer/bin/sysinfo.b= at URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/frameworks/Ne= tworkServer/bin/sysinfo.bat?view=3Ddiff&r1=3D161069&r2=3D161070 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/derby/code/trunk/frameworks/NetworkServer/bin/sysinfo.bat (or= iginal) +++ incubator/derby/code/trunk/frameworks/NetworkServer/bin/sysinfo.bat Tue= Apr 12 09:20:44 2005 @@ -1,32 +1,32 @@ -@REM --------------------------------------------------------- -@REM -- This batch file is an example of how to use sysinfo to get -@REM -- important system information -@REM -- -@REM -- REQUIREMENTS: -@REM -- -@REM -- This utility will report important system info about=20 -@REM -- jar files which are in your classpath. Jar files which are not -@REM -- if your classpath will not be reported.=20 -@REM -- -@REM -- Check the setNetworkServerCP.bat to see an example of adding the -@REM -- the Derby jars to your classpath. -@REM --=20 -@REM -- This file for use on Windows systems -@REM --------------------------------------------------------- - -rem set DERBY_INSTALL=3D -=20 -@if !"%CLASSPATH%"=3D=3D! call "%DERBY_INSTALL%"/frameworks/NetworkServer/= bin/setNetworkServerCP.bat -@if "%CLASSPATH%" =3D=3D "" call "%DERBY_INSTALL%"/frameworks/NetworkServe= r/bin/setNetworkServerCP.bat - -@REM --------------------------------------------------------- -@REM -- start sysinfo -@REM --------------------------------------------------------- -java org.apache.derby.drda.NetworkServerControl sysinfo %* - -@REM --------------------------------------------------------- -@REM -- To use a different JVM with a different syntax, simply edit -@REM -- this file -@REM --------------------------------------------------------- - - +@REM --------------------------------------------------------- +@REM -- This batch file is an example of how to use sysinfo to get +@REM -- important system information +@REM -- +@REM -- REQUIREMENTS: +@REM -- +@REM -- This utility will report important system info about=20 +@REM -- jar files which are in your classpath. Jar files which are not +@REM -- if your classpath will not be reported.=20 +@REM -- +@REM -- Check the setNetworkServerCP.bat to see an example of adding the +@REM -- the Derby jars to your classpath. +@REM --=20 +@REM -- This file for use on Windows systems +@REM --------------------------------------------------------- + +rem set DERBY_INSTALL=3D +=20 +@if !"%CLASSPATH%"=3D=3D! call "%DERBY_INSTALL%"/frameworks/NetworkServer/= bin/setNetworkServerCP.bat +@if "%CLASSPATH%" =3D=3D "" call "%DERBY_INSTALL%"/frameworks/NetworkServe= r/bin/setNetworkServerCP.bat + +@REM --------------------------------------------------------- +@REM -- start sysinfo +@REM --------------------------------------------------------- +java org.apache.derby.drda.NetworkServerControl sysinfo %* + +@REM --------------------------------------------------------- +@REM -- To use a different JVM with a different syntax, simply edit +@REM -- this file +@REM --------------------------------------------------------- + + Propchange: incubator/derby/code/trunk/frameworks/NetworkServer/bin/sysinfo= .bat ---------------------------------------------------------------------------= --- svn:eol-style =3D native Modified: incubator/derby/code/trunk/frameworks/NetworkServer/bin/sysinfo.k= sh URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/frameworks/Ne= tworkServer/bin/sysinfo.ksh?view=3Ddiff&r1=3D161069&r2=3D161070 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/derby/code/trunk/frameworks/NetworkServer/bin/sysinfo.ksh (or= iginal) +++ incubator/derby/code/trunk/frameworks/NetworkServer/bin/sysinfo.ksh Tue= Apr 12 09:20:44 2005 @@ -1,33 +1,33 @@ -# --------------------------------------------------------- -# -- This script file is an example of how to use sysinfo to get -# -- important system information -# -- -# -- REQUIREMENTS: -# -- -# -- This utility will report important system info about=20 -# -- jar files which are in your classpath and the current setting of -# -- Derby Network Server parameters. Jar files which are not -# -- if your classpath will not be reported.=20 -# -- The Derby Network Server must be running for this utility to work. -# -- -# -- Check the setNetworkServerCP.ksh to see an example of adding the -# -- the Derby jars to your classpath. -# --=20 -# -- -# -- This file for use on Unix korn shell systems -# --------------------------------------------------------- - -# DERBY_INSTALL=3D - -[ -z "$CLASSPATH" ] && { - . "$DERBY_INSTALL"/frameworks/NetworkServer/bin/setNetworkServerCP.ksh -} - -# --------------------------------------------------------- -# -- start sysinfo -# --------------------------------------------------------- -java org.apache.derby.drda.NetworkServerControl sysinfo $* -# --------------------------------------------------------- -# -- To use a different JVM with a different syntax, simply edit -# -- this file -# --------------------------------------------------------- +# --------------------------------------------------------- +# -- This script file is an example of how to use sysinfo to get +# -- important system information +# -- +# -- REQUIREMENTS: +# -- +# -- This utility will report important system info about=20 +# -- jar files which are in your classpath and the current setting of +# -- Derby Network Server parameters. Jar files which are not +# -- if your classpath will not be reported.=20 +# -- The Derby Network Server must be running for this utility to work. +# -- +# -- Check the setNetworkServerCP.ksh to see an example of adding the +# -- the Derby jars to your classpath. +# --=20 +# -- +# -- This file for use on Unix korn shell systems +# --------------------------------------------------------- + +# DERBY_INSTALL=3D + +[ -z "$CLASSPATH" ] && { + . "$DERBY_INSTALL"/frameworks/NetworkServer/bin/setNetworkServerCP.ksh +} + +# --------------------------------------------------------- +# -- start sysinfo +# --------------------------------------------------------- +java org.apache.derby.drda.NetworkServerControl sysinfo $* +# --------------------------------------------------------- +# -- To use a different JVM with a different syntax, simply edit +# -- this file +# --------------------------------------------------------- Propchange: incubator/derby/code/trunk/frameworks/NetworkServer/bin/sysinfo= .ksh ---------------------------------------------------------------------------= --- svn:eol-style =3D native Modified: incubator/derby/code/trunk/frameworks/embedded/bin/dblook.bat URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/frameworks/em= bedded/bin/dblook.bat?view=3Ddiff&r1=3D161069&r2=3D161070 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/derby/code/trunk/frameworks/embedded/bin/dblook.bat (original) +++ incubator/derby/code/trunk/frameworks/embedded/bin/dblook.bat Tue Apr 1= 2 09:20:44 2005 @@ -1,28 +1,28 @@ -@REM --------------------------------------------------------- -@REM -- This batch file is an example of how to start dblook in=20 -@REM -- an embedded environment. -@REM -- -@REM -- REQUIREMENTS:=20 -@REM -- You must have the Derby libraries in your classpath -@REM --=20 -@REM -- See the setEmbeddedCP.bat for an example of -@REM -- how to do this. -@REM -- -@REM -- This file for use on Windows systems -@REM --------------------------------------------------------- - -rem set DERBY_INSTALL=3D -=20 -@if !"%CLASSPATH%"=3D=3D! call "%DERBY_INSTALL%"/frameworks/embedded/bin/s= etEmbeddedCP.bat -@if "%CLASSPATH%" =3D=3D "" call "%DERBY_INSTALL%"/frameworks/embedded/bin= /setEmbeddedCP.bat - -@REM --------------------------------------------------------- -@REM -- start dblook -@REM --------------------------------------------------------- -java org.apache.derby.tools.dblook %* - -@REM --------------------------------------------------------- -@REM -- To use a different JVM with a different syntax, simply edit -@REM -- this file -@REM --------------------------------------------------------- - +@REM --------------------------------------------------------- +@REM -- This batch file is an example of how to start dblook in=20 +@REM -- an embedded environment. +@REM -- +@REM -- REQUIREMENTS:=20 +@REM -- You must have the Derby libraries in your classpath +@REM --=20 +@REM -- See the setEmbeddedCP.bat for an example of +@REM -- how to do this. +@REM -- +@REM -- This file for use on Windows systems +@REM --------------------------------------------------------- + +rem set DERBY_INSTALL=3D +=20 +@if !"%CLASSPATH%"=3D=3D! call "%DERBY_INSTALL%"/frameworks/embedded/bin/s= etEmbeddedCP.bat +@if "%CLASSPATH%" =3D=3D "" call "%DERBY_INSTALL%"/frameworks/embedded/bin= /setEmbeddedCP.bat + +@REM --------------------------------------------------------- +@REM -- start dblook +@REM --------------------------------------------------------- +java org.apache.derby.tools.dblook %* + +@REM --------------------------------------------------------- +@REM -- To use a different JVM with a different syntax, simply edit +@REM -- this file +@REM --------------------------------------------------------- + Propchange: incubator/derby/code/trunk/frameworks/embedded/bin/dblook.bat ---------------------------------------------------------------------------= --- svn:eol-style =3D native Modified: incubator/derby/code/trunk/frameworks/embedded/bin/dblook.ksh URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/frameworks/em= bedded/bin/dblook.ksh?view=3Ddiff&r1=3D161069&r2=3D161070 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/derby/code/trunk/frameworks/embedded/bin/dblook.ksh (original) +++ incubator/derby/code/trunk/frameworks/embedded/bin/dblook.ksh Tue Apr 1= 2 09:20:44 2005 @@ -1,29 +1,29 @@ -# --------------------------------------------------------- -# -- This simple script is an example of how to start dblook in=20 -# -- an embedded environment. -# -- -#-- REQUIREMENTS:=20 -# -- You must have the Derby libraries in your classpath -# --=20 -# -- See the setEmbeddedCP.ksh for an example of -# -- how to do this. -# -- -# -- This file for use on Unix ksh systems -# --------------------------------------------------------- - -# DERBY_INSTALL=3D - -[ -z "$CLASSPATH" ] && { - . "$DERBY_INSTALL"/frameworks/embedded/bin/setEmbeddedCP.ksh -} -=20 -# --------------------------------------------------------- -# -- start dblook -# --------------------------------------------------------- -java org.apache.derby.tools.dblook $@ - -# --------------------------------------------------------- -# -- To use a different JVM with a different syntax, simply edit -# -- this file -# --------------------------------------------------------- - +# --------------------------------------------------------- +# -- This simple script is an example of how to start dblook in=20 +# -- an embedded environment. +# -- +#-- REQUIREMENTS:=20 +# -- You must have the Derby libraries in your classpath +# --=20 +# -- See the setEmbeddedCP.ksh for an example of +# -- how to do this. +# -- +# -- This file for use on Unix ksh systems +# --------------------------------------------------------- + +# DERBY_INSTALL=3D + +[ -z "$CLASSPATH" ] && { + . "$DERBY_INSTALL"/frameworks/embedded/bin/setEmbeddedCP.ksh +} +=20 +# --------------------------------------------------------- +# -- start dblook +# --------------------------------------------------------- +java org.apache.derby.tools.dblook $@ + +# --------------------------------------------------------- +# -- To use a different JVM with a different syntax, simply edit +# -- this file +# --------------------------------------------------------- + Propchange: incubator/derby/code/trunk/frameworks/embedded/bin/dblook.ksh ---------------------------------------------------------------------------= --- svn:eol-style =3D native Modified: incubator/derby/code/trunk/frameworks/embedded/bin/ij.bat URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/frameworks/em= bedded/bin/ij.bat?view=3Ddiff&r1=3D161069&r2=3D161070 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/derby/code/trunk/frameworks/embedded/bin/ij.bat (original) +++ incubator/derby/code/trunk/frameworks/embedded/bin/ij.bat Tue Apr 12 09= :20:44 2005 @@ -1,29 +1,29 @@ -@REM --------------------------------------------------------- -@REM -- This batch file is an example of how to start ij in=20 -@REM -- an embedded environment. -@REM -- -@REM -- REQUIREMENTS:=20 -@REM -- You must have the Derby libraries in your classpath -@REM --=20 -@REM -- See the setEmbeddedCP.bat for an example of -@REM -- how to do this. -@REM -- -@REM -- This file for use on Windows systems -@REM --------------------------------------------------------- - -rem set DERBY_INSTALL=3D -=20 -@if !"%CLASSPATH%"=3D=3D! call "%DERBY_INSTALL%"/frameworks/embedded/bin/s= etEmbeddedCP.bat -@if "%CLASSPATH%" =3D=3D "" call "%DERBY_INSTALL%"/frameworks/embedded/bin= /setEmbeddedCP.bat - -@REM --------------------------------------------------------- -@REM -- start ij -@REM --------------------------------------------------------- -java -Dij.protocol=3Djdbc:derby: org.apache.derby.tools.ij - - -@REM --------------------------------------------------------- -@REM -- To use a different JVM with a different syntax, simply edit -@REM -- this file -@REM --------------------------------------------------------- - +@REM --------------------------------------------------------- +@REM -- This batch file is an example of how to start ij in=20 +@REM -- an embedded environment. +@REM -- +@REM -- REQUIREMENTS:=20 +@REM -- You must have the Derby libraries in your classpath +@REM --=20 +@REM -- See the setEmbeddedCP.bat for an example of +@REM -- how to do this. +@REM -- +@REM -- This file for use on Windows systems +@REM --------------------------------------------------------- + +rem set DERBY_INSTALL=3D +=20 +@if !"%CLASSPATH%"=3D=3D! call "%DERBY_INSTALL%"/frameworks/embedded/bin/s= etEmbeddedCP.bat +@if "%CLASSPATH%" =3D=3D "" call "%DERBY_INSTALL%"/frameworks/embedded/bin= /setEmbeddedCP.bat + +@REM --------------------------------------------------------- +@REM -- start ij +@REM --------------------------------------------------------- +java -Dij.protocol=3Djdbc:derby: org.apache.derby.tools.ij + + +@REM --------------------------------------------------------- +@REM -- To use a different JVM with a different syntax, simply edit +@REM -- this file +@REM --------------------------------------------------------- + Propchange: incubator/derby/code/trunk/frameworks/embedded/bin/ij.bat ---------------------------------------------------------------------------= --- svn:eol-style =3D native Modified: incubator/derby/code/trunk/frameworks/embedded/bin/ij.ksh URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/frameworks/em= bedded/bin/ij.ksh?view=3Ddiff&r1=3D161069&r2=3D161070 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/derby/code/trunk/frameworks/embedded/bin/ij.ksh (original) +++ incubator/derby/code/trunk/frameworks/embedded/bin/ij.ksh Tue Apr 12 09= :20:44 2005 @@ -1,29 +1,29 @@ -# --------------------------------------------------------- -# -- This simple script is an example of how to start ij in=20 -# -- and embedded environment. -# -- -#-- REQUIREMENTS:=20 -# -- You must have the Derby libraries in your classpath -# --=20 -# -- See the setEmbeddedCP.ksh for an example of -# -- how to do this. -# -- -# -- This file for use on Unix ksh systems -# --------------------------------------------------------- - -# DERBY_INSTALL=3D - -[ -z "$CLASSPATH" ] && { - . "$DERBY_INSTALL"/frameworks/embedded/bin/setEmbeddedCP.ksh -} -=20 -# --------------------------------------------------------- -# -- start ij -# --------------------------------------------------------- -java -Dij.protocol=3Djdbc:derby: org.apache.derby.tools.ij - -# --------------------------------------------------------- -# -- To use a different JVM with a different syntax, simply edit -# -- this file -# --------------------------------------------------------- - +# --------------------------------------------------------- +# -- This simple script is an example of how to start ij in=20 +# -- and embedded environment. +# -- +#-- REQUIREMENTS:=20 +# -- You must have the Derby libraries in your classpath +# --=20 +# -- See the setEmbeddedCP.ksh for an example of +# -- how to do this. +# -- +# -- This file for use on Unix ksh systems +# --------------------------------------------------------- + +# DERBY_INSTALL=3D + +[ -z "$CLASSPATH" ] && { + . "$DERBY_INSTALL"/frameworks/embedded/bin/setEmbeddedCP.ksh +} +=20 +# --------------------------------------------------------- +# -- start ij +# --------------------------------------------------------- +java -Dij.protocol=3Djdbc:derby: org.apache.derby.tools.ij + +# --------------------------------------------------------- +# -- To use a different JVM with a different syntax, simply edit +# -- this file +# --------------------------------------------------------- + Propchange: incubator/derby/code/trunk/frameworks/embedded/bin/ij.ksh ---------------------------------------------------------------------------= --- svn:eol-style =3D native Modified: incubator/derby/code/trunk/frameworks/embedded/bin/setEmbeddedCP.= bat URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/frameworks/em= bedded/bin/setEmbeddedCP.bat?view=3Ddiff&r1=3D161069&r2=3D161070 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/derby/code/trunk/frameworks/embedded/bin/setEmbeddedCP.bat (o= riginal) +++ incubator/derby/code/trunk/frameworks/embedded/bin/setEmbeddedCP.bat Tu= e Apr 12 09:20:44 2005 @@ -1,17 +1,17 @@ -@REM --------------------------------------------------------- -@REM -- This batch file sets the CLASSPATH environment variable -@REM -- for use with Derby products in embedded mode -@REM -- -@REM -- To use this script from other locations, change the=20 -@REM -- value assigned to DERBY_INSTALL to be an absolute path=20 -@REM -- (set DERBY_INSTALL=3DC:\derby) instead of the current relative pat= h -@REM -- -@REM -- This file for use on Windows systems -@REM --=20 -@REM --------------------------------------------------------- - -rem set DERBY_INSTALL=3D - -FOR %%X in ("%DERBY_INSTALL%") DO SET DERBY_INSTALL=3D%%~sX - -set CLASSPATH=3D%DERBY_INSTALL%\lib\derby.jar;%DERBY_INSTALL%\lib\derbytoo= ls.jar;%CLASSPATH% +@REM --------------------------------------------------------- +@REM -- This batch file sets the CLASSPATH environment variable +@REM -- for use with Derby products in embedded mode +@REM -- +@REM -- To use this script from other locations, change the=20 +@REM -- value assigned to DERBY_INSTALL to be an absolute path=20 +@REM -- (set DERBY_INSTALL=3DC:\derby) instead of the current relative path +@REM -- +@REM -- This file for use on Windows systems +@REM --=20 +@REM --------------------------------------------------------- + +rem set DERBY_INSTALL=3D + +FOR %%X in ("%DERBY_INSTALL%") DO SET DERBY_INSTALL=3D%%~sX + +set CLASSPATH=3D%DERBY_INSTALL%\lib\derby.jar;%DERBY_INSTALL%\lib\derbytoo= ls.jar;%CLASSPATH% Propchange: incubator/derby/code/trunk/frameworks/embedded/bin/setEmbeddedC= P=2Ebat ---------------------------------------------------------------------------= --- svn:eol-style =3D native Modified: incubator/derby/code/trunk/frameworks/embedded/bin/setEmbeddedCP.= ksh URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/frameworks/em= bedded/bin/setEmbeddedCP.ksh?view=3Ddiff&r1=3D161069&r2=3D161070 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/derby/code/trunk/frameworks/embedded/bin/setEmbeddedCP.ksh (o= riginal) +++ incubator/derby/code/trunk/frameworks/embedded/bin/setEmbeddedCP.ksh Tu= e Apr 12 09:20:44 2005 @@ -1,15 +1,15 @@ -# --------------------------------------------------------- -# -- This script file sets the CLASSPATH environment variable -# -- for use with Derby products in embedded mode -# -- -# -- To use this script from other locations, change the=20 -# -- value assigned to DERBY_INSTALL to be an absolute path=20 -# -- (export DERBY_INSTALL=3D/opt/derby) instead of the current relative p= ath -# -- -# -- This file for use on Unix ksh systems -# --=20 -# --------------------------------------------------------- - -# DERBY_INSTALL=3D - -export CLASSPATH=3D"${DERBY_INSTALL}/lib/derby.jar:${DERBY_INSTALL}/lib/de= rbytools.jar:${CLASSPATH}" +# --------------------------------------------------------- +# -- This script file sets the CLASSPATH environment variable +# -- for use with Derby products in embedded mode +# -- +# -- To use this script from other locations, change the=20 +# -- value assigned to DERBY_INSTALL to be an absolute path=20 +# -- (export DERBY_INSTALL=3D/opt/derby) instead of the current relative p= ath +# -- +# -- This file for use on Unix ksh systems +# --=20 +# --------------------------------------------------------- + +# DERBY_INSTALL=3D + +export CLASSPATH=3D"${DERBY_INSTALL}/lib/derby.jar:${DERBY_INSTALL}/lib/de= rbytools.jar:${CLASSPATH}" Propchange: incubator/derby/code/trunk/frameworks/embedded/bin/setEmbeddedC= P=2Eksh ---------------------------------------------------------------------------= --- svn:eol-style =3D native Modified: incubator/derby/code/trunk/frameworks/embedded/bin/sysinfo.bat URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/frameworks/em= bedded/bin/sysinfo.bat?view=3Ddiff&r1=3D161069&r2=3D161070 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/derby/code/trunk/frameworks/embedded/bin/sysinfo.bat (origina= l) +++ incubator/derby/code/trunk/frameworks/embedded/bin/sysinfo.bat Tue Apr = 12 09:20:44 2005 @@ -1,37 +1,37 @@ -@REM --------------------------------------------------------- -@REM -- This batch file is an example of how to use sysinfo to get -@REM -- important system information -@REM -- -@REM -- REQUIREMENTS: -@REM -- -@REM -- This utility will report important system info about=20 -@REM -- jar files which are in your classpath. Jar files which are not -@REM -- if your classpath will not be reported.=20 -@REM -- -@REM -- Check the setCP.bat to see an example of adding the -@REM -- the Derby jars to your classpath. -@REM --=20 -@REM -- This file for use on Windows systems -@REM --------------------------------------------------------- - -rem set DERBY_INSTALL=3D -=20 -@if !"%CLASSPATH%"=3D=3D! call "%DERBY_INSTALL%"/frameworks/embedded/bin/s= etEmbeddedCP.bat -@if "%CLASSPATH%" =3D=3D "" call "%DERBY_INSTALL%"/frameworks/embedded/bin= /setEmbeddedCP.bat - -@REM --------------------------------------------------------- -@REM -- start sysinfo -@REM --------------------------------------------------------- -java org.apache.derby.tools.sysinfo - -@REM --------------------------------------------------------- -@REM -- To use Microsoft's JView JVM, use the following command -@REM --------------------------------------------------------- -@REM -- jview org.apache.derby.tools.sysinfo - -@REM --------------------------------------------------------- -@REM -- To use a different JVM with a different syntax, simply edit -@REM -- this file -@REM --------------------------------------------------------- - - +@REM --------------------------------------------------------- +@REM -- This batch file is an example of how to use sysinfo to get +@REM -- important system information +@REM -- +@REM -- REQUIREMENTS: +@REM -- +@REM -- This utility will report important system info about=20 +@REM -- jar files which are in your classpath. Jar files which are not +@REM -- if your classpath will not be reported.=20 +@REM -- +@REM -- Check the setCP.bat to see an example of adding the +@REM -- the Derby jars to your classpath. +@REM --=20 +@REM -- This file for use on Windows systems +@REM --------------------------------------------------------- + +rem set DERBY_INSTALL=3D +=20 +@if !"%CLASSPATH%"=3D=3D! call "%DERBY_INSTALL%"/frameworks/embedded/bin/s= etEmbeddedCP.bat +@if "%CLASSPATH%" =3D=3D "" call "%DERBY_INSTALL%"/frameworks/embedded/bin= /setEmbeddedCP.bat + +@REM --------------------------------------------------------- +@REM -- start sysinfo +@REM --------------------------------------------------------- +java org.apache.derby.tools.sysinfo + +@REM --------------------------------------------------------- +@REM -- To use Microsoft's JView JVM, use the following command +@REM --------------------------------------------------------- +@REM -- jview org.apache.derby.tools.sysinfo + +@REM --------------------------------------------------------- +@REM -- To use a different JVM with a different syntax, simply edit +@REM -- this file +@REM --------------------------------------------------------- + + Propchange: incubator/derby/code/trunk/frameworks/embedded/bin/sysinfo.bat ---------------------------------------------------------------------------= --- svn:eol-style =3D native Modified: incubator/derby/code/trunk/frameworks/embedded/bin/sysinfo.ksh URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/frameworks/em= bedded/bin/sysinfo.ksh?view=3Ddiff&r1=3D161069&r2=3D161070 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/derby/code/trunk/frameworks/embedded/bin/sysinfo.ksh (origina= l) +++ incubator/derby/code/trunk/frameworks/embedded/bin/sysinfo.ksh Tue Apr = 12 09:20:44 2005 @@ -1,34 +1,34 @@ -# --------------------------------------------------------- -# -- This script file is an example of how to use sysinfo to get -# -- important system information -# -- -# -- REQUIREMENTS: -# -- -# -- This utility will report important system info about=20 -# -- jar files which are in your classpath. Jar files which are not -# -- if your classpath will not be reported.=20 -# -- -# -- Check the setCP.ksh to see an example of adding the -# -- the Derby jars to your classpath. -# --=20 -# -- -# -- This file for use on Unix korn shell systems -# --------------------------------------------------------- - -# DERBY_INSTALL=3D - -[ -z "$CLASSPATH" ] && { - . "$DERBY_INSTALL"/frameworks/embedded/bin/setEmbeddedCP.ksh -} -=20 -# --------------------------------------------------------- -# -- start sysinfo -# --------------------------------------------------------- -java org.apache.derby.tools.sysinfo - -# --------------------------------------------------------- -# -- To use a different JVM with a different syntax, simply edit -# -- this file -# --------------------------------------------------------- - - +# --------------------------------------------------------- +# -- This script file is an example of how to use sysinfo to get +# -- important system information +# -- +# -- REQUIREMENTS: +# -- +# -- This utility will report important system info about=20 +# -- jar files which are in your classpath. Jar files which are not +# -- if your classpath will not be reported.=20 +# -- +# -- Check the setCP.ksh to see an example of adding the +# -- the Derby jars to your classpath. +# --=20 +# -- +# -- This file for use on Unix korn shell systems +# --------------------------------------------------------- + +# DERBY_INSTALL=3D + +[ -z "$CLASSPATH" ] && { + . "$DERBY_INSTALL"/frameworks/embedded/bin/setEmbeddedCP.ksh +} +=20 +# --------------------------------------------------------- +# -- start sysinfo +# --------------------------------------------------------- +java org.apache.derby.tools.sysinfo + +# --------------------------------------------------------- +# -- To use a different JVM with a different syntax, simply edit +# -- this file +# --------------------------------------------------------- + + Propchange: incubator/derby/code/trunk/frameworks/embedded/bin/sysinfo.ksh ---------------------------------------------------------------------------= --- svn:eol-style =3D native Modified: incubator/derby/code/trunk/frameworks/embedded/readme.html URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/frameworks/em= bedded/readme.html?view=3Ddiff&r1=3D161069&r2=3D161070 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/derby/code/trunk/frameworks/embedded/readme.html (original) +++ incubator/derby/code/trunk/frameworks/embedded/readme.html Tue Apr 12 0= 9:20:44 2005 @@ -1,20 +1,20 @@ - - - - - -Derby's Embedded Framework - - - -

Derby's embedded framework

- - - + + + + + +Derby's Embedded Framework + + + +

Derby's embedded framework

+ + + Propchange: incubator/derby/code/trunk/frameworks/embedded/readme.html ---------------------------------------------------------------------------= --- svn:eol-style =3D native Modified: incubator/derby/code/trunk/frameworks/readme.html URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/frameworks/re= adme.html?view=3Ddiff&r1=3D161069&r2=3D161070 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/derby/code/trunk/frameworks/readme.html (original) +++ incubator/derby/code/trunk/frameworks/readme.html Tue Apr 12 09:20:44 2= 005 @@ -1,34 +1,34 @@ - - - -About Derby's Frameworks - - - - -

About Derby's Frameworks

-

A framework is the environment in w= hich Derby runs. The framework in which you run Derby affects how you run a= pplications against Derby.

-

The frameworks directory contains subdirectories for each fram= ework with supporting files. Depending on the framework, the subdirectory i= ncludes: -

    -
  • bin Subdirectory
    - All subdirectories in this directory contain a bin subdirectory = that has scripts that serve as examples of how to run some of the basic Der= by tools and utilities tailored for the particular framework. For server fr= ameworks, start and stop scripts are also provided. -
    To use the scripts for a particular framework, modify the scripts as n= ecessary and put that framework's bin subdirectory first in your p= ath.

  • -
-

For an easy-to-follow example of how to run an application in the two f= rameworks, see the simple = example.

-

For more information about frameworks, see Getting Started with Derby.

-

Embedded Framework

-

An embedded framework is the most b= asic framework. Derby runs embedded in a Java application. When the applica= tion loads the local JDBC driver, it starts up the Derby engine. When the a= pplication shuts down, it shuts down the Derby engine. Only a single applic= ation can access a database at one time. -

The bin subdirectory in frameworks/embedded contains = scripts for running some of the Derby tools in an embedded environment. For= working in an embedded environment, put the frameworks/embedded/bin subdirectory first in your path.

-

Server Framework

-

A server framework is a continuously running= Java application that allows multiple, remote JDBC applications to connect= to Derby. -

-

Derby Network Server

-

The Derby Network Server is a server framework = that comes with Derby. The Derby Network Server works with the DB2 JCC JDBC= driver; please read the Derby documentation on the differences between thi= s driver and the embedded driver. -

    -
  • The subdirectories in this directory contain scripts that serve as ex= amples for how to run Derby tools and utilities as client applications to D= erby running inside the Derby Network Server framework. It also contains sc= ripts for starting up the framework.
  • -
- - - + + + +About Derby's Frameworks + + + + +

About Derby's Frameworks

+

A framework is the environment in w= hich Derby runs. The framework in which you run Derby affects how you run a= pplications against Derby.

+

The frameworks directory contains subdirectories for each fram= ework with supporting files. Depending on the framework, the subdirectory i= ncludes: +

    +
  • bin Subdirectory
    + All subdirectories in this directory contain a bin subdirectory = that has scripts that serve as examples of how to run some of the basic Der= by tools and utilities tailored for the particular framework. For server fr= ameworks, start and stop scripts are also provided. +
    To use the scripts for a particular framework, modify the scripts as n= ecessary and put that framework's bin subdirectory first in your p= ath.

  • +
+

For an easy-to-follow example of how to run an application in the two f= rameworks, see the simple = example.

+

For more information about frameworks, see Getting Started with Derby.

+

Embedded Framework

+

An embedded framework is the most b= asic framework. Derby runs embedded in a Java application. When the applica= tion loads the local JDBC driver, it starts up the Derby engine. When the a= pplication shuts down, it shuts down the Derby engine. Only a single applic= ation can access a database at one time. +

The bin subdirectory in frameworks/embedded contains = scripts for running some of the Derby tools in an embedded environment. For= working in an embedded environment, put the frameworks/embedded/bin subdirectory first in your path.

+

Server Framework

+

A server framework is a continuously running= Java application that allows multiple, remote JDBC applications to connect= to Derby. +

+

Derby Network Server

+

The Derby Network Server is a server framework = that comes with Derby. The Derby Network Server works with the DB2 JCC JDBC= driver; please read the Derby documentation on the differences between thi= s driver and the embedded driver. +

    +
  • The subdirectories in this directory contain scripts that serve as ex= amples for how to run Derby tools and utilities as client applications to D= erby running inside the Derby Network Server framework. It also contains sc= ripts for starting up the framework.
  • +
+ + + Propchange: incubator/derby/code/trunk/frameworks/readme.html ---------------------------------------------------------------------------= --- svn:eol-style =3D native