#Oracle quick way to investigate slow or time consuming application queries

By | November 21, 2022

In the following post I will describe my quick procedure I always use to debug the database queries generated by an application that hit an Oracle database. In a lot of cases your queries that hit the database are not written explicitly by a developer. That may be the case when intermediate layers as Hibernate… Read More »

#windows #powershell how to kill zombie Edge session

By | October 31, 2022

Often times I find trying to start Edge on an old data-center jump station and I just click and nothing happens. This is the direct result of an Edge process that went zombie. A quick way to kill an Edge session that is acting as a zombie and will not allow you to start a… Read More »

#SQL #Oracle : Move all indexes to a different tablespace

By | October 18, 2022

In general is good to have a separate tablespace for your index tables. Sometimes the default tablespace, in our case DATA, is used by an application using hibernate layer to automatically create all the tables and indexes. Then the issue is how to move the automatically created indexes to the special created tablespace for indexes,… Read More »

#Linux #Fedora #Java defaults and jasper reports compile issues

By | September 28, 2022

A common mistake is to set the alternatives just for java sdk. This can lead to issues when several java versions are present. Jasper Reports a well knows Java library used to generate ad-hoc pdf reports compiles the report templates and the temporary classes using the default system javac not the javac of the java… Read More »

#SpringBoot : Create a conditional Spring Boot Bean only if asked by an external configuration, not using @Conditional #Java

By | September 7, 2022

Usually Spring Boot beans are created automatically before the application start and autowired as needed. What if we need to create a Spring bean only if some configuration file requires it. This way of writing code is very useful when trying to write highly configurable enterprise applications where you want to be able what components… Read More »

#SpringBoot : How to create multiple instances of the same Spring Bean type. #Java

By | September 9, 2022

Spring Boot assumes that all the created beans are singletons. That works OK for 90% of the cases when Spring Boot is used but sometimes we need several instances of the same bean type. One example is when our bean is a kind of “interface service” that is reading or writing data to another external… Read More »

Bash one liners: Detailed information about your battery and power under Linux command line

By | August 16, 2022

The magic command is upower, a command that gives you detailed information about the power devices in your laptop/desktop. Enumerate all the power devices Check the details of a power device (battery in this case)

Learn #banking, #fintech and #payments jargon: Payment V-Mode advantages

By | July 25, 2022

As I mentioned in a previous post usually there are two channels of sending payments to a Real Time Gross Settlement System: using a VPN network that connects all the participant financial institutions to the RTGS . using a 3rd party network like SWIFT that connects all the participant financial institutions to the RTGS Bellow… Read More »

#RabbitMQ crashing at restart with “badmatch, error, not_a_dets_file”

By | May 10, 2022

RabbitMQ is a nice message queue server used in lot of networking monitoring appliances and other services. It has a very small footprint and can be integrated with lots of languages and resources. All works well until you get the famous recovery log corrupted error. Usually the issue is caused by disk full or in… Read More »

#Bash one liner: Remove all occurrences of a tag block from an XSD or XML file using #sed #xmlstarlet

By | April 1, 2022

Sometimes you get some XLS schemas that are full of additional annotations and comments you want strip. Annotations and comments are nice but annoying when trying to compare two incremental versions of some schema and try to pin point just the differences. Bellow there is a script used to remove all comments and the <xs:annotation>… Read More »