Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 92430 invoked from network); 7 Oct 2008 18:11:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Oct 2008 18:11:30 -0000 Received: (qmail 42106 invoked by uid 500); 7 Oct 2008 18:11:29 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 42086 invoked by uid 500); 7 Oct 2008 18:11:29 -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" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 42077 invoked by uid 99); 7 Oct 2008 18:11:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Oct 2008 11:11:29 -0700 X-ASF-Spam-Status: No, hits=-1999.9 required=10.0 tests=ALL_TRUSTED,DNS_FROM_SECURITYSAGE X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Oct 2008 18:10:25 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 221B3238885D; Tue, 7 Oct 2008 11:10:31 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r702568 - in /db/derby/docs/trunk/src: devguide/ getstart/ tools/ Date: Tue, 07 Oct 2008 18:10:30 -0000 To: derby-commits@db.apache.org From: chaase3@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20081007181031.221B3238885D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: chaase3 Date: Tue Oct 7 11:10:30 2008 New Revision: 702568 URL: http://svn.apache.org/viewvc?rev=702568&view=rev Log: DERBY-3879: Getting Started Guide has typo and version problems Updated version number to correspond with the current version, fixed typo. Patch: DERBY-3879-2.diff Modified: db/derby/docs/trunk/src/devguide/cdevdvlp27715.dita db/derby/docs/trunk/src/getstart/twwdactivity1.dita db/derby/docs/trunk/src/getstart/twwdactivity1_Setup.dita db/derby/docs/trunk/src/getstart/twwdactivity2.dita db/derby/docs/trunk/src/getstart/twwdactivity3_Setup.dita db/derby/docs/trunk/src/getstart/twwdactivity4.dita db/derby/docs/trunk/src/tools/rtoolssysinfo1002629.dita Modified: db/derby/docs/trunk/src/devguide/cdevdvlp27715.dita URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/devguide/cdevdvlp27715.dita?rev=702568&r1=702567&r2=702568&view=diff ============================================================================== --- db/derby/docs/trunk/src/devguide/cdevdvlp27715.dita (original) +++ db/derby/docs/trunk/src/devguide/cdevdvlp27715.dita Tue Oct 7 11:10:30 2008 @@ -39,12 +39,13 @@ it remains active until the system has been shut down or until you shut down the database individually.

When boots a database, -a message is added to the error log. The message includes the version +a message is added to the log file. The message includes the version that the database was booted with, for example:

-2006-10-04 03:54:06.196 GMT: Booting version -- 10.2.1.5 - (448900): instance c013800d-00fd-0cb0-e736-ffffd1025a25 on -database directory sample +2008-09-18 16:43:54.992 GMT: + Booting version The Apache Software Foundation - +- .2.0 - (689064): instance a816c00e-011c-7658-a92a-fffff0cfee85 +on database directory C:\sampledb

The number of databases running in a system is limited only by the amount of memory available in the JVM.

Modified: db/derby/docs/trunk/src/getstart/twwdactivity1.dita URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/getstart/twwdactivity1.dita?rev=702568&r1=702567&r2=702568&view=diff ============================================================================== --- db/derby/docs/trunk/src/getstart/twwdactivity1.dita (original) +++ db/derby/docs/trunk/src/getstart/twwdactivity1.dita Tue Oct 7 11:10:30 2008 @@ -38,20 +38,21 @@ tool. If you included the DERBY_HOME/bin directory in your PATH environment variable, type: ij Otherwise, you can use the java command to start the ij tool. +relcolwidth="1* 4*"> Operating System Command -UNIX (Korn Shell) +UNIX +(Korn Shell) java -jar $DERBY_HOME/lib/derbyrun.jar ij -ij version 10.2 +ij version 10.4 -Windows +Windows java -jar %DERBY_HOME%\lib\derbyrun.jar ij -ij version 10.2 +ij version 10.4 Create the database and open a connection to the database using @@ -142,16 +143,16 @@
  • The derby.log file. This file is a message and error log that, under normal circumstances, contains a set of startup messages and a shutdown message. ---------------------------------------------------------------- -2007-05-10 19:55:20.837 GMT: - Booting Derby version The Apache Software Foundation - - Apache Derby - 10.2.2.0 - (485682): - instance c013800d-0109-7f82-e11f-000000119a68 - on database directory C:\Derby_10\db-derby-10.2.2.0-bin\derbytutor\firstdb +2008-09-16 20:59:31.661 GMT: + Booting Derby version The Apache Software Foundation - Apache + Derby - 10.4.2.0 - (689064): + instance a816c00e-011c-6cf5-f556-0000004c14a8 + on database directory C:\DERBYTUTOR\firstdb Database Class Loader started - derby.database.classpath='' -2007-05-104 20:00:12.640 GMT: -Shutting down instance c013800d-0109-7f82-e11f-000000119a68 +2008-09-16 21:01:44.314 GMT: +Shutting down instance a816c00e-011c-6cf5-f556-0000004c14a8 ----------------------------------------------------------------
  • The firstdb database directory. Within the directory are the subdirectories seg0 (containing the data files) and log (containing Modified: db/derby/docs/trunk/src/getstart/twwdactivity1_Setup.dita URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/getstart/twwdactivity1_Setup.dita?rev=702568&r1=702567&r2=702568&view=diff ============================================================================== --- db/derby/docs/trunk/src/getstart/twwdactivity1_Setup.dita (original) +++ db/derby/docs/trunk/src/getstart/twwdactivity1_Setup.dita Tue Oct 7 11:10:30 2008 @@ -34,64 +34,68 @@ to store the files that you create during the self-study tutorial activities. Create the DERBYTUTOR directory. DERBYTUTOR will -be your working directory for this activity. +be your working directory for this activity. Operating System Command -UNIX (Korn Shell) +UNIX +(Korn Shell) mkdir DERBYTUTOR -Windows +Windows md DERBYTUTOR Change to the DERBYTUTOR directory. +relcolwidth="1* 4*"> Operating System Command -UNIX (Korn Shell) +UNIX +(Korn Shell) cd DERBYTUTOR -Windows +Windows cd DERBYTUTOR Copy the SQL scripts from the   demo\programs\toursdb subdirectory into the DERBYTUTOR directory. You will use these scripts to create tables and add data to a new database, toursdb. - + Operating System Command -UNIX (Korn Shell) +UNIX +(Korn Shell) cp $DERBY_HOME/demo/programs/toursdb/*.sql . -Windows +Windows copy %DERBY_HOME%\demo\programs\toursdb\*.sql . Verify that the files were copied to the DERBYTUTOR directory. - + Operating System Command -UNIX (Korn Shell) +UNIX +(Korn Shell) ls DERBYTUTOR -Windows +Windows dir DERBYTUTOR Include the dot (.) Modified: db/derby/docs/trunk/src/getstart/twwdactivity2.dita URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/getstart/twwdactivity2.dita?rev=702568&r1=702567&r2=702568&view=diff ============================================================================== --- db/derby/docs/trunk/src/getstart/twwdactivity2.dita (original) +++ db/derby/docs/trunk/src/getstart/twwdactivity2.dita Tue Oct 7 11:10:30 2008 @@ -40,22 +40,29 @@ Open a command window (Shell-1) and change to the DERBYTUTOR directory. -Start the Network Server. +Start the Network Server. Operating System Command -UNIX (Korn Shell) +UNIX +(Korn Shell) java -jar $DERBY_HOME/lib/derbyrun.jar server start -Apache Derby Network Server - 10.2.2.0 - (485682) started and - ready to accept connections on port 1527 at 2007-01-04 20:04:33.511 GMT +Security manager installed using the Basic server + security policy. +Apache Derby Network Server - 10.4.2.0 - (689064) + started and ready to accept connections on + port 1527 at 2008-09-17 13:40:18.386 GMT -Windows +Windows java -jar %DERBY_HOME%\lib\derbyrun.jar server start -Apache Derby Network Server - 10.2.2.0 - (485682) started and - ready to accept connections on port 1527 at 2007-01-04 20:04:33.511 GMT +Security manager installed using the Basic server + security policy. +Apache Derby Network Server - 10.4.2.0 - (689064) + started and ready to accept connections on + port 1527 at 2008-09-17 13:40:18.386 GMT A Network Server startup message appears in the Shell-1 command window. @@ -64,20 +71,21 @@ Start ij.If you included the DERBY_HOME/bin directory in your PATH environment variable, type: ij Otherwise, you can use the java command to start the ij tool. +relcolwidth="1* 4*"> Operating System Command -UNIX (Korn Shell) +UNIX +(Korn Shell) java -jar $DERBY_HOME/lib/derbyrun.jar ij -ij version 10.2 +ij version 10.4 -Windows +Windows java -jar %DERBY_HOME%\lib\derbyrun.jar ij -ij version 10.2 +ij version 10.4 You will enter all subsequent commands from the network client, so you will type the commands in the Shell-2 command @@ -115,24 +123,23 @@ Exit ij.exit; Shut down the Network -Server. +Server. Operating System Command -UNIX (Korn Shell) +UNIX +(Korn Shell) java -jar $DERBY_HOME/lib/derbyrun.jar server shutdown -Apache Derby Network Server - 10.2.2.0 - (485682) shutdown - at 2007-05-04 20:08:44.247 GMT - +Apache Derby Network Server - 10.4.2.0 - (689064) + shutdown at 2008-09-17 13:43:17.737 GMT -Windows +Windows java -jar %DERBY_HOME%\lib\derbyrun.jar server shutdown -Apache Derby Network Server - 10.2.2.0 - (485682) shutdown - at 2007-05-04 20:08:44.247 GMT - +Apache Derby Network Server - 10.4.2.0 - (689064) + shutdown at 2008-09-17 13:43:17.737 GMT The server shutdown confirmation appears in both command windows. @@ -146,13 +153,8 @@ (a client/server configuration). In contrast, establishing a connection using an embedded URL (one without //localhost:1527/) would have caused the engine -to be embedded in the ij application (an embedded configuration).

    A -Network Server startup message is written to the derby.log file -along with the standard database engine messages. For example: Apache Derby Network Server - 10.2.2.0 - (485682) started and ready to - accept connections on port 1527 at 2007-05-04 20:04:33.511 GMT - ... Database engine messages not shown ... -2007-05-04 20:08:43.883 GMT: -Shutting down instance c013800d-010f-82e9-fa03-00000011f280

    In +to be embedded in the ij application (an embedded configuration).

    +

    In this configuration, multiple client programs can connect to the Network Server and access the database simultaneously. (This activity does not demonstrate this capability.)

    Modified: db/derby/docs/trunk/src/getstart/twwdactivity3_Setup.dita URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/getstart/twwdactivity3_Setup.dita?rev=702568&r1=702567&r2=702568&view=diff ============================================================================== --- db/derby/docs/trunk/src/getstart/twwdactivity3_Setup.dita (original) +++ db/derby/docs/trunk/src/getstart/twwdactivity3_Setup.dita Tue Oct 7 11:10:30 2008 @@ -42,20 +42,21 @@ the classpath and compile the WwdEmbedded.java program.

    Copy the program files into the DERBYTUTOR directory -and set the CLASSPATH environment variable. +and set the CLASSPATH environment variable. Operating System Commands -UNIX (Korn Shell) +UNIX +(Korn Shell) cp $DERBY_HOME/demo/programs/workingwithderby/* . export CLASSPATH=$DERBY_HOME/lib/derby.jar:. -Windows +Windows copy %DERBY_HOME%\demo\programs\workingwithderby\* . set CLASSPATH=%DERBY_HOME%\lib\derby.jar;. @@ -83,13 +84,13 @@ Enter wish-list item (enter exit to end): a peppermint stick __________________________________________________________ -On 2007-05-04 15:16:16.795 I wished for a peppermint stick +On 2008-09-17 10:11:28.235 I wished for a peppermint stick __________________________________________________________ Enter wish-list item (enter exit to end): -an all expenses paid vacation +a long vacation __________________________________________________________ -On 2007-05-04 15:16:16.795 I wished for a peppermint stick -On 2007-05-04 15:16:46.875 I wished for an all expenses paid vacation +On 2008-09-17 10:11:28.235 I wished for a peppermint stick +On 2008-09-17 10:11:38.555 I wished for a long vacation __________________________________________________________ Enter wish-list item (enter exit to end): exit Modified: db/derby/docs/trunk/src/getstart/twwdactivity4.dita URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/getstart/twwdactivity4.dita?rev=702568&r1=702567&r2=702568&view=diff ============================================================================== --- db/derby/docs/trunk/src/getstart/twwdactivity4.dita (original) +++ db/derby/docs/trunk/src/getstart/twwdactivity4.dita Tue Oct 7 11:10:30 2008 @@ -54,17 +54,18 @@ Change to the DERBYTUTOR directory. Make a copy of the WwdEmbedded.java program -called WwdClient.java. +called WwdClient.java. Operating System Command -UNIX (Korn Shell) +UNIX +(Korn Shell) cp WwdEmbedded.java WwdClient.java -Windows +Windows copy WwdEmbedded.java WwdClient.java @@ -101,22 +102,31 @@ Open a command window (Server-Shell). Change to the DERBYTUTOR directory. -Start the Network Server: +Start the Network Server: Operating System Command -UNIX (Korn Shell) +UNIX +(Korn Shell) java -jar $DERBY_HOME/lib/derbyrun.jar server start -Apache Derby Network Server - 10.2.2.0 - (485682) started and - ready to accept connections on port 1527 at 2007-05-04 20:21:28.255 GMT +Security manager installed using the Basic + server security policy. +Apache Derby Network Server - 10.4.2.0 - + (689064) started and ready to accept + connections on port 1527 at + 2008-09-17 14:18:59.653 GMT -Windows +Windows java -jar %DERBY_HOME%\lib\derbyrun.jar server start -Apache Derby Network Server - 10.2.2.0 - (485682) started and - ready to accept connections on port 1527 at 2007-05-04 20:21:28.255 GMT +Security manager installed using the Basic + server security policy. +Apache Derby Network Server - 10.4.2.0 - + (689064) started and ready to accept + connections on port 1527 at + 2008-09-17 14:18:59.653 GMT @@ -126,17 +136,18 @@ Return to the Client-Shell window. If not already set, set the CLASSPATH environment variable to include the location of the file derbyclient.jar: - + Operating System Command -UNIX (Korn Shell) +UNIX +(Korn Shell) export CLASSPATH=$DERBY_HOME/lib/derbyclient.jar:. -Windows +Windows set CLASSPATH=%DERBY_HOME%\lib\derbyclient.jar;. Include the dot (.) @@ -148,17 +159,17 @@ Enter wish-list item (enter exit to end): a sunny day __________________________________________________________ -On 2007-05-04 15:16:16.795 I wished for a peppermint stick -On 2007-05-04 15:16:46.875 I wished for an all expenses paid vacation -On 2007-05-04 15:24:06.843 I wished for a sunny day +On 2008-09-17 10:11:28.235 I wished for a peppermint stick +On 2008-09-17 10:11:38.555 I wished for a long vacation +On 2008-09-17 10:22:19.249 I wished for a sunny day __________________________________________________________ Enter wish-list item (enter exit to end): a new car __________________________________________________________ -On 2007-05-04 15:16:16.795 I wished for a peppermint stick -On 2007-05-04 15:16:46.875 I wished for an all expenses paid vacation -On 2007-05-04 15:24:06.843 I wished for a sunny day -On 2007-05-04 15:25:24.007 I wished for a new car +On 2008-09-17 10:11:28.235 I wished for a peppermint stick +On 2008-09-17 10:11:38.555 I wished for a long vacation +On 2008-09-17 10:22:19.249 I wished for a sunny day +On 2008-09-17 10:22:31.758 I wished for a new car __________________________________________________________ Enter wish-list item (enter exit to end): exit @@ -167,23 +178,24 @@ -Shut down the Network Server: +Shut down the Network Server: Operating System Command -UNIX (Korn Shell) +UNIX +(Korn Shell) java -jar $DERBY_HOME/lib/derbyrun.jar server shutdown -Apache Derby Network Server - 10.2.2.0 - (485682) shutdown - at 2007-05-04 20:27:23.364 GMT +Apache Derby Network Server - 10.4.2.0 - (689064) + shutdown at 2008-09-17 14:24:19.646 GMT -Windows +Windows java -jar %DERBY_HOME%\lib\derbyrun.jar server shutdown -Apache Derby Network Server - 10.2.2.0 - (485682) shutdown - at 2007-05-04 20:27:23.364 GMT +Apache Derby Network Server - 10.4.2.0 - (689064) + shutdown at 2008-09-17 14:24:19.646 GMT The server shutdown confirmation appears Modified: db/derby/docs/trunk/src/tools/rtoolssysinfo1002629.dita URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/tools/rtoolssysinfo1002629.dita?rev=702568&r1=702567&r2=702568&view=diff ============================================================================== --- db/derby/docs/trunk/src/tools/rtoolssysinfo1002629.dita (original) +++ db/derby/docs/trunk/src/tools/rtoolssysinfo1002629.dita Tue Oct 7 11:10:30 2008 @@ -25,54 +25,57 @@ -When you run the sysinfo command using the +When you run the sysinfo command using the derbyrun.jar file, the output looks something like this: -java -jar c:\Derby_10\lib\derbyrun.jar sysinfo +java -jar C:\db-derby-10.4.2.0-bin\lib\derbyrun.jar sysinfo ------------------ Java Information ------------------ -Java Version: 1.4.2_13 +Java Version: 1.6.0_04 Java Vendor: Sun Microsystems Inc. -Java home: c:\p4main\jdk142\jre -Java classpath: c:\Derby_10\lib\derbyrun.jar +Java home: C:\jdk1.6.0_04\jre +Java classpath: C:\db-derby-10.4.2.0-bin\lib\derbyrun.jar OS name: Windows XP OS architecture: x86 OS version: 5.1 Java user name: user1 Java user home: C:\Documents and Settings\myhome -Java user dir: C:\Derby_10\test +Java user dir: C:\DERBYDBS java.specification.name: Java Platform API Specification -java.specification.version: 1.4 +java.specification.version: 1.6 --------- Derby Information -------- -JRE - JDBC: J2SE 1.4.2 - JDBC 3.0 -[c:\Derby_10\lib\derby.jar] .2.0 - (483632) -[c:\Derby_10\lib\derbytools.jar] .2.0 - (483632) +JRE - JDBC: Java SE 6 - JDBC 4.0 +[C:\db-derby-10.4.2.0-bin\lib\derby.jar] 10.4.2.0 - (689064) +[C:\db-derby-10.4.2.0-bin\lib\derbytools.jar] 10.4.2.0 - (689064) +[C:\db-derby-10.4.2.0-bin\lib\derbynet.jar] 10.4.2.0 - (689064) +[C:\db-derby-10.4.2.0-bin\lib\derbyclient.jar] 10.4.2.0 - (689064) ------------------------------------------------------ ----------------- Locale Information ----------------- Current Locale : [English/United States [en_US]] Found support for locale: [cs] - version: .2.0 - (483632) + version: 10.4.2.0 - (689064) Found support for locale: [de_DE] - version: .2.0 - (483632) + version: 10.4.2.0 - (689064) Found support for locale: [es] - version: .2.0 - (483632) + version: 10.4.2.0 - (689064) Found support for locale: [fr] - version: .2.0 - (483632) + version: 10.4.2.0 - (689064) Found support for locale: [hu] - version: .2.0 - (483632) + version: 10.4.2.0 - (689064) Found support for locale: [it] - version: .2.0 - (483632) + version: 10.4.2.0 - (689064) Found support for locale: [ja_JP] - version: .2.0 - (483632) + version: 10.4.2.0 - (689064) Found support for locale: [ko_KR] - version: .2.0 - (483632) + version: 10.4.2.0 - (689064) Found support for locale: [pl] - version: .2.0 - (483632) + version: 10.4.2.0 - (689064) Found support for locale: [pt_BR] - version: .2.0 - (483632) + version: 10.4.2.0 - (689064) Found support for locale: [ru] - version: .2.0 - (483632) + version: 10.4.2.0 - (689064) Found support for locale: [zh_CN] - version: .2.0 - (483632) -Found support for locale: [zh_TW] + version: 10.4.2.0 - (689064) +Found support for locale: [zh_TW] + version: 10.4.2.0 - (689064)

    When you request help for a problem by posting to the derby-user mailing list, include a copy of the information provided by the sysinfo utility.