File: install.html

package info (click to toggle)
turbine 20010419-1
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 17,460 kB
  • ctags: 7,501
  • sloc: java: 41,929; xml: 12,430; sql: 637; sh: 90; makefile: 50
file content (641 lines) | stat: -rw-r--r-- 28,418 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<!-- Content Stylesheet for Site -->

        
<!-- start the processing -->
    <!-- ====================================================================== -->
    <!-- Main Page Section -->
    <!-- ====================================================================== -->
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>

                                                    <meta name="author" value="Turbine Documentation Team">
            <meta name="email" value="a@a.com">
            
            <title>Turbine - Turbine Installation</title>
        </head>

        <body bgcolor="#ffffff" text="#000000" link="#525D76">        
            <table border="0" width="100%" cellspacing="0">
                <!-- TOP IMAGE -->
                <tr>
                    <td align="left">
<a href="http://jakarta.apache.org"><img src="http://jakarta.apache.org/images/jakarta-logo.gif" border="0"/></a>
</td>
<td align="right">
<a href="http://jakarta.apache.org/turbine/"><img src="./images/logo.gif" alt="Turbine" border="0"/></a>
</td>
                </tr>
            </table>
            <table border="0" width="100%" cellspacing="4">
                <tr><td colspan="2">
                    <hr noshade="" size="1"/>
                </td></tr>
                
                <tr>
                    <!-- LEFT SIDE NAVIGATION -->
                    <td valign="top" nowrap="true">
                                <p><strong>Essentials</strong></p>
        <ul>
                    <li>    <a href="./index.html">Overview</a>
</li>
                    <li>    <a href="./features.html">Features</a>
</li>
                    <li>    <a href="./fsd.html">Specification</a>
</li>
                    <li>    <a href="./project-map.html">Project map</a>
</li>
                    <li>    <a href="./install.html">Installation</a>
</li>
                    <li>    <a href="./getting-started.html">Getting Started</a>
</li>
                    <li>    <a href="./changes.html">Changes</a>
</li>
                    <li>    <a href="./other-docs.html">Other Documentation</a>
</li>
                </ul>
            <p><strong>Models</strong></p>
        <ul>
                    <li>    <a href="./pullmodel.html">Pull MVC Model</a>
</li>
                    <li>    <a href="./model2+1.html">Model 2+1</a>
</li>
                    <li>    <a href="./j2ee-integration.html">J2EE Integration</a>
</li>
                </ul>
            <p><strong>Get Involved</strong></p>
        <ul>
                    <li>    <a href="./turbine-documentation-project.html">Turbine Documentation</a>
</li>
                    <li>    <a href="./code-standards.html">Coding Spec</a>
</li>
                    <li>    <a href="./contributors.html">Contributors</a>
</li>
                    <li>    <a href="./branches.html">CVS Branches</a>
</li>
                    <li>    <a href="http://jakarta.apache.org/site/cvsindex.html">CVS Repos</a>
</li>
                    <li>    <a href="./faq.html">FAQ</a>
</li>
                    <li>    <a href="./license.html">License</a>
</li>
                    <li>    <a href="http://jakarta.apache.org/site/mail.html">Mailing Lists</a>
</li>
                    <li>    <a href="./powered.html">Powered by Turbine</a>
</li>
                    <li>    <a href="./todo.html">Todo</a>
</li>
                    <li>    <a href="./active-developers.html">Active Developers</a>
</li>
                    <li>    <a href="./proposals.html">Proposals</a>
</li>
                </ul>
            <p><strong>Documentation</strong></p>
        <ul>
                    <li>    <a href="./action-event.html">Action Events</a>
</li>
                    <li>    <a href="./services.html">Services</a>
</li>
                    <li>    <a href="./security.html">Turbine and Security</a>
</li>
                    <li>    <a href="./python.html">Turbine and Python</a>
</li>
                    <li>    <a href="./jsp-configuration.html">Turbine and JSP</a>
</li>
                    <li>    <a href="./velocity-site.html">Velocity Site</a>
</li>
                    <li>    <a href="./context-howto.html">Velocity Context</a>
</li>
                    <li>    <a href="./webmacro-site.html">Webmacro Site</a>
</li>
                </ul>
            <p><strong>Database</strong></p>
        <ul>
                    <li>    <a href="./peers.html">Peers</a>
</li>
                    <li>    <a href="./advpeers.html">Advanced Peers</a>
</li>
                    <li>    <a href="./advcriteria.html">Advanced Criteria</a>
</li>
                    <li>    <a href="./torque.html">Torque</a>
</li>
                    <li>    <a href="./turbine-schema.html">Core Schema</a>
</li>
                    <li>    <a href="./db-adapters.html">DB Adapters</a>
</li>
                    <li>    <a href="./postgres-howto.html">Postgres Howto</a>
</li>
                    <li>    <a href="./oracle-howto.html">Oracle 8i Howto</a>
</li>
                    <li>    <a href="./sybase-howto.html">Sybase Howto</a>
</li>
                </ul>
                        </td>
                    <td align="left" valign="top">
                                                                    <table border="0" cellspacing="0" cellpadding="2" width="100%">
      <tr><td bgcolor="#525D76">
        <font color="#ffffff" face="arial,helvetica,sanserif">
          <a name="Before you Begin"><strong>Before you Begin</strong></a>
        </font>
      </td></tr>
      <tr><td>
        <blockquote>
                                    <p>
Before reading the rest of this install document, please take a moment
to read these disclaimers:
<ul>
<li>
Turbine is still under development.  Although many parts of Turbine
may be production-ready, the project as a whole is not, and there is no
production-ready release of Turbine.  If you check out the latest
Turbine from CVS at any given point, do not expect that it will compile
or that all members of the framework will function as expected.</li>
<li>
Because Turbine is being constantly improved, much of the documentation
on the site is out-of-sync with what is in CVS.  Please be patient with
us, or join the <a href="http://jakarta.apache.org/site/mail.html">mailing list</a>
to learn how to contribute to the documentation.</li>
<li>
Please note, Turbine probably won't build or run on MacOS 9 boxes. You
should use MacOS X or Linux or *BSD on your Apple hardware
instead.</li>
</ul>
</p>
                            </blockquote>
      </td></tr>
    </table>
                                                <table border="0" cellspacing="0" cellpadding="2" width="100%">
      <tr><td bgcolor="#525D76">
        <font color="#ffffff" face="arial,helvetica,sanserif">
          <a name="The TDK"><strong>The TDK</strong></a>
        </font>
      </td></tr>
      <tr><td>
        <blockquote>
                                    <p>
    All of the necessary packages required to use Turbine (except the
    JDBC drivers) now come in the Turbine Developer's Kit (TDK).  The
    latest announced version of the TDK is always available at
    <a href="http://jakarta.apache.org/turbine/tdk/">http://jakarta.apache.org/turbine/tdk/</a>.
</p>
                            </blockquote>
      </td></tr>
    </table>
                                                <table border="0" cellspacing="0" cellpadding="2" width="100%">
      <tr><td bgcolor="#525D76">
        <font color="#ffffff" face="arial,helvetica,sanserif">
          <a name="JDBC Database Drivers"><strong>JDBC Database Drivers</strong></a>
        </font>
      </td></tr>
      <tr><td>
        <blockquote>
                                    <p>
<ul>
    <li>
        MM MySQL JDBC Drivers are <a href="http://www.worldserver.com/mm.mysql">here</a>.
        However, they come installed in the TDK by default.</li>

    <li>
        Oracle JDBC Drivers are <a href="http://technet.oracle.com/software/tech/java/sqlj_jdbc/software_index.htm">here</a>.</li>

    <li>
        Postgres JDBC Drivers are <a href="http://www.postgresql.org/">here</a>.</li>

    <li>
        InstantDB JDBC Drivers are <a href="http://instantdb.enhydra.org/">here</a>.</li>
</ul>
</p>
                                                <p>
If your database is not listed here, please subscribe to the Turbine mailing
list and send us the link to the drivers so that we can add it
<a href="http://jakarta.apache.org/site/mail.html">here</a>.
</p>
                            </blockquote>
      </td></tr>
    </table>
                                                <table border="0" cellspacing="0" cellpadding="2" width="100%">
      <tr><td bgcolor="#525D76">
        <font color="#ffffff" face="arial,helvetica,sanserif">
          <a name="Installing the TDK"><strong>Installing the TDK</strong></a>
        </font>
      </td></tr>
      <tr><td>
        <blockquote>
                                    <p>
    Unpack the TDK distribution into a directory of your choosing.  Be
    certain to check the target path of the files as the root folder for
    the TDK distribution sometimes changes.  On Windows, just use WinZip
    to determine if the files are going to be installed into a 'tdk'
    root directory, or if you'll need to create it.  On Unix, something
    like:
</p>
                                                    <div align="left">
    <table cellspacing="4" cellpadding="0" border="0">
    <tr>
      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
    </tr>
    <tr>
      <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      <td bgcolor="#ffffff"><pre>

gzip -dc tdk1.1a10.tar.gz |tar tvf -

</pre></td>
      <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
    </tr>
    <tr>
      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
    </tr>
    </table>
    </div>
                                                <p>
    Should to the trick.
</p>
                            </blockquote>
      </td></tr>
    </table>
                                                <table border="0" cellspacing="0" cellpadding="2" width="100%">
      <tr><td bgcolor="#525D76">
        <font color="#ffffff" face="arial,helvetica,sanserif">
          <a name="Building the Application Structure"><strong>Building the Application Structure</strong></a>
        </font>
      </td></tr>
      <tr><td>
        <blockquote>
                                    <p>
    The TDK comes with Ant and Ant build scripts to create the core
    directory structures and enough template files to get most
    applications started quickly.  The TDK can build two types of
    applications - "simple" for applications not requiring a database
    schema or Object Relational (OR) model, or "peer" for applications
    using the Peer tool for OR.
</p>
                                                <p>
    You should first check and modify as necessary the newapp.props file
    in the root of the TDK distribution.  The turbine.app.name is the
    name that you want your application to have.  A servlet context will
    be created with this name, and (if you're using a Peer application),
    a database by this name will be created.  The turbine.app.view is
    the template system that will be used for your application.  The
    recommended value here is velocity. The turbine.app.type can be
    either simple or peer.  The target.package is the package that all
    of your Java classes (all the OR classes, and modules) will go in,
    and the target.directory is the directory structure they will go
    under.  This should PROBABLY match the package structure, except
    use '/' as the delimeter.
</p>
                                                <p>
    Once the newapp.props file has been built, run the newapp script
    in the root of the TDK distribution directory - either newapp.sh on
    Unix, or newapp.bat on Win32.  The Ant script will create the
    necessary directory structure and configuration files to get your
    application started.  Be sure to read any directions at the end of
    the script processing - especially if you're creating a peer
    application.
</p>
                            </blockquote>
      </td></tr>
    </table>
                                                <table border="0" cellspacing="0" cellpadding="2" width="100%">
      <tr><td bgcolor="#525D76">
        <font color="#ffffff" face="arial,helvetica,sanserif">
          <a name="Starting Catalina/Viewing Your Application"><strong>Starting Catalina/Viewing Your Application</strong></a>
        </font>
      </td></tr>
      <tr><td>
        <blockquote>
                                    <p>
    Once your application has been created, you should be able to view
    it by changing directories to the root of the TDK distribution and
    running bin\startup.bat on Win32, or bin/startup.sh on Unix.
    Once Catalina has started, point your browser to
    http://SERVERNAME:8080/APPNAME/servlet/APPNAME where SERVERNAME is
    the hostname of the machine running Catalina, and APPNAME is the
    name of the application you created.
</p>
                            </blockquote>
      </td></tr>
    </table>
                                                <table border="0" cellspacing="0" cellpadding="2" width="100%">
      <tr><td bgcolor="#525D76">
        <font color="#ffffff" face="arial,helvetica,sanserif">
          <a name="Servlet Container Specifics"><strong>Servlet Container Specifics</strong></a>
        </font>
      </td></tr>
      <tr><td>
        <blockquote>
                                    <p>
<strong>With Apache JServ</strong>
</p>
                                                <p>
    #1. Specify the path to the necessary packages
</p>
                                                <p>
    Place the packages that you will not be changing into the wrapper.classpath
    (in jserv.properties). Please see this FAQ entry (line wrapped) for more
    information on determining what will change and what won't change look
    <a href="http://java.apache.org/jyve-faq/Turbine/screen/DisplayQuestionAnswer/action/SetAll/project_id/1/faq_id/2/topic_id/69/question_id/322">here</a>.
</p>
                                                <p>
Here is an example:
</p>
                                                    <div align="left">
    <table cellspacing="4" cellpadding="0" border="0">
    <tr>
      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
    </tr>
    <tr>
      <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      <td bgcolor="#ffffff"><pre>

wrapper.classpath=&lt;path to&gt;/ECS.jar
wrapper.classpath=&lt;path to&gt;/Village.jar
wrapper.classpath=&lt;path to&gt;/jndi.jar
wrapper.classpath=&lt;path to&gt;/mail.jar
wrapper.classpath=&lt;path to&gt;/activation.jar

</pre></td>
      <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
    </tr>
    <tr>
      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
    </tr>
    </table>
    </div>
                                                <p>
    Place the rest of the classes that you will be using, such as your Turbine
    classes into the repositories path that is defined in your zone.properties
    file.
</p>
                                                <p>
    #2. Run the appropriate SQL script for your database.  If a script for your
    specific database is not present, the SQL can easily be adapted. We
    appreciate your contributions here. If your database is not supported by
    the connection pooling code, please subscribe to the mailing list and ask
    for help there. Include the type of database and the driver information in
    your posting.
</p>
                                                    <div align="left">
    <table cellspacing="4" cellpadding="0" border="0">
    <tr>
      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
    </tr>
    <tr>
      <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      <td bgcolor="#ffffff"><pre>

mysqladmin create turbine
mysql turbine &lt; tables.schema

</pre></td>
      <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
    </tr>
    <tr>
      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
    </tr>
    </table>
    </div>
                                                <p>
    Please note that the tables.schema file is not actually a single file. The
    various schema files exist in the src/sql/ directory. You will need to choose the
    appropriate .sql file for your needs according to what database you are using.
    We currently have .sql files for Oracle, MySQL, DB2, Hypersonic,
    Sybase, InstantDB, and Postgres. The ones that are
    the most tested and reliable are the MySQL files because this is our database of
    choice. Contributions for more databases is most appreciated.
</p>
                                                <p>
    #3. Edit TurbineResources.properties file (in the conf directory), define
    your database types and make sure that the database adaptor for your
    database is uncommented, and place this file in a directory accessible to
    your servlet engine.
</p>
                                                <p>
    #4. Specify an initial parameter named "properties" (without the quotes)
    with the pathname to the TurbineResources.properties file as its value.
    This can be accomplished by placing the following line in your
    [zone].properties file:
</p>
                                                    <div align="left">
    <table cellspacing="4" cellpadding="0" border="0">
    <tr>
      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
    </tr>
    <tr>
      <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      <td bgcolor="#ffffff"><pre>

servlet.Turbine.initArgs=properties=/path/to/TurbineResources.properties

</pre></td>
      <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
    </tr>
    <tr>
      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
    </tr>
    </table>
    </div>
                                                <p>
<strong>With Tomcat</strong>
</p>
                                                <p>
    Note that the TDK includes Catalina, which is Tomcat 4.0.  All the
    necessary JAR files for Turbine are included in the target
    application when you use the TDK, and this is the recommended method
    of using Tomcat.  If you need to deploy a TDK application to another
    Tomcat installation, you should be able to make a WAR file of the
    application and drop it into the webapps directory on the target
    platform.
</p>
                                                <p>
    The following instructions assume that you have followed the above
    instructions for either source compilation or release distribution. This
    also assumes that you have working Tomcat installation which can be
    found <a href="http://jakarta.apache.org/tomcat">here</a>.
</p>
                                                <p>
<ul>
    <li>
        TOMCAT_HOME=/path/to/tomcat</li>

    <li>
        Put all necessary Turbine-related jars (Turbine, ECS, Village,
        JNDI) into $TOMCAT_HOME/lib.</li>

    <li>
        Add the path to the jars to the existing Tomcat CLASSPATH found in
        $TOMCAT_HOME/bin/tomcat.sh</li>

    <li>
        Make necessary adjustments to TurbineResources.properties and copy into
        $TOMCAT_HOME/webapps/YOUR_APP_CONTEXT/WEB-INF/conf</li>

    <li>
        Add the following xml to $TOMCAT_HOME/$TOMCAT_HOME/webapps/YOUR_APP_CONTEXT/WEB-INF/web.xml. It
        will be a child of the web-app element.</li>
</ul>
</p>
                                                    <div align="left">
    <table cellspacing="4" cellpadding="0" border="0">
    <tr>
      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
    </tr>
    <tr>
      <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      <td bgcolor="#ffffff"><pre>

&lt;servlet&gt;
    &lt;servlet-name&gt;Turbine&lt;/servlet-name&gt;
    &lt;servlet-class&gt;org.apache.turbine.Turbine&lt;/servlet-class&gt;
    &lt;init-param&gt;
        &lt;param-name&gt;properties&lt;/param-name&gt;
        &lt;param-value&gt;WEB-INF/conf/TurbineResources.properties&lt;/param-value&gt;
    &lt;/init-param&gt;
    &lt;/servlet&gt;

</pre></td>
      <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
    </tr>
    <tr>
      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
    </tr>
    </table>
    </div>
                                                <p>
<ul>
    <li>
        Restart Tomcat.</li>
</ul>
</p>
                            </blockquote>
      </td></tr>
    </table>
                                                <table border="0" cellspacing="0" cellpadding="2" width="100%">
      <tr><td bgcolor="#525D76">
        <font color="#ffffff" face="arial,helvetica,sanserif">
          <a name="Testing Your Installation"><strong>Testing Your Installation</strong></a>
        </font>
      </td></tr>
      <tr><td>
        <blockquote>
                                    <p>
The following examples assume your servlet zone is configured at
http://your.host.com/servlets.  If this is not the case, please substitute your
zone name for /servlets (Tomcat uses /servlet for its default servlet zone).
</p>
                                                <ul>

    <li>
        Point your web browser at http://your.host.com/servlets/Turbine</li>

    <li>
        Login using username 'turbine' and password 'turbine'</li>

    <li>
        You should see a Welcome screen with basic request information.</li>
</ul>
                                                <p>
If you have problems or receive exceptions when following these steps, please
subscribe to the mailing list and ask for help.  Be sure to include the
specific steps you followed, where the error occurred, and what the exact text
of the error message is.
</p>
                            </blockquote>
      </td></tr>
    </table>
                                                <table border="0" cellspacing="0" cellpadding="2" width="100%">
      <tr><td bgcolor="#525D76">
        <font color="#ffffff" face="arial,helvetica,sanserif">
          <a name="Ant Tasks available in build-turbine.xml"><strong>Ant Tasks available in build-turbine.xml</strong></a>
        </font>
      </td></tr>
      <tr><td>
        <blockquote>
                                    <p>
The build-turbine.xml contains many Ant tasks. These are run by typing from the command line;

<ul>
   build-turbine taskname
</ul>

for example, to run the task which generates the turbine-pool.jar type;

<ul>
  build-turbine pool
</ul>
</p>
                                                <p>
Other Ant tasks in build-turbine.xml include;
</p>
                                                <p>
  <ul>
  usage - Shows a list of Ant Tasks available. <br />
  compile - Compiles the source code.<br />
  jar - Generates the turbine.jar file ( default ). <br />
  jarsrc - Generates the turbine.src.jar file with source only.<br />
  pool - Generates the Turbine Connection Pool jar.<br />
  docs - Generates the HTML documentation from the XML files in xdocs.<br />
  javadocs - Generates the API Information.<br />
  package-zip - Generates the Turbine distribution as a ZIP archive.<br />
  package-tgz - Generates the Turbine distribution as a TAR.GZ archive.<br />
  run-tests - Runs all available testcases.<br />
  torque - Generates a torque.jar for stand-alone use. <br />
  clean - Cleans up the build directory.

  </ul>
</p>
                            </blockquote>
      </td></tr>
    </table>
                                        </td>
                </tr>

                <!-- FOOTER -->
                <tr><td colspan="2">
                    <hr noshade="" size="1"/>
                </td></tr>
                <tr><td colspan="2">
                    <div align="center"><font color="#525D76" size="-1"><em>
                    Copyright &#169; 1999-2001, Apache Software Foundation
                    </em></font></div>
                </td></tr>
            </table>
        </body>
    </html>
<!-- end the processing -->