java - Where can we find Server.xml in Jboss EAP 6? -


i trying performance tuning , following jboss performance tuning guide. read chapter 3, , want turn of cached connection manager. there mentioned configuration in server.xml. can't find server.xml anywhere. using jboss-eap-6.1 on windows 7. question find server.xml or how can turn off cached connection manager ??

here text tunning guide :

the configuration in file server.xml in directory jboss_eap_dist/jboss-as/server//deploy/jbossweb.sar. note minimal configuration not include jboss web. below extract server.xml in cachedconnectionmanager enabled.

 <!-- check unclosed connections , transaction terminated checks in servlets/jsps.   important: dependency on cachedconnectionmanager in meta-inf/jboss-service.xml must  uncommented, -->   <valve classname="org.jboss.web.tomcat.service.jca.cachedconnectionvalve"  cachedconnectionmanagerobjectname="jboss.jca:service=cachedconnectionmanager" transactionmanagerobjectname="jboss:service=transactionmanager" /> 

to disable cachedconnectionmanager, comment last 3 lines, per following example:

 <!-- check unclosed connections , transaction terminated checks in servlets/jsps. important: dependency on cachedconnectionmanager in meta-inf/jboss-service.xml must uncommented,  <valve classname="org.jboss.web.tomcat.service.jca.cachedconnectionvalve" cachedconnectionmanagerobjectname="jboss.jca:service=cachedconnectionmanager" transactionmanagerobjectname="jboss:service=transactionmanager" /> --> 

another configuration file needs edited: jboss-beans.xml in jboss_eap_dist/jboss-as/server//deploy/jbossweb.sar/meta-inf directory. note minimal configuration not include jboss web. file used micro-container jboss web’s integration it, , specifies connections between dependent components. in case, cachedconnectionmanager’s valve dependent on transaction manager. so, in order rid of valve properly, have remove dependency information configuration file. pertinent information @ top of file, , looks following:

 <!-- needed if org.jboss.web.tomcat.service.jca.cachedconnectionvalve enabled in tomcat server.xml file. -?    <depends>jboss.jca:service=cachedconnectionmanager</depends>   <!-- transaction manager unfinished transaction checking in cachedconnectionvalve -->   <depends>jboss:service=transactionmanager</depends> 

comment these lines in following example: jboss.jca:service=cachedconnectionmanager -? jboss:service=transactionmanager</depends>-->

the version of eap using has different file structure configuration guide telling you. using configuration guide jboss 6 configure jboss eap 6? if so, source of frustration. instructions have looks eap 5 file structure. can find eap 6 documentation here.

if running in standalone mode, config found @ ${jboss_home}/standalone/configuration/standalone.xml


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -