Remote Debugging SAP J2EE 6.30 - WEB AS 6.40
此问题 已被回答。
Thanassis Koustenis 2005/12/10 下午 1:32
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
正确答案 作者 Divakar Salla 打开 Dec 10, 2005 3:17 PM
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 查看上下文中的答案 有用答案 作者 Maksim Rashchynski, Divakar Salla
790 浏览次数
平均用户评级
(0 评级)
正确答案Re: Remote Debugging SAP J2EE 6.30 - WEB AS 6.40
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
举报滥用
喜爱 (0)
Re: Remote Debugging SAP J2EE 6.30 - WEB AS 6.40
Thanassis Koustenis 2005/12/10 下午 8:00 (回复 Divakar Salla)
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
举报滥用
喜爱 (0)
有用答案Re: Remote Debugging SAP J2EE 6.30 - WEB AS 6.40
Divakar Salla 2005/12/11 上午 8:22 (回复 Thanassis Koustenis)
Hi,
as i understand you cannot debug a JSP Page, but you can debug your Java/portal application project.
Regards,
S.Divakar
举报滥用
喜爱 (0)
有用答案Re: Remote Debugging SAP J2EE 6.30 - WEB AS 6.40
Maksim Rashchynski 2005/12/10 下午 3:18 (回复 Thanassis Koustenis)
Hello Thanassis,
To enable remote debugging you need not Visual Administrator but Config Tool. Check this post: