• 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
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

How to config tomcat 5.5 in debug ?

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I know we add below entries in Catalina.bat file.

1. set JPDA_TRANSPORT=dt_socket
2. set JPDA_ADDRESS=8000

How ever i am not able to find Catalina.bat file in Tomcat 5.5. I am able to see only bootstrap, commons-logging-api-1.1.1, tcnative-1.dll, tomcat-juli, tomcat5, tomcat5w files in bin directory.


please suggest is there any other procedure to configure tomcat in debug mode...


 
Bartender
Posts: 20938
127
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Apparently one of the Windows Tomcat downloads doesn't have this and presumably expects that you'll only be launching Tomcat as a Windows Service.

I think you can set these options on the Windows Service Manager, but if you prefer, check the Tomcat downloads and see if there's not a command-line friendly Windows version in there.
 
abheeshek reddy
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Tim Holloway wrote:Apparently one of the Windows Tomcat downloads doesn't have this and presumably expects that you'll only be launching Tomcat as a Windows Service.

I think you can set these options on the Windows Service Manager, but if you prefer, check the Tomcat downloads and see if there's not a command-line friendly Windows version in there.





Thanks alot Tim.

where i should paste the entries or in simple words please could you give variable name in Windows Service manager
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

abheeshek reddy wrote:

Tim Holloway wrote:Apparently one of the Windows Tomcat downloads doesn't have this and presumably expects that you'll only be launching Tomcat as a Windows Service.

where i should paste the entries or in simple words please could you give variable name in Windows Service manager



I had the similar problem the steps I carried out is listed below.

My Computer -> Proprieties-> Advanced ->Environment variables

Created a new variable under system variable "JPDA_ADDRESS" of value "8000"

created a batch file with the below details and change your tomcat home path as per your directory location

set JPDA_TRANSPORT=dt_socket
CMD.exe /c "C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin\tomcat5.exe" jpda start






 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!