1. 字符編碼
sun.io.MalformedInputException
at sun.io.ByteToCharGB18030.convert(ByteToCharGB18030.java(Compiled Code))
IBM JDK 1.4中對於io通道的異常處理更加嚴格,解決這一問題的辦法是不使用IBM JDK 1.4中默認的io通道,而使用nio通道
添加-Dibm.stream.nio=true
2. 容器問題
java.lang.RuntimeException: An invocation of EJB XXXXXXX(Application: XXXXXXXX, EJBComponent: XXXXXEJB.jar) timed out while waiting to get an instance from the free pool.
問題原因
1。你的pool size實在太小了
2。你的 bean所提供的method是在執行一個耗時的操作(可能你的程序寫的有問題)
3。你的concurrent user很多(其實和第一個是一回事)