File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
    Bookmark Topic Watch Topic
  • New Topic

From Java1.5/Tomcat5 to Java1.7/Tomcat7

 
Michele Feliciani
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hello everybody!

I'm experiencing a trouble caused by a Request/Response different from my previous version of Java1.5/Tomcat5 and Eclipse3.5
When my debug goes to:
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
{

I see that my old variable "request" has got the following definition in Eclipse3.5/Tomcat5:
- <unknown type> request=CoyoteRequestFacade
+ ServletRequest request (RequestFacade)=CoyoteRequest
+ CoyoteRequest request (CoyoteRequestFacade)=CoyoteRequest

My new variabile in Tomcat7 is really simply and not so complete:
- request RequestFacade
+ request Request

The same appens also to Response; I also can't find significant logs or messages in Eclipse helping me to solve this hard trouble.
I wonder what I should install/modify to let me login.
Thanks a lot for your support.
Greetings,
Michele.

PS: if it could help, I attach something helpful during Tomcat7 starting:
Informazioni: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:....
Avvertenza: [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server:RRSWeb_Bari' did not find a matching property.
Informazioni: validateJarFile(C:\apache-tomcat-7.0.12\webapps\RRSWeb_Bari\WEB-INF\lib\javax.servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64192
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not post the same question ore than once.
 
I agree. Here's the link: http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic