What to do: Error reading tld listeners java.lang.NullPointerException
I’ve been bugged by this problem for some time now, so I decided to investigate a bit. The error shows up when tomcat is trying to reload the web application.
TECH BLOG
I’ve been bugged by this problem for some time now, so I decided to investigate a bit. The error shows up when tomcat is trying to reload the web application.
Seeing this thread on DWR mailing list, I thought I’d post one way to deal with DWR response. The actual problem was initiated by someone asking what’s the best way to display status messages to users using DWR.
I recently stumbled across a NotSerializableException in the project I was working, and I decided to share this experience with you because the cause of the problem it’s quite interesting and some of you might come across the same problem.
Circular dependencies between beans managed by Spring is usually caused by a logic error, but it may be sometimes exactly what developers intend to obtain.
This is a minor problem, but it may help some of you out there. The error can occur from several reasons, but in this case it was due to bad use of cascade update.
To select all items for a field in Solr you can use the query : some_item:[* TO *], but if this field is missing from some documents you will not select those documents.
Spring allows chaining of multiple view resolvers. However, there are some view resolvers like the ones extending UrlBasedViewResolver which must be the last in the chain, hence the limitation of having only one such view resolver in your chain.
Monitoring your file upload using ajax is a must have for any web 2.0 application. There are already some good examples developed by prosson and carsonm.
Keeping database and Lucene index in sync is easily done using the new Lucene-Hibernate integration.