Author: bpendleton
Date: Wed Mar 23 00:07:18 2016
New Revision: 983463
Log:
DERBY-1032: Create new scripts which follow common practice at Apache.
This patch was contributed by Danoja Dias (danojadias at gmail dot com)
This patch adjusts papers/DerbyTut/ns_intro.html to correct the spelling
of the Unix tools for running the Network Server; those tools no longer
have a .ksh extension.
Modified:
websites/production/db/content/derby/papers/DerbyTut/ns_intro.html
Modified: websites/production/db/content/derby/papers/DerbyTut/ns_intro.html
==============================================================================
--- websites/production/db/content/derby/papers/DerbyTut/ns_intro.html
(original)
+++ websites/production/db/content/derby/papers/DerbyTut/ns_intro.html Wed Mar
23 00:07:18 2016
@@ -469,7 +469,7 @@ $ export CLASSPATH=$DERBY_INSTALL/lib/de
<span class="codefrag">DERBY_INSTALL/bin</span> directory,
then execute
<span class="codefrag">setNetworkServerCP.bat</span> (Windows) or
- <span class="codefrag">setNetworkServerCP.ksh</span> (UNIX), as shown
below:
+ <span class="codefrag">setNetworkServerCP</span> (UNIX), as shown below:
</p>
<p class="code-block">Windows:
C:\> cd %DERBY_INSTALL%\bin
@@ -477,14 +477,14 @@ C:\Apache\db-derby-10.4.1.3-bin\bin>
</p>
<p class="code-block">UNIX:
$ cd $DERBY_INSTALL/bin
-$ . setNetworkServerCP.ksh
+$ . setNetworkServerCP
</p>
<a name="N10082"></a><a name="start_ns"></a>
<h3 class="boxed">Start Network Server</h3>
<p>
Start the Network server by executing the
<span class="codefrag">startNetworkServer.bat</span> (Windows) or
-<span class="codefrag">startNetworkServer.ksh</span> (UNIX) script.
+<span class="codefrag">startNetworkServer</span> (UNIX) script.
This will start the Network Server up on port 1527 and echo a startup
message:
</p>
@@ -495,7 +495,7 @@ Apache Derby Network Server - 10.4.1.3 -
accept connections on port 1527 at 2008-04-28 17:13:13.921 GMT
</p>
<p class="code-block">UNIX:
-$ startNetworkServer.ksh
+$ startNetworkServer
Security manager installed using the Basic server security policy.
Apache Derby Network Server - 10.4.1.3 - (648739) started and ready to
accept connections on port 1527 at 2008-04-30 09:35:55.871 GMT
@@ -571,13 +571,13 @@ $ export CLASSPATH=$DERBY_INSTALL/lib/de
<span class="codefrag">DERBY_INSTALL/bin</span> directory,
then execute
the <span class="codefrag">setNetworkClientCP.bat</span> (Windows) or
- <span class="codefrag">setNetworkClientCP.ksh</span> (UNIX) script as
shown below:
+ <span class="codefrag">setNetworkClientCP</span> (UNIX) script as shown
below:
</p>
<p class="code-block">Windows:
C:\Apache\db-derby-10.4.1.3-bin\bin> setNetworkClientCP.bat
</p>
<p class="code-block">UNIX:
-$ . setNetworkClientCP.ksh
+$ . setNetworkClientCP
</p>
<a name="N10107"></a><a name="ij_ns_client"></a>
<h3 class="boxed">Test network server connection with ij</h3>
@@ -732,7 +732,7 @@ SimpleApp finished</p>
<p>
Stop the Network server by executing the
<span class="codefrag">stopNetworkServer.bat</span> (Windows) or
-<span class="codefrag">stopNetworkServer.ksh</span> (UNIX) script, as shown
below:
+<span class="codefrag">stopNetworkServer</span> (UNIX) script, as shown below:
</p>
<p class="code-block">Windows:
C:\> cd %DERBY_INSTALL%\bin
@@ -741,8 +741,8 @@ C:\Apache\db-derby-10.4.1.3-bin\bin>
</p>
<p class="code-block">UNIX:
$ cd $DERBY_INSTALL/bin
-$ . setNetworkServerCP.ksh
-$ stopNetworkServer.ksh
+$ . setNetworkServerCP
+$ stopNetworkServer
</p>
<p>The window running the NetworkServer should output a
message confirming the shutdown.