Linux

How to run Linux command in background? How to keep it running after leaving terminal session?

When working with remote server through terminal it is common to run some processes in background. For example to start zipping something, put it into background and keep working on something else. Or even start a process and leave it running when you quit a terminal session. A quite common example could be – start application server. You just need…

Continue Reading

Java

What is a functional interface in Java8? Quick explanation and sample.

Any interface with a single abstract method is a functional interface and its implementation may be treated as lambda expression. It can have only a single functionality. However a functional interface can have unlimited default methods. Note, that default methods have implementation and abstract methods – not. The latter can be only one in functional interface. When defining your own…

Continue Reading

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

General

A quick Regular expressions (Regex) manual / cheat sheet. Samples.

Obviously regular expressions is a little, but powerful helper to implement various complex requirements. As it is a text search oriented functionality, it is extremely useful in DB based tasks related to data ETL layers, searching and other open text related logic. But it is used entirely everywhere. Almost every text editor support regex search file contents. Its very beneficial…

Continue Reading

JDeveloper

How to tune JDeveloper memory settings to get better performance?

Thats natural that JDeveloper out of the box comes with minimal settings for resource usage. And obviously it is far away not enough for comfortable usage. So there are at least couple of settings that needs to be tuned right after installation: Java heap size Open file %MW_HOME%/jdeveloper/ide/bin/ide.conf and add/change following two lines Java MaxPermSize Open file %MW_HOME%/jdeveloper/jdev/bin/jdev.conf and add/change following…

Continue Reading

JDeveloper

After macOS High Sierra system update JDeveloper does not start. How to fix it?

It happens, that each time when I push MacOS High Sierra regular updates, my JDeveloper does not start any more. The fix looks very simple, just need to delete JDeveloper system directory. Sounds frightening, but do not be confused because of naming. By fact it is just operational directory where JDeveloper keeps various temporary and configurational stuff. It is even…

Continue Reading