Handy DB2 Tool to test Connectivity

[root@server]# java -Djavax.net.ssl.trustStore=keystore.jks -Djavax.net.ssl.trustStorePassword=******** -Djavax.net.ssl.keyStore=keystore.jks -Djavax.net.ssl.keyStorePassword=******** -cp WEB-INF/lib/db2jcc4-4.19.49.jar com.ibm.db2.jcc.DB2Jcc -url “jdbc:db2://:50443/database:sslConnection=true;” -user db2user -password ******** -tracing [jcc][10521][13706]Command : java com.ibm.db2.jcc.DB2Jcc -url jdbc:db2://:50443/database:sslConnection=true; -user db2user -password ******** -tracing [jcc][time:2017-07-14-01:48:18.880][Thread:main][tracepoint:10] DataSource created. Table size: 1 [jcc] BEGIN TRACE_XML_CONFIGURATION_FILE [jcc] dsdriverConfigFile=null [jcc] END TRACE_XML_CONFIGURATION_FILE [jcc] BEGIN TRACE_DRIVER_CONFIGURATION [jcc] Driver: IBM Data Server Driver for JDBC and SQLJ 4.19.49 […]

Chrome Crashes – Rinse and Repeat – Crash again on Startup

I couldn’t launch Chrome to save my bacon. I launched Chrome and it crashes. I decided to launch it in Terminal. 17:16:47-paulbastide@Pauls-MacBook-Pro:/Applications/Google Chrome.app/Contents/MacOS$ /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome crashpad_handler: –database is required Try ‘crashpad_handler –help’ for more information. [0721/171806.760082:ERROR:file_io.cc(89)] ReadExactly: expected 8, observed 0 [0721/171806.761010:ERROR:crash_report_database_mac.mm(93)] mkdir : No such file or directory 2017-07-21 17:18:07.121 Google Chrome[4144:40131] Errors […]

Hamcrest Matchers Issue

I’ve been using Rest-Assured as a simple Integration Test tool for the last few months, and suddenly I started seeing this issue. java.lang.SecurityException: class “org.hamcrest.Matchers”‘s signer information does not match signer information of other classes in the same package at java.lang.ClassLoader.checkCerts(ClassLoader.java:895) at java.lang.ClassLoader.preDefineClass(ClassLoader.java:665) at java.lang.ClassLoader.defineClass(ClassLoader.java:758) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) […]