• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

debugging on server  RSS feed

 
Ranch Hand
Posts: 446
1
Eclipse IDE MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
I am doing a project in JSP and servlets in eclipse with MySQL

I know that we have to copy the class files from development environment to deployment environment under tomcat directory
but for servlets
sometimes I get the error

required resource not found

even if I don't change path

after some observations, I understood it is related to debugging on the server

what is that exactly?
please tell me
 
Rancher
Posts: 618
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In this case, in order to diagnose the problem, you need to detail the sequence of events that lead to your error: "required resource not found".

BTW, with recent versions of Eclipse, I found it's very easy to debug servlet code by running Tomcat on the same computer as Eclipse. That is, you don't have to copy files or connect to remote processes. Have you tried this?
 
Prasad Kharkar
Ranch Hand
Posts: 446
1
Eclipse IDE MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes that is what I was observing
also I tried the debugger and found the breakpoints very useful

I am using the eclipse first time and trying to learn a lot

could you give some more tips on using eclipse more effectively?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!