Index
A
AbstractWebContainer, 491
Subclassing, 500
Apache
and AJP connector, 523
and Tomcat, 523
ApplicationDeadlockException, 298, 299
August 4, 2003 9
51 am, 1
Authentication, 409
Steps in client authentication, 428
Authentication and authorization, 409
Authorization, 409
C
Catalina See Tomcat-4.x
Class Loading
and Deployers, 169
and WARs, 171
ClassCastExceptions, 52
Displaying information on a class, 71
IllegalAccessExceptions, 57
Java type system, 51
JBoss3.x architecture, 67
LinkageErrors, 60
Versioning, 72
Viewing the class loaders for a packge, 70
ClassLoaders
Architecture, 51
Classpath
Maintaining ordering of jars, 673
ClientLoginModule, 448
cluster, 304
CMP, 296, 304, 545
Affect of transactions on performance, 616
and Container Managed Relationships, 575
Auditing entity access, 569
Custom BMP finders, 599
Customizing using jbosscmp-jdbc.xml, 554
Database customization, 634
Declared SQL, 594
DVCs, 570
Dynamic JBossQL, 593
Entity bean column mapping, 565
Entity bean customization, 556
Entity bean read-only fields, 568
Example code location, 546
JBossCMP DTD, 556
JBossQL, 591
JBossQL LIMIT and OFFSET, 592
Loading optimization, 600
Optimistic locking, 619
Overriding the EJB-QL SQL, 590
Primary key generation, 626
Required DOCTYPE, 545
Version 2.0, 545
CMP Relationships
Foreign keys, 581
Mapping, 580
commit-option, 294
Configurations
default, 20
Container Managed Persistence, 545
See also CMP.
CVS
Accessing the JBoss code, 34
JBoss source tree, 37
D
Database
Configuring connection managers, 383
Databases
Sample configurations, 394
DatabaseServerLoginModule, 444
Deadlock
detection, 297
deadlock, 297
Deployment
Dependencies, 113, 147
Ordering, 147
Descriptors
jbosscmp-jdbc.xml, 554
Detached invokers
definition, 174
dirty reads, 295
Dynamic MBeans, 48
example, 148
Dynamic proxies, 249
E
EJB
Client interceptor configuration, 252
Configuring the invoker listening port, 262
Configuring to use RMI/HTTP, 262
Container cache configuration, 275
Container commit option configuration, 278
Container configuration, 271
Container interceptor configuration, 273
Container locking policy configuration, 277
Container persistence configuration, 277
Container plugin framework, 280
Deployer MBean, 266
DTD validation, 266
Instance pool configuration, 273
local references See ejb-local-ref
method permissions, 404
references See ejb-ref
Verifier, 267
ejb-jar.xml
ENC elements, 199
Security elements, 398
ejb-local-ref, 208
ejb-ref, 205
and JBoss descriptors, 207
ENC, 197
and UserTransactions, 248
ENC See Also JNDI Application Component Environment
env-entry, 203
J
JAAS
Authentication, 411
Introduction to, 409
Login code, 412
LoginModule, 413
Principal, 410
Subject, 410
JBoss
Booting from the network, 30
Building from code, 36
Client jars, 19
CVS access, 34
Distribution structure, 17
Enabling declarative security, 409
Installing the binary, 16
license, 655
Run options, 29
Securing access to the server, 487
Security model, 415
Source tree structure, 37
Testsuite, 38
The default configuration, 20
JBoss Group
About, 655
JBoss Messaging
Client jars, 308
Default destinations, 308
jbosscmp-jdbc.xml
DTD, 556
Structure, 554
JBossCX
Architecture, 368
jbossmq-destinations-service.xml, 336
jbossmq-service.xml, 336
jbossmq-state.xml, 336
JBossNS
Architecture, 215
JBossQL
Functions, 591
The extended EJB query language, 591
JBossSecurity, 424
Architecture, 424
jboss-service.xml
DTD, 107
JBossSX
Custom security proxy, 420
Login modules, 436
MBeans, 429
Subject usage pattern, 450
JBossTX
Adapting a Transaction Manager, 246
Internals, 246
jboss-web.xml
context-root, 492
DTD Graphic, 492
ENC elements, 202
virtual-host, 493
jboss.xml, 249, 267, 270
client interceptor schema, 252
client-interceptors, 251
commit-option, 278
Container configuration, 271
container-configuration element, 296
container-interceptors, 273
container-invoker, 273
ENC elements, 201
instance-cache, 275
instance-pool, 273
locking-policy, 277
row-locking, 304
security-domain, 279
JCA, 363
Common Client Interface, 364
Overview, 363
Sample adaptor, 374
JDBC
Configuring connection managers, 383
Eample DataSource configurations, 383
Sample driver configurations, 394
Using for authentication/authorization, 444
JMS
Configuring queues, 353
Configuring topics, 354
Connection factory names, 308
Destination management, 352
Destination manager statistics, 348
Examples, 308
Persisting messages to a database, 350
Preferred invocation layer, 340
Queue statistics, 353
Topic statistics, 355
Using SSL with, 341
jms-ds.xml, 336
JMX
As a microkernel, 104
Command line access, 99
Connecting using RMI, 90
Connecting via any protocol, 179
MBeans, 47
securing the console application, 88
SNMP events, 171
The extended JBoss service notion, 106
Web console applet, 26
Web console application, 85
JNDI
Application Component Environment, 197
Discovery in a clustered environment, 220
ENC conventions, 198
ENC See JNDI Application Component Environment
ExternalContext MBean, 235
InitialContext Factory, 218
JBoss jndi.properties settings, 218, 220
Logging in with, 222
MBeans, 234
NamingAlias MBean, 237
NamingService MBean, 216
Over HTTP, 222
Overview, 194
Securing, 231
Securing and read-only, 233
Viewer MBean, 237
JSSE
jars, 479
JBoss and SSL, 478
JTA
Default MBean, 247
UserTransaction, 248
XidFactory MBean, 247
J2EE
declarative security overview, 397
L
LDAP
and MS ActiveDirectory, 441
Using for authentication/authorization, 440
LdapLoginModule, 440
LGPL, 655
Logging
Changing the implementation, 542
Framework classes, 541
Log4j, 541
Log4j configuration, 542
Stderr, stdout, 543
Login module
introduction, 413
Login modules
Writing custom login modules, 449
Login modules See JAAS
M
MBean
and attribute persistence, 78
and using EJBs, 147
attributes and PropertyEditor, 108
JBoss Services, 106
JBoss services See MBean Services
org.jboss.deployment.SARDeployer, 107
org.jboss.ejb.EJBDeployer, 266
org.jboss.invocation.http.server.HttpInvoker, 188
org.jboss.invocation.jrmp.server JRMPInvoker, 185
org.jboss.invocation.jrmp.server.JRMPInvokerHA, 264
org.jboss.invocation.pooled.server.PooledInvoker, 186
org.jboss.invocation.server.HttpProxyFactory, 190
org.jboss.jms.asf.ServerSessionPoolLoader, 361
org.jboss.jms.jndi.JMSProviderLoader, 358
org.jboss.jmx.adaptor.snmp.agent.SnmpAgentService, 172
org.jboss.jmx.adaptor.snmp.trapd.TrapdService, 173
org.jboss.logging.Log4jService, 542
org.jboss.mq.il.jvm.JVMServerILService, 337
org.jboss.mq.il.oil.OILServerILService, 338
org.jboss.mq.il.rmi.RMIServerILService, 338
org.jboss.mq.il.uil.UILServerILService, 339
org.jboss.mq.pm.file.CacheStore, 349
org.jboss.mq.pm.file.PersistenceManager, 350
org.jboss.mq.pm.jdbc2.PersistenceManager, 350
org.jboss.mq.pm.rollinglogged.PersistenceManager, 350
org.jboss.mq.security.SecurityManager, 345
org.jboss.mq.server.jmx.DestinationManager, 348
org.jboss.mq.server.jmx.InterceptorLoader, 343
org.jboss.mq.server.jmx.Invoker, 343
org.jboss.mq.server.jmx.Queue, 353
org.jboss.mq.server.jmx.Topic, 354
org.jboss.mq.server.MessageCache, 349
org.jboss.mq.sm.file.DynamicStateManager, 344
org.jboss.naming.ExternalContext, 235
org.jboss.naming.JNDIView, 237
org.jboss.naming.NamingAlias, 237
org.jboss.naming.NamingService, 216
org.jboss.resource.connectionmanager.BaseConnectionManager2, 370
org.jboss.resource.connectionmanager.CachedConnectionManager, 373
org.jboss.resource.connectionmanager.JBossManagedConnectionPool, 372
org.jboss.resource.connectionmanager.LocalTxConnectionManager, 370
org.jboss.resource.connectionmanager.NoTxConnectionManager, 370
org.jboss.resource.connectionmanager.RARDeployment, 370
org.jboss.resource.connectionmanager.XATxConnectionManager, 370
org.jboss.resource.RARDeployer, 370
org.jboss.security.auth.login.XMLLoginConfig, 433
org.jboss.security.plugins.JaasSecurityDomain, 432
org.jboss.security.plugins.JaasSecurityManagerService, 430
org.jboss.security.plugins.SecurityConfig, 435
org.jboss.security.srp SRPVerifierStoreService, 464
org.jboss.security.srp.SRPService, 463
org.jboss.services.binding.ServiceBindingManager, 529
org.jboss.system.ServiceController, 111
org.jboss.tm.TransactionManagerService, 247
org.jboss.tm.usertx.server.ClientUserTransactionService, 248
org.jboss.tm.XidFactory, 247
org.jboss.varia.property.SystemPropertiesService, 527
org.jboss.varia.scheduler.Scheduler, 538
org.jboss.web.WebService, 543
Referencing system properties in attribute values, 108
Specifying dependencies, 113
MBean Services, 106
Deployment descriptor DTD, 107
Service lifecycle, 110
MBeans
Inspecting dependency status, 115
org.jboss.proxy.generic.ProxyFactoryHA, 189
Standard MBean example, 118
method permission, 404
Model MBeans, 48
The JBoss XMBean implementation, 75
R
read-only, 301, 302
repeatable reads, 302
Resource adaptors See JBossCX
resource-env-ref, 213
and JBoss descriptors, 214
resource-ref, 210
and JBoss descriptors, 212
RFC2945 See SRP
RMI
HTTP example config, 262
JRMP compressed socket example, 260
Over SSL, 478
rollback, 295, 298
RunAsLoginModule, 447
S
SAR
definition, 107
Scheduling, 537
Security
and JDBC, 444
Disabling caching, 431
EJB permissions, 404
Enabling for EJBs and WARs, 418
Enabling in JBoss, 409
Extending login configurations, 435, 673
Flushing authentication info, 431
Introduction to JAAS, 409
JBoss architecture, 424
J2EE, 397
Listing active users in a security domain, 432
Setting caching policy, 431
Steps in client authentication, 428
The JBoss model, 415
Using LDAP, 440
Web content permissions, 407
Security Manager
Running with, 474
security-constraint, 407
security-identity, 402
security-role, 403
security-role-ref, 401
Servlet Containers
Integrating, 491
SNMP
Exposing events, 171
SRP, 460
Algorithm, 467
Example, 471
Integrating your security data, 465
JBossSX features, 461
JBossSX implementation, 461
login modules, 462
Sample login config, 463
SRPLoginModule options, 462
SRPLoginModule, 462
SSL
and EJBs, 478
and JaasSecurityDomain, 432
and Tomcat-4.x, 510
JSSE, 478
Standard MBeans, 48
standardjbosscmp-jdbc.xml, 554
standardjboss.xml, 249, 267, 269, 270
Startup
Process, 105
Startup classes
See JBoss Services
T
Timers, 537
Tomcat
Service descriptor, 503
tomcat4-service.xml, 503
Tomcat-4.x, 502
and Apache, 523
and virtual hosts, 518
Clustering, 524
Configuring, 504
Setting up SSL, 510
Transaction
Overview, 241
transaction, 294, 295