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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 20

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: 860

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: 5772
    
    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: 860

@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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to start JBoss in debug mode
 
Similar Threads
jboss on windows 98
Starting JBoss
JBoss run.bat not launching not showing any errors just going to next line in the command prompt
java.lang.Unsatisfiedlinkerror
Error in starting Jboss through Command Prompt