cancel
Showing results for 
Search instead for 
Did you mean: 

Debug in remote server

Former Member
0 Kudos

any idea how to debug ?

server client

[master]------->[yzme]

J2EE Engine is sit on the server : [master]

i have a server name: [master]

my local pc : [yzme]

everytime i lauch debug which should i run

1) remote java application

settings

project : webdynproproject

connection type : standard (socket attach)

host: master

port: 50000 / 50021 ??

[x] allow termination of remote VM

2) webdynpro application

SETTING

project: webdynproproject

[x] create and deploy archieve

J2EE ENGINE

instance : master

host: master

http port: 50100

debug port: 50021

debug server: server0

SOURCE

ECLIPSE_HOME/plugins/com.sap.ide.eclipse.j2ee.engine/plugin.jar

JRE_LIB[JRE_SRC/JRE_SRCROOT]-J2SDK1.4.2_10

[X]USE DEFAULT SOURCE LOOKUP

COMMON

Type of lauch configuration:

[x] local

[] shared //what does this mean ??

perspective to switch to when lauched in

run mode : disable

debug mode: default

display in favorites menu

[] debug

although i try both ...err msg : fail to connect to vm server

Message was edited by:

yzme yzme

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos
Former Member
0 Kudos

STILL FACING THE SAME PROBLEM...

i have no options for Reservable for debug OPTIONS

vm connect failed....

the state should be<b>State : debug</b>

when i try netstat

50021 port is established instead of Listening

any idea ...

[my pc]

Process

Name : server0

State: Running

Productive USE : NO

Debug Mode : ON

<b>Restricted Load Balancing : NO </b>

Automatic Restart : YES

Http Port: 0

Debug Port: 50021

SDM Port : 0

Telnet Port: 0

Cluster ID: 324234234

[from the tutorial]

Process

Name : server0

State: Running

Productive USE : NO

Debug Mode : ON

<b>Reservable for debug : NO</b>

Automatic Restart : YES

Http Port: 0

Debug Port: 50021

SDM Port : 0

Telnet Port: 0

Cluster ID: 324234234

Netweaver Java Stack

Message was edited by:

yzme yzme

Message was edited by:

yzme yzme

former_member286976
Active Participant
0 Kudos

Hi,

If some other debug session is going on in the server, it normally throws this error. But I have noticed that even if the debug session is released by another user, there is a time lag between him releasing and we actually can reserve our session. If this happens and if you have permission to restart the debug server node, do that and try debugging. It normally works for me.

Regards,

Sudeep

Former Member
0 Kudos

Hi,

Check whether is any one using your debug session in your server. If no one is using, restart your server. it will work. Same this happend to me.

Thanks and Regards

Ravi

Former Member
0 Kudos

http://help.sap.com/saphelp_nw04/helpdata/en/ae/40e1407e858031e10000000a1550b0/content.htm

according to this the server state should be in debugging instead of running

any idea what i can done....

to check with you whether the state is RUNNING OR DEBUGGING

when setting up debug mode...

there are 2 options..

1 is For cluster configurations only

another is normal one

what is the different between this...

in our environment ..there are several user connect to server0 but none of them ..debug....

pls advice...

now if i click netstat no 50021 ESTABLISHED instead of LISTENING

Message was edited by:

yzme yzme

Message was edited by:

yzme yzme

abhijeet_mukkawar
Active Contributor
0 Kudos

Hi,,

check out this doc: for <b>activating remote debugging</b>

http://help.sap.com/saphelp_nw2004s/helpdata/en/8c/8f2422e701604cb9f8f4f4b15bd7b9/frameset.htm

regards

Answers (0)