Thread View: borland.public.jbuilder.debugger
9 messages
9 total messages
Started by Simeon Leyzerzon
Fri, 18 Feb 2005 16:19
Remote debugging problem
Author: Simeon Leyzerzon
Date: Fri, 18 Feb 2005 16:19
Date: Fri, 18 Feb 2005 16:19
16 lines
1665 bytes
1665 bytes
I've followed the instructions and configured debugging on a remote box for JBX: Added the following to the remote WebLogic server startup scipt: JAVA_OPTIONS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5006 In JBuilder I've created a remote debuggin configuration whereby I attach to the remote box using port 5006 What I'm getting as a result of this configuration is JBX stops at the first breakpoint in the project, but then all the debuggin options (step in, over, out) are greyed out(disabled). I'm debugging a servlet, it's deployed on WLS 8.1 sp2 on Solaris. Am I missing any required steps? Thank you in advace for your help. Simeon
Re: Remote debugging problem
Author: Lori M Olson [TeamB]
Date: Fri, 18 Feb 2005 17:01
Date: Fri, 18 Feb 2005 17:01
42 lines
2486 bytes
2486 bytes
Simeon Leyzerzon wrote:
> I've followed the instructions and configured debugging on a remote box for JBX:
>
> Added the following to the remote WebLogic server startup scipt:
>
> JAVA_OPTIONS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5006
>
> In JBuilder I've created a remote debuggin configuration whereby I attach to the remote box using port 5006
>
> What I'm getting as a result of this configuration is JBX stops at the first breakpoint in the project, but then all the debuggin options (step in, over, out) are greyed out(disabled).
>
> I'm debugging a servlet, it's deployed on WLS 8.1 sp2 on Solaris.
>
> Am I missing any required steps?
> Thank you in advace for your help.
> Simeon
>
On which OS are you running JBuilderX?
Is your project using the same JDK revision as the WebLogic instance
(JDK 1.4.2)?
--
Regards,
Lori Olson [TeamB]
------------
Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.
Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Re: Remote debugging problem
Author: Simeon Leyzerzon
Date: Fri, 18 Feb 2005 17:28
Date: Fri, 18 Feb 2005 17:28
52 lines
2481 bytes
2481 bytes
Lori, JBX is running on Win XP. I have the same JDK (1.4.2_03) locally and on WebLogic instance on Solaris box. Thank you for your help! Simeon "Lori M Olson [TeamB]" <javadragon@techie.com> wrote: >Simeon Leyzerzon wrote: > >> I've followed the instructions and configured debugging on a remote box for JBX: >> >> Added the following to the remote WebLogic server startup scipt: >> >> JAVA_OPTIONS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5006 >> >> In JBuilder I've created a remote debuggin configuration whereby I attach to the remote box using port 5006 >> >> What I'm getting as a result of this configuration is JBX stops at the first breakpoint in the project, but then all the debuggin options (step in, over, out) are greyed out(disabled). >> >> I'm debugging a servlet, it's deployed on WLS 8.1 sp2 on Solaris. >> >> Am I missing any required steps? >> Thank you in advace for your help. >> Simeon >> > >On which OS are you running JBuilderX? > >Is your project using the same JDK revision as the WebLogic instance >(JDK 1.4.2)? > >-- > >Regards, > >Lori Olson [TeamB] > >------------ > >Save yourself, and everyone else, some time and search the >newsgroups and the FAQ-O-Matic before posting your next >question. > >Google Advanced Newsgroup Search > http://www.google.ca/advanced_group_search >Other Newsgroup Searches: > http://www.borland.com/newsgroups/ngsearch.html >Joi Ellis's FAQ-O-Matic: > http://www.visi.com/~gyles19/fom-serve/cache/1.html
Re: Remote debugging problem
Author: Lori M Olson [TeamB]
Date: Fri, 18 Feb 2005 19:20
Date: Fri, 18 Feb 2005 19:20
19 lines
1584 bytes
1584 bytes
Simeon Leyzerzon wrote: > Lori, > > JBX is running on Win XP. I have the same JDK (1.4.2_03) locally and > on WebLogic instance on Solaris box. > > Thank you for your help! Simeon > > Please confirm... Have you checked your Windows XP firewall settings to make sure that the port you are using for remote debug is completely open? -- Regards, Lori Olson [TeamB]
Re: Remote debugging problem
Author: Simeon Leyzerzon
Date: Fri, 18 Feb 2005 20:42
Date: Fri, 18 Feb 2005 20:42
27 lines
1655 bytes
1655 bytes
How do I test that? Is there a command I could run from a terminal window on XP? We've tested on port 5005 & 5006. Both exibit the same behavior. Regards, Simeon "Lori M Olson [TeamB]" <javadragon@techie.com> wrote: >Simeon Leyzerzon wrote: > >> Lori, >> >> JBX is running on Win XP. I have the same JDK (1.4.2_03) locally and >> on WebLogic instance on Solaris box. >> >> Thank you for your help! Simeon >> >> > >Please confirm... Have you checked your Windows XP firewall settings to >make sure that the port you are using for remote debug is completely open? > >-- > >Regards, > >Lori Olson [TeamB]
Re: Remote debugging problem
Author: Lori M Olson [TeamB]
Date: Fri, 18 Feb 2005 22:05
Date: Fri, 18 Feb 2005 22:05
34 lines
2013 bytes
2013 bytes
Simeon Leyzerzon wrote:
> How do I test that? Is there a command I could run from a terminal window on XP? We've tested on port 5005 & 5006. Both exibit the same behavior.
>
> Regards,
> Simeon
>
telnet localhost 5005
telnet localhost 5006
If it is blocked by your firewall, you'll get something like:
Connecting To localhost...Could not open connection to the host, on port
5006: Connect failed
--
Regards,
Lori Olson [TeamB]
------------
Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.
Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Re: Remote debugging problem
Author: Simeon Leyzerzon
Date: Fri, 18 Feb 2005 22:43
Date: Fri, 18 Feb 2005 22:43
44 lines
2160 bytes
2160 bytes
I can definitely telnet to the remote box, but not on these ports. Just tested... Are these the ports on which telnet will be listening? Thank you. Simeon "Lori M Olson [TeamB]" <javadragon@techie.com> wrote: >Simeon Leyzerzon wrote: > >> How do I test that? Is there a command I could run from a terminal window on XP? We've tested on port 5005 & 5006. Both exibit the same behavior. >> >> Regards, >> Simeon >> > > telnet localhost 5005 > telnet localhost 5006 > >If it is blocked by your firewall, you'll get something like: > >Connecting To localhost...Could not open connection to the host, on port >5006: Connect failed > >-- > >Regards, > >Lori Olson [TeamB] > >------------ > >Save yourself, and everyone else, some time and search the >newsgroups and the FAQ-O-Matic before posting your next >question. > >Google Advanced Newsgroup Search > http://www.google.ca/advanced_group_search >Other Newsgroup Searches: > http://www.borland.com/newsgroups/ngsearch.html >Joi Ellis's FAQ-O-Matic: > http://www.visi.com/~gyles19/fom-serve/cache/1.html
Re: Remote debugging problem
Author: Lori M Olson [TeamB]
Date: Fri, 18 Feb 2005 23:29
Date: Fri, 18 Feb 2005 23:29
31 lines
2192 bytes
2192 bytes
Simeon Leyzerzon wrote:
> I can definitely telnet to the remote box, but not on these ports.
> Just tested... Are these the ports on which telnet will be
> listening? Thank you. Simeon
telnet is just a handy way of checking if specific ports are available.
Your Windows firewall must be configured to allow connections on the
debugging ports you are using. If you are using a third-party firewall,
read up on how to open ports, otherwise read the Windows help on the
Windows Firewall if you need more information.
--
Regards,
Lori Olson [TeamB]
------------
Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.
Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Re: Remote debugging problem
Author: Simeon Leyzerzon
Date: Tue, 22 Feb 2005 18:57
Date: Tue, 22 Feb 2005 18:57
45 lines
2514 bytes
2514 bytes
Lori, On the Unix side I'm seeing the following when stopping at the breakpoint in JBX (netstat command): nys45a-4703.5006 wnyc110566905.csfb.cs-group.com.3944 17104 0 24820 0 ESTABLISHED which I'm interpreting as the fact that it connects and no firewall is involved. But the JBX debugging options are disabled in the IDE. Regards, Simeon "Lori M Olson [TeamB]" <javadragon@techie.com> wrote: >Simeon Leyzerzon wrote: > >> I can definitely telnet to the remote box, but not on these ports. >> Just tested... Are these the ports on which telnet will be >> listening? Thank you. Simeon > >telnet is just a handy way of checking if specific ports are available. > >Your Windows firewall must be configured to allow connections on the >debugging ports you are using. If you are using a third-party firewall, >read up on how to open ports, otherwise read the Windows help on the >Windows Firewall if you need more information. > >-- > >Regards, > >Lori Olson [TeamB] > >------------ > >Save yourself, and everyone else, some time and search the >newsgroups and the FAQ-O-Matic before posting your next >question. > >Google Advanced Newsgroup Search > http://www.google.ca/advanced_group_search >Other Newsgroup Searches: > http://www.borland.com/newsgroups/ngsearch.html >Joi Ellis's FAQ-O-Matic: > http://www.visi.com/~gyles19/fom-serve/cache/1.html
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads