On Dec 5, 2007 2:28 PM, Martin Gainty <[EMAIL PROTECTED]> wrote: > did you verify protocol is set to HTTP 1.1 (at least not set to 1.0) > default non-ssl connector in $CATALINA_HOME/conf/server.xml?
This is my non ssl connector in server.xml: <Connector URIEncoding="utf-8" connectionTimeout="20000" port="8084" protocol="HTTP/1.1" redirectPort="8443"/> The ssl connector is commented out. > did you verify that Port 80 redirects to connector configured for 8084? I am hitting port 8084 directly > did you verify the connector is live and listening on 8084? Yes, I can hit the web app through my browser. Also other part of my PPC app download info from the server with out any errors. > are there any other intervening webservers, firewalls or nat-servers? No my dev environment is on my computer. I hit a production server (Tomcat 4.1) for testing purposes which was behind a firewall and it worked fine. > > M-- > ----- Original Message ----- > From: "Richard Sayre" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <users@tomcat.apache.org> > Sent: Wednesday, December 05, 2007 12:32 PM > Subject: HTTP 1.1 Not Supported > > > > > I have a C Sharp Pocket PC application that is hitting a Tomcat web > > server and getting some data from that server. With Tomcat 4.1 this > > application is working fine, but since I upgraded to Tomcat 6 it > > stopped working. > > > > Most of the application works with Tomcat 6. When It does work here > > is the scenario: > > > > > > 1. My C# app sends a request to /webapp/getCustomers.jsp?custId=1 > > through "POST" > > 2. The jsp servlet gets some XML from the model and puts it into a > > String and prints it using the output stream > > 3. the C# App receives the data ok through a response object > > > > > > When it doesn't work the following occurs: > > > > > > 1. Pocket Pc requests a page through POST and opens a stream and > > writes some data to the stream (Some xml data) > > 2. The pocket pc app tries to obtain a Response object from the > request > > 3. On the line of code that tries to obtain a response I get a > > server error > > > > > > > > HTTP/1.1 505 > > > > HTTP Version Not Supported..Server: Apache-Coyote/1.1..Date: Tue, 04 > > Dec 200713:08:21 GMT..Connection: close > > > > Which is weird since my connector is as follows: > > > > <Connector URIEncoding="utf-8" connectionTimeout="20000" port="8084" > > protocol="HTTP/1.1" redirectPort="8443"/> > > > > I am using Tomcat 6.0.14 which came bundled with Netbeans 6. > > > > Thank you, > > > > Rich > > > > > --------------------------------------------------------------------- > > To start a new topic, e-mail: users@tomcat.apache.org > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]