• 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
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

FAIL - Failed to deploy application at context path /Test

 
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there,

I am having real problems deploying my web app on Tomcat 5.5.

I have Tomcat deployed on my laptop and it works fine for me, but I am trying to upload a simple webapp onto a remote server, but everytime I use the Tomcat Manager to deploy my app, I get the message:

FAIL - Failed to deploy application at context path /Test



according to material I have found on the web, there should be something wrong with my web.xml file. For the sake of just trying to get something to run I have simplified my whole app down to the web.xml file which is as follows:



I have copied the deployment descriptor header directly from the troubleshooting guide and have checked that it's the one for Tomcat 5.5. The WEB-INF directory is properly named, as is the web.xml file. I have turned Tomcat on and off serveral times, but I still get the message. This should be easy!

I'd be grateful for any help or suggestions.

Cheers

Joe
 
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
do you have access to the logs that the remote tomcat produces on startup? could be very helpful
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Where does the name of your Java class get associated with the web application context path?

Bill
 
Joe Lemmer
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there,

Yes I did have the servlet and servlet-mapping tags in there, and correctly completed (I've got a little experience with servlets so I've done that hundreds of times before). I took them out just to see if it would work without them.

The log files aren't in the usual place, but I'll have a proper look tomorrow.

Cheers

Joe
 
Joe Lemmer
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just to clarify. I started off trying to deploy an app that I had already had working on the tomcat installed on my laptop. I was just using the test app to try and simplify things.
 
Joe Lemmer
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No, we don't seem to have access to log files unfortunately. Back to the drawing board.
 
reply
    Bookmark Topic Watch Topic
  • New Topic