我在 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.