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!

how to create another svn user

This is a "duh" kind of post, but given that you haven't created a new svn user in several months, you can forget!
 
Use the "htpasswd" command that is in your path.
The private-svn-auth-file is a file that you use to store the SVN users and is how you configured your apache server
htpasswd /etc/private-svn-auth-file <username>

Do not forget to make your module blocks Configurable

 

We needed to perform some regression testing on a production server of a Drupal module.  The Drupal module output a block and we needed to display this block on a simple Testing page so as not to affect other parts of the site.  I uploaded my changed module and proceeded to configure the block so it would only appear on this specific page.  ERROR.  Total white screen of Drupal death.

Syndicate content