NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
nourdine
Joined: 07 Mar 2010 Posts: 5
|
Posted: Sun Mar 07, 2010 7:09 pm Post subject: problem debugging servlets |
|
|
hello guyz
I am new to netbeans (I haeva v 6.8) and have problem debugging servlets at the minute. here what I did:
1 - started tomcat in debug mode
2 - set a breakpoint in the servlet
3 - from the menu I hit debug/Debug project (myProjectName)
after this I got this nice error
| Code: | org.netbeans.api.debugger.jpda.DebuggerStartException: Connection refused
at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.waitRunning(JPDADebuggerImpl.java:354)
at org.netbeans.api.debugger.jpda.JPDADebugger.attach(JPDADebugger.java:263)
at org.netbeans.modules.debugger.jpda.ant.JPDAConnect$1.run(JPDAConnect.java:223) |
also in the debugger console I get:
| Code: |
Attaching to localhost:11550
Connection refused. |
Any1 can help?
thanks |
|
| Back to top |
|
 |
nourdine
Joined: 07 Mar 2010 Posts: 5
|
Posted: Mon Mar 08, 2010 7:20 pm Post subject: |
|
|
| anybody? |
|
| Back to top |
|
 |
nourdine
Joined: 07 Mar 2010 Posts: 5
|
Posted: Mon Mar 08, 2010 7:22 pm Post subject: |
|
|
| anybody? |
|
| Back to top |
|
 |
emiddio
Joined: 07 Sep 2009 Posts: 233
|
Posted: Mon Mar 08, 2010 9:23 pm Post subject: Re: problem debugging servlets |
|
|
how to you expect help when you dont provide any into ?
i like to debugger attach to the server -- glassfish, then run or deploy my
servlet normally; as long as my project is open, and any non-project sources
are
added to the debugger sources -- i can set breakpoints in the servlet
wherever i choose
and debug.
gary
----- Original Message -----
From: "nourdine" <address-removed>
To: <address-removed>
Sent: Monday, March 08, 2010 11:24 AM
Subject: [nbj2ee] problem debugging servlets
|
|
| Back to top |
|
 |
|
|
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
|
|