wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes debugging on server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "debugging on server" Watch "debugging on server" New topic
Author

debugging on server

Prasad Kharkar
Ranch Hand

Joined: Mar 07, 2010
Posts: 438

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

SCJP 6 [86%] June 30th, 2010
OCPWCD [84%] March 26th, 2013
If you find any post useful, click the "plus one" sign on the right
Tom Reilly
Rancher

Joined: Jun 01, 2010
Posts: 618
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

Joined: Mar 07, 2010
Posts: 438

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.
 
subject: debugging on server
 
Similar Threads
Eclipse Ganymede + apache-tomcat-6.0.20 debugging
debugging applets that communicate with servlets in tomcat
IDE for Servlets
where is servlet System.out output?
Max length of request parameter