cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wible, David" <david.wi...@bankofamerica.com>
Subject cxf min/max threads
Date Tue, 04 Nov 2008 16:45:18 GMT
I have a question about configuring cxf and what I'll call max threads.
We are running *without* tomcat and are using cxf to spawn threads.  The
issue is that after maybe 8 requests I get can exception.  

 

We are running on server grade machines with 6 or 8 GB of ram, I forget.
Before I switch to run multiple cxf instances I wanted to ask for your
help to a wiki page or suggestion so I can possibly configure cxf to
successfully accept more web requests and kick off more work.

 

Thanks.

 

Here's the trace...

[java] Oct 11, 2008 12:28:34 AM
org.apache.cxf.phase.PhaseInterceptorChain doIntercept

     [java] INFO: Interceptor has thrown exception, unwinding now

     [java] org.apache.cxf.interceptor.Fault: Could not send Message.

     [java]     at
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingI
nterceptor.handleMessage(MessageSenderInt

erceptor.java:64)

     [java]     at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorC
hain.java:221)

     [java]     at
org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:276)

     [java]     at
org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:222)

     [java]     at
org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)

     [java]     at
org.apache.cxf.frontend.ClientProxy.invoke(ClientProxy.java:68)

     [java]     at $Proxy39.createSMIFile(Unknown Source)

     [java]     at
com.bofa.strata.conversion.lasalle.service.impl.TimerServiceImpl.callSer
vices(TimerServiceImpl.java:189)

     [java]     at
com.bofa.strata.conversion.lasalle.service.impl.TimerServiceImpl.main(Ti
merServiceImpl.java:572)

     [java] Caused by: java.net.SocketTimeoutException: Read timed out

     [java]     at java.net.SocketInputStream.socketRead0(Native Method)

     [java]     at
java.net.SocketInputStream.read(SocketInputStream.java:129)

     [java]     at
java.io.BufferedInputStream.fill(BufferedInputStream.java:218)

     [java]     at
java.io.BufferedInputStream.read1(BufferedInputStream.java:256)

     [java]     at
java.io.BufferedInputStream.read(BufferedInputStream.java:313)

     [java]     at
sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:681)

     [java]     at
sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:626)

     [java]     at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
tion.java:957)

     [java]     at
java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367)

     [java]     at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResp
onse(HTTPConduit.java:1896)

     [java]     at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTP
Conduit.java:1824)

     [java]     at
org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)

     [java]     at
org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:583)

     [java]     at
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingI
nterceptor.handleMessage(MessageSenderInt

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message