Tuesday 28 March 2017

Some Common Errors and Solutions in ADF

Hi All ,Today i'll explain some common errors in ADF which I have faced.
  • 500 Internal Error - I used the URL in the below format https://test.com/test/adf/ I got 500 internal error.  Want to know how to restrict such errors what should be the best approach. Here the context root is test/ but when I add /adf after the context root I get the 500 internal server error. Please let me know if any approaches to avoid such errors.
  • Solution - 'faces' is routed to a special servlet which is defined in the web.xml and it's mapping. the 'adf' is normally mapped to the resources servlet which reads resources from the application.In general you can't prevent the user to input something which doesn't make sense. Such errors (http 404, 500,...) and be routed to error pages which you design to show to the user. This is done in the web.xml in the pages section:



You can add html error codes and use one or more pages to show hte user a 'friendly' error page.

  • When i run the JDeveloper and use ADF framework to create a web application, i create a business components and use the data control to drag and drop table from database, but when i run the application the web-logic give me this error (Error 500--Internal Server Error).
  • Solution - I was updated java, and i found two versions in my laptop (Java 7 update 13, Java 8 update 45), i delete the newer version(Java 8 update 45) and the project started normally.

  • For 500 Error there could be below reasons-
  1. Binding issues.
  2. Data source Issue
  3. root context not matching
  4. services are not up
  5. data base connection issue
  6. bc components issues
  7. run time memory issues
  8. servlet issue
  9. timezone issue
Reason will be mention in log file .

Thanks guys :)

Eclipse With Python

Hi Guys, Today i'll share how to start python project in eclipse IDE. to start Py development in eclipse we need to add Py Dev plugi...