on 10-21-2004 1:16 PM
Hello,
i develop a J2EE Application with Netweaver Developer Studio on Web AS 6.40 Sneak Preview. A jsp call a servlet and the servlet uses a EJB. Is it possible to debug the code of the EJB? I always get the message, that the source code was not found.
Thanks
Tobias
I tried the tutorial, but there is only described, how to debug a servlet or a jsp. I can debug the servlet or the jsp, but i can't jump into to the Bean Object/methods of the bean. I can deploy the the application, and the application with the EJB is running.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
every EJB call goes through server-generated proxy objects before invoking the implementation of the business method in the bean class. The proxy classes are generated by the J2EE Engine during the application deployment, so they are not part of the IDE EJB project and their code is unknown for the debugger.
I would propose you to set a breakpoint in the beginning of your business method implementation. From the moment the call leaves the servlet till the moment it enters the bean's business method it goes through the server-generated code which sould not be relevant for your debugging.
Regards,
Svetoslav
There is a tutorial for debugging in the manuals. Did you try that?
Regards,
Benny.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well...the first obvious question is that do you have all the EJB source code in your debuggers path and have you compiled the sources in debug mode?
Cheers,
Kalle
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 | |
9 | |
7 | |
7 | |
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.