cancel
Showing results for 
Search instead for 
Did you mean: 

Remote Debugging SAP J2EE 6.30 - WEB AS 6.40

Former Member
0 Kudos

After reading SAP Internet Sales 4.0 - Development and Extension Guide manual i haven't found a way to enable remote debugging ...

Does anyone know how to enable remote debugging at SAP J2EE Visual Administrator 6.30, in order to connect with Netweaver Developer Studio (NWDS) and start debugging?

The way that remote debugging is enabled has changed from the version SAP J2EE Engine 6.20, thus the SAP J2EE Engine 6.20 Administration Manual, doesn't help!

Regards,

Thanassis

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

1.) 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

2.) set up Netweaver Dev. Studio

- choose "Run"->"Debug"->"Remote Java Application"

- add new profile

- enter project, host, port (50021) in tab "Connect"

- add project source to "Source Lookup Path" (uncheck "Use default source lookup path")

- press "apply", then "debug" -> now the J2EE engine gets connected

Regards,

S.Divakar

Former Member
0 Kudos

Hi again Salla,

i have followed your steps for enabling Debugging... and i'm at the last one..

>> - press "apply", then "debug" -> now the J2EE engine gets connected

So, the J2EE engine has succesfully connected.

So.. after the connection how can i debug a jsp page?

SAP NWDS help follows another path to the debugging process...

http://help.sap.com/saphelp_nw04/helpdata/en/66/547f09281d464b951c9a3a6b06a12d/content.htm

that doesn't help...

Also, SAP ISA 4.0 Development and Extension Guide doesn't explain the debugging process!

Regards,

Thanassis

Former Member
0 Kudos

Hi,

as i understand you cannot debug a JSP Page, but you can debug your Java/portal application project.

Regards,

S.Divakar

Answers (1)

Answers (1)

former_member182372
Active Contributor
0 Kudos

Hello Thanassis,

To enable remote debugging you need not Visual Administrator but Config Tool. Check this post:

Best regards, Maksim rashchynski.