I am trying to setup small Spring Roo application. The setup is STS 2.9.2 , Spring Roo 1.2.2 and the glassfish 3.1.2. After creating new Spring Roo project. I issued only follwing command
web mvc setup
The initial application was successfully built and running on the VFbric default server. When I try to depoly the application on Glassfish The deployment error occurs. The Glassfish is configured through the eclipes server adopter in STS. I am not getting any clue what the exact error is. I guess , the error is due to the nio package , which is throwing the NullPointerException. The full error message is as in attatchment
Spring is getting the the charsets for which support is available in the current Java virtual machine by calling a static method in the from the java.nio.Charset class. This is used for configuring the StringHttpMessageConverter.
Your null pointer is coming out of the charset class..
What versions of spring and java are you running? Try to just call this method yourself once and see if you get a null pointer
That caused a null pointer in char set? That is a cryptic error for that. Thanks for sharing the solution though.
Joined: Dec 04, 2004
Yes, The database using ISO charset and the application is using UTF-8. May be there is a problem while conversion. Previously I put the jdbc jar files in glassfish/endorsed directory. Now I have shifted them to domain_dir/lib directory. I think the problem is not related exactly to the application, but related to glassfish gizzy framework.