on 08-29-2006 6:12 AM
<b>Hi Experts,</b>
I am just trying to debug sample JspDynpage / Webdynpro application.
<b>Server side configuration</b> - In the server side I have made sure the debug mode is enabled & the server is restarted.
<b>NWDS side configuration</b> : Both SDM & Server side debug mode is <b>on</b>(Activated) in the J2ee engine.
<b>1. JspDynpage</b> - I have created a new <b>"Remote Java application"</b> configuration to debug a sample JspDynpage application it shows me the error that <b>"Failed to connect to remote VM" - connection refused</b>
<b>2. WebDynpro</b> - I have created a new <b>"WebDynpro application"</b> configuration to debug a sample WebDynpro application it shows me the error that <b>"Failed to connect to remote VM" - connection refused</b>
In both the cases it shows me the same error <b>"Failed to connect to VM" - Connection refused</b>
Host address, debug ports & others port settings seems to be correct. I really don't understand where am i going wrong. Is the problem in the server side config or NWDS side config. Please let me know at the earliest.
Can someone please help me to solve this issue.
I would be thankful to you and also reward some points.
<i>Thanks,
sandeep</i>
Hi Sandeep,
If you enable debug mode for first time, then it requires a restart of your server.
Check the actual status of your server, if debug mode is on from NWA. http://yourserver:port/nwa (logon with j2ee admin)
If NWA shows the actual status of your server.
Greetings,
Praveen Gudapati
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Praveen,
I don't have access to the server. I have asked my server admin regarding this, he says that he has done the necessary config & restarted the server.
Any other means which has possibly caused the error "Failed to connect to remote VM" - Connection refused.
Suggestions would be appreciated with rewards.
Thanks,
Sandeep
Hi Sandeep,
There are other things you can check, but you need to have access to the server.
Possible problems that can cause "<b>Failed to connect to remote VM - Connection refused</b>"
1. Some other guy has already connected to the debug port and as only one can debug at a moment you get this error.
2. You specified wrong debug port to connect in NWDS
But to find if some one already connected to debug port you need access to server. If you have access and know the debug port, goto dos-command and enter "netstat".
Then you will see all connections with port numbers, so from connection status on your debug port you can know more.
Greetings,
Praveen Gudapati
Hi Praveen,
Thanks for the info
1. Possibly I am the only person working on how to debug the application.
2. Debug port = 50021, Probably even this is fine.
I think the error is due to something else...
In the J2ee Engine under despatcher the debug mode is off. Does this have any impact on application debugging.
Just need u r help in sorting out the problem, I feel we are very close.
Thanks for your inputs.
Thanks,
Sandeep
Hi Sandeep,
It does not matter if the dispatcher debug mode is off.
The only suspiction I have is that you specify wrong debug port.
To check if your servers debug port is 50021, access the "SAP Management Console", here you can check the "process table" where you will see "dispatcher", "server" and "SDM". Check the debug column of "server" row entry. It should be "<b>Switched on (50021)</b>". That is the port you should connect to.
Greetings,
Praveen Gudapati
I finally got the debugger to start by installing Developer workplace using a local server.The connection is made fast enough ,application is deployed but when I click on a button which has a breakpoint attached to it ,it reaches till the breakpoint but does not goto the next statement on pressing F5 even F8 does not quit the session and execute the application further.
Any ideas why his is happening.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks
We are not using the VPN connection to start the Debugger right now. Also, nobody else is using the Debugger right now except me . Also we have restarted the SDM,dispatcher and the server a number of times ,still it doesen't help.
Please reply
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I am getting the same issue ,any help would be really appreciated
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.