• How to run Tomcat on Port 80

    A standard Tomcat installation starts the webserver on port 8080 – which is usually not the desired behavior. In order to change the server to port 80 there are two options which I outline in the following:

  • Where to install custom / portable programs in Windows10/8.x?

    There are a couple of programs that cannot be installed / put into the regular locations (c:\Program Files and c:\Progam Files (x86)) as they cannot be run in non-administrator mode. So – where should you put / install those programs? Fortunately Windows comes with a good place for those programs. Just put them into %LOCALAPPDATA%\Programs which…

  • Mount vmWare shared folder in Ubuntu guest

    If you want to share files between a Windows Host and a Ubuntu Linux guest, the “shared folder” feature is really handy. Just enable it in the VM-Settings, install guest additions and … then wonder where this shows up in the VM. “They appear under /mnt/hgfs” I read everywhere. Well, they do – as soon…

  • How to fix: Windows 10 store fails to update or hangs during download / update

    For a couple of days I saw some pending updates in my Windows 10 store that didn’t seem to install or download. The downloads were either in progress or done but none of them installed. Restarting the downloads didn’t help either. Some quick research came up with all kinds of Powershell and registry hacks. Quite…

  • How to enable Camera Streaming on a Raspberry Pi

    This is a very brief tutorial how to get a stream of the Raspberry Pi camera into a browser. The original article can be found here. I was searching a lot how to stream directly from the camera to the network, yet I did not find a solution. So what we are doing here is…

  • How to enable WiFi auto reconnect on a Raspberry Pi

    In recent times my WiFi seems to have become a bit unstable. As if this wouldn’t be annoying enough, this also means that all my Rasperry Pis loose their WiFi connections as well and thus become unreachable. Yet the sollution is pretty simple: Well, there is a very simple solution: cd /etc/ifplugd/action.d/ sudo mv ifupdown …

  • Windows install error 0x80070002 unable to install App

    Yesterday I tried to install a Windows App via its built in App Store. Usually this works like a charm. This time the download seemed to succees (judged by the progress bar) but the installation failed with error 0x80070002; Googling (and Bing’ing) found various issues with kind of the same description, ranging from “download failed”…

  • What to do in case of org.apache.spark.sql.catalyst.errors.package$TreeNodeException: Unresolved attributes

    I’m currently gathering my first experiences with Apache Spark and in particular Spark SQL. While I was playing a bit with Spark SQL Joins I suddenly faced an exception like Exception in thread “main” org.apache.spark.sql.catalyst.errors.package$TreeNodeException: Unresolved attributes: foo. Followed by the parsed SQL statement etc … Well, in MySQL the error message would have been…

  • How to ignore Maven build erros due to JavaDoc with Java 8

    Java 8 is a bit more strict in JavaDoc parsing. This can lead to build failures in Maven when building the repo with warnings like: Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.7:jar (attach-javadocs) on project [projectname]: MavenReportException: Error while creating archive: Exit code: 1 – [path-to-file]:[linenumber]: warning: no description for @param Sure, the good solution would be…

  • How to get List of Objects from deeper level in Json via GSON

    Sometimes you get a quite nested Json response but the only thing you need is a list of classes in a certain branch of the Json document (like a response of Yahoo’s YQL query). Assume just the following json document: And the only thing you need is the fields array. A Java8 way to get…