facebook

Not able to debug a jsp page

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #266769 Reply

    Vaneet
    Member

    Hi,

    I am able to add brreakpoints in a jsp page , but debuging is not happening there.
    I am able to debug in java class otherwise
    Why is this so ?

    #266806 Reply

    Riyad Kalla
    Member

    There are many reasons. You need to make sure your app server is setup correctly and that your app server supports JSR-45. You need to make sure your app server is being run with JVM 1.4 or later and that MyEclipse is as well.

    #266827 Reply

    Vaneet
    Member

    My app Server is set correctly.
    I am uisng Weblogic 8.1
    and it is running on JVM 1.4
    But how can i check tht whether Weblogic Supports JSR-45 or not ?

    #266832 Reply

    Vaneet
    Member

    Plz tell me why i am not able to debug, although my setting seems to be correct

    #266842 Reply

    Riyad Kalla
    Member

    Vaneet,
    There are some issues with WebLogic’s JSP debugging support that we haven’t been able to reproduce internally. You need to make sure you have debugging turned on for your JSP pages as outlined in this FAQ entry:
    http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10419.html

    So your breakpoints should get hit, but you may need to navigate to the source files manually as the source maps comming back from WebLogic sometimes are not detailed enough for the debugger to know where to break into inside of MyEclipse.

    #266894 Reply

    Vaneet
    Member

    Hi,

    Can u plz tell me where is weblogic.xml located in MyEclipse ?

    #266914 Reply

    Riyad Kalla
    Member

    It is not, it’s located under your WebLogic install directory, I believe somewhere under the domain setup dir. You can use windows search to find it.

    #267019 Reply

    Vaneet
    Member

    I didnt get the file.
    Plz provide me some more information

    #267112 Reply

    Vaneet
    Member

    I am still not able to find weblogic.xml file .
    Where can i find that file ?

    #267145 Reply

    Riyad Kalla
    Member

    The weblogic.xml file is typically placed under your WEB-INF directory.

    #267163 Reply

    Vaneet
    Member

    But u said in one of your previous post that it is located under WebLogic install directory.
    And after that i started looking in my Weblogic installation folder , but i didnt found out anything.
    And now ur saying something else.
    Plz conform and provide correct information.
    BTW i know ideally it should be located in WEB-INF directory , but since i am creating a project in MYEcLipse do i need to create weblogic.xml file manually ?
    In Weblogic Workshop , weblogic.xml is created by the IDE automatically.

    #267178 Reply

    Riyad Kalla
    Member

    Vaneet,
    I appologize for the confusion, the issue is that I don’t use WebLogic nor do we provide support for it. I do have some reference material for WebLogic users that can help them by indicating what needs to be changed in the app server to get debugging working, but it really is up to them to implement those notices. On my personal WebLogic install I use for testing, I simply did a search for “weblogic.xml” to see where it popped up, and it occurs in the WEB-INF directory of the projects. If that’s the case, my guess is you need to create one and put it into the WEB-INF directory of your project, so when it gets deployed, WebLogic will see it and honor the directives inside of it. I cannot be more specific than that.

Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: Not able to debug a jsp page

You must be logged in to post in the forum log in