This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Servlet problem while migrating from Tomcat 6 to Tomcat 7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Servlet problem while migrating from Tomcat 6 to Tomcat 7" Watch "Servlet problem while migrating from Tomcat 6 to Tomcat 7" New topic
Author

Servlet problem while migrating from Tomcat 6 to Tomcat 7

Mohanasundar Nagarajan
Greenhorn

Joined: Mar 23, 2010
Posts: 19
Hi,

I'm having problem with accessing servlet in Tomcat 7. I am migrating web application from Tomcat 6 to Tomcat 7. But servlet was not able to accessible using servlet/servletName. Our application having more than 500 servlets so at present it is not impossible to change the existing code. We cannot map every thing in web.XML also we don't know how may servlets are there. Is there any other solution for servlet like invoker in Tomcat6 for mapping.

Thanks in advance.
Mohanasundar.n
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29237
    
139

Mohana,
First read why the invoker servlet is evil. If you still want to do this this blog offers a replacement.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Miku Ranjan
Ranch Hand

Joined: Oct 11, 2011
Posts: 98
Hi,
I think you can change some tomcat 7 pecific code in web xml file particularly in top.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet problem while migrating from Tomcat 6 to Tomcat 7
 
Similar Threads
concurrent access problem in tomcat
Moving from Tomcat to Resin JSTL Problem
Tomcat 5.5 Migration - Request Dispatcher issue
Chapter 2 (HFSJ) notes , may be useful for anyone
Does websphere app server 7 supports EJB 2.1?