Blog
- Postgres performance tuning
Inserting records in an existing database
When inserting new records in an existing table that can become very slow. One thing that could help is to set the fill-factor to a lower value. The result will be some waste of storage but also safe a lot of moving around of records. They might fit in the same page and so safe a move to another page. Even the index then can stay the same.
… - See query plan for MSSQL query
Run the following query to get the query plan of the running queries:
Waveshare 1.28inch LCD Module
- PaintYourDragon / Adafruit_GC9A01A
- carlfriess / GC9A01_demo
- YouTube / Blog
- Code with Andrea - YouTube / 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…