Author: chris.laprun(a)jboss.com
Date: 2007-05-08 18:58:55 -0400 (Tue, 08 May 2007)
New Revision: 7224
Modified:
trunk/wsrp/src/main/org/jboss/portal/wsrp/services/RemoteSOAPInvokerServiceFactory.java
Log:
- Increased time out to 10 seconds.
Modified:
trunk/wsrp/src/main/org/jboss/portal/wsrp/services/RemoteSOAPInvokerServiceFactory.java
===================================================================
---
trunk/wsrp/src/main/org/jboss/portal/wsrp/services/RemoteSOAPInvokerServiceFactory.java 2007-05-08
22:44:23 UTC (rev 7223)
+++
trunk/wsrp/src/main/org/jboss/portal/wsrp/services/RemoteSOAPInvokerServiceFactory.java 2007-05-08
22:58:55 UTC (rev 7224)
@@ -193,6 +193,7 @@
private URL wsdlURL;
private String latestImportURI;
private final Logger log = Logger.getLogger(getClass());
+ private static final int TIME_OUT_MS = 10000;
public WSDLLocatorImpl(URL wsdlFile)
{
@@ -209,7 +210,7 @@
thread.start();
// Wait for the thread to finish but don't wait longer than the specified
time
- long delayMillis = 5000;
+ long delayMillis = TIME_OUT_MS;
try
{
thread.join(delayMillis);
Show replies by date