hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <ROLWE...@de.ibm.com>
Subject Re: JasperExcetion
Date Fri, 03 Dec 2004 08:03:53 GMT
Hello Yi,

Jasper (on the server) seems to have a problem with the
default User-Agent header set by HttpClient 3.0. You should
try the following:

1. set the User-Agent manually to something different, like
   "Jakarta Commons-HttpClient" or some User-Agent string
   used by a browser, or an empty string
2. if that solves the problem, or leads to other exceptions
   that include fragments of the User-Agent string in their
   message, file a bug report against Tomcat/Jasper
   http://jakarta.apache.org/tomcat/index.html

hope that helps,
  Roland





"Yi Wang" <yiwang3@cisco.com> 
02.12.2004 21:38
Please respond to
"HttpClient User Discussion"


To
"HttpClient User Discussion" <httpclient-user@jakarta.apache.org>
cc

Subject
JasperExcetion






Hi, Folks:
Can someone give me some clue why I got the following exception? 

Thanks
Yi

2004/12/02 12:28:31:242 PST [DEBUG] header - ->> "GET 
/cwhp/cwhp.applications.do HTTP/1.1[\r][\n]"
2004/12/02 12:28:31:242 PST [DEBUG] HttpMethodBase - -Adding Host request 
header
2004/12/02 12:28:31:242 PST [DEBUG] header - ->> "User-Agent: Jakarta 
Commons-HttpClient/3.0-beta1[\r][\n]"
2004/12/02 12:28:31:252 PST [DEBUG] header - ->> "Host: 
blade-6:1741[\r][\n]"
2004/12/02 12:28:31:252 PST [DEBUG] header - ->> "Cookie: $Version=0; 
JSESSIONID=FC0C6A76CEA3325D1B0FFAE1AF4EA223; $Path=/cwhp[\r][\n]"
2004/12/02 12:28:31:252 PST [DEBUG] header - ->> "Cookie: $Version=0; 
jsessionid=F34FBA0636E85F681D598B5232F493A0; $Path=/[\r][\n]"
2004/12/02 12:28:31:252 PST [DEBUG] header - ->> "Cookie: $Version=0; 
MICEcookie=F34FBA0636E85F681D598B5232F493A0; $Path=/[\r][\n]"
2004/12/02 12:28:31:252 PST [DEBUG] header - ->> "[\r][\n]"
2004/12/02 12:28:31:303 PST [DEBUG] header - -<< "HTTP/1.1 500 Internal 
Server Error[\r][\n]"
2004/12/02 12:28:31:303 PST [DEBUG] header - -<< "Date: Thu, 02 Dec 2004 
20:26:34 GMT[\r][\n]"
2004/12/02 12:28:31:303 PST [DEBUG] header - -<< "Server: Apache[\r][\n]"
2004/12/02 12:28:31:303 PST [DEBUG] header - -<< "Content-Language: 
en-US[\r][\n]"
2004/12/02 12:28:31:303 PST [DEBUG] header - -<< "Connection: 
close[\r][\n]"
2004/12/02 12:28:31:303 PST [DEBUG] header - -<< "Transfer-Encoding: 
chunked[\r][\n]"
2004/12/02 12:28:31:483 PST [DEBUG] header - -<< "Content-Type: 
text/html;charset=ISO-8859-1[\r][\n]"
2004/12/02 12:28:31:483 PST [DEBUG] content - -<< "8"
2004/12/02 12:28:31:483 PST [DEBUG] content - -<< "0"
2004/12/02 12:28:31:483 PST [DEBUG] content - -<< "0"
2004/12/02 12:28:31:503 PST [DEBUG] content - -<< "[\r]"
2004/12/02 12:28:31:503 PST [DEBUG] content - -<< "[\n]"
2004/12/02 12:28:31:503 PST [DEBUG] content - -<< 
"<html><head><title>Apache Tomcat/4.1.29 - Error 
report</title><STYLE><!--H1{font-family : sans-serif,Arial,Tahoma;color : 
white;background-color : #0086b2;} H3{font-family : 
sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} 
BODY{font-family : sans-serif,Arial,Tahoma;color : black;background-color 
: white;} B{color : white;background-color : #0086b2;} HR{color : 
#0086b2;} --></STYLE> </head><body><h1>HTTP Status 500 - Internal
Server 
Error</h1><HR size="1" noshade><p><b>type</b> Exception 
report</p><p><b>message</b> <u>Internal Server 
Error</u></p><p><b>description</b> <u>The server encountered
an internal 
error (Internal Server Error) that prevented it from fulfilling this 
request.</u></p><p><b>exception</b> 
<pre>org.apache.jasper.JasperException: For input string: "3.0-"[\r][\n]"
2004/12/02 12:28:31:503 PST [DEBUG] content - -<< "[0x9]at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)[\r][\n]"
2004/12/02 12:28:31:503 PST [DEBUG] content - -<< "[0x9]at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)[\r][\n]"
2004/12/02 12:28:31:503 PST [DEBUG] content - -<< "[0x9]at 
org.apache.jasper.servlet.JspServlet.service(JspServlet."

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message