2

For some reason, instead of target jspx page i am gettin the error

OracleJSP error: java.io.FileNotFoundException:

Set the init-param debug_mode to "true" to see the complete exception message.

(thats it, no file name).

But i have no idea where to set this init-param.

As far as i googled, everyone suggesting (well, back in 2001-2009 years) to set it in global-web-application.xml file, but it seems missing in modern JDeveloper setup.

Also ones are suggesting to add init-param in web.xml (which is exists), but to non-existing section:

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

So i am confused. Where should i add this init-param in modern (11.1.1.6.0+) JDeveloper setups?

Alexander Tumin
  • 1,561
  • 4
  • 22
  • 33

3 Answers3

0

The easiest thing to do would be to click the debug icon instead of the run icon in JDeveloper - that will start your WebLogic in debug mode and you'll be able to debug your JSPs.

https://blogs.oracle.com/shay/entry/introduction_to_the_adf_debugger

You can also start WebLogic itself with debug parameters http://www.oracle.com/technetwork/developer-tools/jdev/remotedebugwls-086628.html

Shay Shmeltzer
  • 3,693
  • 1
  • 13
  • 9
0

As Shay mentioned, you could just debug your project instead of running it. To set the debug params, just goto :

project properties - run debug - launch settings - java options and add all your params
lokoko
  • 5,785
  • 5
  • 35
  • 68
0

Another option - start Weblogic in debug mode and connect to it using remote debugger from JDeveloper.

St.Shadow
  • 1,840
  • 1
  • 12
  • 16