I ran into an weird bug today that took awhile to figure out. Basically, I was getting the error when I deployed some grails code to a linux box. In the error log, this is what showed up: And, in the HTML response, this is what showed up: It took a while, but I finally …
Safari Not Working, But Firefox Does
I recently had a problem on my Macbook where Safari would stop working after a few minutes of connecting to the network, but other network applications, like Firefox, still worked. It was odd. Safari would just sit and hang. After some research, what ended up working for me was to create a new network profile. …
Selecting Popup Windows in Selenium
This example shows how to start a Selenium Server and run a Selenium client in Java. The example opens up a popup window by clicking on the link in index.html. It then selects the popup window by first using the "name=popupWindowName" option for selectWindow. It then grabs the original window (using "name=null"). And, finally, it …
Fixed: OpenOffice “Restore Windows” Popup
I tried starting Open Office on my Mac running 10.7.2, and I got this annoying popup window that won't go away. I click on "Don't Restore Windows" or "Restore Windows", and it just stays popped up. I found a solution though. 1) Force Quit your Open Office Application (Right-click holding the option key). 2) Open …
How to setup a clustered Quartz scheduler in Grails 2.0.0
In my steps below, I'm using Grails 2.0.0 and Quartz 2.1.1. I'm also connecting to a local DB2 database. 1. Run "grails clean" on your application. 2. Add the "quartz-all-2.1.1.jar" and "c3p0-0.9.1.1.jar" (in the lib folder of your Quartz download) to your lib directory. 3. Right click on your Grails project and chose "Grails Tools …
Continue reading How to setup a clustered Quartz scheduler in Grails 2.0.0
Grails 2.0.0 lib directory fix
I recently had a problem with Grails when I started a new project in Eclipse with Grails 2.0.0. I tried adding an external JAR file to my "lib" directory by dragging the JAR file over to the directory. In Grails 1.3.7, the JAR file would then get added to the list of grails dependences (after …
[UITableViewController loadView] loaded the “some-id” nib but didn’t get a UITableView.
The following error occurred when adding a UIView to the root of a NIB expecting that was loaded by a UITableViewController class. If you have a UITableViewController and your root element is not a UITableView, you should make your controller extend UIViewController (not UITableViewController) and implement the UITableViewDelegate and UITableViewDataSource interfaces. Your header file would …
How to configure “Cross-cell single sign-on” in WebSphere with Jython
To configure "Cross-cell single sign-on" in the WebSphere 6.1 admin console with a Jython script, you can use the script below. This assumes that you've exported the keys from the server you are going to connect to.
How to configure a Shared Library in WebSphere with Jython
Here's a script that I used to configure a Shared Library in WebSphere 6.1 using Jython.
How to configure WebSphere Global Security to use LDAP with Jython
Here's a script that I used to configure the WebSphere 6.1 global security setting to use LDAP using Jython.