[jboss-user] [Beginners Corner] - Re: Web folder

fablux do-not-reply at jboss.com
Thu Jun 19 04:55:31 EDT 2008


Hi PeterJ, this is my "server.xml":


  | <Server>
  | 
  | 
  |   <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
  | 
  |   <Listener className="org.apache.catalina.core.JasperListener" />
  | 
  |    <Service name="jboss.web">
  | 
  |     <Connector port="8080" address="${jboss.bind.address}"     
  |          maxThreads="250" maxHttpHeaderSize="8192"
  |          emptySessionPath="true" protocol="HTTP/1.1"
  |          enableLookups="false" redirectPort="8443" acceptCount="100"
  |          connectionTimeout="20000" disableUploadTimeout="true" />
  | 
  |     <Connector port="8009" address="${jboss.bind.address}" protocol="AJP/1.3"
  |          emptySessionPath="true" enableLookups="false" redirectPort="8443" />
  | 
  |       <Engine name="jboss.web" defaultHost="localhost">
  | 
  |          <Realm className="org.jboss.web.tomcat.security.JBossSecurityMgrRealm"
  |             certificatePrincipal="org.jboss.security.auth.certs.SubjectDNMapping"
  |             allRolesMode="authOnly"
  |             />
  | 
  |         <Host name="localhost"
  |            autoDeploy="false" deployOnStartup="false" deployXML="false"
  |            configClass="org.jboss.web.tomcat.security.config.JBossContextConfig"
  |            >
  | 
  |             
  | 
  |             
  |             <Valve className="org.jboss.web.tomcat.service.jca.CachedConnectionValve"
  |                 cachedConnectionManagerObjectName="jboss.jca:service=CachedConnectionManager"
  |                 transactionManagerObjectName="jboss:service=TransactionManager" />
  | 
  | 				
  | 			<!-- ADD static  DIRECTORY -->
  |            <Context path="/registroweb" 
  |                    docBase="C:/registroweb" debug="99"
  |                         reloadable="true" >
  |            </Context>
  | 	
  | 				
  |         </Host>
  | 
  |       </Engine>
  | 
  |    </Service>
  | 
  | </Server>
  | 

I've tried this file on JBoss4.0.3, but in the jbossweb-tomcat55.sar folder, and it worked!!! 

Thank you, again!!!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159193#4159193

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159193



More information about the jboss-user mailing list