File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss 7 debug" Watch "JBoss 7 debug" New topic

JBoss 7 debug

Kishen Singh Punjabi
Ranch Hand

Joined: Sep 14, 2012
Posts: 71

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

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

Joined: Jul 20, 2005
Posts: 10441

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.
I agree. Here's the link:
subject: JBoss 7 debug
It's not a secret anymore!