Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • 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:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!