jboss-as 目錄結(jié)構(gòu)(Directory Structure)

          Directory

          Description

          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.

          包含了服務(wù)器啟動(dòng),關(guān)閉和系統(tǒng)相關(guān)的腳本。基本上所有jar文件的進(jìn)入點(diǎn)和啟動(dòng)腳本都在這個(gè)目錄里面。

          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客戶端應(yīng)用或外部web容器(在JBoss之外運(yùn)行),所需的配置文件和Jar文件。

          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).

          包含一些jbossXML DTD文件,還有一些案例和文檔。

          lib

          Contains startup JARs used by JBoss. Do not place your own JAR files in this directory.

          包換JBoss所需的jar文件。不要把你自己的jar文件放在這個(gè)目錄。

          server

          Contains the JBoss server configuration sets. Each of the subdirectories in here is a different server configuration. JBoss ships with minimaldefaultproduction, and all configuration sets. The subdirectories and key configuration files contained in thedefault configuration set are discussed in more detail in subsequent sections.

          包含JBoss服務(wù)器實(shí)例的配置集合。這里的每個(gè)子目錄就是一個(gè)不同的服務(wù)器實(shí)例配置。

          JBOSS_DIST/jboss-as/server/<instance-name>下面的目錄結(jié)構(gòu)

          Directory

          Description

          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目錄中包含了這個(gè)服務(wù)器的啟動(dòng)描述文件jboss-service.xml。這個(gè)文件定義了服務(wù)器運(yùn)行時(shí)間內(nèi)提供那些固定的核心服務(wù)。

          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.

          服務(wù)中需要存儲(chǔ)內(nèi)容到文件系統(tǒng)的都會(huì)保存到data目錄。JBoss內(nèi)嵌的Hypersonic database的數(shù)據(jù)也是保存到這里的。

          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中包含可熱部署的服務(wù)(可以在服務(wù)器運(yùn)行時(shí)動(dòng)態(tài)添加和刪除)。當(dāng)然這里還包含有這個(gè)服務(wù)器實(shí)例下的應(yīng)用程序。你可以發(fā)布你的應(yīng)用程序代碼的壓縮包(JARWAREAR文件)到這里。這里目錄會(huì)被搜索更新,所有修改的組件都會(huì)被自動(dòng)重新部署。

          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.

          這個(gè)目錄中包含這個(gè)服務(wù)器配置需要的JAR文件(這些java庫不需要被熱部署)。你可以添加需要的庫文件到這里,如JDBC驅(qū)動(dòng)等。所有的jar文件將在服務(wù)器啟動(dòng)的時(shí)候被加載到共享的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.

          日志文件會(huì)被寫到這里。如果你要修改日志輸出目錄,可以通過配置conf/log4j.xml實(shí)現(xiàn)。

          tmp

          The tmp directory is used for temporary storage by JBoss services. The deployer, for example, expands application archives in this directory.

          tmp目錄被用來提供JBoss服務(wù)的臨時(shí)存儲(chǔ)。

          work

          This directory is used by Tomcat for compilation of JSPs.

          提供給tomcat編譯jsp文件用。

          Config目錄里面的內(nèi)容

          File

          Description

          jboss-minimal.xml

          This is a minimalist example of the jboss-service.xml configuration file. (This is the jboss-service.xml file used in theminimal configuration file set)

          jboss-service.xml最小配置的例子。

          jboss-service.xml

          jboss-service.xml defines the core services and their configurations.

          定義核心服務(wù)及其配置。

          jndi.properties

          The jndi.properties file specifies the JNDI InitialContext properties that are used within the JBoss server when anInitialContext is created using the no-arg constructor.

          jndi.properties定義了InitialContext屬性,當(dāng)一個(gè)InitialContext被無參數(shù)構(gòu)造函數(shù)創(chuàng)建時(shí)會(huì)被使用到。

          jboss-log4j.xml

          This file configures the Apache log4j framework category priorities and appenders used by the JBoss server code.

          包含了jboss使用的log4j日志配置。

          login-config.xml

          This file contains sample server side authentication configurations that are applicable when using JAAS based security.

          這個(gè)文件包含了服務(wù)器端驗(yàn)證的配置的樣例,當(dāng)使用基于JAAS驗(yàn)證時(shí)會(huì)被用到。

          props/*

          The props directory contains the users and roles property files for the jmx-console.

          這個(gè)目錄包含了jmx-console所需的用戶和角色配置文件。

          standardjaws.xml

          This file provides the default configuration for the legacy EJB 1.1 CMP engine.

          這個(gè)文件是EJB 1.1 CMP 引擎的默認(rèn)配置(EJB1.1遺留)

          standardjboss.xml

          This file provides the default container configurations.

          提供了JBoss默認(rèn)容器配置。

          standardjbosscmp-jdbc.xml

          This file provides a default configuration file for the JBoss CMP engine.

          這個(gè)文件提供了JBoss CMP 引擎的默認(rèn)配置文件。

          xmdesc/*-mbean.xml

          The xmdesc directory contains XMBean descriptors for several services configured in the jboss-service.xml file.

          包含了jboss-service.xml 中定義的服務(wù)的XMBean描述文件。

          deploy目錄下的結(jié)構(gòu)

          <td style="padding-right: 6pt; padding-left: 6pt; padding-bottom: 1.8pt; padding-top: 1.8pt; background-color: transpar

          File

          Description

          bsh-deployer.xml

          This file configures the bean shell deployer, which deploys bean shell scripts as JBoss services.

          這個(gè)文件用來配置bean shell部署器(把bean shell腳本發(fā)布為JBoss服務(wù))

          cache-invalidation-service.xml

          This is a service that allows for custom invalidation of the EJB caches via JMS notifications. It is disabled by default.

          這個(gè)服務(wù)允許自定義的提除EJB cacheJBossCahche invalidation機(jī)制。

          client-deployer-service.xml

          This is a service that provides support for J2EE application clients. It manages the java:comp/env enterprise naming context for client applications based on the application-client.xml descriptor.

          提供給J2EE應(yīng)用程序客戶端的一個(gè)服務(wù)。它基于application-client.xml配置文件,管理java:comp/env企業(yè)級(jí)名字上下文給客戶端程序使用。

          ear-deployer.xml

          The EAR deployer is the service responsible for deploying J2EE EAR files.

          部署J2EE EAR應(yīng)用的配置。

          ejb-deployer.xml

          The EJB deployer is the service responsible for deploying J2EE EJB JAR files.

          部署J2EE EJB應(yīng)用的配置。

          hsqldb-ds.xml

          hsqldb-ds.xml configures the Hypersonic embedded database service configuration file. It sets up the embedded database and related connection factories.

          Hypersonic embedded database服務(wù)的配置文件

          http-invoker.sar

          http-invoker.sar contains the detached invoker that supports RMI over HTTP. It also contains the proxy bindings for accessing JNDI over HTTP.

          http-invoker.sar包含了支持RMI over HTTP的調(diào)用者。它也包含通過HTTP存取JNDI的綁定。

          jboss-aop-jdk50.deployer

          This service configures the AspectManagerService and deploys JBoss AOP applications.

          這個(gè)服務(wù)配置了AspectManagerService和部署JBoss AOP應(yīng)用程序的功能。

          jboss-bean.deployer

          jboss-bean.deployer provides the JBoss microcontainer, which deploys POJO services wrapped in .beans files.

          jboss-bean.deployer提供了JBoss微容器功能,通過它部署在.beans文件中包裝了的POJO服務(wù)。

          jboss-ha-local-jdbc.rar

          jboss-ha-local-jdbc.rar is an experimental version of jboss-local-jdbc.rar that supports datasource failover.

          jboss-ha-local-jdbc.rarjboss-local-jdbc.rar一個(gè)實(shí)驗(yàn)性的版本,用來支持?jǐn)?shù)據(jù)源失效。

          jboss-ha-xa-jdbc.rar

          jboss-ha-xa-jdbc.rar is an experimental version of jboss-xa-jdbc.rar that supports datasource failover.

          jboss-ha-xa-jdbc.rarboss-xa-jdbc.rar一個(gè)實(shí)驗(yàn)性的版本,用來支持?jǐn)?shù)據(jù)源失效。

          jboss-local-jdbc.rar

          jboss-local-jdbc.rar is a JCA resource adaptor that implements the JCA ManagedConnectionFactory interface for JDBC drivers that support the DataSource interface but not JCA.

          這是一個(gè)JCA的資源適配器,它實(shí)現(xiàn)的JCA ManagedConnectionFactory接口支持JDBC驅(qū)動(dòng)提供DataSource接口,但不是JCA本身。

          jboss-xa-jdbc.rar

          jboss-xa-jdbc.rar is a JCA resource adaptor that implements the JCA ManagedConnectionFactory interface for JDBC drivers that support the XADataSource interface.

          這是一個(gè)JCA的資源適配器,它實(shí)現(xiàn)的JCA ManagedConnectionFactory接口支持JDBC驅(qū)動(dòng)提供XADataSource接口

          jbossjca-service.xml

          jbossjca-service.xml is the application server implementation of the JCA specification. It provides the connection management facilities for integrating resource adaptors into the JBoss server.

          jbossjca-service.xml是應(yīng)用服務(wù)器對(duì)JCA規(guī)范的實(shí)現(xiàn)。它提供了用于集成資源適配器到JBoss服務(wù)器的連接管理工具。

          jboss-web.deployer

          The jboss-web.deployer directory provides the Tomcat servlet engine.

           jboss-web.deployer提供了tomcat servlet引擎。

          jbossws.sar

          jbossws.sar provides J2EE web services support.

          提供了J2EE web服務(wù)支持。

          jboss-messaging.sar/hsqldb-persistence-service.xml

          hsqldb-persistencee-service.xml provides JMS state management using Hypersonic.

          使用Hypersonic實(shí)現(xiàn)的JMS狀態(tài)管理。

          jboss-messaging.sar/destinations-service.xml

          destinations-service.xml configures a number of JMS queues and topics used by the JMS unit tests.

          配置一些給JMS單元測試用的JMS隊(duì)列和主題。

          jboss-messaging.sar/messaging-service.xml

          The messaging-service.xml file configures the core JBoss Messaging JMS service.

          配置核心JBoss消息系統(tǒng)的JMS服務(wù)。

          jms-ra.rar

          jms-ra.rar is a JCA resource adaptor that implements the JCA ManagedConnectionFactory interface for JMS connection factories.

          jms-ra.rar是一個(gè)JCA資源適配器,它為JMS連接工廠實(shí)現(xiàn)了JCA ManagedConnectionFactory接口。

          jmx-console.war

          The jmx-console.war directory provides the JMX Console. The JMX Console provides a simple web interface for managing the MBean server.

          jmx-console.war提供了JMX控制臺(tái)。它提供了一個(gè)管理MBean服務(wù)器的簡單web界面。

          jmx-invoker-service.sar

          jmx-invoker-service.sar is an unpacked MBean service archive that exposes a subset of the JMX MBeanServerinterface methods as an RMI interface to enable remote access to the JMX core functionality. This is similar to the legacy jmx-rmi-adaptor.sar, with the difference that the transport is handled by the detached invoker architecture.

          RMI接口的方式暴露MBeanServer接口的一個(gè)子集,允許遠(yuǎn)程存取。

          jsr-88-service.xml

          jsr-88-service.xml provides the JSR 88 remote deployment service.

          提供JSR88遠(yuǎn)程部署服務(wù)。

          mail-ra.rar

          mail-ra.rar is a resource adaptor that provides a JavaMail connector.

          一個(gè)提供JavaMail連接的資源適配器。

          mail-service.xml

          The mail-service.xml file is an MBean service descriptor that provides JavaMail sessions for use inside the JBoss server.

          MBean服務(wù)描述,提供JavaMail會(huì)話供JBoss服務(wù)器內(nèi)部使用。

          management/console-mgr.sar

          console-mgr.sar provides the Web Console. It is a web application/applet that provides a richer view of the JMX server management data than the JMX console. You may view the console using the URLhttp://localhost:8080/web-console/.

          提供一個(gè)web控制臺(tái)。相比JMX控制臺(tái),提供了一個(gè)富客戶端。

          posted on 2011-01-10 09:37 himalayas 閱讀(232) 評(píng)論(0)  編輯  收藏 所屬分類: server


          只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
           
          <2011年1月>
          2627282930311
          2345678
          9101112131415
          16171819202122
          23242526272829
          303112345

          導(dǎo)航

          統(tǒng)計(jì)

          常用鏈接

          留言簿

          隨筆分類(15)

          隨筆檔案(16)

          最新隨筆

          搜索

          積分與排名

          最新評(píng)論

          閱讀排行榜

          評(píng)論排行榜

          主站蜘蛛池模板: 辰溪县| 泸西县| 龙门县| 同江市| 察隅县| 满城县| 双城市| 连州市| 扎赉特旗| 黄浦区| 盐池县| 诏安县| 松潘县| 平遥县| 抚州市| 栾川县| 稻城县| 梧州市| 新化县| 嘉兴市| 绥滨县| 中阳县| 岐山县| 乐清市| 泊头市| 榆树市| 万安县| 渭源县| 沅江市| 通州市| 乐亭县| 泰宁县| 和静县| 东平县| 莎车县| 中牟县| 南木林县| 德惠市| 阳高县| 连江县| 通城县|