欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
JBoss Application Server
来自开放百科 - 灰狐
(版本间的差异)
小 (→Links) |
小 (→Cluster,HA) |
||
第61行: | 第61行: | ||
==Cluster,HA== | ==Cluster,HA== | ||
− | *[http://docs.jboss.org/mod_cluster/1. | + | *[http://docs.jboss.org/mod_cluster/1.2.0/html/ mod_cluster Documentation] |
+ | |||
==链接== | ==链接== | ||
*http://jboss.org/jbossas | *http://jboss.org/jbossas |
2012年3月29日 (四) 05:45的版本
您可以在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
核心功能:
- 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
链接
分享您的观点