Jump To Close Expand all Collapse all Table of contents Administration And Configuration Guide What this Book Covers 1. Introduction Expand section "1. Introduction" Collapse section "1. Introduction" 1.1. JBoss Enterprise Application Platform Use Cases I. JBoss Enterprise Application Platform Infrastructure Expand section "I. JBoss Enterprise Application Platform Infrastructure" Collapse section "I. JBoss Enterprise Application Platform Infrastructure" 2. JBoss Enterprise Application Platform 5 architecture Expand section "2. JBoss Enterprise Application Platform 5 architecture" Collapse section "2. JBoss Enterprise Application Platform 5 architecture" 2.1. The JBoss Enterprise Application Platform Bootstrap 2.2. Hot Deployment II. JBoss Enterprise Application Platform 5 Configuration Expand section "II. JBoss Enterprise Application Platform 5 Configuration" Collapse section "II. JBoss Enterprise Application Platform 5 Configuration" 3. Logging Expand section "3. Logging" Collapse section "3. Logging" 3.1. Logging Defaults 3.2. Component-Specific Logging Expand section "3.2. Component-Specific Logging" Collapse section "3.2. Component-Specific Logging" 3.2.1. SQL Logging with Hibernate 3.2.2. Transaction Service Logging 4. Deployment Expand section "4. Deployment" Collapse section "4. Deployment" 4.1. Deployable Application Types 4.2. Standard Server Profiles 5. Microcontainer 6. The JNDI Naming Service Expand section "6. The JNDI Naming Service" Collapse section "6. The JNDI Naming Service" 6.1. An Overview of JNDI Expand section "6.1. An Overview of JNDI" Collapse section "6.1. An Overview of JNDI" 6.1.1. Names 6.1.2. Contexts 6.2. The JBoss Naming Service Architecture 6.3. The Naming InitialContext Factories Expand section "6.3. The Naming InitialContext Factories" Collapse section "6.3. The Naming InitialContext Factories" 6.3.1. The standard naming context factory 6.3.2. The org.jboss.naming.NamingContextFactory 6.3.3. Naming Discovery in Clustered Environments 6.3.4. The HTTP InitialContext Factory Implementation 6.3.5. The Login InitialContext Factory Implementation 6.3.6. The ORBInitialContextFactory 6.4. JNDI over HTTP Expand section "6.4. JNDI over HTTP" Collapse section "6.4. JNDI over HTTP" 6.4.1. Accessing JNDI over HTTP 6.4.2. Accessing JNDI over HTTPS 6.4.3. Securing Access to JNDI over HTTP 6.4.4. Securing Access to JNDI with a Read-Only Unsecured Context 6.5. Additional Naming MBeans Expand section "6.5. Additional Naming MBeans" Collapse section "6.5. Additional Naming MBeans" 6.5.1. JNDI Binding Manager 6.5.2. The org.jboss.naming.NamingAlias MBean 6.5.3. org.jboss.naming.ExternalContext MBean 6.5.4. The org.jboss.naming.JNDIView MBean 6.6. J2EE and JNDI - The Application Component Environment Expand section "6.6. J2EE and JNDI - The Application Component Environment" Collapse section "6.6. J2EE and JNDI - The Application Component Environment" 6.6.1. ENC Usage Conventions 7. Web Services Expand section "7. Web Services" Collapse section "7. Web Services" 7.1. The need for web services 7.2. What web services are not 7.3. Document/Literal 7.4. Document/Literal (Bare) 7.5. Document/Literal (Wrapped) 7.6. RPC/Literal 7.7. RPC/Encoded 7.8. Web Service Endpoints 7.9. Plain old Java Object (POJO) 7.10. The endpoint as a web application 7.11. Packaging the endpoint 7.12. Accessing the generated WSDL 7.13. EJB3 Stateless Session Bean (SLSB) 7.14. Endpoint Provider 7.15. WebServiceContext 7.16. Web Service Clients Expand section "7.16. Web Service Clients" Collapse section "7.16. Web Service Clients" 7.16.1. Service 7.16.2. Dynamic Proxy 7.16.3. WebServiceRef 7.16.4. Dispatch 7.16.5. Asynchronous Invocations 7.16.6. Oneway Invocations 7.17. Common API Expand section "7.17. Common API" Collapse section "7.17. Common API" 7.17.1. Handler Framework 7.17.2. Message Context 7.17.3. Fault Handling 7.18. DataBinding Expand section "7.18. DataBinding" Collapse section "7.18. DataBinding" 7.18.1. Using JAXB with non annotated classes 7.19. Attachments Expand section "7.19. Attachments" Collapse section "7.19. Attachments" 7.19.1. MTOM/XOP 7.19.2. SwaRef 7.20. Tools Expand section "7.20. Tools" Collapse section "7.20. Tools" 7.20.1. Bottom-Up (Using wsprovide) 7.20.2. Top-Down (Using wsconsume) 7.20.3. Client Side 7.20.4. Command-line & Ant Task Reference 7.20.5. JAX-WS binding customization 7.21. Web Service Extensions Expand section "7.21. Web Service Extensions" Collapse section "7.21. Web Service Extensions" 7.21.1. WS-Addressing 7.21.2. WS-Security 7.21.3. XML Registries 7.22. JBossWS Extensions Expand section "7.22. JBossWS Extensions" Collapse section "7.22. JBossWS Extensions" 7.22.1. Proprietary Annotations 7.23. Web Services Appendix 7.24. References 8. JBoss AOP Expand section "8. JBoss AOP" Collapse section "8. JBoss AOP" 8.1. Some key terms 8.2. Creating Aspects in JBoss AOP 8.3. Applying Aspects in JBoss AOP 8.4. Packaging AOP Applications 8.5. The JBoss AspectManager Service 8.6. Loadtime transformation in the JBoss Enterprise Application Platform Using Sun JDK 8.7. JRockit 8.8. Improving Loadtime Performance in the JBoss Enterprise Application Platform Environment 8.9. Scoping the AOP to the classloader Expand section "8.9. Scoping the AOP to the classloader" Collapse section "8.9. Scoping the AOP to the classloader" 8.9.1. Deploying as part of a scoped classloader 8.9.2. Attaching to a scoped deployment 9. Transaction Management Expand section "9. Transaction Management" Collapse section "9. Transaction Management" 9.1. Overview 9.2. Configuration Essentials 9.3. Transactional Resources 9.4. Last Resource Commit Optimization (LRCO) 9.5. Transaction Timeout Handling 9.6. Recovery Configuration 9.7. Transaction Service FAQ 9.8. Using the JTS Module 9.9. Using the XTS Module 9.10. Transaction Management Console 9.11. Experimental Components 9.12. Source Code and Upgrading 10. Remoting Expand section "10. Remoting" Collapse section "10. Remoting" 10.1. Background 10.2. JBoss Remoting Configuration Expand section "10.2. JBoss Remoting Configuration" Collapse section "10.2. JBoss Remoting Configuration" 10.2.1. MBeans 10.2.2. POJOs 10.3. Multihomed servers 10.4. Address translation 10.5. Where are they now? 10.6. Further information. 11. JBoss Messaging 12. Use Alternative Databases with JBoss Enterprise Application Platform Expand section "12. Use Alternative Databases with JBoss Enterprise Application Platform" Collapse section "12. Use Alternative Databases with JBoss Enterprise Application Platform" 12.1. How to Use Alternative Databases 12.2. Install JDBC Drivers Expand section "12.2. Install JDBC Drivers" Collapse section "12.2. Install JDBC Drivers" 12.2.1. Special Notes on Sybase 12.2.2. Configuring JDBC DataSources 12.3. Common Database-Related Tasks Expand section "12.3. Common Database-Related Tasks" Collapse section "12.3. Common Database-Related Tasks" 12.3.1. Security and Pooling 12.3.2. Change Database for the JMS Services 12.3.3. Support Foreign Keys in CMP Services 12.3.4. Specify Database Dialect for Java Persistence API 12.3.5. Change Other JBoss Enterprise Application Platform Services to use the External Database 12.3.6. A Special Note About Oracle Databases 13. Datasource Configuration Expand section "13. Datasource Configuration" Collapse section "13. Datasource Configuration" 13.1. Types of Datasources 13.2. Datasource Parameters 13.3. Datasource Examples Expand section "13.3. Datasource Examples" Collapse section "13.3. Datasource Examples" 13.3.1. Generic Datasource Example 13.3.2. Configuring a DataSource for Remote Usage 13.3.3. Configuring a Datasource to Use Login Modules 14. Pooling Expand section "14. Pooling" Collapse section "14. Pooling" 14.1. Strategy 14.2. Transaction stickness 14.3. Workaround for Oracle 14.4. Pool Access 14.5. Pool Filling 14.6. Idle Connections 14.7. Dead connections Expand section "14.7. Dead connections" Collapse section "14.7. Dead connections" 14.7.1. Valid connection checking 14.7.2. Errors during SQL queries 14.7.3. Changing/Closing/Flushing the pool 14.7.4. Other pooling 15. Frequently Asked Questions Expand section "15. Frequently Asked Questions" Collapse section "15. Frequently Asked Questions" 15.1. I have problems with Oracle XA? III. Clustering Guide Expand section "III. Clustering Guide" Collapse section "III. Clustering Guide" 16. Introduction and Quick Start Expand section "16. Introduction and Quick Start" Collapse section "16. Introduction and Quick Start" 16.1. Quick Start Guide Expand section "16.1. Quick Start Guide" Collapse section "16.1. Quick Start Guide" 16.1.1. Initial Preparation 16.1.2. Launching a JBoss Enterprise Application Platform Cluster 16.1.3. Web Application Clustering Quick Start 16.1.4. EJB Session Bean Clustering Quick Start 16.1.5. Entity Clustering Quick Start 17. Clustering Concepts Expand section "17. Clustering Concepts" Collapse section "17. Clustering Concepts" 17.1. Cluster Definition 17.2. Service Architectures Expand section "17.2. Service Architectures" Collapse section "17.2. Service Architectures" 17.2.1. Client-side interceptor architecture 17.2.2. External Load Balancer Architecture 17.3. Load Balancing Policies Expand section "17.3. Load Balancing Policies" Collapse section "17.3. Load Balancing Policies" 17.3.1. Client-side interceptor architecture 17.3.2. External load balancer architecture 18. Clustering Building Blocks Expand section "18. Clustering Building Blocks" Collapse section "18. Clustering Building Blocks" 18.1. Group Communication with JGroups Expand section "18.1. Group Communication with JGroups" Collapse section "18.1. Group Communication with JGroups" 18.1.1. The Channel Factory Service 18.1.2. The JGroups Shared Transport 18.2. Distributed Caching with JBoss Cache Expand section "18.2. Distributed Caching with JBoss Cache" Collapse section "18.2. Distributed Caching with JBoss Cache" 18.2.1. The JBoss Enterprise Application Platform CacheManager Service 18.3. The HAPartition Service Expand section "18.3. The HAPartition Service" Collapse section "18.3. The HAPartition Service" 18.3.1. DistributedReplicantManager Service 18.3.2. DistributedState Service 18.3.3. Custom Use of HAPartition 19. Clustered JNDI Services Expand section "19. Clustered JNDI Services" Collapse section "19. Clustered JNDI Services" 19.1. How it works 19.2. Client configuration Expand section "19.2. Client configuration" Collapse section "19.2. Client configuration" 19.2.1. For clients running inside the Enterprise Application Platform 19.2.2. For clients running outside the Enterprise Application Platform 19.3. JBoss configuration Expand section "19.3. JBoss configuration" Collapse section "19.3. JBoss configuration" 19.3.1. Adding a Second HA-JNDI Service 20. Clustered Session EJBs Expand section "20. Clustered Session EJBs" Collapse section "20. Clustered Session EJBs" 20.1. Stateless Session Bean in EJB 3.0 20.2. Stateful Session Beans in EJB 3.0 Expand section "20.2. Stateful Session Beans in EJB 3.0" Collapse section "20.2. Stateful Session Beans in EJB 3.0" 20.2.1. The EJB application configuration 20.2.2. Optimize state replication 20.2.3. CacheManager service configuration 20.3. Stateless Session Bean in EJB 2.x 20.4. Stateful Session Bean in EJB 2.x Expand section "20.4. Stateful Session Bean in EJB 2.x" Collapse section "20.4. Stateful Session Bean in EJB 2.x" 20.4.1. The EJB application configuration 20.4.2. Optimize state replication 20.4.3. The HASessionStateService configuration 20.4.4. Handling Cluster Restart 20.4.5. JNDI Lookup Process 20.4.6. SingleRetryInterceptor 21. Clustered Entity EJBs Expand section "21. Clustered Entity EJBs" Collapse section "21. Clustered Entity EJBs" 21.1. Entity Bean in EJB 3.0 Expand section "21.1. Entity Bean in EJB 3.0" Collapse section "21.1. Entity Bean in EJB 3.0" 21.1.1. Configure the distributed cache 21.1.2. Configure the entity beans for cache 21.1.3. Query result caching 21.2. Entity Bean in EJB 2.x 22. HTTP Services Expand section "22. HTTP Services" Collapse section "22. HTTP Services" 22.1. Configuring load balancing using Apache and mod_jk Expand section "22.1. Configuring load balancing using Apache and mod_jk" Collapse section "22.1. Configuring load balancing using Apache and mod_jk" 22.1.1. Download the software 22.1.2. Configure Apache to load mod_jk 22.1.3. Configure worker nodes in mod_jk 22.1.4. Configuring JBoss to work with mod_jk 22.1.5. Configuring the NSAPI connector on Solaris 22.2. Configuring HTTP session state replication Expand section "22.2. Configuring HTTP session state replication" Collapse section "22.2. Configuring HTTP session state replication" 22.2.1. Enabling session replication in your application 22.2.2. HttpSession Passivation and Activation 22.2.3. Configuring the JBoss Cache instance used for session state replication 22.3. Using FIELD-level replication 22.4. Using Clustered Single Sign-on (SSO) Expand section "22.4. Using Clustered Single Sign-on (SSO)" Collapse section "22.4. Using Clustered Single Sign-on (SSO)" 22.4.1. Configuration 22.4.2. SSO Behavior 22.4.3. Limitations 22.4.4. Configuring the Cookie Domain 23. JBoss Messaging Clustering Notes 24. Clustered Deployment Options Expand section "24. Clustered Deployment Options" Collapse section "24. Clustered Deployment Options" 24.1. Clustered Singleton Services Expand section "24.1. Clustered Singleton Services" Collapse section "24.1. Clustered Singleton Services" 24.1.1. HASingleton Deployment Options 24.1.2. Determining the master node 24.2. Farming Deployment 25. JGroups Services Expand section "25. JGroups Services" Collapse section "25. JGroups Services" 25.1. Configuring a JGroups Channel's Protocol Stack Expand section "25.1. Configuring a JGroups Channel's Protocol Stack" Collapse section "25.1. Configuring a JGroups Channel's Protocol Stack" 25.1.1. Common Configuration Properties 25.1.2. Transport Protocols 25.1.3. Discovery Protocols 25.1.4. Failure Detection Protocols 25.1.5. Reliable Delivery Protocols 25.1.6. Group Membership (GMS) 25.1.7. Flow Control (FC) 25.2. Fragmentation (FRAG2) 25.3. State Transfer 25.4. Distributed Garbage Collection (STABLE) 25.5. Merging (MERGE2) 25.6. Other Configuration Issues Expand section "25.6. Other Configuration Issues" Collapse section "25.6. Other Configuration Issues" 25.6.1. Binding JGroups Channels to a Particular Interface 25.6.2. Isolating JGroups Channels 25.6.3. JGroups Troubleshooting 26. JBoss Cache Configuration and Deployment Expand section "26. JBoss Cache Configuration and Deployment" Collapse section "26. JBoss Cache Configuration and Deployment" 26.1. Key JBoss Cache Configuration Options Expand section "26.1. Key JBoss Cache Configuration Options" Collapse section "26.1. Key JBoss Cache Configuration Options" 26.1.1. Editing the CacheManager Configuration 26.1.2. Cache Mode 26.1.3. Transaction Handling 26.1.4. Concurrent Access 26.1.5. JGroups Integration 26.1.6. Eviction 26.1.7. Cache Loaders 26.1.8. Buddy Replication 26.2. Deploying Your Own JBoss Cache Instance Expand section "26.2. Deploying Your Own JBoss Cache Instance" Collapse section "26.2. Deploying Your Own JBoss Cache Instance" 26.2.1. Deployment Via the CacheManager Service 26.2.2. Deployment Via a -service.xml File 26.2.3. Deployment Via a -jboss-beans.xml File IV. Appendices Expand section "IV. Appendices" Collapse section "IV. Appendices" A. Vendor-Specific Datasource Definitions Expand section "A. Vendor-Specific Datasource Definitions" Collapse section "A. Vendor-Specific Datasource Definitions" A.1. Deployer Location and Naming A.2. DB2 A.3. Oracle Expand section "A.3. Oracle" Collapse section "A.3. Oracle" A.3.1. Changes in Oracle 10g JDBC Driver A.3.2. Type Mapping for Oracle 10g A.3.3. Retrieving the Underlying Oracle Connection Object A.4. Sybase A.5. Microsoft SQL Server Expand section "A.5. Microsoft SQL Server" Collapse section "A.5. Microsoft SQL Server" A.5.1. Microsoft JDBC Drivers A.5.2. JSQL Drivers A.5.3. jTDS JDBC Driver A.5.4. "Invalid object name 'JMS_SUBSCRIPTIONS' Exception A.6. MySQL Datasource Expand section "A.6. MySQL Datasource" Collapse section "A.6. MySQL Datasource" A.6.1. Installing the Driver A.6.2. MySQL Local-TX Datasource A.6.3. MySQL Using a Named Pipe A.7. PostgreSQL A.8. Ingres B. Logging Information and Recipes Expand section "B. Logging Information and Recipes" Collapse section "B. Logging Information and Recipes" B.1. Log Level Descriptions B.2. Separate Log Files Per Application B.3. Redirecting Category Output Legal Notice Settings Close Language: English Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Language and Page Formatting Options Language: English Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Red Hat Training A Red Hat training course is available for JBoss Enterprise Application Platform Common Criteria Certification 7.20.4. Command-line & Ant Task Reference wsconsume reference page wsprovide reference page wsrunclient reference page Previous Next