Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
jim_stoll@hotmail.com
Post subject: no catalina.bat in TOMCAT5.5 need to remote debug  PostPosted: Dec 13, 2007 - 04:01 PM
Registered Member
Registered Member


Joined: Jun 25, 2006
Posts: 28

Guys,

i have installed the windows executable version of tomcat 5.5. It is fairly neat, however i am having the devil of a time trying to get myEclipse to remotely debug it in particular where do i put the

Code:
set JPDA_TRANSPORT=dt_socket
set JPDA_ADDRESS=8000
catalina.bat jpda start


parmeters ? have tried using the Java and startup tabs of the startup window but to no avail !

each time i try and debug from myEclipse i get the message
Code:
connection refused:connect
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: no catalina.bat in TOMCAT5.5 need to remote debug  PostPosted: Dec 13, 2007 - 04:20 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8013

Go through section 3.2 of the following document. It explains how to set these parameters by typing them in your cmd.exe shell:-
http://www.myeclipseide.com/documentation/quickstarts/remotedebugging/#tomcat

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
jim_stoll@hotmail.com
Post subject: RE: no catalina.bat in TOMCAT5.5 need to remote debug  PostPosted: Dec 13, 2007 - 09:55 PM
Registered Member
Registered Member


Joined: Jun 25, 2006
Posts: 28

sorry nipun,
I guess i didn't make myself clear but there is no catalina.bat in TOMCAT5.5/bin

in fact there are no bat files at all ( tomcat is started as a sevice ) check it out...
 
 View user's profile Send private message  
Reply with quote Back to top
jim_stoll@hotmail.com
Post subject: RE: no catalina.bat in TOMCAT5.5 need to remote debug  PostPosted: Dec 17, 2007 - 03:10 PM
Registered Member
Registered Member


Joined: Jun 25, 2006
Posts: 28

nipun,


Is there any way I can ensure that the JVM i am running my windows executable version of Tomcat 5.5 is actually picking up the envoironment variables i have specified before i execute the Tomcat5.exe.
 
 View user's profile Send private message  
Reply with quote Back to top
jim_stoll@hotmail.com
Post subject: RE: no catalina.bat in TOMCAT5.5 need to remote debug  PostPosted: Dec 17, 2007 - 03:40 PM
Registered Member
Registered Member


Joined: Jun 25, 2006
Posts: 28

NIPUN

Found the following error message in the logs for TOMCAT whenever i unsucessfully try to start tomcat via the system tray icon / window..
Code:

Dec 17, 2007 10:20:43 AM org.apache.catalina.startup.Bootstrap main
WARNING: Bootstrap: command "start  jpda" does not exist.
Dec 17, 2007 10:20:43 AM org.apache.catalina.startup.Bootstrap main
WARNING: Bootstrap: command "start  jpda" does not exist.
Dec 17, 2007 10:25:34 AM org.apache.catalina.startup.Bootstrap main
WARNING: Bootstrap: command "  jpda start" does not exist.
Dec 17, 2007 10:25:34 AM org.apache.catalina.startup.Bootstrap main
WARNING: Bootstrap: command "  jpda start" does not exist.



whenever i put either combination of "jpda start" in the startup pams tab of the windows executable tomcat 5.5

the only aceptable parmeter appears to be "start" and this is the only way to start tom cat 5.5

any suggestions ?
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject: RE: no catalina.bat in TOMCAT5.5 need to remote debug  PostPosted: Dec 18, 2007 - 04:30 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23855

Moving to OT > Soft Dev

Jim, sorry I don't have any really detailed experience managing a windows service for passing args like that. You could just use the embedded Tomcat inside MyEclipse and deploy it to the system install when you want (make sure they aren't running at the same time).

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits