I solved myself. The development is in Eclipse. Obviously when doing the WebLogic deployment, the
java programs were not recompiled outside the eclipse. There is a mix of old and new versions of programs. After I cleaned the project and refreshed a couple times in Eclipse, then redploy, the problem went away.