| Michael W. 2004-05-20, 5:35 pm |
| I'm using jsse to make a web request where I send and receive data. As
a stand alone application it works fine. However, when I deploy the
code to WebSphere it does not return from the following call.
[pseudo code]
OutputStream outputStream =
httpURLConnection.getOutputStream();
When I open a connection to a URL then perform a read (as Follows)
everything works fine both outside and inside WebSphere.
[pseudo code]
BufferedReader in = new BufferedReader(new
InputStreamReader(httpURLConnection.getInputStream()));
String inputLine;
StringBuffer sb = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
sb.append( inputLine );
System.out.println(inputLine);
}
Does anyone have an idea as to what might be happening.
|