Fixed typos, HB-1022
git-svn-id: https://svn.jboss.org/repos/hibernate/trunk/Hibernate3/doc@3941 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
7e06205d10
commit
fd76bf3ad2
|
@ -41,14 +41,14 @@
|
|||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Never copy anything else into the global classloader path in Tomcat, or you
|
||||
will get problems with various tools, including Log4j, commons-logging and
|
||||
others. Always us the context classpath for each web application, that is,
|
||||
copy libraries to <literal>WEB-INF/lib</literal> and your own classes and
|
||||
configuration/property files to <literal>WEB-INF/classes</literal>. Both
|
||||
directories are in the context level classpath by default.
|
||||
</para>
|
||||
<para>
|
||||
Never copy anything else into the global classloader path in Tomcat, or you
|
||||
will get problems with various tools, including Log4j, commons-logging and
|
||||
others. Always use the context classpath for each web application, that is,
|
||||
copy libraries to <literal>WEB-INF/lib</literal> and your own classes and
|
||||
configuration/property files to <literal>WEB-INF/classes</literal>. Both
|
||||
directories are in the context level classpath by default.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
|
@ -163,7 +163,7 @@
|
|||
Hibernate. This means Tomcat will provide pooled JDBC connections (using its
|
||||
builtin DBCP pooling feature), Hibernate requests theses connections through
|
||||
JNDI. Tomcat binds the connection pool to JNDI, we add a resource declaration
|
||||
to Tomcats main configuration file, <literal>TOMCAT/conf/server.xml</literal>:
|
||||
to Tomcat's main configuration file, <literal>TOMCAT/conf/server.xml</literal>:
|
||||
</para>
|
||||
|
||||
<programlisting><![CDATA[<Context path="/quickstart" docBase="quickstart">
|
||||
|
@ -467,7 +467,7 @@ Indexes: cat_pkey primary key btree (cat_id)]]></programlisting>
|
|||
</para>
|
||||
|
||||
<para>
|
||||
A <literal>SessionFactory</literal> is usually only build done once,
|
||||
A <literal>SessionFactory</literal> is usually only build once,
|
||||
e.g. at startup with a <emphasis>load-on-startup</emphasis> servlet.
|
||||
This also means you should not keep it in an instance variable in your
|
||||
servlets, but in some other location. We need some kind of
|
||||
|
|
Loading…
Reference in New Issue