File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes how to add a new web-app in tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "how to add a new web-app in tomcat" Watch "how to add a new web-app in tomcat" New topic

how to add a new web-app in tomcat

Debasish Ray Chawdhuri

Joined: Feb 05, 2007
Posts: 24
hi, i've installed tomcat 5.0.28 and copied all the directories and files in the tomcat/webapps directory(along with the WEB-INF, web.xml,classes etc.) but the server cannot even find a static html file. it looks like there are some other things to be done. can somebody please help me. i've successfully deployed webapps in sun applicationserver 8
thanks in advance

SCJP 1.5, SCWCD 1.4, SCBCD 5.0 It's the attitude, and not the aptitude, that determine one's altitude in life.
Deepak Bala

Joined: Feb 24, 2006
Posts: 6661

Is the application deployed ? Check using the tomcat console

SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Debasish Ray Chawdhuri

Joined: Feb 05, 2007
Posts: 24
here is the error message shown in tomcat admin console when i clicked on my webapp(yes it appears there)

HTTP Status 500 - Error retrieving attribute debug

type Status report

message Error retrieving attribute debug

description The server encountered an internal error (Error retrieving attribute debug) that prevented it from fulfilling this request.
Tanha Patoliya

Joined: May 09, 2006
Posts: 1
i would suggest checking your web.xml file for errors
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41064
There should be a more elaborate error message in the log file.

Ping & DNS - my free Android networking tools app
I agree. Here's the link:
subject: how to add a new web-app in tomcat
Similar Threads
Web Application Deployment using war file
Deployment Environment
http error 500 ServletException: Cannot allocate servlet instance...
Can't use MySQL connection pool?
Struts problem, help!!