[jbossws-issues] [JBoss JIRA] Created: (JBWS-1403) NumberFormatException When Using StubExt.PROPERTY_CLIENT_TIMEOUT

Kevin Urciolo (JIRA) jira-events at jboss.com
Mon Nov 27 13:18:43 EST 2006


NumberFormatException When Using StubExt.PROPERTY_CLIENT_TIMEOUT
----------------------------------------------------------------

                 Key: JBWS-1403
                 URL: http://jira.jboss.com/jira/browse/JBWS-1403
             Project: JBoss Web Services
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: jbossws-1.0.4
            Reporter: Kevin Urciolo
            Priority: Minor


If you attempt to to do this:

stub._setProperty(StubExt.PROPERTY_CLIENT_TIMEOUT,timeout);

You get the exception below.  I believe the InvokerLocator JBoss code parses out the port by taking the string from a certain point to the end of the string.  It appears the client timeout property is added to the string after after the port.  So the timout gets picked up and causes the exception.

20:51:37,052 ERROR [STDERR] Caused by: java.lang.NumberFormatException: For input string: "8999?timeout=999999999"
20:51:37,053 ERROR [STDERR] at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
20:51:37,053 ERROR [STDERR] at java.lang.Integer.parseInt(Integer.java:456)
20:51:37,053 ERROR [STDERR] at java.lang.Integer.parseInt(Integer.java:497)
20:51:37,053 ERROR [STDERR] at org.jboss.remoting.InvokerLocator.(InvokerLocator.java:159)
20:51:37,054 ERROR [STDERR] at org.jboss.ws.soap.SOAPConnectionImpl.createRemotingClient(SOAPConnectionImpl.java:203)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossws-issues mailing list