This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to start JBoss in debug mode

 
silamala ramesh babu
Greenhorn
Posts: 25
Eclipse IDE Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,
I am new to springMVC.In my project we are using jboss and we are ANT for build purpose ,Here i need to understand the flow for that i need to start JBOSS in Debug mode and here i am giving some important config of my run.bat of JBOSS.

 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why would you want to debug JBoss?

You can definitely tweak the jboss-log4j.xml and other settings, but shouldn't you be more concerned with your application?

WP
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you read the .bat file contents you posted? Did you see this comment (line 38): "Uncomment and modify as appropriate to enable remote debugging."

@William, the point is not to debug JBoss AS itself, but rather to be able to set breakpoints within your application and be able to debug it while running within the container.
 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@Peter

It wasn't obvious that the OP wanted to remotely debug his application.
This is quite easily done in Eclipse too.

If he wants to remote debug, then by all means turn it on.

WP
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic