File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes JBoss 7 debug Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss 7 debug" Watch "JBoss 7 debug" New topic
Author

JBoss 7 debug

Kishen Singh Punjabi
Ranch Hand

Joined: Sep 14, 2012
Posts: 65
Hi,

I am using JBoss 7 for running my web applications, I want to debug using the JBoss inbuilt feature.
I made a breakpoing at a line in my servlet, right clciked on my project and Debug as -> Debug on server. Though i am calling the servlet, the eclipse is not going into Debug mode and am unable to debug.

Please help. Thanks in advance.
E Armitage
Rancher

Joined: Mar 17, 2012
Posts: 892
    
    9
Did your application deploy successfully?
Is your serlvet being called at all?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9930
    
159

Have you done the necessary changes/additions to the startup script of the application server to start it in debug mode?

[My Blog] [JavaRanch Journal]
Muhammad Khojaye
Ranch Hand

Joined: Apr 12, 2009
Posts: 449

Add given JVM args for remote debugging:

Start your eclipse with remote debugger to listening on port 8998.

Configuring Eclipse using below steps,

Start Eclipse
Go to Run -> Debug Configurations
Create a new Remote Java Application configuration
Configure the remote application's details
click Apply


I hope it helps.


http://muhammadkhojaye.blogspot.com/
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JBoss 7 debug
 
Similar Threads
unable to start jboss 5.0 server in eclipse
Standard Out - Debugging
How to migrate a project from TomCat 7 to JBoss AS 7
javax.crypto on a servlet
JBoss: extremly slow when in debug mode?