aspose file tools*
The moose likes JBoss/WildFly and the fly likes How to start JBoss in debug mode Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "How to start JBoss in debug mode " Watch "How to start JBoss in debug mode " New topic
Author

How to start JBoss in debug mode

silamala ramesh babu
Greenhorn

Joined: Dec 08, 2011
Posts: 25

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.



rsilamala
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 859

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

Joined: May 14, 2008
Posts: 5830
    
    7

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.


JBoss In Action
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 859

@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
 
jQuery in Action, 2nd edition
 
subject: How to start JBoss in debug mode