on 08-21-2008 8:32 PM
Hi
When i want debug the WD application i do this steps in this threads:
there are no J2EE Engine in preferences, but i configure in debug dialog window.
that's ok.
but i dont know how i can debug j2ee application.
In j2ee application i have one EJB with webservices, and i need debug the webservices methods.
I dontn't now how do this.
I am using SAP NetWeaver 7.1 CE.
Can anyone help me?
Hi,
Here are the steps:
1. Go to Window->Preferences->SAP AS Java. Click on "Add new SAP system" button. Mention the hostname & the instance number of the CE server that you want to reference. Save. Make sure that the server is in debug mode
2. Open debug dialog and create a new configuration under "Remote Java Application". Name it whatever you like.
3. Select the j2ee project by clicking "Browse". Leave the "Connection Type" to "Standard (Socket Attach)". Mention "Connection Properties" parameters with hostname/IP of the CE server and the debug port. Note that this is the debug port and not the HTTP port. You can find it from the NWA application.
4. Set a breakpoint inside the ejb code, the main ejb and not any of the interfaces.
That's it, launch your WD application and when the ejb is invoked it will stop at the breakpoint (I mean, in theory it should ).
Regards,
Satyajit.
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 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.