Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

broken webapp after upgrading Tomcat

Status
Not open for further replies.

ashiers

Programmer
Jun 17, 2005
4
CA
Hi there,

Hope someone can help. I was running Tomcat 5.5 and running a webapp just fine on it on a Linux server. I just upgraded to Tomcat 6.0 and copied my webapp files over to it. Theoretically it should run without a hitch but Murphy's Law is coming into play. To run a check, I also installed Tomcat 6.0 on my Windows development machine. Copied the webapp files into Tomcat there. Everything works fine there. So I'm trying to figure out what the difference is on the Linux box.

Here are the specifics:

My webapp has a Login.jsp file at the root of the webapp directory. That I can navigate to with no problem using This file has a form in it that points to the UserID_PasswordCheck servlet. This file is described in the web.xml file with the following:

<servlet>
<servlet-name>UserID_PasswordCheck</servlet-name>
<servlet-class>mvcs.UserID_PasswordCheck</servlet-class>
</servlet>

and

<servlet-mapping>
<servlet-name>UserID_PasswordCheck</servlet-name>
<url-pattern>/UserID_PasswordCheck/*</url-pattern>
</servlet-mapping>

When I click on the Submit button from the Login.jsp page, I get the error message from the browser saying:

"The requested resource (/tjtapp/UserID_PasswordCheck) is not available"

I don't get this when I run the webapp in Windows. But I do when I try to run it on Linux.

Sometimes this sort of thing is due to the fact that Linux is case sensitive so I made sure the spelling of the servlet file and how it is noted in the web.xml file was consistant and it is. So this leaves me stumped.

Does anyone have any ideas as to what maybe going on? Maybe Tomcat 6.0 requires something different in the web.xml file? Maybe Tomcat 6.0 requires something more that I don't have in the webapp?

Please advise,

Alan
 
Theoretically it should run without a hitch?
Who say that???
tomcat 6 change some libraries like el-api.jar so depends on what you use to make the app, i can't tell you.
Check tomcat_home\lib
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top