I want to store some files in mysql. and set the max_allowed_packet to 10M. However, the jboss throws an exception-->out of memory..does anyone know how to solve this problem?
Have you tried increasing your heap size? -Xmx64m or whatever is necessary to run JBoss, execute your application as well as materialise your BLOBs.