Caveat: I started with Play and scala like… yesterday
So please take this with a grain of salt.

For all I know- this may have more misinformation rather than information.
However, if I did learn something contrary to what i have put here, I will come back and correct this post

Here goes… (unless specified otherwise, all use scala)
Continue reading »

 

The context

I am using Google App Engine using the  Grails AppEngine plugin . The default port is 8080, but I needed to run it on a different port.

It was easy to figure out that Google App Engine supports running the development server on any configured port. But it took me some time to realize that the  Grails AppEngine plugin that I am using doesn’t.

The fix:

Modify the \plugins\app-engine-0.8.5\scripts\AppEngine.groovy.

Continue reading »

 

Context:

JSF application running on a Tomcat server

Symptoms:

When you try to access a resource in your appplication- you are greeted with a 404 error

Investigation

Check your error log.

If your exception trace is similar to one of the exceptions mentioned below mentioned below- you are missing one or both of these libraries: Commons-Digester or Commons- BeanUtils. (Note: You need both since Digister is dependent upon BeanUtils.)

SEVERE: Error configuring application listener of class com.sun.faces.config.ConfigureListener
java.lang.NoClassDefFoundError: org.apache.commons.digester.RuleSet

 

OR

SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
java.lang.NoClassDefFoundError: org.apache.commons.beanutils.MethodUtils

Resolution

Download Digister from here http://commons.apache.org/digester/

and BeanUtils from here http://commons.apache.org/beanutils/

You will need to put these libraries under the WEB-INF\lib folder of your application.

PS: If this fixes your problem  – please leave a note here or  if it doesn’t let me know either way

Good luck !!!

© 2011 Technology Cafe Suffusion theme by Sayontan Sinha