File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Help in Apache Tomcat for scwcd 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 » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Help in Apache Tomcat for scwcd" Watch "Help in Apache Tomcat for scwcd" New topic
Author

Help in Apache Tomcat for scwcd

kaarthik asokkumar
Greenhorn

Joined: Jan 21, 2005
Posts: 29
guyz i am preparing for scwcd. i installed apache tomcat5 for practice. i did a sample servlet program and an xml mapping but i was not sure where the container is expecting my map nor my servlet file to be. i am getting 404 error. can u please tell me how to start on with apache and where to set classpath and so on. thanks guyz for your help .


SCJP 1.4, SCWCD 1.4,SCBCD 1.3.
Suja Mudunuri
Greenhorn

Joined: Jul 28, 2004
Posts: 14
I am also having the same problem. I am stuck on Page 81 on HFS and JSP book. Somebody please help me go forward.


Sujatha Mudunuri<br />SCJP 1.4<br />(Preparing SCWCD 1.4)
Anant Rao
Ranch Hand

Joined: Nov 12, 2004
Posts: 126
Hi,

First check for ur log file for the error if it gives error abt compatibility package then installCompat zip file that will contain the following list, which are needed when running on J2SE 1.4:
* jmx.jar (Java Management Extensions API 1.2 or later)
* xercesImpl.jar (Xerces XML Parser, version 2.6.2 or later)

In class path add new System variable as
CATALINA_HOME c:\java\tomcat 5.5.4

I hope this will solve ur problem

Infyniti
kaarthik asokkumar
Greenhorn

Joined: Jan 21, 2005
Posts: 29
guyz my dir struct is tomcat\webapps\ch1\WEB-INF\classes. I have my xml file in WEB-INF and servlet file in classes. This does not work,
but the tomcat\webapps\servlet-example\WEB-INF\classes which came with tomcat works perfecty fine. I wanted to know if there is any class path that i should set apart for tomcat home.any help will be gr8. thanks
Shourya Kalinga
Greenhorn

Joined: Dec 14, 2004
Posts: 19
Karthik,

can you post your web.xml file content here, so that we can understand the problem. I understand that Container is unable to locate your resource.

Shourya


SCJP 1.4<br />SCWCD 1.4
kaarthik asokkumar
Greenhorn

Joined: Jan 21, 2005
Posts: 29
thanks for the reply. I got it fixed i set the catalina home to tomcat 5.0 it worked. Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help in Apache Tomcat for scwcd
 
Similar Threads
scwcd exam
SCWCD
SCWCD
SCWCD
scwcd