📄 ch02s02.html
字号:
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Directory structure</title><link rel="stylesheet" href="styles.css" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/styles.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets Vimages/callouts/"><link rel="home" href="index.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/index.html" title="JBoss 3.0 Documentation"><link rel="up" href="ch02.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch02.html" title="Chapter 2. Configuration"><link rel="previous" href="ch02.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch02.html" title="Chapter 2. Configuration"><link rel="next" href="ch02s03.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch02s03.html" title="Configuration files"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><table border="0" cellpadding="0" cellspacing="0" height="65"><tr height="65"><td rowspan="2"><img src="jboss.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/jboss.gif" border="0"></td><td rowspan="2" background="gbar.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/gbar.gif" width="100%" align="right" valign="top"><a href="index.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/index.html"><img src="doc.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/doc.gif" border="0"></a><a href="ch02.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch02.html"><img src="toc.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/toc.gif" border="0"></a><a href="ch02.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch02.html"><img src="prev.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/prev.gif" border="0"></a><a href="ch02s03.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch02s03.html"><img src="next.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/next.gif" border="0"></a></td></tr><tr></tr></table><div class="section"><a name="directory-structure"></a><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="directory-structure"></a>Directory structure</h2></div></div><p>
A standard JBoss installation includes the following directories
immediately below the top directory <jboss-home>, as
shown in <a href="ch02s02.html#directories.jpg" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch02s02.html#directories.jpg" title="Figure 2.1. Distribution directory layout">Figure 2.1</a>:
</p><div class="itemizedlist"><ul><li><p><a name="d0e534"></a><tt>bin</tt></p><p>
It contains all the executable files (both scripts and JARs)
included in the JBoss distribution to
</p><div class="itemizedlist"><ul><li><p><a name="d0e541"></a>
start the server with a Batch (MS-Windows) or Shell
(Unix) script.
</p></li><li><p><a name="d0e544"></a>
run the EJX deployment descriptor editor by
double-clicking on it (if your platform supports
this) or issuing the command
<b>java -jar ejx.jar</b>
</p></li><li><p><a name="d0e550"></a>run the EJB Verifier in Ant.</p></li><li><p><a name="d0e553"></a>monitor EJB caching.</p></li></ul></div></li><li><p><a name="d0e556"></a><a name="lib-and-libext-dir"></a>
<tt>lib</tt> and <tt>lib/ext</tt>
</p><p>
These two directories contain java libraries in JAR format
that JBoss uses. The <tt>lib</tt> directory
contains JARs that need to be in the system class path; the
JARs in <tt>lib/ext</tt> are made available to
the JBoss server MLet-based classloader.
</p><p>
If there is a need to add some java libraries to JBoss, like
JDBC driver JARs, for example, these should be dropped in
the <tt>lib/ext</tt> directory to be picked up
by JBoss automatically.
</p></li><li><p><a name="d0e578"></a><tt>db</tt></p><p>
Directory containing other directories with files related
to the Hypersonic and Instantdb databases (configuration,
indexing, tables, etc.) as well as queue files belonging to
JBossMQ, the JMS provider.
</p></li><li><p><a name="d0e584"></a><tt>deploy</tt></p><p>
This is the deployment directory. Just drop your JAR and EAR
files here and they will be deployed automatically.
</p></li><li><p><a name="d0e590"></a><tt>log</tt></p><p>
The JBoss log files are located in this directory. File
logging is turned on by default.
</p></li><li><p><a name="d0e596"></a><tt>conf</tt></p><p>
The JBoss configuration set(s) are located here. By default
there is only one configuration set, located in subdirectory
<tt>default</tt>. Adding more than one
configuration set is permitted. The bundled installation of
JBoss with a web container (either Tomcat or Jetty) creates
an additional configuration set (<tt>tomcat</tt>
or <tt>jetty</tt>). See
<a href="ch02s03.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch02s03.html" title="Configuration files">the section called “Configuration files”</a> for more details.
</p></li><li><p><a name="d0e613"></a><tt>client</tt></p><p>
This is the directory where libraries required for clients
are placed. A typical client requires
<tt>jboss-client.jar</tt>,
<tt>jbosssx-client.jar</tt>,
<tt>jaas.jar</tt>,
<tt>jnp-client.jar</tt>,
<tt>ejb.jar</tt> and
<tt>jta-spec1_0_1.jar</tt>. If your client is
not running JDK 1.3, it will require
<tt>jndi.jar</tt> as well. If you are going to
be using the JBossMQ JMS provider, you will also need
<tt>jbossmq-client.jar</tt>.
</p></li><li><p><a name="d0e643"></a><tt>docs</tt></p><p>
It contains the JBoss API documentation, Javadoc-style, and
other documentation in HTML format.
</p></li><li><p><a name="d0e649"></a><tt>external</tt></p><p>
It contains the libraries
<tt>jboss-util.jar</tt> and
<tt>metadata.jar</tt>.
</p></li><li><p><a name="d0e661"></a><tt>src</tt></p><p>
Under this directory you will find the full tree of Java
classes, in source form, that make up JBoss.
</p></li><li><p><a name="d0e667"></a><tt>tmp</tt></p><p>
This is a work directory used by the AutoDeployer to store
files temporarily.
</p></li></ul></div><div class="figure"><p><a name="directories.jpg"></a><b>Figure 2.1. Distribution directory layout</b></p><div class="mediaobject"><img src="directories.png" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/directories.png"></div></div></div><table border="0" cellpadding="0" cellspacing="0" height="65"><tr height="65"><td rowspan="2"><img src="gbar.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/gbar.gif" width="432" height="79"></td><td rowspan="2" background="gbar.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/gbar.gif" width="100%" align="right" valign="top"><a href="index.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/index.html"><img src="doc.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/doc.gif" border="0"></a><a href="ch02.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch02.html"><img src="toc.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/toc.gif" border="0"></a><a href="ch02.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch02.html"><img src="prev.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/prev.gif" border="0"></a><a href="ch02s03.html" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/ch02s03.html"><img src="next.gif" tppabs="http://www.huihoo.org/jboss/online_manual/3.0/next.gif" border="0"></a></td></tr><tr></tr></table></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -