on ‎2011 Jun 10 1:00 PM
Hi,
Third part is getting the below error when invoking the webservice in XI
at java.lang.Thread.run(Thread.java:662)
Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL <URL LINK>
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at java.net.URL.openStream(URL.java:1010)
at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:804)
at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(RuntimeWSDLParser.java:262)
at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:129)
This is not because of the invalid credentials. It was working before one month. Please suggest.
Thanks and Regards
Suma S
Request clarification before answering.
Hi
Check the solution.
Calling the AF may result in HTTP 401 during high load; this is caused by too few connections to the ABAP user management or a timeout waiting for a new connection.
The connection pool for user verification calls to the ABAP side is controlled with Java destination UMEBackendConnection. The settings u201EMax. Connections‟ and u201EMax. Wait Time‟ can be used to control the timeout.
The u201EMax. Connections‟ setting controls the maximum number of connections that can be used in parallel. If all connections are in use and a new one is needed, the u201EMax Wait Time‟ setting specifies the time to wait for a free connection (in milliseconds). After this time the attempt is treated as an error.
Default for Max. Connections: 20
Default for Max. Wait Time: 10.000 ms
Increase parameters until problem disappears: for example, Max. Connections=50, Max. Wait Time=60000
For more information, see SAP Note 816022 - FAQ: XI 3.0 J2EE Adapter Engine / Messaging System.
Regards
Pothana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 7 | |
| 5 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.