NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Remote debugging of Glassfish

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Developers
View previous topic :: View next topic  
Author Message
michal.owsiak



Joined: 05 Sep 2011
Posts: 35

PostPosted: Thu May 10, 2012 7:44 am    Post subject: Remote debugging of Glassfish Reply with quote

Hello NetBeans team,

we are still struggling with remote debugging in NetBeans 7.0.

There is this project, where we have to perform remote debugging of the application deployed on Glassfish.

Everything is set up correctly, we can deploy application, we can start application we can connect to remote Glassfish from NetBeans.

However, if we try to start remote debugging session, NetBeans fails to do so. It tries to restart server and that's it. All we can see is a progress bar indicating that server is being restarted.

Funny thing is, that locally it works just fine.

Just to clarify:

- we have ports opened and accessible (telnet works fine)
- server is started in debug mode
- admin port is accessible
- NetBeans can reach server and we can deploy application
- Debugger is the only thing that fails

Now, do you have any check-list we can follow when it comes to setting up remote debugging in NetBeans with Glassfish?

BTW. jdb seems to connect just fine:

michalo:/Users/michalo/> jdb -attach host_name:9009
Set uncaught java.lang.Throwable
Set deferred uncaught java.lang.Throwable
Initializing jdb ...
Quote:
exit

Our configuration:

NetBeans 7.0
GlassFish Server Open Source Edition 3.0.1 (build 22)

Thanks in advance for your support.

Cheers

Michal
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Developers All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo