A program with an incorrect format

Server Error in ‘/Web.Api’ Application. Could not load file or assembly ‘Oracle.ManagedDataAccessDTC’ or one of its dependencies. An attempt was made to load a program with an incorrect format. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where Continue Reading

SSH connection problem

bmiklos@workstation:~> ssh my.server.com channel 0: open failed: connect failed: Connection timed out ssh_exchange_identification: Connection closed by remote host In cases like the one above this page gives good hints for solving the problem. They’re missing my case though: The ~/.ssh/config file can contain host rules which accidentally apply to the host. E.g.: in my case. Make sure Continue Reading

Tests with gradle from IntelliJ

I’m trying to run tests as gradle tasks from IntelliJ with specifying which tests do I actually want to run. From the console the tests run fine:./gradlew myTestTask –tests ‘com.mycompany.MyTestClass’ But if I create a new run/debug configuration in IntelliJ with myTestTask as the task and –tests ‘com.mycompany.MyTestClass’ as the script parameters then the runs Continue Reading

Using Selenium with a virtual framebuffer

I needed to run my Selenium tests on a virtual machine, on RedHat Enterprise Linux 6.6 in a multi-screen environment and this messed up the screenshots that the tests took. Virtual frame buffer to the rescue: First I had to install it, wget http://vault.centos.org/6.2/os/x86_64/Packages/xorg-x11-server-Xvfb-1.10.4-6.el6.x86_64.rpm sudo yum localinstall xorg-x11-server-Xvfb-1.10.4-6.el6.x86_64.rpm  then I could start it, Xvfb :1 Continue Reading