cancel
Showing results for 
Search instead for 
Did you mean: 

Enabling Debugging?

MarkusKlein
Active Contributor
0 Kudos

Hello everybody,

i wanted to enable debugging modus of our WAS 6.40 SP9 using the NWDS, unfortunatelly all options are disabled. It also says that the process is in "productive use". So how can i enable debugging?

Accepted Solutions (1)

Accepted Solutions (1)

former_member182372
Active Contributor
0 Kudos

Hello Markus,

Check

/thread/62441 [original link is broken]

Best regards, Maksim Rashchynski.

MarkusKlein
Active Contributor
0 Kudos

Thanks for the reply.

I have seen these docs already. The problem is, when i login as the j2ee admin to the VA and select the server node at the cluster tab i see only one tab there. Its called "Info". There it says:

- Name: Server 0 0_xxxxx

- Type: Server

- Kernel Version: 6.40 PatchLevel 87289.311

- ID: xxxxx

- Host IP: xxx.xxx.xxx.xxx

- Host name: xxxxxx

- Debuggable: No

- Debug Modus: Off

MarkusKlein
Active Contributor
0 Kudos

Never mind.. using the config tool instead of the VA should do the trick

Markus

former_member182372
Active Contributor
0 Kudos

Markus, if the problem is solved, please, assign points and mark thread as solved.

Thanks!

Former Member
0 Kudos

Hi Markus, i have the same problem with you.. did you find any solution yet?

SAP J2EE Visual Administrator Status:

Debuggable: No

Debug Mode: Off

Thanks,

Thanassis

Former Member
0 Kudos

Hi Thanasis,

To enable debugging in the J2EE server

Note: the method described in the documentation did not work for me (Beta5)

What did worked is:

- connect w/ J2EE administrator tool (C:\usr\sap\C11\JC00\j2ee\admin\go.bat)

- navigate the tree in tab "cluster" to node

"C11"->"Server"->"Services"->"Configuration Adapter"

- select on the right side: "cluster_data"->"Propertysheet instance.properties.ID31898"

- change the parameters:

"DebugMode" -> "yes"

"DebugPort" -> "50021"

"Debuggable" -> "yes" (not sure whether this is really required)

- restart J2EE instance with MMC

Regards,

S.Divakar

Former Member
0 Kudos

Thank you very much Salla,

Can you check please if the debug port is 50021 (or 50221 which is the default).

I found also that there is a utility: configtool.bat (C:\usr\sap\J2E\JC00\j2ee\configtool) that enables the Debuggable feature..

I have done what you write in your message..and when i open the Visual Administrator i see under...

Cluster->J2E->Server-> Debuggable: YES

Debug Mode: Off

although i have changed the parameters to..

>>- change the parameters:

>>"DebugMode" -> "yes"

>>"DebugPort" -> "50021"

>>"Debuggable" -> "yes" (not sure whether this is really required)

Do you have any good idea why the Debug Mode is Off?

Thanks a lot for the support,

Thanassis

Former Member
0 Kudos

Hi,

>> Can you check please if the debug port is 50021 (or 50221 which is the default).

50021 is the default Debug port.

>> Do you have i good idea why the Debug Mode is Off?

By Default 'Debug Mode' is set to 'no' status, you will have to set it to 'yes'.

Ones you set the parameters you will have to restart for the setting to reflect.

Regards,

Divakar

Former Member
0 Kudos

Hi Salla,

At the SAPMMC i can see:

Console Root->Sap Systems->J2E->sapsrv2->Process Table->

server0-> Debug: Switched on (50221), Status:Running

after that i open J2EE Visual Administrator and under the

Cluster->J2E->Server->

i see Debuggable:Yes, Debug Mode: Off

Best regards,

Thanassis

MarkusKlein
Active Contributor
0 Kudos

Hello Thanassis,

using the Config Tool instead of the Visual Administrator worked out for me. At the Config Tool i could set the server instance to debuggable on port 50021.

regards,

Markus

Answers (0)