Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem in BeerAdvice

 
Ranch Hand
Posts: 344
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Download tomcat5
Download Tomcat5
Then deploy application again.
 
Ranch Hand
Posts: 1277
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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 !
 
Micheal John
Ranch Hand
Posts: 344
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 344
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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..

 
Listen. That's my theme music. That's how I know I'm a super hero. That, and this tiny ad told me:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic