| <!-- |
| |
| Copyright (c) 2005, 2018 Oracle and/or its affiliates. All rights reserved. |
| |
| This program and the accompanying materials are made available under the |
| terms of the Eclipse Public License v. 2.0, which is available at |
| http://www.eclipse.org/legal/epl-2.0. |
| |
| This Source Code may also be made available under the following Secondary |
| Licenses when the conditions for such availability set forth in the |
| Eclipse Public License v. 2.0 are satisfied: GNU General Public License, |
| version 2 with the GNU Classpath Exception, which is available at |
| https://www.gnu.org/software/classpath/license.html. |
| |
| SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 |
| |
| --> |
| |
| <p><a id="task-settranslog" name="task-settranslog"></a><a id="GHJTS00007" name="GHJTS00007"></a></p> |
| |
| <h4><a id="sthref8" name="sthref8"></a><a id="sthref9" name="sthref9"></a>To Set the Location of the Transaction Logs</h4> |
| <a name="BEGIN" id="BEGIN"></a> |
| <p>The transaction log records the information about each transaction in order to maintain the data integrity of the resources involved and to recover from failures. Transaction logs are kept in the <code>tx</code> subdirectory of the directory specified by the Transaction Log Location field. These logs are not human-readable.</p> |
| <ol> |
| <li> |
| <p>In the navigation tree, expand the Configuration node.</p> |
| </li> |
| <li> |
| <p>Select the instance to configure:</p> |
| <ul> |
| <li> |
| <p>To configure a particular instance, select the instance's config node. For example, the default instance, <code>server</code>, select the <code>server-config</code> node.</p> |
| </li> |
| <li> |
| <p>To configure the default settings for all instances, select the <code>default-config</code> node.</p> |
| </li> |
| </ul> |
| </li> |
| <li> |
| <p>Select the Transaction Service node.</p> |
| <p>The Transaction Service page opens.</p> |
| </li> |
| <li> |
| <p>In the Transaction Log Location field, type the location of the transaction logs.</p> |
| <p>A <code>tx</code> subdirectory is created, and transaction logs are kept under that directory.</p> |
| </li> |
| <li> |
| <p>Click Save.</p> |
| </li> |
| </ol> |
| <a id="sthref10" name="sthref10"></a> |
| <h5>See Also</h5> |
| <ul> |
| <li> |
| <p><a href="task-configtransservice.html">To Configure the Transaction Service</a></p> |
| </li> |
| <li> |
| <p><a href="task-configtransrecovery.html">To Configure How the GlassFish Server Recovers Transactions</a></p> |
| </li> |
| <li> |
| <p><a href="task-settranstimeout.html">To Set a Transaction Timeout Value</a></p> |
| </li> |
| <li> |
| <p><a href="task-setkeyptinterval.html">To Set the Keypoint Interval</a></p> |
| </li> |
| </ul> |
| |
| |
| <small>Copyright © 2005, 2017, Oracle and/or its affiliates. All rights reserved. <a href="docinfo.html">Legal Notices</a></small> |