JBoss Application Server

来自开放百科 - 灰狐
跳转到: 导航, 搜索
Wikipedia-35x35.png 您可以在Wikipedia上了解到此条目的英文信息 JBoss Application Server Thanks, Wikipedia.

JBoss Application Server is the #1 most widely used Java application server on the market.

目录

新闻

自http://planet.jboss.org/xml/mywiki?type=atom加载RSS失败或RSS源被墙

7

JBoss AS 7

核心功能:

  • Java EE 6
  • Fast Startup
  • Small Footprint
  • Modular Design
  • Unified Configuration and Management
  • Distributed Domain Management
  • OSGi

JBoss AS 7 有两种模式的操作:Standalone (单实例) 和 Domain (多实例)。

<JBOSS_HOME>/bin/standalone.sh      (Unix / Linux)
<JBOSS_HOME>\bin\standalone.bat     (Windows)
<JBOSS_HOME>/bin/domain.sh      (Unix / Linux)
<JBOSS_HOME>\bin\domain.bat     (Windows)
<JBOSS_HOME>/bin/jboss-cli.sh --connect --command=:shutdown
http://localhost:9990/

Module

添加module,如添加PostgreSQL Driver 创建 <JBoss7>/modules/org/postgresql/main/module.xml

<?xml version="1.0" encoding="UTF-8"?>
   <module xmlns="urn:jboss:module:1.0" name="org.postgresql">
       <resources>
           <resource-root path="postgresql-9.1-901.jdbc4.jar"/>
       </resources>
       <dependencies><module name="javax.api"/></dependencies>
   </module>

vim <JBoss7>/standalone/configuration/standalone.xml

<datasource jndi-name="java:jboss/datasources/PostgresDS" pool-name="PostgresDS">
   <connection-url>jdbc:postgresql://localhost:5432/jboss</connection-url>
   <driver-class>org.postgresql.Driver</driver-class>
   <driver>postgresql-jdbc4</driver>
   <security>
       <user-name>sa</user-name>
       <password>sa</password>
   </security>
 </datasource>
 <drivers>
   <driver name="postgresql-jdbc4" module="org.postgresql"/>
 </drivers>

6

5.1

Administration Console

http://localhost:8080/admin-console/ admin/admin // 登录非常慢 ?

JMX Console

http://localhost:8080/jmx-console/

JBoss Web Console

http://localhost:8080/web-console/

Tomcat status

http://localhost:8080/status?full=true

Cluster,HA

svn co http://anonsvn.jboss.org/repos/mod_cluster/trunk/ mod_cluster

链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱