File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Problem starting tomcat with jdpa Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Problem starting tomcat with jdpa" Watch "Problem starting tomcat with jdpa" New topic
Author

Problem starting tomcat with jdpa

lars wright
Greenhorn

Joined: Oct 19, 2010
Posts: 3
Hi Everyone,

I realize i'm likely doing something stupid, but i cant find examples of this happening to anyone else on google.

I've followed the instructions for remote debugging tomcat with eclipse found at:

http://confluence.sakaiproject.org/display/BOOT/Debugging+Tomcat+Remotely+Using+Eclipse

everything makes sense, but when i enter "catalina jdpa start" it spits out the standard usage message:

C:\apache-tomcat-6\apache-tomcat-6.0.29\bin>catalina jdpa start
Using CATALINA_BASE: "C:\apache-tomcat-6\apache-tomcat-6.0.29"
Using CATALINA_HOME: "C:\apache-tomcat-6\apache-tomcat-6.0.29"
Using CATALINA_TMPDIR: "C:\apache-tomcat-6\apache-tomcat-6.0.29\temp"
Using JRE_HOME: "C:\glassfishv3\jdk"
Using CLASSPATH: "C:\apache-tomcat-6\apache-tomcat-6.0.29\bin\bootstrap.jar"
Usage: catalina ( commands ... )
commands:
debug Start Catalina in a debugger
debug -security Debug Catalina with a security manager
jpda start Start Catalina under JPDA debugger
run Start Catalina in the current window
run -security Start in the current window with security manager
start Start Catalina in a separate window
start -security Start in a separate window with security manager
stop Stop Catalina
version What version of tomcat are you running?


"catalina run", "catalina debug", etc all work fine.

I tried installing the EE JDK and pointing JAVA_HOME to that, but still the same issue.

My OS is windows 7, but I just tried on Windows XP as well and same thing!

Am I completely missing something very simple?
lars wright
Greenhorn

Joined: Oct 19, 2010
Posts: 3
Ok I feel stupid,

i was typing cataling jdpa start instead of catalina jpda start ... trying to figure out how to delete this topic.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Problem starting tomcat with jdpa
 
Similar Threads
TOMCAT CATALINA_HOME
unable to log with log4j in tomcat 6.0.29
Debugging tomcat from Eclipse
Tomcat startup problems
Tomcat Shutdown problem