NumberFormatException when using StubExt.PROPERTY_CLIENT_TIMEOUT
----------------------------------------------------------------
Key: JBWS-2654
URL:
https://jira.jboss.org/jira/browse/JBWS-2654
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: jbossws-native-3.0.5
Environment: RHEL
Reporter: Pras P
This bug is similar to
https://jira.jboss.org/jira/browse/JBWS-1410 however, it still
exists in 3.0.5 when
used with soapAddress which looks like
http://10.10.10.204:8557 and a timeout is set using
StubExt.PROPERTY_CLIENT_TIMEOUT
Looks like there is a parsing error where the port is also carried over (8557 in the
exception below is a port)
2009-05-20 21:50:02,181 ERROR [org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] SOAP request
exception
java.lang.NumberFormatException: For input string: "8557?timeout=60000"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:456)
at java.lang.Integer.parseInt(Integer.java:497)
at org.jboss.remoting.InvokerLocator.<init>(InvokerLocator.java:191)
at
org.jboss.ws.core.client.HTTPRemotingConnection.invoke(HTTPRemotingConnection.java:206)
at
org.jboss.ws.core.client.SOAPProtocolConnectionHTTP.invoke(SOAPProtocolConnectionHTTP.java:71)
at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:340)
at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:291)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:170)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
The exception does not occur when a soapAddress is of the following format
http://10.10.10.204:8557/adm/admWS
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira