March 7, 2014 Leave a comment
March 6, 2014 Leave a comment
You will need the _g version of the jdbc driver, the standard jdbc drivers don’t support enabling logging.
In order to get some low level debugging from the Oracle JDBC drivers you need some java util logging magic. I am not sure if this is just because our app uses SLF4J and LOG4J, but I had to add the following environment variables to the jsw wrapper.con file. I could not get the logging working without all 3 of those lines
And then the contents of the OracleLog.properties file are:
handlers = java.util.logging.FileHandler
java.util.logging.FileHandler.pattern = /tmp/jdbc.log
java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
oracle.jdbc.driver.level = FINE
But the problem is that all I actually wanted was the OracleDriver connect entries to find out how long a connection was taking to construct. Time for some grep magic I think.
Unfortunately I am restricted to java 6 for this particular installation and so the log file outputs entries on more than one line so its harder to parse.
March 4, 2014 Leave a comment
This was really bugging me – too easy.
February 26, 2014 Leave a comment
Even with the ubuntu updates repo from the gnome 3 team, there are still some dependency mismatches. I know this is risky, so repeat at your own risk, but so far its worked for me.
sudo -E add-apt-repository ppa:gnome3-team/gnome3
sudo apt-get update
Force the update of the libwebkitgtk packages that Evolution 3.10 requires. You must install all 3 dependencies at once!
sudo apt-get install evolution evolution-dbg evolution-ews
WARNING: You should disable the gnome3 ppa after this as doing a dist-upgrade with this repo breaks wifi!
January 22, 2014 Leave a comment
Shrew VPN does not seem to handle Cisco 2 factor authentication, specifically the “Next Token Code”. See my previous post …. Goodbye VPNC, hello Shrew VPN Client
Whereas VPNC handles it quite nicely (from the command line)
I even integrated a bit of expect and zenity to prompt me for my next token from my phone.
set password "MyPassword" set token [exec zenity --entry --title "VPN" --text "Soft Token" --hide-text] set timeout -1 match_max 100000 spawn sudo vpnc --local-port 0 /etc/vpnc/corp.vpnc expect "Enter password for" send "$token\r"; expect "Password for VPN" send "$password\r"; expect "Connect Banner:" wait; interact
December 6, 2013 Leave a comment
The same instructions work for Linux Mint 15 / 16. However it seems that the 2014 version of Sketchup does not work on Mint 16, luckily I still had the 2013 version of the SketchUpWEN.exe file.
I have uploaded the 2013 version to my google drive. You can download it