Robert, Status code 400 (Bad request) usually means that the server has rejected the request as syntactically incorrect. This is very unlikely to be a problem with HttpClient as such. The problem must be somewhere in the layers that sit on top of it
Can it be that your application is targeting a different server when deployed in the QA environment? Anyways, take a look at the HttpClient troubleshooting guide and try to get additional info by turning on the wire/debug logging http://jakarta.apache.org/commons/httpclient/troubleshooting.html http://jakarta.apache.org/commons/httpclient/logging.html Oleg On Fri, 2004-09-10 at 00:16, Robert Badaracco wrote: > Hi, > > I've been developing my app in WSAD5 and have > successfully deployed it on a Websphere server v5.0.2 > running under Windows XP using Axis1.2beta with > CommonsHttpClient2.0.1. When I > deploy it as an EAR to our QA server, which is running > SunOS v5.8 and Websphere 5.0.2 I get the following > exception: > > [9/9/04 17:18:19:820 EDT] 4e3801 SystemErr R > (400)Bad Request > [9/9/04 17:18:19:820 EDT] 4e3801 SystemErr R > at > org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:194) > [9/9/04 17:18:19:821 EDT] 4e3801 SystemErr R > at > org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) > [9/9/04 17:18:19:821 EDT] 4e3801 SystemErr R > at > org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) > [9/9/04 17:18:19:821 EDT] 4e3801 SystemErr R > at > org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) > [9/9/04 17:18:19:822 EDT] 4e3801 SystemErr R > at > org.apache.axis.client.AxisClient.invoke(AxisClient.java:144) > [9/9/04 17:18:19:822 EDT] 4e3801 SystemErr R > at > org.apache.axis.client.Call.invokeEngine(Call.java:2688) > [9/9/04 17:18:19:823 EDT] 4e3801 SystemErr R > at org.apache.axis.client.Call.invoke(Call.java:2671) > [9/9/04 17:18:19:834 EDT] 4e3801 SystemErr R > at org.apache.axis.client.Call.invoke(Call.java:2357) > [9/9/04 17:18:19:834 EDT] 4e3801 SystemErr R > at org.apache.axis.client.Call.invoke(Call.java:2280) > [9/9/04 17:18:19:835 EDT] 4e3801 SystemErr R > at org.apache.axis.client.Call.invoke(Call.java:1741) > > > Both platforms are running Java version 1.3.1. What's > interesting is that this same app ran on the Sun box > using Axis1.1 and SimpleHTTPSender. > > Any suggestions? > > Thanks, > Bob > > > > > > _______________________________ > Do you Yahoo!? > Shop for Back-to-School deals on Yahoo! Shopping. > http://shopping.yahoo.com/backtoschool > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]