我在Action Dispatcher中调用了另一个类中的方法,如下所示:
...
CaseManagementLetter cml = new CaseManagementLetter();
String content = cml.generateLettersByClaimantsPDF(cids, request, response, currentUser);
...
方法开头如下:
public String generateLettersByClaimantsPDF(List cids, HttpServletRequest request, HttpServletResponse response, User currentUser) throws Exception
{
HashMap ids = new HashMap();
...
此行之后,代码立即退回到上一个方法。
我检查了变量并且它们都已正确填充,我已经检查了断点,并且它们都已正确放置以按照代码逐步进行。
那么为什么它会像我这样从我的方法中跳出来呢?
编辑:此消息似乎在被退回后一直显示。
[7/17/13 15:59:59:978 EDT] 312f312f SharedPool I J2CA0086W: Shareable connection MCWrapper id 34aa34aa Managed connection com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl@32ca32ca State:STATE_TRAN_WRAPPER_INUSE
from resource jdbc/WPM_DataSource was used within a local transaction containment boundary.