When web services are deployed with handler chains, they may refer in the handler chain file to a particular class which implements the handler, as follows:
Glassfish 3.1.2, 3.1.1, and 3.1 all fail to trim any white space that might be before and after that name. This results in the following...
...leading to a runtime exception:
[#|2012-04-03T21:59:11.769-0400|SEVERE|glassfish3.1.2|javax.enterprise.webservices.org.glassfish.webservices|_ThreadID=16;_ThreadName=Thread-3;|Unable to load handler class myHandler
In fact, there is whitespace at the end of the name that is being printed in the logs...
For more information, see: