Docstoc

JBoss Production Configuration

Document Sample
JBoss Production Configuration Powered By Docstoc
					                        JBoss Production Configuration
                                      Feb 17, 2006

Introduction

This document records the changes to the JBoss AS to run as a production server where
tomcat is under port 80, and allow it to run alongside a development server. This covers
configuration for JBoss 4.0.1sp1.

Ports

The production server is running on the following ports. The port change was necessary
in order to run a production server and a developmental server on the same machine. The
production servers’ ports have been changed in order to avoid conflict with all default
JBoss ASs. See JBoss AS Guide, section 8.8

        Conf/JBoss-service.xml
              Org.jboss.web.WebService
                      Default: 8083
                      New: 8084
              Org.jboss.naming.NamingService
                      Port
                             Default: 1099
                             New: 1101
                      RMIPort
                             Default: 1098
                             New: 1100
              Org.jboss.invocation.jrmp.server.JRMPInvoker
                      RMIObjectPort
                             Default: 4444
                             New: 4446
              Org.jboss.invocation.pooled.server.PooledInvoker
                      ServerBindPort
                             Default: 4445
                             New: 4447

        Deploy/Jbossweb-tomcat50.sar/server.xml
              Org.jboss.web.tomcat.tc5.StandardService
                     HTTP
                            Default: 8080
                            New: 80
                     AJP – Disabled, not needed?
                            Default: 8009
                     SSL – Disabled by default
                            Default: 8443
       Deploy/JMS/uil2-service.xml
             Org.jboss.mq.il.uil2.UILServerILService
                    ServerBindPort
                           Default: 8093
                           New: 8094

Security

A number of JBoss web management packages are enabled by default. These packages
allow the server to be configured via the web, or provide other risky functionality. See
JBoss AS Guide, section 8.9.

       JMX-Console

       Removed, not needed for production server.

       Web Console

       Removed, not needed for production server.

       http-Invoker

       Secured using jmx-console security. See conf/login-config.xml.

Subversion

This production configuration can be found under /Users/svnrep/jboss-
config/server/production/

To obtain this configuration, change working directory to server/ under the JBoss root,
and execute the following (on the server):

       svn export file:///Users/svnrep/jboss-config/server/production/ ./

				
DOCUMENT INFO