How to find the cause of "deleted object would be re-saved by cascade"

Sometimes if you do not properly delete objects in a Grails/GORM/Hibernate transaction the following error might occur:

deleted object would be re-saved by cascade (remove deleted object from associations)

This message is presented by the org.hibernate.ObjectDeletedException

After some hours of investigation I found a solution to find the cause!

weiterlesen

MCabber Notifications in i3

On my new i3 setup I got no notifications of new MCabber events and messages.

weiterlesen

Setup CyanogenMod on Google Nexus 10

Due to the decreasing performance of Android on my Nexus 10 and similar reports of other user I tried to install CyanogenMod 13. This caused some resolvable problems...

weiterlesen

Seafile behind a proxy

My Seafile instance is running on a dedicated webserver behind a reverse proxy which is handling the SSL encryption.

This setup with the protocol change on one of the webservers does not work out of the box / this case is not documented in the official server documentation.

weiterlesen

BASIC Auth with Oracle WebLogic

If you would like to do the authentification in Java application running on Oracle WebLogic, you will probably wonder why the Authentification-Header does not reach the Filter.

weiterlesen

Logstash Log4j broken pipe with MDC attributes

We recently configured some applications to log with log4j's SocketAppender to Logstash.

When we startet to add MDC-Attributes we sometimes lost the connection:

| Error log4j:WARN Detected problem with connection: java.net.SocketException: (broken pipe)

weiterlesen

PDF nach Scan umwandeln

Beim Duplex-Scan mit hp-scan erstellt mir die Software ein PDF-Dokument, wo auf allen Seiten unten ein weisser Rand ist und jede zweite Seite um 180 verdreht ist.

Zum Glück gibt es Tools, welche diese Probleme in wenigen Schritten beheben können

weiterlesen

Create MS SQL Server 2008 SQL Dump

As a Linux using PostgreSQL and MySQL admin I am used to console tools. Therefore creating a sql dump (schema+data) from a MS SQL 2008 database is a challenging task.

weiterlesen

Sympa with Virtual Hosts using Exim

Setting up sympa with virtual hosts in an environment using exim requires some small modifications:

weiterlesen

Bewässerungsanlage mit Raspberry Pi

Um im Sommer Pflanzen nicht zu vernachlässigen habe ich das das Projekt einer automatischen Bewässerungsanlage gestartet... als Testumgebung nutze ich den Topf mit den Kräutern.

weiterlesen

© 2015 - 2022 Moritz Kobel

Theme by Anders NorenUp ↑