facebook

[Oracle AS] How to debug Classes or JSPs?

  1. MyEclipse Archived
  2.  > 
  3. FAQ – Complete
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #247383 Reply

    Riyad Kalla
    Member

    When using OC4J you must be using atleast version 10.1.3 which added support for JSR-45. After getting OC4J installed, go into the <OC4J Home>/j2ee/home/config/ directory and open the global-web-application.xml file, navigate down to the jsp servlet defined starting with:

    
    <servlet-name>jsp</servlet-name>
    <servlet-class>oracle.jsp.runtimev2.JspServlet</servlet-class> 
    

    and add a new init-param to it, like so:

    
    <servlet-name>jsp</servlet-name>
    <servlet-class>oracle.jsp.runtimev2.JspServlet</servlet-class>
    <init-param>
      <param-name>debug</param-name>
      <param-value>true</param-value>
    </init-param> 
    

    now save the file and either restart the app server, or start it up. Debugging should be working now. Some people have reported problems with “Source not found” in MyEclipse when debugging JSP pages, we are currently looking into this issue.

    More details are available in this thread as well as this one.

Viewing 1 post (of 1 total)
Reply To: [Oracle AS] How to debug Classes or JSPs?

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