Blog

  • Blender 2.8
  • Mimikatz

    Optionally look in the store

    Run "mmc" and add the "certificates" snapin (<ctrl>-m). The network c…

  • Tomcat Servers under Eclipse

    After creating the server under the servers tab it all works fine. But after copying another server.xml to the server-config it sometimes fails. This is because "workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp*" could get out-of-sync. Deleting the tmp folder and republishing the server fixes this.

    A symptom is that the server starts fine but Eclipse does not detect it. Ecli…

  • Recovering 1 XA resource manager(s) from the transaction partner logs

    See Recovering from failed transaction recovery:

    When WebSphere Application Server is running a transaction, the transaction information is written to the tranlog directory to log1 & log2. The resources required …

  • javax.sql.DataSource case sensitive

    Seems that prior to Tomcat 8.0.37 a server.xml like this works:

    ...
    <ResourceLink global='jdbc/DB' name='jdbc/DB' type="javax.sql.Datasource" />
    ...

    But starting with 8.0.37 the case of DataSource is checked and so Datasource stopped working and would result in a ClassNotFound exception. It now has to be DataSource.

  • Log incoming and outgoing SOAP messages

    Often it is nice to see what requests are sent to the service and what the anwer is. Even when the request is not a valid SOAP request. This can be done with interceptors and annotating the service

    Annotations

    @InInterceptors(interceptors = { "com.company.interceptors.LoggingInInterceptor" })
    @OutInterceptors(interceptors = { "com.company.interceptors.LoggingOutIntercepto…

  • org.eclipse.swt.SWTError: No more handles [Browser style SWT.MOZILLA and Java system property org.eclipse.swt.browser.DefaultType=mozilla are not supported with GTK 3 as XULRunner is not ported for GTK 3 yet]

    Set --launcher.GTK_version to 2 in eclipse.ini

    Example eclipse.ini:

    -startup
    plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
    --launcher.GTK_version
    2
    --launcher.library
    plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.300.v20150602-1417
    -product
    org.eclipse.epp.package.jee.product
    --launcher.defaultAction
    op…