Important Links for Grails

It's so crazy that this is not easily found or published on the grails site.  There is an argument for using the maven site generator since this type of stuff can be found in a standard location in the site navigation.  Grails should take a lesson here, convention over configuration;)  (this is tongue in cheek)

Mozilla FireFox Modify Headers plugin for mobile browser testing

I learned something today, and it was painful!

I am using the Mozilla FireFox Modify Headers plugin for mobile browser testing to test a very large enterprise application and the mobile screens were not functioning as expected.

I rebuilt/re-checked out/restarted for several hours.

spatial solr classnotfoundexception

I am installing the jteam solr plugin for spatial search.  I dropped the spatial-solr-1.0-RC3.jar into the example/lib directory and got the following error:

 

Partitioning vs. Parallel Processing

Just spent more time reading the "Spring Batch" documentation.   It's taking a while to sink in.  What's kind of struck me as amusing is that I trying to understand the difference between "Remote Chunking" and Partitioning, and I had forgotten that that I had read how they are different just yesterday...

To summarize my learning, in non-PHD terminology:

org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException

Working on the spring batch examples, and got the following error. To summarize, the classloader that the serializationtutils is using is not able to find this class.  I got around this error by creating my own copy of "SerializationUtils.java" in a new package and using this.  Since my SerializationUtils is in my webapp, there are no classloader issues.

spring batch

Here are a few tips if you want to incorporate the spring batch project...

1)  Make sure you get the xsd and namespace stuff right in your resources.xml file   I had to combine a few namespaces from the example files and ended up with an extra double quote that affected the bean creation.

Here's where I ended it:

spring batch in grails

I am trying to setup the spring batch project (2.0M4 version) to run with grails (1.2)  I wanted to get the sample stuff up and running, so I created groovy files out of the various sample files that came with spring batch.  Unfortunately, the sample files use Java inner classes, which groovy can't handle yet.

For now, I will just make these Java files, but I was a little surprised since I thought just about any syntactically correct java file was a valid Groovy file.  Guess again.  You learn something every day.

 

maven proxy madness on windows

Building the spring batch project from subversion.  It's a maven project, so I took to time to install maven onto my new work windows workstation.  I run cygwin on it.

Since I am running behind a http proxy, I needed to configure maven to use this proxy for downloading the its various artifacts.  A quick search pointed me to http://maven.apache.org/guides/mini/guide-proxies.html which I followed, creating a file in my home directory (~/.m2/settings.xml)  However, my proxy setting was never used by maven. 

cygwin

In case you didn't know, cygwin is a nifty unix emulator you can run if you are on windows and want to reuse shell scripts, etc. in a development environment.
Today's tragedy was that I had to manually run my ".bashrc" in order for it's settings to take effect.  Turns out that in cygwin, I needed a file named ".bashrc_profile"
Oh well.
http://serverfault.com/questions/19495/why-is-my-bashrc-not-read-under-c...
 

Plane from attic

I found this toy plane in my attic.  I thought it would look cooler after I photoshopped it a little, but alas, I am a programmer, not an artist jim!

Syndicate content