Weblogic

Could not find saved view state for token j0ej17tvl… What can be the cause?

Problem When observing Weblogic server log files, there are occasional occurancies of Error message: Could not find saved view state for token XXXXXXXXX… Where XXXXXXXXX is randomly generated string for each page post request. This error always comes along with: ADF_FACES-30107:The view state of the page has expired. Reload the page. Some background info Each web page, which posts a request…

Continue Reading

Logging, Weblogic

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…

Continue Reading

ADF, JDeveloper, SQL and PL/SQL, Weblogic

How to change logging level of standalone or integrated WebLogic in JDeveloper? For example how to capture SQL executed?

In Integrated WebLogic (JDeveloper) this can be done with just few clicks: Open “IntegratedWeblogicServer – Log” window. On the right-hand top corner click “Actions” and choose “Configure Oracle Diagnostic Logging” For getting SQL statements in the output, in the opened logging.xml choose “oracle.jbo” logger with desired logging level. Level “Finest” will generate maximum output. SQL staements shoud definitely be there.…

Continue Reading

ADF, SOA and BPM, Weblogic

How to configure local integrated WebLogic non-SOA domain to access BPM worklist on separate SOA-enabled domain?

ADF and BPM task flow on separate domains? No doubt this is frequent issue for developers working with ADF/BPM.There are several advantages to have it working: No need to install SOA stuff locally if You’re developing just ADF Faster deployments to integrated WebLogic Possibility of debugging Isolated ADF enviroment for developing In my case the last one was most important.…

Continue Reading

Logging, Weblogic

How to filter OSB logging and redirect log records to any desirable destination?

The best practice to accomplish this task is to use Weblogic server startup class. In this class we should take Weblogic server “Logger” object and use it to attach additional appender. This appender can be implemented to redirect log messages to any destination You prefer. Log4j supports dozen of standard destinations, providing built in appenders like JDBCAppender, JMSAppender, FileAppender and many…

Continue Reading