In this post I’m going to show how to adjust WebLogic logging levels using Enterprise Manager (EM). I will take as an example tiny demo application for logger demo, which I’ve introduced in my another post – How to add custom logging into ADF application? So this can be done in domain server context. Here is how to reach it: Click…
Location of log records in WebLogic Enterprise Manager (EM)?
In my opinion Enterprise Manager delivers the most convenient way to check log records. It has search and filtering capabilities. It works reliably and provides nice structured information. So where to find them? Lets use tiny sample application which I’ve introduced in my previous post – How to add custom logging into ADF application?. After deploying it to WebLogic server, please…
How to add custom logging into ADF application?
Can’t imagine development without logging. Even in ADF 🙂 For some quick output into local WebLogic console – System.out.println is quite ok. But if we need to have it in more professional and persistent way – java logging tools come to action. In ADF we have ADFLogger class at our service. Naturally it is extended java.util.logging.Logger indeed. So here is…
Is extremely big or low date, indicating infinity safe in SQL?
This is a question I’ll try to answer here. Quite frequently it happens to face SQL code, where extremum dates take place. From a first glance it look OK to use like to_date(‘3000.01.01′,’YYYY.MM.DD’)) for indicating infinity, something that lasts forever. Nobody could bet that no one of our developed nice IT system will even exist at such time point 🙂…
REST with hierarchical (tree) data query and response payload
Probably everyone using REST webservices face requirements which makes you deal with hierarchical (tree) data structures. How to clearly define when data is expected to be returned in a hierarchical structure and when just a flat object? And what if you need different hierarchical responses in different use cases for the same REST resource? Here I’m going to tell you…
ADFDI-05538: The workbook integration has been altered after publishing. What can be the reason?
Here is full error message: ADFDI-05538: The workbook integration has been altered after publishing. It can no longer be used safely. The integration will now terminate. What is the reason? Most probably, you did publish excel with different file name and trying to open previously published (old file name) version. This even can be a legal case, for example if…
How to deploy ADF application with different name using JDeveloper?
Sometimes there might be a case, when development team shares one WebLogic server instance and each developer needs to deploy and test the same application at the same time. Or whatever the reason it is, there are some simple steps needed to be accomplished in JDeveloper to have another instance of the same application just with different context root. Assuming…
How to execute bean method when switching tab in ADF?
Quite common requirement is to execute some logic when navigating between tabs in ADF application. Luckily in ADF there is a straight forward feature enabling you to do this easily. Its enough just to add disclosureListener to showDetailItem of panelTabbed component and point it to dedicated bean method. Like this: Listener method signature must contain DisclosureEvent parameter: Tiny sample application can be…
How to execute java expressions programmatically in ADF ?
Expression Language (EL) in java is powerful and convenient way to access necessary objects. In ADF it is commonly used as well. I suggest you a couple helper methods to execute methods and get values via EL: You may also need to pass parameters to method invoked by EL. Apparently EL does not support that. But there is a workaround,…
How to get LOV value instead of index when it is used in standalone ADF “selectOneChoice” component ?
Its a common issue in ADF to get a LOV value instead of index in ADF form. How to do that in collection context, for example – when we have “selectOneChoice” in table row cell, I’ve noted in another post. And that was really easy. Its more complicated when we need the same in “selectOneChoice” used in form, standalone component…