my dog learned polymorphism*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Problem in BeerAdvice Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Problem in BeerAdvice" Watch "Problem in BeerAdvice" New topic
Author

Problem in BeerAdvice

Micheal John
Ranch Hand

Joined: Nov 01, 2006
Posts: 344
Hi,

I'm preparing for SCWCD in K&B's HF book.
I am just trying the sample beer application. While I'm starting the tomcat, I am getting the following error message and the application is not deploying. I am using Tomcat 4.1.. and JDK 1.5..
Error Message while starting the tomcat server:


web.xml:



servlet


Micheal John
SCJP 1.4 (86%), SCWCD 1.4 (86%), SCBCD 1.3 (85%), SCDJWS (Just Started...) - Satisfaction Lies in Our EFFORT, Not in the ATTAINMENT
Gowher Naik
Ranch Hand

Joined: Feb 07, 2005
Posts: 643
Download tomcat5
Download Tomcat5
Then deploy application again.
Niranjan Deshpande
Ranch Hand

Joined: Oct 16, 2005
Posts: 1277
Download tomcat5
Download Tomcat5
Then deploy application again.

thats not a very wise advice !

hey...john...you can try this -

change the declaration at the yop of the d.d as -

version = "2.4"

the server trace tells that your xml is invalid. th exsd being used is 2.4, but the version is 2.3

hth !


SCJP 1.4 - 95% [ My Story ] - SCWCD 1.4 - 91% [ My Story ]
Performance is a compulsion, not a option, if my existence is to be justified.
Micheal John
Ranch Hand

Joined: Nov 01, 2006
Posts: 344
I have problem in downloading tomcat 5.0.... due to some restructions :roll:

Is the problem to due to Tomcat version 4.1.... ?
Micheal John
Ranch Hand

Joined: Nov 01, 2006
Posts: 344
Thanks Niranjan Deshpande !!

After chaning the version 2.3 to 2.4, it's deploying and my application is working..but still the below error/warning/?? message is coming.. can you tell me why this is coming? It's telling some parser exceptions..

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in BeerAdvice