Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSWDK 1.0.1 - Setting up new Application

 
Joe Paolangeli
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Has anyone experienced any problems setting up a new web application (using a different directory) under the JSWDK environment?
I was able to get my application (html and servlet) to run under the examples directory but not under a different directory. I made all of the necessary modifications as specified in the FAQ.html file (ex: added new directory structure and modified webserver.xml, and servlets.properties files). I can get my html file to display but receive a 404 error with no detailed message when trying to run my servlet.
 
Angela Poynton
Ranch Hand
Posts: 3143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i had exactly the same problem ... gave up in the end! Anyone have the answer??
 
Joe Paolangeli
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I installed my application on a different machine and it worked (I am sure this not the answer you were expecting). This was kind of strange because I used the same exact settings.
 
varalakshmi allamaraju
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
add <context name="your application name" path=/.." /> in the server.xml file. It is better to use tomcat3.1 reference implementation. It follows J2EE specification.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic