on 09-20-2007 10:08 PM
I'm trying to debug the b2b 5.0 web application in Developer Studio. The web server is running locally on the same machine. I select Run --> Debug... Then on the "Web Object" tab, for "Enterprise Application Project" I click on "Browse..". However no projects are listed to select from. I should see the J2EE project.
I can debug J2EE projects that I create myself, but when the J2EE project is created from a DC, it won't show on the list.
Below is the info on the version of Studio I'm running:
SAP NetWeaver Developer Studio
Version: 7.0.09
Build id: 200608262203
Thanks,
Roger
hello Roger,
you will need to have Enterprise Archive project as a target of degugging.
You cannot directly debug Web Application project
Ashu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ashu,
Thanks for your reply. When you say "Enterprise Archive Project" do you mean "Enterprise Application Project"?
I have an Enterprise Application Project (which builds the ear) and a Web Module Project (which builds the war file). I am able to build, deploy and run the Enterprise Application on the local server.
When I choose Run --> Debug..., I would expect to see the Enterprise Application Project listed. Also, I do not see it listed when I choose Run --> Run either.
Roger
Hi Ashu,
Thanks for your replies. I right-clicked on web project and selected Add to EAR project. However, nothing changed.
I'm not sure how one project should refer to the other. I create the projects by right clicking on the DC in the "Inactive DC's" view of the Development Configuration Perspective and selecting "Create Project". I do that for both the web DC and the enterprise DC. The projects build, deploy and run OK, so I assume the references between them are correct. Maybe there is something additional I need to do to get them to run using Run --> Debug.
Roger
Hello Roger,
I have the same problem. Could you resolve it? If so, please share the solution.
Thanks a lot!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Roger,
I was facing the same problem and actually it occures for two reasons
1. Your WEB DC does not have JSP files, so if that's the case just add some dummy JSP, rebuild your EAR project which contains your WEB DC and than try to debug as J2EE App.
2. If mentioned above is not the case, please, select your EAR DC, click right mouse button and in the menu go to Properties, there check if your WEB DC is selected if not, select it and rebuid EAR again.
Hope it helps. At least I got those two situations where EAR projects were not displayed in the list for debugging.
Cheers
Aleks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Roger,
I don't think we will be able to debug J2EE project library file directly,however it could be done in other way through calling application.
In your case if you are using J2EE library DC in web project,it might have been maintained as a shard refernece in Enterpraise application project to which your Web project is added to.Now you need to put a debugging point in web applciation where there is a call to library project and start debugging of your Enterpraise applciation project.This will allow you to debug your J2EE library DC.
Hope this will be useful..
Thanks,
Naidu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I also have same problem. Can any one let me know to to fix this debug issue ASAP.
Thanks
Aparna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.