diff --git a/derby/.classpath b/derby/.classpath new file mode 100644 index 0000000000..c763929074 --- /dev/null +++ b/derby/.classpath @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/derby/.project b/derby/.project new file mode 100644 index 0000000000..838fbf504d --- /dev/null +++ b/derby/.project @@ -0,0 +1,18 @@ + + + derby + + + + + + org.eclipse.jdt.core.javabuilder + + + + + + org.apache.derby.ui.derbyEngine + org.eclipse.jdt.core.javanature + + diff --git a/derby/CHANGES_10_1_3_1.txt b/derby/CHANGES_10_1_3_1.txt new file mode 100644 index 0000000000..0726484092 --- /dev/null +++ b/derby/CHANGES_10_1_3_1.txt @@ -0,0 +1,14 @@ +The changes in the Derby 10.1.3.0 release since the 10.1.2.1 release include +over 100 individual fixes to various issues. Among these are: + + - Improved network server reliability, memory usage, and tracing facilities + - Numerous fixes to XA behavior + - Improved query performance for UNION queries and subqueries + - Better handling of text encoding on systems with non-native ASCII encodings + - More reliable behavior of scrollable insensitive result sets + - Updated documentation + - and many others + +For a complete list of changes in the release see the release notes: +http://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12310616&styleName=Html&projectId=10594&Create=Create + diff --git a/derby/COPYRIGHT b/derby/COPYRIGHT new file mode 100644 index 0000000000..071236e171 --- /dev/null +++ b/derby/COPYRIGHT @@ -0,0 +1,7 @@ +The following copyright notice(s) were affixed to portions of the code +with which this file is now or was at one time distributed +and are placed here unaltered. + +(C) Copyright 1997,2004 International Business Machines Corporation. All rights reserved. + +(C) Copyright IBM Corp. 2003. diff --git a/derby/KEYS b/derby/KEYS new file mode 100644 index 0000000000..716096c413 --- /dev/null +++ b/derby/KEYS @@ -0,0 +1,285 @@ +iThis file contains the PGP keys of various developers. + +Users: pgp < KEYS + gpg --import KEYS +Developers: + pgp -kxa and append it to this file. + (pgpk -ll && pgpk -xa ) >> this file. + (gpg --list-sigs + && gpg --armor --export ) >> this file. + +pub 1024D/AB1B7EE4 2004-08-12 Daniel John Debrunner +sig 3 AB1B7EE4 2004-08-12 Daniel John Debrunner +sig 3 B1669287 2004-08-13 Katherine Marsden +sig 3 AB821FBC 2004-08-26 Samuel Andrew McIntyre (Apache Derby Project) +sig 3 99586C26 2004-08-27 Jean T. Anderson +sig 3 8E8367B1 2004-08-27 Satheesh Bandaram (Apache Derby Project) +sig 3 21EA3ECD 2004-08-27 Mike Matrigali +sub 1024g/96268F22 2004-08-12 +sig AB1B7EE4 2004-08-12 Daniel John Debrunner + +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.2.4 (Darwin) + +mQGiBEEbfSwRBAC/KAN4hHUgL0hMc0+ooUY9t43Pkw1rf5OSo3eMA3an46v1hQ29 +vh4nCeiwWtj56wtSxQPCR79ZNEBzsXy90UoAjLiQt5P5unqzq7SAkJxmk+Ch3ckZ +NfLsz8YASXAuAWb8z884BQIJKdBOtD3gzqOAZArQw1Y2VRUe4X/7b3cvDwCg5mTX +gNeGNqmMgd86XVuqbRIOBoUD/iuGr9RFkuASmNa9s1DGbIOkDNU4OITk+cBv0o0W +FCDcAOjW3OqjQPDZYjwHUuHn0nklPPOPh96GUlnDvImH2Za2Y4XgClApg0kKCkhC +X6Bu1oGKQglkByqttiu/0g+vZfblV31GXYg+W3N/q29UBG8zkldXeW1rV/VDKc+a +7gbBBACgEQArU2h/g5iwNUArzxRw478s7sLwMTxRP00DfUwTyMdxuEAufmEqwDCd +yflciEotUDNJusCs/a77i8eZrCQerIr9ZoexuNg/ByCV1OdorQSuGked16d4FUmx +aS1Ucrz/9iuTYZuTEmw/+9jAAQZbuaWstLLuFrzZ+G3QN3IUH7QqRGFuaWVsIEpv +aG4gRGVicnVubmVyIDxkamRAZGVicnVubmVycy5jb20+iF4EExECAB4FAkEbfSwC +GwMGCwkIBwMCAxUCAwMWAgECHgECF4AACgkQIv0S4qsbfuRY1QCdHIBpUeda6uk8 +mc5M2QuzGh/lnK4AoKuHzHd7qJgCbUWjA8s+rLdF9E9RiEYEExECAAYFAkEdCcsA +CgkQG0h36bFmkof0TgCbBX4Ob3HZmdvWPXOULaRinQfizM4AoMbYpk1ePa+QsoWU +J0hZUseBtj9/iEYEExECAAYFAkEuXeQACgkQDfB0XauCH7zbyACgknmFlPN8pVZV +p2woh119orkI1kkAn20jQMyTX6gi+rRcwm/nmYP1R1GRiEYEExECAAYFAkEvhFsA +CgkQF0L6u5lYbCZ5KgCfRY9ehWdrJ2X829WnVw9BXxQhN1EAoJ/ffCdCXFMWxtXi +nU3PqmLIPNSxiEYEExECAAYFAkEvcKcACgkQENVNIY6DZ7F1BwCgpBMHfDAdtPP0 +XLwMXsg4IaIp+R4AnjxR64hvnire7nuCj+iJnKaBXTy1iEYEExECAAYFAkEvxf8A +CgkQEpeslyHqPs2XFgCg2x3X5ov29fQ3bGFZp1zOGg3OmDcAoOQKzgxE6FuFqN9q +9O3zMakQ9GckuQENBEEbfS0QBADDEjCsdHtVSfZ20OZMyoskjcBpaWJidRM1vmgU +ePXMTrUJWR9SvFiNk9eXhpF31CjlB8D+nbtqjLMFsI82Po8dY1kRQxUHUEUTyeNw +Kt8HGzVDHyBbOqDbUFpfsgU7gal7pgkq7K/dkDfaKXEPG9pqnE4rYmjdPAbkWyNq +6lvRtwADBwP/ZCbCWczliovWLo6t2pOty8C7RzjyG0T/JorGTqZJX/Ph7pcnkeP8 +ryI5zBksqrN4+HVcLbpLwnUS7nzi9cw+W9aCJ23qLMiy3lbhYKCcDx70e1qsWprS +za1XeQXNkjxAbG828l8JTbd0eFBuCFVFHnzl/Goy0AmqfTYriwsLbLGISQQYEQIA +CQUCQRt9LQIbDAAKCRAi/RLiqxt+5OAlAKC+zemlVdvOHhVVbPAkgDxjK9fA9wCg +ks0SzqIiYE5NOS67we11MZgrzM0= +=S3Gw +-----END PGP PUBLIC KEY BLOCK----- + +pub 1024D/AB821FBC 2004-07-20 Samuel Andrew McIntyre (Apache Derby Project) +sig 3 AB821FBC 2004-07-20 Samuel Andrew McIntyre (Apache Derby Project) +sig 3 B1669287 2004-08-12 Katherine Marsden +sig 3 99586C26 2004-08-26 Jean T. Anderson +sig 3 AB1B7EE4 2004-08-26 Daniel John Debrunner +sig 3 8E8367B1 2004-08-27 Satheesh Bandaram (Apache Derby Project) +sig 3 21EA3ECD 2004-08-31 Mike Matrigali +sub 2048g/7A461F74 2004-07-20 +sig AB821FBC 2004-07-20 Samuel Andrew McIntyre (Apache Derby Project) + +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.2.4 (Darwin) + +mQGiBED9lBURBADWhKzOmdwVwcFpgRBn0E9eltDrlkLGU3hDYMa/udM9+9k0SuBq +YfMWYPWL40yPpCJ0wh72/KRUgoIcVbPX3hWAsWRxb8cG/zsYDyidkX2nvNycQ7Pp +o9EsV8cyQ0Soaix8TgJBO35mw3pSiOMZv+U+iHXkh6efO4wpzPaBRB5BVwCgqcgP +SznlslAu4HWnxHk+PWLu+sEEAJ3jNjEIX4biNpdoWKLAHw5MICXdxN9fW32Ft2QQ +891kuusbrjxgUz48qV/ovHWUsMyRwiKzwrS/rJhX7L/bQ/pBG/rb0Y5rpeeqlvV5 +z1/ehAWv9M16aX7rgYTf1uSj03pEJdBD7TgoCATtkO+J7tWZ3u8wPlfno5HiDKly +iiacA/48owwiRyj1HfQG+5caOpNtTdDNKf0Hc5Z9pd8vMW1bDadHaKV3cvQtCeEj +kpu+tV6sSMMsynBHVDChA5681BBMBMPs4JxwpLaYvG0UEjRxgwhLAdY+C40XExmU +hzI6ZgAZ0VXl6VB7EhIGUmwnyq06zBgEYkK8dvK6JXjo1SnnGbRLU2FtdWVsIEFu +ZHJldyBNY0ludHlyZSAoQXBhY2hlIERlcmJ5IFByb2plY3QpIDxmdXp6eWxvZ2lj +QG5vbmludHVpdGl2ZS5jb20+iF4EExECAB4FAkD9lBUCGwMGCwkIBwMCAxUCAwMW +AgECHgECF4AACgkQDfB0XauCH7zx7gCgkPzqYiB+1yZFoqhdO3jpZaD71skAn13J +dgBBcHr5iRnHnUG3nfFJFB9/iEYEExECAAYFAkE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ZK9TI27YnefOZgSkLqZ3V2i7sAy34fLbDOsl30i +PDcOXxykzr32JZ4j9IxPlfq7BvDAzH6u6+2LSUwZGoI3kKAO8sEiHL4JiEkEGBEC +AAkFAkD9lSQCGwwACgkQDfB0XauCH7zAlwCePWwR/FfzWNlOSOpwp2Rpb6PpB+UA +njcL3Dmrk2xcuaQBRUk+uIiyGJfM +=C/fM +-----END PGP PUBLIC KEY BLOCK----- + +pub 1024D/21EA3ECD 2004-08-27 Mike Matrigali +sig 3 21EA3ECD 2004-08-27 Mike Matrigali +sig 3 AB821FBC 2004-08-28 Samuel Andrew McIntyre (Apache Derby Project) +sig 3 B1669287 2004-08-27 Katherine Marsden +sig 3 99586C26 2004-08-27 Jean T. Anderson +sig 3 AB1B7EE4 2004-08-27 Daniel John Debrunner +sig 3 8E8367B1 2004-08-27 Satheesh Bandaram (Apache Derby Project) +sub 2048g/0FA646B3 2004-08-27 +sig 21EA3ECD 2004-08-27 Mike Matrigali + +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.2.4 (Darwin) + +mQGiBEEvfQARBACnZcCpdMMWQbNdM5RNI6tee2ZrjVBqMidQ5iVUOswVOckSyRX/ +ItQInQil/dotZmaBHp4Og05SV9G4h+8E6PrjlcY5D2ieWb9IUAOmBAV3IKSFFboG +pvfmpZilPFcxUo4RrAhi5lhQx8RNZ9LsZPBmKQAS+tnvvWv+2oFQm6MdxwCg9+wB +zgBvoadGD6bk4LV5t2yLK3kD/2GryQIcXpsg384WpFLcC9xTmzcZM8DS4UlRh/Y1 +nkNz5I9acaU5MRx0MsWRTLDCqmPd2Ib5ipemb8pyHbyT6jzFgfC+Y6IuZmiGEDmu +dfTDb6tsE55cXDRFrzdelmgX1X5ORFV6PNOMXukXBX9Ms49pE7phaZLQY+bHULXF +sJKHA/92EOCuQPDpDcE/YUtVVMWKsqBcrpdGdEkfYBS+ooB4AZ61Y6hkXWRB/1ly +YBdcEpwsNPweky3OecGA57+1ojmmTjKr0qQEj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x4F+I2qGhU +REte9fHnJm9kQc/UEKmLWJKDJTAU+yWLpVEs0w5Qx3uwPwADBQf9GaiXsDYHBYa/ +vBApAWD47YGImBqOie+Wj9NoX1eh/nPP7CnwUhK/lW4mRgQcP//0ZC7sTpYINBWn +a1ET1lKCjLCOT1YTLtTS0Z9iWzCmBY4iRh5J2gpSErKuj2e9tR1ir/AC7hv0se8N +GjpCpnzZitewWX2LmFEpRhe0bVpsduK9j6rqJvHF4m3XDRUlsuqWa9fgS4PwyHeB +hRxHBiWEiUpaCuP7TM3J+wvdFhZtgTYngJVbgjt0jGo4tovTiMCaX5YX+ENYxnu9 +1Zsv+EzjeLgQpvDWhSkuVAN2C+yU21m4zzmntfN6jjZll7kMIBRKNbNE9fqYn7FE +VNcpll8ptohJBBgRAgAJBQJBL30RAhsMAAoJEBKXrJch6j7NXdkAnA1P7cVpoAx4 +5enoz93olfon51rWAJ9ntmliCpgkFnIhjxezC4KtCt6lPw== +=w60g +-----END PGP PUBLIC KEY BLOCK----- + +pub 1024D/8E8367B1 2004-08-27 Satheesh Bandaram (Apache Derby Project) +sig 3 8E8367B1 2004-08-27 Satheesh Bandaram (Apache Derby Project) +sig 3 B1669287 2004-08-27 Katherine Marsden +sig 3 AB821FBC 2004-08-27 Samuel Andrew McIntyre (Apache Derby Project) +sig 3 99586C26 2004-08-27 Jean T. Anderson +sig 3 21EA3ECD 2004-08-28 Mike Matrigali +sub 1024g/CFDFAA50 2004-08-27 +sig 8E8367B1 2004-08-27 Satheesh Bandaram (Apache Derby Project) + +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.2.4 (Darwin) + +mQGiBEEugQoRBACP7Wa5vUIclXfyZu5JC/VpY0jRCnf3/zktvHOhxFyQANbdBc5E +hGyXZZ+sE2jqyr/XLXNaChbrS0NTrWph1WoW5JrWBKJF8/YJ5tY6d2fIeZnomopy +78yNHPuRuNo+E0C+trLjWWY8ewBg6mdvoW6Q+LEujeoE1sUXiFIZH5PGDwCguj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B1RZvtgxWs36C4iG86MRZcVa6oVa +PMIctAnah7qim/IBb2a9XeZcOayUs2pqdZSBy3DDYdXj7jVm0LLcrvzNF4D7CVz2 +jV8AAwUD/2xNOv4ShBiAnOU6fQQeqAOI7mjcfda8pKvg69lxZPPLPyUq8MfBtcad +YPzqhM04IxMXjkxZ9H5a8TCAmR+oApU0zZAmFeh1WfCm9+7f46/lxWM7TA4XOQSq +2ve3LQd9VKfk0fQDoeUuqx43IEJenZSfORI7/6+D46EFKQunby6+iEkEGBECAAkF +AkEugQsCGwwACgkQENVNIY6DZ7HxmgCfcwzX6Psnt1raT2ON0BfhQEwl49YAnRLW +Rb7wNS9cfh8CWIRGhjMgmyj2 +=3zBL +-----END PGP PUBLIC KEY BLOCK----- + +pub 1024D/99586C26 2004-08-14 Jean T. Anderson +sig 3 99586C26 2004-08-14 Jean T. Anderson +sig 3 AB821FBC 2004-08-26 Samuel Andrew McIntyre (Apache Derby Project) +sig 3 B1669287 2004-08-26 Katherine Marsden +sig 3 AB1B7EE4 2004-08-26 Daniel John Debrunner +sig 3 8E8367B1 2004-08-27 Satheesh Bandaram (Apache Derby Project) +sig 3 21EA3ECD 2004-08-27 Mike Matrigali +sub 1024g/0A785B8D 2004-08-14 +sig 99586C26 2004-08-14 Jean T. Anderson + +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.2.4 (Darwin) + +mQGiBEEegw0RBACdLKcnoK0vorrHsI/8ZdkiysSUCsdLrSBn5AyTE/ruSv0E8dMc +KsBpn6O56YfyacDPdqnEGJk1sPa+0V+u3Nu0bSJZJG1VtVi8WiMfpOplQVjkWJII +zrvLEIZPCwJkAzt3u5AwatqVfVeO5TQqyyplYbB8yQNUCFJCi9dQgj1gYwCgqAqH +cwy1OmCGtRpk4TILR4xxRDED/3jnXYZxCzfaddZijAT7IsNGoUK1UoKgmiS+ivri +31HsRJ4lVBIslu2C/S9QFjLRFhrng98C/aCQ7Y+Wxx/Jsg/zB6/Yhx2Yv9Y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dEWtVkTrgac0aImdMRGOTxqQaMxfbIOtqd7DrCnd1q1tl4Yc3O/ +AAMFA/96HUAATeRbX5DqVA+k6X7OglZGHCMmdwcqWb10E1tl8dnnZZzTk2kC3csk +SS4NfjFXaI7jqla1mp8LM1QRLs51MyoiUqtkyemxVhVfLIj+T6L2LCFEVQhesjF2 +gtBzxOR7lwjo9Pjp6ZwxrZg6M2al1ynAvITZv6egM33oRMJoMYhJBBgRAgAJBQJB +HoMUAhsMAAoJEBdC+ruZWGwmXzAAoKCTDi9b+/wCMuWSDnmeq5H5uEYlAJ9x2C0B +wkrZTEJZy3Hta6ECTWSNRQ== +=Pgt+ +-----END PGP PUBLIC KEY BLOCK----- +pub 1024D/B1669287 2004-08-11 Kathey Marsden +sig 3 B1669287 2005-10-21 Kathey Marsden +uid Katherine Marsden +sig 3 B1669287 2004-08-11 Kathey Marsden +sig 3 AB821FBC 2004-08-12 Samuel Andrew McIntyre (Apache Derby Project) +sig 3 AB1B7EE4 2004-08-13 Daniel John Debrunner +sig 3 99586C26 2004-08-26 Jean T. Anderson +sig 3 8E8367B1 2004-08-27 Satheesh Bandaram (Apache Derby Project) +sig 3 21EA3ECD 2004-08-27 Mike Matrigali +sub 2048g/8DB2F79B 2004-08-11 +sig B1669287 2004-08-11 Kathey Marsden + +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.2.5 (MingW32) + +mQGiBEEZvwARBACeNOc5OYdK6KlapdhaXqoUUNUOqBzK3W+hQOUwxxaU1kjZ+oGd +iL8taaa5CUVtuPyN6mhNd90Mle/6s0bnuu7nIY/GC1N8bCD1d+7ulpAd0RpJd/yv +EOSbeJKe/Q6jNdLimmZYq0vfhLqvKaTcNnTmJg46UpXnn+46eG5Zo/21ewCgy/CJ +D1qRc3luwm1OqYVCpgjjRfcD/13mQ4NeXMzpHu4akMqnGIZwes1+YqNTxP9iZZQQ +9iTIABA0wJgoD6f/axvhzK7kbE/qw7XGVBIuCGEhjRzCggQWdOZ3v5A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8UMIIrNTeFxn3lAAn1boZDDVCnouy8j9gwsbS2JE +OjsHuQINBEEZv1UQCACGNe+0lhLKheq2dcW3i0Sh9Yr+ormiUAH8caQAPL7nWMDl +w5DaJLmo678tR3aImtDUO1x9RIQNhs/vOHRVDR+5g5X2DwaBElahi6sV2nk6703p +gL51MpTGunyeM4ge2xsjI8la2i+TXQQYsDCDNmdEWA8f2oYSHsMifxFNY8jvdNGy +c3SwUWF/THVIwT4O+onrK34/5Uo2CfXBikWEfnVV0mW3xyBZQ/z148JkkuitY6Dh +adEI3mJBbUnJ4d3yEUq5IWtFdwMqSlqLCuQQWtIWLeDC8kyW7GLhQykMKvNT07jl +s4BX14GBWZFYNMBk4xgtAlb0mkwXLzAxlnKoTuyXAAURB/49TWfRlJtywcCCdbxR +JKMnzlqGVWtG+9BvFR5VSqkYIUS40xqZHKCRvtr24RKRFppDxinWivohKGjdzEPk +UMIU082PPvs2b6FxKAKTUqglWyEwq8j4nM7SDkP4pR5PEIcXFWsvWo1n7iJXQCO+ +M5dzr6vkOAAFib86EwlMw7L47NrTCpeEzXZ+lY1jgNDJUQvNsLf3fFxmEJf+VzqF +25O/8D49Vyhz0mGNhlt/UI3stTqVRY9nrrmVh2VfSDQMfWetCL3fvYrKFocRZTeS +oO9Y93N0NhmBnRPDWqeexBYhUJFlIVYp4t7iN9VhzzDHHIp9DAnIWl9o1H4TBI7Q +jelbiEkEGBECAAkFAkEZv1UCGwwACgkQG0h36bFmkodnGwCgt0Db36ImC7fVtI0d +j+pbNohCiXgAn11iz+InH93Db4c5TprJm1D/DcJX +=Y+Qi +-----END PGP PUBLIC KEY BLOCK----- diff --git a/derby/LICENSE b/derby/LICENSE new file mode 100644 index 0000000000..75b52484ea --- /dev/null +++ b/derby/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/derby/NOTICE b/derby/NOTICE new file mode 100644 index 0000000000..0b0b1d981f --- /dev/null +++ b/derby/NOTICE @@ -0,0 +1,21 @@ +========================================================================= +== NOTICE file corresponding to section 4(d) of the Apache License, == +== Version 2.0, in this case for the Apache Derby distribution. == +========================================================================= + +This product includes software developed by +The Apache Software Foundation (http://www.apache.org/). + +Portions of Derby were orginally developed by +International Business Machines Corporation and are +licensed to the Apache Software Foundation under the +"Software Grant and Corporate Contribution License Agreement", +informally known as the "Derby CLA". + +The portion of the functionTests under 'nist' was originally +developed by the National Institute of Standards and Technology (NIST), +an agency of the United States Department of Commerce, and adapted by +International Business Machines Corporation in accordance with the NIST +Software Acknowledgment and Redistribution document at +http://www.itl.nist.gov/div897/ctg/sql_form.htm + diff --git a/derby/NetworkServerControl.bat b/derby/NetworkServerControl.bat new file mode 100644 index 0000000000..2e6322c9fc --- /dev/null +++ b/derby/NetworkServerControl.bat @@ -0,0 +1,29 @@ +@REM --------------------------------------------------------- +@REM -- This batch file is an example of how to run commands +@REM -- in the Network Server framework +@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 -- +@REM -- This file for use on Windows systems +@REM --------------------------------------------------------- + +rem set DERBY_INSTALL= + +@if !"%CLASSPATH%"==! call "%DERBY_INSTALL%"/frameworks/NetworkServer/bin/setNetworkServerCP.bat +@if "%CLASSPATH%" == "" call "%DERBY_INSTALL%"/frameworks/NetworkServer/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 --------------------------------------------------------- + diff --git a/derby/NetworkServerControl.ksh b/derby/NetworkServerControl.ksh new file mode 100644 index 0000000000..8b1315cd61 --- /dev/null +++ b/derby/NetworkServerControl.ksh @@ -0,0 +1,31 @@ +## --------------------------------------------------------- +# -- This simple script is an example of how to run commands +# -- for the Network Server framework +# -- +# -- REQUIREMENTS: +# -- You must have the derby and Network Server jar files in your CLASSPATH +# -- +# -- Check the setNetworkServerCP.ksh file for an example of +# -- what to set. +# -- +# -- This file for use on Unix ksh systems +# --------------------------------------------------------- + +# DERBY_INSTALL= + +[ -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 +# --------------------------------------------------------- + diff --git a/derby/dblook.bat b/derby/dblook.bat new file mode 100644 index 0000000000..a4bb4a149e --- /dev/null +++ b/derby/dblook.bat @@ -0,0 +1,28 @@ +@REM --------------------------------------------------------- +@REM -- This batch file is an example of how to start dblook in +@REM -- an NetworkServer environment. +@REM -- +@REM -- REQUIREMENTS: +@REM -- You must have the Derby libraries in your classpath +@REM -- +@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= + +@if !"%CLASSPATH%"==! call "%DERBY_INSTALL%"/frameworks/NetworkServer/bin/setNetworkClientCP.bat +@if "%CLASSPATH%" == "" call "%DERBY_INSTALL%"/frameworks/NetworkServer/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 --------------------------------------------------------- + diff --git a/derby/dblook.ksh b/derby/dblook.ksh new file mode 100644 index 0000000000..202bef6c13 --- /dev/null +++ b/derby/dblook.ksh @@ -0,0 +1,29 @@ +# --------------------------------------------------------- +# -- This simple script is an example of how to start dblook in +# -- a NetworkServer environment. +# -- +#-- REQUIREMENTS: +# -- You must have the Derby libraries in your classpath +# -- +# -- See the setEmbeddedCP.ksh for an example of +# -- how to do this. +# -- +# -- This file for use on Unix ksh systems +# --------------------------------------------------------- + +# DERBY_INSTALL= + +[ -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 +# --------------------------------------------------------- + diff --git a/derby/ij.bat b/derby/ij.bat new file mode 100644 index 0000000000..45856feb86 --- /dev/null +++ b/derby/ij.bat @@ -0,0 +1,37 @@ +@REM --------------------------------------------------------- +@REM -- This batch file is an example of how to start ij in +@REM -- an NetworkServer environment. +@REM -- +@REM -- REQUIREMENTS: +@REM -- You must have the Derby and DB2 JCC libraries in your classpath +@REM -- +@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= + +@if !"%CLASSPATH%"==! call "%DERBY_INSTALL%"/frameworks/NetworkServer/bin/setNetworkClientCP.bat +@if "%CLASSPATH%" == "" call "%DERBY_INSTALL%"/frameworks/NetworkServer/bin/setNetworkClientCP.bat + +set IJ_HOST=localhost +set IJ_PORT=1527 +set IJ_USER=APP +set IJ_PASSWORD=APP + +@REM --------------------------------------------------------- +@REM -- start ij +@REM -- host, port, user and password may need to be changed +@REM --------------------------------------------------------- +java -Dij.driver=org.apache.derby.jdbc.ClientDriver -Dij.protocol=jdbc:derby://%IJ_HOST%:%IJ_PORT%/ -Dij.user=%IJ_USER% -Dij.password=%IJ_PASSWORD% org.apache.derby.tools.ij + +@REM --------------------------------------------------------- +@REM -- To use a different JVM with a different syntax, simply edit +@REM -- this file +@REM --------------------------------------------------------- + diff --git a/derby/ij.bat.txt b/derby/ij.bat.txt new file mode 100644 index 0000000000..45856feb86 --- /dev/null +++ b/derby/ij.bat.txt @@ -0,0 +1,37 @@ +@REM --------------------------------------------------------- +@REM -- This batch file is an example of how to start ij in +@REM -- an NetworkServer environment. +@REM -- +@REM -- REQUIREMENTS: +@REM -- You must have the Derby and DB2 JCC libraries in your classpath +@REM -- +@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= + +@if !"%CLASSPATH%"==! call "%DERBY_INSTALL%"/frameworks/NetworkServer/bin/setNetworkClientCP.bat +@if "%CLASSPATH%" == "" call "%DERBY_INSTALL%"/frameworks/NetworkServer/bin/setNetworkClientCP.bat + +set IJ_HOST=localhost +set IJ_PORT=1527 +set IJ_USER=APP +set IJ_PASSWORD=APP + +@REM --------------------------------------------------------- +@REM -- start ij +@REM -- host, port, user and password may need to be changed +@REM --------------------------------------------------------- +java -Dij.driver=org.apache.derby.jdbc.ClientDriver -Dij.protocol=jdbc:derby://%IJ_HOST%:%IJ_PORT%/ -Dij.user=%IJ_USER% -Dij.password=%IJ_PASSWORD% org.apache.derby.tools.ij + +@REM --------------------------------------------------------- +@REM -- To use a different JVM with a different syntax, simply edit +@REM -- this file +@REM --------------------------------------------------------- + diff --git a/derby/ij.ksh b/derby/ij.ksh new file mode 100644 index 0000000000..7afa6a5d1d --- /dev/null +++ b/derby/ij.ksh @@ -0,0 +1,33 @@ +# --------------------------------------------------------- +# -- This simple script is an example of how to start ij in +# -- the Derby Network Server environment. +# -- +#-- REQUIREMENTS: +# -- You must have the Derby and DB2 JCC libraries in your classpath +# -- +# -- See the setNetworkClientCP.ksh for an example of +# -- how to do this. +# -- +# -- This file for use on Unix ksh systems +# --------------------------------------------------------- + +# DERBY_INSTALL= + +[ -z "$CLASSPATH" ] && { + . "$DERBY_INSTALL"/frameworks/NetworkServer/bin/setNetworkClientCP.ksh +} + +export IJ_HOST=localhost +export IJ_PORT=1527 +export IJ_USER=APP +export IJ_PASSWORD=APP + +# --------------------------------------------------------- +# -- start ij +# --------------------------------------------------------- +java -Dij.driver=org.apache.derby.jdbc.ClientDriver -Dij.protocol=jdbc:derby://$IJ_HOST:$IJ_PORT/ -Dij.user=$IJ_USER -Dij.password=$IJ_PASSWORD org.apache.derby.tools.ij + +# --------------------------------------------------------- +# -- To use a different JVM with a different syntax, simply edit +# -- this file +# --------------------------------------------------------- diff --git a/derby/setNetworkClientCP.bat b/derby/setNetworkClientCP.bat new file mode 100644 index 0000000000..56fb622ac2 --- /dev/null +++ b/derby/setNetworkClientCP.bat @@ -0,0 +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 +@REM -- value assigned to DERBY_INSTALL to be an absolute path +@REM -- (set DERBY_INSTALL=C:\derby) instead of the current relative path +@REM -- +@REM -- This file for use on Windows systems +@REM -- +@REM --------------------------------------------------------- + +rem set DERBY_INSTALL= + +FOR %%X in ("%DERBY_INSTALL%") DO SET DERBY_INSTALL=%%~sX + +set CLASSPATH=%DERBY_INSTALL%\lib\derbyclient.jar;%DERBY_INSTALL%\lib\derbytools.jar;%CLASSPATH% diff --git a/derby/setNetworkClientCP.ksh b/derby/setNetworkClientCP.ksh new file mode 100644 index 0000000000..fd65864baa --- /dev/null +++ b/derby/setNetworkClientCP.ksh @@ -0,0 +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 +# -- value assigned to DERBY_INSTALL to be an absolute path +# -- (export DERBY_INSTALL=/opt/derby) instead of the current relative path +# -- +# -- This file for use on Unix ksh systems +# -- +# --------------------------------------------------------- +# DERBY_INSTALL= + +export CLASSPATH="${DERBY_INSTALL}/lib/derbyclient.jar:${DERBY_INSTALL}/lib/derbytools.jar:${CLASSPATH}" diff --git a/derby/setNetworkServerCP.bat b/derby/setNetworkServerCP.bat new file mode 100644 index 0000000000..63a2fa1745 --- /dev/null +++ b/derby/setNetworkServerCP.bat @@ -0,0 +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 +@REM -- value assigned to DERBY_INSTALL to be an absolute path +@REM -- (set DERBY_INSTALL=C:\derby) instead of the current relative path +@REM -- +@REM -- This file for use on Windows systems +@REM -- +@REM --------------------------------------------------------- + +rem set DERBY_INSTALL= + +FOR %%X in ("%DERBY_INSTALL%") DO SET DERBY_INSTALL=%%~sX + +set CLASSPATH=%DERBY_INSTALL%\lib\derby.jar;%DERBY_INSTALL%\lib\derbytools.jar;%DERBY_INSTALL%\lib\derbynet.jar;%CLASSPATH% diff --git a/derby/setNetworkServerCP.ksh b/derby/setNetworkServerCP.ksh new file mode 100644 index 0000000000..f05891b15d --- /dev/null +++ b/derby/setNetworkServerCP.ksh @@ -0,0 +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 +# -- value assigned to DERBY_INSTALL to be an absolute path +# -- (export DERBY_INSTALL=/opt/derby) instead of the current relative path +# -- +# -- This file for use on Unix ksh systems +# -- +# --------------------------------------------------------- +# DERBY_INSTALL= + +export CLASSPATH="${DERBY_INSTALL}/lib/derby.jar:${DERBY_INSTALL}/lib/derbytools.jar:${DERBY_INSTALL}/lib/derbynet.jar:${CLASSPATH}" diff --git a/derby/startNetworkServer.bat b/derby/startNetworkServer.bat new file mode 100644 index 0000000000..16f990ab29 --- /dev/null +++ b/derby/startNetworkServer.bat @@ -0,0 +1,61 @@ +@REM -- This file for use on Windows systems +@REM --------------------------------------------------------- + +@echo off +@rem set DERBY_INSTALL= + + +@if !"%CLASSPATH%"==! call "%DERBY_INSTALL%"/frameworks/NetworkServer/bin/setNetworkServerCP.bat +@if "%CLASSPATH%" == "" call "%DERBY_INSTALL%"/frameworks/NetworkServer/bin/setNetworkServerCP.bat + +if "%JAVA_HOME%" == "" goto setjavaMsg + +:set_host + +if "%1" == "" goto setServerHost +set derbyHost=%1 +goto set_port + +:setServerHost +if not "%DERBY_SERVER_HOST%" == "" goto setServerHost2 +set derbyHost=localhost +goto set_port + +:setServerHost2 +set derbyHost=%DERBY_SERVER_HOST% + + +:set_port +shift +if "%1" == "" goto setServerPort +set derbyPort=%1 +goto start_server + + +:setServerPort +if not "%DERBY_SERVER_PORT%" == "" goto setServerPort2 +set derbyPort=1527 +goto start_server + +:setServerPort2 +set derbyPort=%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= +set derbyHost= diff --git a/derby/startNetworkServer.ksh b/derby/startNetworkServer.ksh new file mode 100644 index 0000000000..63b3372e34 --- /dev/null +++ b/derby/startNetworkServer.ksh @@ -0,0 +1,61 @@ +## --------------------------------------------------------- +# -- 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 CLASSPATH +# -- +# -- 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= + +[ -z "$CLASSPATH" ] && { + . "$DERBY_INSTALL"/frameworks/NetworkServer/bin/setNetworkServerCP.ksh +} + +if [ -z "$JAVA_HOME" ] +then + JAVA_HOME=/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=$1 +fi + +if [ -z "$DERBY_SERVER_HOST" ] +then + DERBY_SERVER_HOST=localhost +fi + +if [ "$2" ] +then + DERBY_SERVER_PORT=$2 +fi + +if [ -z "$DERBY_SERVER_PORT" ] +then + DERBY_SERVER_PORT=1527 +fi + +$JAVA_HOME/bin/java org.apache.derby.drda.NetworkServerControl start -h $DERBY_SERVER_HOST -p $DERBY_SERVER_PORT + +# --------------------------------------------------------- +# -- To use a different JVM with a different syntax, simply edit +# -- this file +# --------------------------------------------------------- + diff --git a/derby/stopNetworkServer.bat b/derby/stopNetworkServer.bat new file mode 100644 index 0000000000..ce5fe52bea --- /dev/null +++ b/derby/stopNetworkServer.bat @@ -0,0 +1,68 @@ +@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= + + +@if !"%CLASSPATH%"==! call "%DERBY_INSTALL%"/frameworks/NetworkServer/bin/setNetworkServerCP.bat +@if "%CLASSPATH%" == "" call "%DERBY_INSTALL%"/frameworks/NetworkServer/bin/setNetworkServerCP.bat + +if "%JAVA_HOME%" == "" goto setjavaMsg + +:set_host + +if "%1" == "" goto setServerHost +set derbyHost=%1 +goto set_port + +:setServerHost +if not "%DERBY_SERVER_HOST%" == "" goto setServerHost2 +set derbyHost=localhost +goto set_port + +:setServerHost2 +set derbyHost=%DERBY_SERVER_HOST% + + +:set_port +shift +if "%1" == "" goto setServerPort +set derbyPort=%1 +goto stop_server + + +:setServerPort +if not "%DERBY_SERVER_PORT%" == "" goto setServerPort2 +set derbyPort=1527 +goto stop_server + +:setServerPort2 +set derbyPort=%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= +set derbyHost= diff --git a/derby/stopNetworkServer.ksh b/derby/stopNetworkServer.ksh new file mode 100644 index 0000000000..ad7aef1106 --- /dev/null +++ b/derby/stopNetworkServer.ksh @@ -0,0 +1,61 @@ +## --------------------------------------------------------- +# -- 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 CLASSPATH +# -- +# -- 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= + +[ -z "$CLASSPATH" ] && { + . "$DERBY_INSTALL"/frameworks/NetworkServer/bin/setNetworkServerCP.ksh +} + +if [ -z "$JAVA_HOME" ] +then + JAVA_HOME=/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=$1 +fi + +if [ -z "$DERBY_SERVER_HOST" ] +then + DERBY_SERVER_HOST=localhost +fi + +if [ "$2" ] +then + DERBY_SERVER_PORT=$2 +fi + +if [ -z "$DERBY_SERVER_PORT" ] +then + DERBY_SERVER_PORT=1527 +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 +# --------------------------------------------------------- + diff --git a/derby/sysinfo.bat b/derby/sysinfo.bat new file mode 100644 index 0000000000..6e504c723f --- /dev/null +++ b/derby/sysinfo.bat @@ -0,0 +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 +@REM -- jar files which are in your classpath. Jar files which are not +@REM -- if your classpath will not be reported. +@REM -- +@REM -- Check the setNetworkServerCP.bat to see an example of adding the +@REM -- the Derby jars to your classpath. +@REM -- +@REM -- This file for use on Windows systems +@REM --------------------------------------------------------- + +rem set DERBY_INSTALL= + +@if !"%CLASSPATH%"==! call "%DERBY_INSTALL%"/frameworks/NetworkServer/bin/setNetworkServerCP.bat +@if "%CLASSPATH%" == "" call "%DERBY_INSTALL%"/frameworks/NetworkServer/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 --------------------------------------------------------- + + diff --git a/derby/sysinfo.ksh b/derby/sysinfo.ksh new file mode 100644 index 0000000000..03fdec6425 --- /dev/null +++ b/derby/sysinfo.ksh @@ -0,0 +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 +# -- 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. +# -- 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. +# -- +# -- +# -- This file for use on Unix korn shell systems +# --------------------------------------------------------- + +# DERBY_INSTALL= + +[ -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 +# ---------------------------------------------------------