Hi,
I am trying to configure the Jetty thread pool. Looked at this page and
started configuring Jetty thread pool.
http://cwiki.apache.org/CXF20DOC/jetty-configuration.html
 
I created a config file called cxf-jetty-config.xml. Put this in
classpath and started my service with command line arg as
-Dcxf.config.file=cxf-jetty-config.xml. CXF doesn't pick-up this file.
My service is a JAXWS service and I use Endpoint to publish it using a
main() program.
The file looks like this:
  <httpj:engine-factory bus="cxf">
    <httpj:engine port="9000">
      <httpj:threadingParameters minThreads="5" maxThreads="5" />
      <httpj:connector>
        <beans:bean class="org.mortbay.jetty.bio.SocketConnector">
           <beans:property name = "port" value="9000" />
        </beans:bean>
      </httpj:connector>
      <httpj:handlers>
        <beans:bean class="org.mortbay.jetty.handler.DefaultHandler"/>

      </httpj:handlers>
      <httpj:sessionSupport>true</hj:sessionSupport>
    </httpj:engine>
  </httpj:engine-factory>
 </beans>
 
 
I tried to rename the file as cxf-extension-xml.xml, it still doesn't
pick-up the config. 
 
Any help is appreciated.
thanx
-yogen
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender. Sender does not 
intend to waive confidentiality or privilege. Use of this email is prohibited 
when received in error.

Reply via email to