JBOSS目录结构详细说明

如何下载以及安装配置,请参考:Windows下JBOSS安装配置图文教程

现在主要了解一下JBOSS目录结构。

E:\jboos\jboss-6.1.0.Final

bin

Contains startup, shutdown and other system-specific scripts. Basically all the entry point JARs and start scripts included with the JBoss distribution are located in the bin directory.
包含了服务器启动,关闭和系统相关的脚本。基本上所有jar文件的进入点和启动脚本都在这个目录里面。

client

Stores configuration files and JAR files that may be used by a Java client application (running outside JBoss) or an external web container. You can select archives as required or use jbossall-client.jar.
保存Java客户端应用或外部web容器(在JBoss之外运行),所需的配置文件和Jar文件。

common

该子目录lib的jar包,整个jboss共享。

docs

Contains the XML DTDs used in JBoss for reference (these are also a useful source of documentation on JBoss configuration specifics). There are also example JCA (Java Connector Architecture) configuration files for setting up datasources for different databases (such as MySQL, Oracle, Postgres).
包含一些jboss的XML DTD文件,还有一些案例和文档。

lib

Contains startup JARs used by JBoss. Do not place your own JAR files in this directory.
包换JBoss所需的jar文件。不要把你自己的jar文件放在这个目录。

server

Contains the JBoss server configuration sets. Each of the subdirectories in here is a different server configuration. JBoss ships with minimal, default, production, and all configuration sets. The subdirectories and key configuration files contained in the default configuration set are discussed in more detail in subsequent sections.
包含JBoss服务器实例的配置集合。这里的每个子目录就是一个不同的服务器实例配置。

server目录下的文件夹:

--conf

The conf directory contains the jboss-service.xml bootstrap descriptor file for a given server configuration. This defines the core services that are fixed for the lifetime of the server.
conf目录中包含了这个服务器的启动描述文件jboss-service.xml。这个文件定义了服务器运行时间内提供那些固定的核心服务。

--data

The data directory is available for use by services that want to store content in the file system. It holds persistent data for services intended to survive a server restart. Serveral JBoss services, such as the embedded Hypersonic database instance, store data here.
服务中需要存储内容到文件系统的都会保存到data目录。JBoss内嵌的Hypersonic database的数据也是保存到这里的。

--deploy

The deploy directory contains the hot-deployable services (those which can be added to or removed from the running server). It also contains applications for the current server configuration. You deploy your application code by placing application packages (JAR, WAR and EAR files) in the deploy directory. The directory is constantly scanned for updates, and any modified components will be re-deployed automatically. This may be overridden through the URLDeploymentScanner URLs attribute.
deploy中包含可热部署的服务(可以在服务器运行时动态添加和删除)。当然这里还包含有这个服务器实例下的应用程序。你可以发布你的应用程序代码的压缩包(JAR,WAR和EAR文件)到这里。这里目录会被搜索更新,所有修改的组件都会被自动重新部署。

--lib

This directory contains JAR files (Java libraries that should not be hot deployed) needed by this server configuration. You can add required library files here for JDBC drivers etc. All JARs in this directory are loaded into the shared classpath at startup.
这个目录中包含这个服务器配置需要的JAR文件(这些java库不需要被热部署)。你可以添加需要的库文件到这里,如JDBC驱动等。所有的jar文件将在服务器启动的时候被加载到共享的classpath中。

--log

This is where the log files are written. JBoss uses the Jakarta log4j package for logging and you can also use it directly in your own applications from within the server. This may be overridden through the conf/log4j.xml configuration file.
日志文件会被写到这里。如果你要修改日志输出目录,可以通过配置conf/log4j.xml实现。

--tmp

The tmp directory is used for temporary storage by JBoss services. The deployer, for example, expands application archives in this directory.
tmp目录被用来提供JBoss服务的临时存储。

--work

This directory is used by Tomcat for compilation of JSPs.
提供给tomcat编译jsp文件用。

参考:http://www.cnblogs.com/phoebus0501/archive/2010/12/15/1907399.html

时间: 2024-08-08 12:01:45

JBOSS目录结构详细说明的相关文章

【JBOSS】 JBOSS目录结构

JBOSS在默认情况下可以用3种方式启动minimal,default和all.三种模式内部的模块数量依次递增 例如: 1-执行JBOSS_HOME/bin/run.bat批量处理文件启动JBoss ,在默认情况下以Default启动 2-在命令中运行 run -c all ,JBoss会以all模型启动 3-可以根据自己的需要自定义一个服务器,例如在JBOSS_HOME/server下建立一个test 目录 run -c test JBoss目录结构 JBOSS_HOME/bin:JBoss可

JBoss目录结构说明

http://www.blogjava.net/livery/articles/262544.html $JBOSS-HOME/bin:             放置各种脚本文件以及相关文件,包括jboss 启动和停止的可执行脚本文件.             $JBOSS-HOME/client:             存储配置信息和可能被Java客户端应用程序或外部Web容器用到的jar文件,通常包括EJB客户端运行时所需要的jar              $JBOSS-HOME/doc

(转)linux目录结构详细介绍

linux目录结构详细介绍 原文:http://blog.51cto.com/yangrong/1288072 目录 1.树状目录结构图 2./目录 3./etc/目录 4./usr/目录 5./var/目录 6./proc/目录 7./dev/目录 该文章主要来自于网络进行整理. 目录结构参考地址: http://www.hudong.com/wiki/linux%E7%9B%AE%E5%BD%95%E7%BB%93%E6%9E%84 http://linux.ccidnet.com/art/

centOS目录结构详细版

使用linux也有一年多时间了  最近也是一直在维护网站系统主机  下面是linux目录结构说明 本人使用的是centos系统,很久没有发表博文了 近期会整理自己所用所了解知识点,发表linux相关的文章,记录自己的linux点点滴滴. linux 目录结构 /: 根目录,一般根目录下只存放目录,不要存放文件,/etc./bin./dev./lib./sbin应该和根目录放置在一个分区中/bin:/usr/bin: 可执行二进制文件的目录,如常用的命令ls.tar.mv.cat等./boot:

JBoss 目录结构

安装JBoss 会创建下列目录结构: 目录 描述 bin 启动和关闭JBoss 的脚本 client 客户端与JBoss 通信所需的Java 库(JARs) docs 配置的样本文件(数据库配置等) docs/dtd 在JBoss 中使用的各种XML 文件的DTD . lib 一些JAR,JBoss 启动时加载,且被所有JBoss 配置共享.(不要把你的库放在这里) server 各种JBoss 配置.每个配置必须放在不同的子目录.子目录的名字表示配置的名字.JBoss 包含3 个默认的配置:m

linux目录结构详细介绍

目录1.树状目录结构图2./目录3./etc/目录4./usr/目录5./var/目录6./proc/目录7./dev/目录 该文章主要来自于网络进行整理.目录结构参考地址:http://www.hudong.com/wiki/linux%E7%9B%AE%E5%BD%95%E7%BB%93%E6%9E%84http://linux.ccidnet.com/art/3067/20070315/1037337_1.htmlhttp://os.51cto.com/art/200802/65783.h

MVVM 模式下iOS项目目录结构详细说明

?更多技术干货请戳:听云博客 我们在做项目的时候,会经常用到各种设计模式,最常见的要数 MVC (模型,视图,控制器)了.但是,今天我们要说的是另一种设计模式——MVVM. 所以 MVVM 到底是什么?下面,我们将结合代码,说明 MVVM 设计模式以及项目目录结构. 一.MVVM 模式介绍  MVVM 是 Model-View-View Model 的缩写,MVVM 听起来好像很复杂的样子,但它本质上就是MVC 的改进版.MVVM 就是将其中的View 的状态和行为抽象化,让我们将视图 UI 和

Tomcat的目录结构详细介绍(超全)

打开tomcat的解压之后的目录可以看到如下的目录结构:  1.bin: bin目录主要是用来存放tomcat的命令,主要有两大类,一类是以.sh结尾的(linux命令),另一类是以.bat结尾的(windows命令). 很多环境变量的设置都在此处,例如可以设置JDK路径.tomcat路径 startup 用来启动tomcat shutdown 用来关闭tomcat 修改catalina可以设置tomcat的内存 2.conf: conf目录主要是用来存放tomcat的一些配置文件. serve

第八天- linux目录结构详细介绍

1.树状结构目录图 [[email protected] yum.repos.d]# tree -L 1 / / #根 ├── bin #可执行二进制文件的目录,如常用的命令ls.tar.mv.cat等 ├── boot #放置linux系统启动时用到的一些文件./boot/vmlinuz为linux的内核文件,以及/boot/gurb.建议单独分区,分区大小100M即可 ├── cgroup ├── dev #存放linux系统下的设备文件,访问该目录下某个文件,相当于访问某个设备,常用的是挂