You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by aprestwich <al...@verizon.com> on 2009/11/09 20:43:40 UTC

IllegalArgumentException on persist, but only on first attempt

I've been having a strange issue for awhile where I receive an
IllegalArgumentException the first time I submit my Request form, but if I
hit the back button and try again (same data, no changes) it works fine
(data stored in the DB). After the first failure (for each request type) I
can submit multiple requests of that type without errors and without needing
to use the back button. I have a hierarchal structure of request types (like
Request <- DetailRequest) using the InheritanceType.JOINED. I've coded
several of the request types and they all seem to have the same issue. Do I
have something defined wrong? I've also activated the JPA trace, but don't
see any errors or issues in the trace log. I'm using WebSphere 7.0.0.3.

(Note BaseXMLFiler was changed to BaxxxMLFilter to pass autofilter in
Nabble)

Thanks in advance for any help.

--Persisting the request data. This simple request consists of a few fields
and some comments. Two persists are needed, Request and Comments.
....
@PersistenceContext
public EntityManager em;
public void createGeneralRequest(...){
... 
   User user = em.find(User.class, userId);
      
   ModuleType mt = em.find(ModuleType.class, ModuleTypeCode.PAC.getCode());
   Action ac = em.find(Action.class, ActionCode.SUBMITTED.getCode());
   
   Request req = new Request(user, mt, ac, emergency, title, user);
   req.setHlq(hlq);
   em.persist(req);
   
   Comment comment = new Comment(user, comments);
   comment.setRequest(req);
   em.persist(comment);
...
}
 
 
--Request entity bean. Base class of the hierarchy. This simple request
doesn't need to use one of the subclasses, but the subclasses have the same
issue/results.

@Entity
@Inheritance(strategy=InheritanceType.JOINED)
public class Request implements Serializable {
 
 @Id
 @GeneratedValue(strategy=GenerationType.IDENTITY)
 private int requestid;
 
 @Temporal(TemporalType.TIMESTAMP)
 @Column(nullable=true)
 private Date completionDate;
 
 @Column(nullable=true)
 private byte completionEarly;
 
 private byte deleted;
 
 @Temporal(TemporalType.TIMESTAMP)
 @Column(nullable=true)
 private Date createDate;
 
 @Temporal(TemporalType.TIMESTAMP)
 @Column(nullable=true)
 private Date submitDate;
 
 @Temporal(TemporalType.TIMESTAMP)
 @Column(nullable=true)
 private Date actionDate;
 
 @Column(nullable=true)
 private int worktime;
 private byte emergency;
 
 @Column(length=8, nullable=true)
 private String hlq;
 
 @ManyToOne
 @JoinColumn(name="hlqDevCenterId", referencedColumnName="id",
nullable=true)  private Datacenter datacenter;
 
 @ManyToOne
 @JoinColumn(name="assignedToId", referencedColumnName="id", nullable=true) 
private MaraUser assignedToId;
 
 @ManyToOne
 @JoinColumn(name="actionByUserId", referencedColumnName="id",
nullable=true)  private MaraUser actionByUserId;
 
 @Column(length=100)
 private String title;
 
 @ManyToOne
 @JoinColumn(name="businessCodeId", referencedColumnName="id",
nullable=true)  private BusinessCode businessCode;
 
 @ManyToOne
 @JoinColumn(name="specialProjectId", referencedColumnName="id",
nullable=true)  SpecialProject specialProject;
 
 @ManyToOne
 @JoinColumn(name="secondaryContactId", referencedColumnName="id",
nullable=true)  MaraUser secondaryContact;
 
 @ManyToOne
 @JoinColumn(name="actionid", referencedColumnName="id", nullable=true) 
Action action;
 
 @ManyToOne
 @JoinColumn(name="moduleTypeId", referencedColumnName="id", nullable=false) 
private ModuleType moduleType;
 
 @Column(length=45)
 private String DTYPE;
 
 @Version
 private Timestamp updated;
 
 @ManyToOne
 @JoinColumn(name="userid", referencedColumnName="id", nullable=true) 
private MaraUser user;
 
 ...
//Getters and setters
...
}
 
 
--comment class -- has a Join with Request public class Comment implements
Serializable { ...
 @Id
 @GeneratedValue(strategy=GenerationType.IDENTITY)
 private int id;
 
 @ManyToOne
 @JoinColumn(name="userid", referencedColumnName="id", nullable=true) 
MaraUser user;
 
 @Lob
 @Column(nullable=true)
 private String comment;
 
 @Version
 @Column(nullable=true)
 private Timestamp updated;
 
 @ManyToOne
 @JoinColumn(name="requestid", referencedColumnName="requestid",
nullable=true)  Request request; ....getters & setters...
}
 
 
--I added some log statements in the load and persist methods to see if the
persist order was changing, but both the failed and successful submit seem
to be in the same order.

Error received.
[11/9/09 10:17:47:604 MST] 00000028 SystemOut     O User postLoad
[11/9/09 10:17:47:620 MST] 00000028 SystemOut     O ModuleType postLoad
[11/9/09 10:17:47:651 MST] 00000028 SystemOut     O Status postLoad
[11/9/09 10:17:47:651 MST] 00000028 SystemOut     O Action postLoad
[11/9/09 10:17:47:745 MST] 00000028 SystemOut     O Request prePersist
[11/9/09 10:17:47:760 MST] 00000028 SystemOut     O Comment prePersist
[11/9/09 10:17:48:354 MST] 00000028 SystemOut     O Request postPersist
[11/9/09 10:17:48:354 MST] 00000028 SystemOut     O Comment postPersist
[11/9/09 10:17:48:416 MST] 00000028 RegisteredSyn E   WTRN0074E: Exception
caught from before_completion synchronization operation:
<openjpa-1.2.1-SNAPSHOT+OPENJPA-679-Final-r422266:746282 nonfatal general
error> org.apache.openjpa.persistence.PersistenceException: null
	at
org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1834)
	at
com.ibm.ws.uow.ComponentContextSynchronizationWrapper.beforeCompletion(ComponentContextSynchronizationWrapper.java:65)
	at
com.ibm.tx.jta.RegisteredSyncs.coreDistributeBefore(RegisteredSyncs.java:289)
	at
com.ibm.ws.tx.jta.RegisteredSyncs.distributeBefore(RegisteredSyncs.java:150)
	at com.ibm.ws.tx.jta.TransactionImpl.prePrepare(TransactionImpl.java:2252)
	at
com.ibm.ws.tx.jta.TransactionImpl.stage1CommitProcessing(TransactionImpl.java:488)
	at com.ibm.tx.jta.TransactionImpl.processCommit(TransactionImpl.java:978)
	at com.ibm.tx.jta.TransactionImpl.commit(TransactionImpl.java:913)
	at com.ibm.ws.tx.jta.TranManagerImpl.commit(TranManagerImpl.java:369)
	at com.ibm.tx.jta.TranManagerSet.commit(TranManagerSet.java:161)
	at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:915)
	at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:228)
	at
com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:561)
	at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:4560)
	at
eas.mara.ejb.EJSLocal0SLPacRequestFacadeBean_d1884159.createPacGeneralRequest(EJSLocal0SLPacRequestFacadeBean_d1884159.java)
	at
eas.ManagedBeans.pac.GeneralRequestBean.submitGeneralRequest(GeneralRequestBean.java:86)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:599)
	at org.apache.el.parser.AstValue.invoke(AstValue.java:131)
	at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:277)
	at
com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
	at
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:94)
	at
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
	at javax.faces.component.UICommand.broadcast(UICommand.java:387)
	at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:324)
	at
org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:299)
	at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:256)
	at
org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:469)
	at
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1461)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1396)
	at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
	at org.ajax4jsf.webapp.BaxxxMLFilter.doXmlFilter(BaxxxMLFilter.java:178)
	at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
	at
org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
	at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
	at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
	at
com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
	at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:852)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:788)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:444)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
	at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
	at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:860)
	at
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1566)
	at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:175)
	at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
	at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
	at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
	at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
	at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
	at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
	at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)
Caused by: java.lang.IllegalArgumentException
	at java.util.EventObject.<init>(EventObject.java:47)
	at javax.sql.StatementEvent.<init>(StatementEvent.java:54)
	at javax.sql.StatementEvent.<init>(StatementEvent.java:68)
	at
com.mysql.jdbc.jdbc2.optional.JDBC4PreparedStatementWrapper.close(JDBC4PreparedStatementWrapper.java:70)
	at
com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.destroyStatement(WSRdbManagedConnectionImpl.java:950)
	at
com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.cacheStatement(WSRdbManagedConnectionImpl.java:3178)
	at
com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.closeWrapper(WSJdbcPreparedStatement.java:495)
	at com.ibm.ws.rsadapter.jdbc.WSJdbcObject.close(WSJdbcObject.java:240)
	at com.ibm.ws.rsadapter.jdbc.WSJdbcObject.close(WSJdbcObject.java:193)
	at
org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.close(DelegatingPreparedStatement.java:139)
	at
org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.close(DelegatingPreparedStatement.java:139)
	at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushAndUpdate(PreparedStatementManagerImpl.java:135)
	at
org.apache.openjpa.jdbc.kernel.BatchingPreparedStatementManagerImpl.flushAndUpdate(BatchingPreparedStatementManagerImpl.java:82)
	at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(PreparedStatementManagerImpl.java:89)
	at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(PreparedStatementManagerImpl.java:72)
	at
org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flushGraph(ConstraintUpdateManager.java:350)
	at
org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(ConstraintUpdateManager.java:96)
	at
org.apache.openjpa.jdbc.kernel.BatchingConstraintUpdateManager.flush(BatchingConstraintUpdateManager.java:59)
	at
com.ibm.ws.persistence.jdbc.kernel.ConstraintUpdateManager.flush(ConstraintUpdateManager.java:78)
	at
com.ibm.ws.persistence.jdbc.kernel.ConstraintUpdateManager.flush(ConstraintUpdateManager.java:60)
	at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(JDBCStoreManager.java:717)
	at
org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:130)
	at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2010)
	at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1908)
	at
org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1826)
	... 62 more

[11/9/09 10:17:49:604 MST] 00000028 FfdcProvider  I
com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident
emitted on C:\Program
Files\IBM\SDP\runtimes\base_v7\profiles\was70profile2\logs\ffdc\server1_31483148_09.11.09_10.17.48.4797023048928474869589.txt
com.ibm.ejs.csi.TranStrategy.commit 294
[11/9/09 10:17:53:760 MST] 00000028 FfdcProvider  I
com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident
emitted on C:\Program
Files\IBM\SDP\runtimes\base_v7\profiles\was70profile2\logs\ffdc\server1_31483148_09.11.09_10.17.49.6513898565195532999466.txt
com.ibm.ejs.container.EJSContainer.postInvoke 2326
[11/9/09 10:17:53:791 MST] 00000028 application   E  
javax.ejb.EJBTransactionRolledbackException: 
                                 javax.faces.el.EvaluationException:
javax.ejb.EJBTransactionRolledbackException: 
	at
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:108)
	at
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
	at javax.faces.component.UICommand.broadcast(UICommand.java:387)
	at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:324)
	at
org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:299)
	at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:256)
	at
org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:469)
	at
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1461)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1396)
	at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
	at org.ajax4jsf.webapp.BaxxxMLFilter.doXmlFilter(BaxxxMLFilter.java:178)
	at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
	at
org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
	at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
	at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
	at
com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
	at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:852)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:788)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:444)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
	at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
	at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:860)
	at
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1566)
	at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:175)
	at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
	at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
	at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
	at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
	at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
	at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
	at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)
Caused by: javax.ejb.EJBTransactionRolledbackException: 
	at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:942)
	at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:228)
	at
com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:561)
	at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:4560)
	at
eas.mara.ejb.EJSLocal0SLPacRequestFacadeBean_d1884159.createPacGeneralRequest(EJSLocal0SLPacRequestFacadeBean_d1884159.java)
	at
eas.ManagedBeans.pac.GeneralRequestBean.submitGeneralRequest(GeneralRequestBean.java:86)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:599)
	at org.apache.el.parser.AstValue.invoke(AstValue.java:131)
	at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:277)
	at
com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
	at
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:94)
	... 39 more

[11/9/09 10:17:53:807 MST] 00000028 lifecycle     W  
#{pacGenReqBean.submitGeneralRequest}:
javax.ejb.EJBTransactionRolledbackException: 
                                 javax.faces.FacesException:
#{pacGenReqBean.submitGeneralRequest}:
javax.ejb.EJBTransactionRolledbackException: 
	at
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
	at javax.faces.component.UICommand.broadcast(UICommand.java:387)
	at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:324)
	at
org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:299)
	at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:256)
	at
org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:469)
	at
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1461)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1396)
	at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
	at org.ajax4jsf.webapp.BaxxxMLFilter.doXmlFilter(BaxxxMLFilter.java:178)
	at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
	at
org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
	at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
	at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
	at
com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
	at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:852)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:788)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:444)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
	at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
	at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:860)
	at
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1566)
	at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:175)
	at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
	at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
	at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
	at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
	at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
	at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
	at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)
Caused by: javax.faces.el.EvaluationException:
javax.ejb.EJBTransactionRolledbackException: 
	at
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:108)
	at
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
	... 38 more
Caused by: javax.ejb.EJBTransactionRolledbackException: 
	at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:942)
	at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:228)
	at
com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:561)
	at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:4560)
	at
eas.mara.ejb.EJSLocal0SLPacRequestFacadeBean_d1884159.createPacGeneralRequest(EJSLocal0SLPacRequestFacadeBean_d1884159.java)
	at
eas.ManagedBeans.pac.GeneralRequestBean.submitGeneralRequest(GeneralRequestBean.java:86)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:599)
	at org.apache.el.parser.AstValue.invoke(AstValue.java:131)
	at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:277)
	at
com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
	at
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:94)
	... 39 more

[11/9/09 10:17:53:807 MST] 00000028 lifecycle     E   JSF1054: (Phase ID:
INVOKE_APPLICATION 5, View ID: /pac/generalRequest.jsp) Exception thrown
during phase execution:
javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@34c334c3]
[11/9/09 10:17:53:807 MST] 00000028 servlet       E
com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught
exception created in one of the service methods of the servlet Faces Servlet
in application mara-app. Exception created : javax.servlet.ServletException:
#{pacGenReqBean.submitGeneralRequest}:
javax.ejb.EJBTransactionRolledbackException: 
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1461)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1396)
	at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
	at org.ajax4jsf.webapp.BaxxxMLFilter.doXmlFilter(BaxxxMLFilter.java:178)
	at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
	at
org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
	at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
	at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
	at
com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
	at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:852)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:788)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:444)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
	at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
	at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:860)
	at
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1566)
	at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:175)
	at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
	at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
	at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
	at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
	at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
	at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
	at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)
Caused by: javax.faces.FacesException:
#{pacGenReqBean.submitGeneralRequest}:
javax.ejb.EJBTransactionRolledbackException: 
	at
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
	at javax.faces.component.UICommand.broadcast(UICommand.java:387)
	at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:324)
	at
org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:299)
	at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:256)
	at
org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:469)
	at
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
	... 29 more
Caused by: javax.faces.el.EvaluationException:
javax.ejb.EJBTransactionRolledbackException: 
	at
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:108)
	at
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
	... 38 more
Caused by: javax.ejb.EJBTransactionRolledbackException: 
	at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:942)
	at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:228)
	at
com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:561)
	at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:4560)
	at
eas.mara.ejb.EJSLocal0SLPacRequestFacadeBean_d1884159.createPacGeneralRequest(EJSLocal0SLPacRequestFacadeBean_d1884159.java)
	at
eas.ManagedBeans.pac.GeneralRequestBean.submitGeneralRequest(GeneralRequestBean.java:86)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:599)
	at org.apache.el.parser.AstValue.invoke(AstValue.java:131)
	at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:277)
	at
com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
	at
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:94)
	... 39 more

[11/9/09 10:17:53:807 MST] 00000028 BaxxxMLFilter E
org.ajax4jsf.webapp.BaxxxMLFilter doXmlFilter Exception in the filter chain
                                 javax.servlet.ServletException:
#{pacGenReqBean.submitGeneralRequest}:
javax.ejb.EJBTransactionRolledbackException: 
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1461)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1396)
	at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
	at org.ajax4jsf.webapp.BaxxxMLFilter.doXmlFilter(BaxxxMLFilter.java:178)
	at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
	at
org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
	at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
	at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
	at
com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
	at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:852)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:788)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:444)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
	at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
	at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:860)
	at
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1566)
	at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:175)
	at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
	at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
	at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
	at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
	at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
	at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
	at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)
Caused by: javax.faces.FacesException:
#{pacGenReqBean.submitGeneralRequest}:
javax.ejb.EJBTransactionRolledbackException: 
	at
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
	at javax.faces.component.UICommand.broadcast(UICommand.java:387)
	at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:324)
	at
org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:299)
	at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:256)
	at
org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:469)
	at
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
	... 29 more
Caused by: javax.faces.el.EvaluationException:
javax.ejb.EJBTransactionRolledbackException: 
	at
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:108)
	at
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
	... 38 more
Caused by: javax.ejb.EJBTransactionRolledbackException: 
	at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:942)
	at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:228)
	at
com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:561)
	at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:4560)
	at
eas.mara.ejb.EJSLocal0SLPacRequestFacadeBean_d1884159.createPacGeneralRequest(EJSLocal0SLPacRequestFacadeBean_d1884159.java)
	at
eas.ManagedBeans.pac.GeneralRequestBean.submitGeneralRequest(GeneralRequestBean.java:86)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:599)
	at org.apache.el.parser.AstValue.invoke(AstValue.java:131)
	at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:277)
	at
com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
	at
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:94)
	... 39 more

[11/9/09 10:17:53:807 MST] 00000028 webapp        E
com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet
Error]-[Faces Servlet]: javax.faces.FacesException:
#{pacGenReqBean.submitGeneralRequest}:
javax.ejb.EJBTransactionRolledbackException: 
	at
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
	at javax.faces.component.UICommand.broadcast(UICommand.java:387)
	at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:324)
	at
org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:299)
	at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:256)
	at
org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:469)
	at
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1461)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1396)
	at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
	at org.ajax4jsf.webapp.BaxxxMLFilter.doXmlFilter(BaxxxMLFilter.java:178)
	at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
	at
org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
	at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
	at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
	at
com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
	at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:852)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:788)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:444)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
	at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
	at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:860)
	at
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1566)
	at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:175)
	at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
	at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
	at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
	at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
	at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
	at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
	at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)
Caused by: javax.faces.el.EvaluationException:
javax.ejb.EJBTransactionRolledbackException: 
	at
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:108)
	at
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
	... 38 more
Caused by: javax.ejb.EJBTransactionRolledbackException: 
	at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:942)
	at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:228)
	at
com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:561)
	at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:4560)
	at
eas.mara.ejb.EJSLocal0SLPacRequestFacadeBean_d1884159.createPacGeneralRequest(EJSLocal0SLPacRequestFacadeBean_d1884159.java)
	at
eas.ManagedBeans.pac.GeneralRequestBean.submitGeneralRequest(GeneralRequestBean.java:86)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:599)
	at org.apache.el.parser.AstValue.invoke(AstValue.java:131)
	at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:277)
	at
com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
	at
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:94)
	... 39 more

--I hit the back button, and then submitted the exact same data. Goes
through without any issues and is stored in the DB.

[11/9/09 10:17:58:901 MST] 00000028 SystemOut     O
UserFacadeBean.isLoggedIn() check for Prestwich
[11/9/09 10:17:58:916 MST] 00000028 SystemOut     O emergency: false emer 0
[11/9/09 10:17:58:932 MST] 00000028 SystemOut     O User postLoad
[11/9/09 10:17:58:948 MST] 00000028 SystemOut     O ModuleType postLoad
[11/9/09 10:17:58:948 MST] 00000028 SystemOut     O Status postLoad
[11/9/09 10:17:58:948 MST] 00000028 SystemOut     O Action postLoad
[11/9/09 10:17:58:948 MST] 00000028 SystemOut     O Request prePersist
[11/9/09 10:17:58:963 MST] 00000028 SystemOut     O Comment prePersist
[11/9/09 10:17:58:994 MST] 00000028 SystemOut     O Request postPersist
[11/9/09 10:17:58:994 MST] 00000028 SystemOut     O Comment postPersist
-- 
View this message in context: http://n2.nabble.com/IllegalArgumentException-on-persist-but-only-on-first-attempt-tp3975239p3975239.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Re: IllegalArgumentException on persist, but only on first attempt

Posted by aprestwich <al...@verizon.com>.
Thank you very much, that was the ticket. I was using MySQL Driver 5.1.6
which I had downloaded some time ago, once replaced everything worked
perfectly. It is odd that it would only fail on the first time...guess I was
focusing in the wrong place (OpenJPA rather than MySQL). 

Thanks again for saving me even more wasted time :).
Alan.



Michael Dick wrote:
> 
> Hi,
> 
> It looks like you're hitting this problem :
> http://bugs.mysql.com/bug.php?id=37645 . Grabbing the latest MySQL driver
> should resolve the problem for you.
> 
> That it happens only the first time is a bit unusual. If I had to guess
> I'd
> say that subsequent calls are caching the prepared statement instead of
> closing it and you'd see the IllegalArgumentException whenever the
> statement
> was purged from the cache.
> 
> Regards,
> -mike
> On Mon, Nov 9, 2009 at 1:43 PM, aprestwich
> <al...@verizon.com>wrote:
> :confused:
-- 
View this message in context: http://n2.nabble.com/IllegalArgumentException-on-persist-but-only-on-first-attempt-tp3975239p3976304.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Re: IllegalArgumentException on persist, but only on first attempt

Posted by Michael Dick <mi...@gmail.com>.
Hi,

It looks like you're hitting this problem :
http://bugs.mysql.com/bug.php?id=37645 . Grabbing the latest MySQL driver
should resolve the problem for you.

That it happens only the first time is a bit unusual. If I had to guess I'd
say that subsequent calls are caching the prepared statement instead of
closing it and you'd see the IllegalArgumentException whenever the statement
was purged from the cache.

Regards,
-mike
On Mon, Nov 9, 2009 at 1:43 PM, aprestwich <al...@verizon.com>wrote:

>
> I've been having a strange issue for awhile where I receive an
> IllegalArgumentException the first time I submit my Request form, but if I
> hit the back button and try again (same data, no changes) it works fine
> (data stored in the DB). After the first failure (for each request type) I
> can submit multiple requests of that type without errors and without
> needing
> to use the back button. I have a hierarchal structure of request types
> (like
> Request <- DetailRequest) using the InheritanceType.JOINED. I've coded
> several of the request types and they all seem to have the same issue. Do I
> have something defined wrong? I've also activated the JPA trace, but don't
> see any errors or issues in the trace log. I'm using WebSphere 7.0.0.3.
>
> (Note BaseXMLFiler was changed to BaxxxMLFilter to pass autofilter in
> Nabble)
>
> Thanks in advance for any help.
>
> --Persisting the request data. This simple request consists of a few fields
> and some comments. Two persists are needed, Request and Comments.
> ....
> @PersistenceContext
> public EntityManager em;
> public void createGeneralRequest(...){
> ...
>   User user = em.find(User.class, userId);
>
>   ModuleType mt = em.find(ModuleType.class, ModuleTypeCode.PAC.getCode());
>   Action ac = em.find(Action.class, ActionCode.SUBMITTED.getCode());
>
>   Request req = new Request(user, mt, ac, emergency, title, user);
>   req.setHlq(hlq);
>   em.persist(req);
>
>   Comment comment = new Comment(user, comments);
>   comment.setRequest(req);
>   em.persist(comment);
> ...
> }
>
>
> --Request entity bean. Base class of the hierarchy. This simple request
> doesn't need to use one of the subclasses, but the subclasses have the same
> issue/results.
>
> @Entity
> @Inheritance(strategy=InheritanceType.JOINED)
> public class Request implements Serializable {
>
>  @Id
>  @GeneratedValue(strategy=GenerationType.IDENTITY)
>  private int requestid;
>
>  @Temporal(TemporalType.TIMESTAMP)
>  @Column(nullable=true)
>  private Date completionDate;
>
>  @Column(nullable=true)
>  private byte completionEarly;
>
>  private byte deleted;
>
>  @Temporal(TemporalType.TIMESTAMP)
>  @Column(nullable=true)
>  private Date createDate;
>
>  @Temporal(TemporalType.TIMESTAMP)
>  @Column(nullable=true)
>  private Date submitDate;
>
>  @Temporal(TemporalType.TIMESTAMP)
>  @Column(nullable=true)
>  private Date actionDate;
>
>  @Column(nullable=true)
>  private int worktime;
>  private byte emergency;
>
>  @Column(length=8, nullable=true)
>  private String hlq;
>
>  @ManyToOne
>  @JoinColumn(name="hlqDevCenterId", referencedColumnName="id",
> nullable=true)  private Datacenter datacenter;
>
>  @ManyToOne
>  @JoinColumn(name="assignedToId", referencedColumnName="id", nullable=true)
> private MaraUser assignedToId;
>
>  @ManyToOne
>  @JoinColumn(name="actionByUserId", referencedColumnName="id",
> nullable=true)  private MaraUser actionByUserId;
>
>  @Column(length=100)
>  private String title;
>
>  @ManyToOne
>  @JoinColumn(name="businessCodeId", referencedColumnName="id",
> nullable=true)  private BusinessCode businessCode;
>
>  @ManyToOne
>  @JoinColumn(name="specialProjectId", referencedColumnName="id",
> nullable=true)  SpecialProject specialProject;
>
>  @ManyToOne
>  @JoinColumn(name="secondaryContactId", referencedColumnName="id",
> nullable=true)  MaraUser secondaryContact;
>
>  @ManyToOne
>  @JoinColumn(name="actionid", referencedColumnName="id", nullable=true)
> Action action;
>
>  @ManyToOne
>  @JoinColumn(name="moduleTypeId", referencedColumnName="id",
> nullable=false)
> private ModuleType moduleType;
>
>  @Column(length=45)
>  private String DTYPE;
>
>  @Version
>  private Timestamp updated;
>
>  @ManyToOne
>  @JoinColumn(name="userid", referencedColumnName="id", nullable=true)
> private MaraUser user;
>
>  ...
> //Getters and setters
> ...
> }
>
>
> --comment class -- has a Join with Request public class Comment implements
> Serializable { ...
>  @Id
>  @GeneratedValue(strategy=GenerationType.IDENTITY)
>  private int id;
>
>  @ManyToOne
>  @JoinColumn(name="userid", referencedColumnName="id", nullable=true)
> MaraUser user;
>
>  @Lob
>  @Column(nullable=true)
>  private String comment;
>
>  @Version
>  @Column(nullable=true)
>  private Timestamp updated;
>
>  @ManyToOne
>  @JoinColumn(name="requestid", referencedColumnName="requestid",
> nullable=true)  Request request; ....getters & setters...
> }
>
>
> --I added some log statements in the load and persist methods to see if the
> persist order was changing, but both the failed and successful submit seem
> to be in the same order.
>
> Error received.
> [11/9/09 10:17:47:604 MST] 00000028 SystemOut     O User postLoad
> [11/9/09 10:17:47:620 MST] 00000028 SystemOut     O ModuleType postLoad
> [11/9/09 10:17:47:651 MST] 00000028 SystemOut     O Status postLoad
> [11/9/09 10:17:47:651 MST] 00000028 SystemOut     O Action postLoad
> [11/9/09 10:17:47:745 MST] 00000028 SystemOut     O Request prePersist
> [11/9/09 10:17:47:760 MST] 00000028 SystemOut     O Comment prePersist
> [11/9/09 10:17:48:354 MST] 00000028 SystemOut     O Request postPersist
> [11/9/09 10:17:48:354 MST] 00000028 SystemOut     O Comment postPersist
> [11/9/09 10:17:48:416 MST] 00000028 RegisteredSyn E   WTRN0074E: Exception
> caught from before_completion synchronization operation:
> <openjpa-1.2.1-SNAPSHOT+OPENJPA-679-Final-r422266:746282 nonfatal general
> error> org.apache.openjpa.persistence.PersistenceException: null
>        at
> org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1834)
>        at
>
> com.ibm.ws.uow.ComponentContextSynchronizationWrapper.beforeCompletion(ComponentContextSynchronizationWrapper.java:65)
>        at
>
> com.ibm.tx.jta.RegisteredSyncs.coreDistributeBefore(RegisteredSyncs.java:289)
>        at
>
> com.ibm.ws.tx.jta.RegisteredSyncs.distributeBefore(RegisteredSyncs.java:150)
>        at
> com.ibm.ws.tx.jta.TransactionImpl.prePrepare(TransactionImpl.java:2252)
>        at
>
> com.ibm.ws.tx.jta.TransactionImpl.stage1CommitProcessing(TransactionImpl.java:488)
>        at
> com.ibm.tx.jta.TransactionImpl.processCommit(TransactionImpl.java:978)
>        at com.ibm.tx.jta.TransactionImpl.commit(TransactionImpl.java:913)
>        at
> com.ibm.ws.tx.jta.TranManagerImpl.commit(TranManagerImpl.java:369)
>        at com.ibm.tx.jta.TranManagerSet.commit(TranManagerSet.java:161)
>        at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:915)
>        at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:228)
>        at
>
> com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:561)
>        at
> com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:4560)
>        at
>
> eas.mara.ejb.EJSLocal0SLPacRequestFacadeBean_d1884159.createPacGeneralRequest(EJSLocal0SLPacRequestFacadeBean_d1884159.java)
>        at
>
> eas.ManagedBeans.pac.GeneralRequestBean.submitGeneralRequest(GeneralRequestBean.java:86)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>        at java.lang.reflect.Method.invoke(Method.java:599)
>        at org.apache.el.parser.AstValue.invoke(AstValue.java:131)
>        at
> org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:277)
>        at
> com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
>        at
>
> javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:94)
>        at
>
> com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
>        at javax.faces.component.UICommand.broadcast(UICommand.java:387)
>        at
> org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:324)
>        at
> org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:299)
>        at
> org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:256)
>        at
>
> org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:469)
>        at
>
> com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
>        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
>        at
> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
>        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1461)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1396)
>        at
>
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
>        at
> org.ajax4jsf.webapp.BaxxxMLFilter.doXmlFilter(BaxxxMLFilter.java:178)
>        at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
>        at
>
> org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
>        at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
>        at
>
> com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
>        at
>
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
>        at
>
> com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
>        at
>
> com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:852)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:788)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:444)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
>        at
>
> com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
>        at
> com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:860)
>        at
>
> com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1566)
>        at
> com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:175)
>        at
>
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
>        at
>
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
>        at
>
> com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
>        at
>
> com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
>        at
>
> com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
>        at
>
> com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
>        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
>        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
>        at
>
> com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
>        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
>        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)
> Caused by: java.lang.IllegalArgumentException
>        at java.util.EventObject.<init>(EventObject.java:47)
>        at javax.sql.StatementEvent.<init>(StatementEvent.java:54)
>        at javax.sql.StatementEvent.<init>(StatementEvent.java:68)
>        at
>
> com.mysql.jdbc.jdbc2.optional.JDBC4PreparedStatementWrapper.close(JDBC4PreparedStatementWrapper.java:70)
>        at
>
> com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.destroyStatement(WSRdbManagedConnectionImpl.java:950)
>        at
>
> com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.cacheStatement(WSRdbManagedConnectionImpl.java:3178)
>        at
>
> com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.closeWrapper(WSJdbcPreparedStatement.java:495)
>        at
> com.ibm.ws.rsadapter.jdbc.WSJdbcObject.close(WSJdbcObject.java:240)
>        at
> com.ibm.ws.rsadapter.jdbc.WSJdbcObject.close(WSJdbcObject.java:193)
>        at
>
> org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.close(DelegatingPreparedStatement.java:139)
>        at
>
> org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.close(DelegatingPreparedStatement.java:139)
>        at
>
> org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushAndUpdate(PreparedStatementManagerImpl.java:135)
>        at
>
> org.apache.openjpa.jdbc.kernel.BatchingPreparedStatementManagerImpl.flushAndUpdate(BatchingPreparedStatementManagerImpl.java:82)
>        at
>
> org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(PreparedStatementManagerImpl.java:89)
>        at
>
> org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(PreparedStatementManagerImpl.java:72)
>        at
>
> org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flushGraph(ConstraintUpdateManager.java:350)
>        at
>
> org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(ConstraintUpdateManager.java:96)
>        at
>
> org.apache.openjpa.jdbc.kernel.BatchingConstraintUpdateManager.flush(BatchingConstraintUpdateManager.java:59)
>        at
>
> com.ibm.ws.persistence.jdbc.kernel.ConstraintUpdateManager.flush(ConstraintUpdateManager.java:78)
>        at
>
> com.ibm.ws.persistence.jdbc.kernel.ConstraintUpdateManager.flush(ConstraintUpdateManager.java:60)
>        at
>
> org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(JDBCStoreManager.java:717)
>        at
>
> org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:130)
>        at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2010)
>        at
> org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1908)
>        at
> org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1826)
>        ... 62 more
>
> [11/9/09 10:17:49:604 MST] 00000028 FfdcProvider  I
> com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident
> emitted on C:\Program
>
> Files\IBM\SDP\runtimes\base_v7\profiles\was70profile2\logs\ffdc\server1_31483148_09.11.09_10.17.48.4797023048928474869589.txt
> com.ibm.ejs.csi.TranStrategy.commit 294
> [11/9/09 10:17:53:760 MST] 00000028 FfdcProvider  I
> com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident
> emitted on C:\Program
>
> Files\IBM\SDP\runtimes\base_v7\profiles\was70profile2\logs\ffdc\server1_31483148_09.11.09_10.17.49.6513898565195532999466.txt
> com.ibm.ejs.container.EJSContainer.postInvoke 2326
> [11/9/09 10:17:53:791 MST] 00000028 application   E
> javax.ejb.EJBTransactionRolledbackException:
>                                 javax.faces.el.EvaluationException:
> javax.ejb.EJBTransactionRolledbackException:
>        at
>
> javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:108)
>        at
>
> com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
>        at javax.faces.component.UICommand.broadcast(UICommand.java:387)
>        at
> org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:324)
>        at
> org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:299)
>        at
> org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:256)
>        at
>
> org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:469)
>        at
>
> com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
>        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
>        at
> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
>        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1461)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1396)
>        at
>
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
>        at
> org.ajax4jsf.webapp.BaxxxMLFilter.doXmlFilter(BaxxxMLFilter.java:178)
>        at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
>        at
>
> org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
>        at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
>        at
>
> com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
>        at
>
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
>        at
>
> com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
>        at
>
> com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:852)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:788)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:444)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
>        at
>
> com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
>        at
> com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:860)
>        at
>
> com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1566)
>        at
> com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:175)
>        at
>
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
>        at
>
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
>        at
>
> com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
>        at
>
> com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
>        at
>
> com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
>        at
>
> com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
>        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
>        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
>        at
>
> com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
>        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
>        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)
> Caused by: javax.ejb.EJBTransactionRolledbackException:
>        at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:942)
>        at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:228)
>        at
>
> com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:561)
>        at
> com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:4560)
>        at
>
> eas.mara.ejb.EJSLocal0SLPacRequestFacadeBean_d1884159.createPacGeneralRequest(EJSLocal0SLPacRequestFacadeBean_d1884159.java)
>        at
>
> eas.ManagedBeans.pac.GeneralRequestBean.submitGeneralRequest(GeneralRequestBean.java:86)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>        at java.lang.reflect.Method.invoke(Method.java:599)
>        at org.apache.el.parser.AstValue.invoke(AstValue.java:131)
>        at
> org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:277)
>        at
> com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
>        at
>
> javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:94)
>        ... 39 more
>
> [11/9/09 10:17:53:807 MST] 00000028 lifecycle     W
> #{pacGenReqBean.submitGeneralRequest}:
> javax.ejb.EJBTransactionRolledbackException:
>                                 javax.faces.FacesException:
> #{pacGenReqBean.submitGeneralRequest}:
> javax.ejb.EJBTransactionRolledbackException:
>        at
>
> com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
>        at javax.faces.component.UICommand.broadcast(UICommand.java:387)
>        at
> org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:324)
>        at
> org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:299)
>        at
> org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:256)
>        at
>
> org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:469)
>        at
>
> com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
>        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
>        at
> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
>        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1461)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1396)
>        at
>
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
>        at
> org.ajax4jsf.webapp.BaxxxMLFilter.doXmlFilter(BaxxxMLFilter.java:178)
>        at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
>        at
>
> org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
>        at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
>        at
>
> com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
>        at
>
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
>        at
>
> com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
>        at
>
> com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:852)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:788)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:444)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
>        at
>
> com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
>        at
> com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:860)
>        at
>
> com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1566)
>        at
> com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:175)
>        at
>
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
>        at
>
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
>        at
>
> com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
>        at
>
> com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
>        at
>
> com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
>        at
>
> com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
>        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
>        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
>        at
>
> com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
>        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
>        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)
> Caused by: javax.faces.el.EvaluationException:
> javax.ejb.EJBTransactionRolledbackException:
>        at
>
> javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:108)
>        at
>
> com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
>        ... 38 more
> Caused by: javax.ejb.EJBTransactionRolledbackException:
>        at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:942)
>        at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:228)
>        at
>
> com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:561)
>        at
> com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:4560)
>        at
>
> eas.mara.ejb.EJSLocal0SLPacRequestFacadeBean_d1884159.createPacGeneralRequest(EJSLocal0SLPacRequestFacadeBean_d1884159.java)
>        at
>
> eas.ManagedBeans.pac.GeneralRequestBean.submitGeneralRequest(GeneralRequestBean.java:86)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>        at java.lang.reflect.Method.invoke(Method.java:599)
>        at org.apache.el.parser.AstValue.invoke(AstValue.java:131)
>        at
> org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:277)
>        at
> com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
>        at
>
> javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:94)
>        ... 39 more
>
> [11/9/09 10:17:53:807 MST] 00000028 lifecycle     E   JSF1054: (Phase ID:
> INVOKE_APPLICATION 5, View ID: /pac/generalRequest.jsp) Exception thrown
> during phase execution:
>
> javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@34c334c3
> ]
> [11/9/09 10:17:53:807 MST] 00000028 servlet       E
> com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught
> exception created in one of the service methods of the servlet Faces
> Servlet
> in application mara-app. Exception created :
> javax.servlet.ServletException:
> #{pacGenReqBean.submitGeneralRequest}:
> javax.ejb.EJBTransactionRolledbackException:
>        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1461)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1396)
>        at
>
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
>        at
> org.ajax4jsf.webapp.BaxxxMLFilter.doXmlFilter(BaxxxMLFilter.java:178)
>        at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
>        at
>
> org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
>        at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
>        at
>
> com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
>        at
>
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
>        at
>
> com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
>        at
>
> com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:852)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:788)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:444)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
>        at
>
> com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
>        at
> com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:860)
>        at
>
> com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1566)
>        at
> com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:175)
>        at
>
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
>        at
>
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
>        at
>
> com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
>        at
>
> com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
>        at
>
> com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
>        at
>
> com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
>        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
>        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
>        at
>
> com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
>        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
>        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)
> Caused by: javax.faces.FacesException:
> #{pacGenReqBean.submitGeneralRequest}:
> javax.ejb.EJBTransactionRolledbackException:
>        at
>
> com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
>        at javax.faces.component.UICommand.broadcast(UICommand.java:387)
>        at
> org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:324)
>        at
> org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:299)
>        at
> org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:256)
>        at
>
> org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:469)
>        at
>
> com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
>        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
>        at
> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
>        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
>        ... 29 more
> Caused by: javax.faces.el.EvaluationException:
> javax.ejb.EJBTransactionRolledbackException:
>        at
>
> javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:108)
>        at
>
> com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
>        ... 38 more
> Caused by: javax.ejb.EJBTransactionRolledbackException:
>        at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:942)
>        at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:228)
>        at
>
> com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:561)
>        at
> com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:4560)
>        at
>
> eas.mara.ejb.EJSLocal0SLPacRequestFacadeBean_d1884159.createPacGeneralRequest(EJSLocal0SLPacRequestFacadeBean_d1884159.java)
>        at
>
> eas.ManagedBeans.pac.GeneralRequestBean.submitGeneralRequest(GeneralRequestBean.java:86)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>        at java.lang.reflect.Method.invoke(Method.java:599)
>        at org.apache.el.parser.AstValue.invoke(AstValue.java:131)
>        at
> org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:277)
>        at
> com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
>        at
>
> javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:94)
>        ... 39 more
>
> [11/9/09 10:17:53:807 MST] 00000028 BaxxxMLFilter E
> org.ajax4jsf.webapp.BaxxxMLFilter doXmlFilter Exception in the filter chain
>                                 javax.servlet.ServletException:
> #{pacGenReqBean.submitGeneralRequest}:
> javax.ejb.EJBTransactionRolledbackException:
>        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1461)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1396)
>        at
>
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
>        at
> org.ajax4jsf.webapp.BaxxxMLFilter.doXmlFilter(BaxxxMLFilter.java:178)
>        at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
>        at
>
> org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
>        at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
>        at
>
> com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
>        at
>
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
>        at
>
> com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
>        at
>
> com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:852)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:788)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:444)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
>        at
>
> com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
>        at
> com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:860)
>        at
>
> com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1566)
>        at
> com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:175)
>        at
>
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
>        at
>
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
>        at
>
> com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
>        at
>
> com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
>        at
>
> com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
>        at
>
> com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
>        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
>        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
>        at
>
> com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
>        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
>        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)
> Caused by: javax.faces.FacesException:
> #{pacGenReqBean.submitGeneralRequest}:
> javax.ejb.EJBTransactionRolledbackException:
>        at
>
> com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
>        at javax.faces.component.UICommand.broadcast(UICommand.java:387)
>        at
> org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:324)
>        at
> org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:299)
>        at
> org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:256)
>        at
>
> org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:469)
>        at
>
> com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
>        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
>        at
> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
>        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
>        ... 29 more
> Caused by: javax.faces.el.EvaluationException:
> javax.ejb.EJBTransactionRolledbackException:
>        at
>
> javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:108)
>        at
>
> com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
>        ... 38 more
> Caused by: javax.ejb.EJBTransactionRolledbackException:
>        at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:942)
>        at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:228)
>        at
>
> com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:561)
>        at
> com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:4560)
>        at
>
> eas.mara.ejb.EJSLocal0SLPacRequestFacadeBean_d1884159.createPacGeneralRequest(EJSLocal0SLPacRequestFacadeBean_d1884159.java)
>        at
>
> eas.ManagedBeans.pac.GeneralRequestBean.submitGeneralRequest(GeneralRequestBean.java:86)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>        at java.lang.reflect.Method.invoke(Method.java:599)
>        at org.apache.el.parser.AstValue.invoke(AstValue.java:131)
>        at
> org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:277)
>        at
> com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
>        at
>
> javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:94)
>        ... 39 more
>
> [11/9/09 10:17:53:807 MST] 00000028 webapp        E
> com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet
> Error]-[Faces Servlet]: javax.faces.FacesException:
> #{pacGenReqBean.submitGeneralRequest}:
> javax.ejb.EJBTransactionRolledbackException:
>        at
>
> com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
>        at javax.faces.component.UICommand.broadcast(UICommand.java:387)
>        at
> org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:324)
>        at
> org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:299)
>        at
> org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:256)
>        at
>
> org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:469)
>        at
>
> com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
>        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
>        at
> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
>        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1461)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1396)
>        at
>
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
>        at
> org.ajax4jsf.webapp.BaxxxMLFilter.doXmlFilter(BaxxxMLFilter.java:178)
>        at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
>        at
>
> org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
>        at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
>        at
>
> com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
>        at
>
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
>        at
>
> com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
>        at
>
> com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:852)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:788)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:444)
>        at
>
> com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
>        at
>
> com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
>        at
> com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:860)
>        at
>
> com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1566)
>        at
> com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:175)
>        at
>
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
>        at
>
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
>        at
>
> com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
>        at
>
> com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
>        at
>
> com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
>        at
>
> com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
>        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
>        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
>        at
>
> com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
>        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
>        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)
> Caused by: javax.faces.el.EvaluationException:
> javax.ejb.EJBTransactionRolledbackException:
>        at
>
> javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:108)
>        at
>
> com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
>        ... 38 more
> Caused by: javax.ejb.EJBTransactionRolledbackException:
>        at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:942)
>        at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:228)
>        at
>
> com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:561)
>        at
> com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:4560)
>        at
>
> eas.mara.ejb.EJSLocal0SLPacRequestFacadeBean_d1884159.createPacGeneralRequest(EJSLocal0SLPacRequestFacadeBean_d1884159.java)
>        at
>
> eas.ManagedBeans.pac.GeneralRequestBean.submitGeneralRequest(GeneralRequestBean.java:86)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>        at java.lang.reflect.Method.invoke(Method.java:599)
>        at org.apache.el.parser.AstValue.invoke(AstValue.java:131)
>        at
> org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:277)
>        at
> com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
>        at
>
> javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:94)
>        ... 39 more
>
> --I hit the back button, and then submitted the exact same data. Goes
> through without any issues and is stored in the DB.
>
> [11/9/09 10:17:58:901 MST] 00000028 SystemOut     O
> UserFacadeBean.isLoggedIn() check for Prestwich
> [11/9/09 10:17:58:916 MST] 00000028 SystemOut     O emergency: false emer 0
> [11/9/09 10:17:58:932 MST] 00000028 SystemOut     O User postLoad
> [11/9/09 10:17:58:948 MST] 00000028 SystemOut     O ModuleType postLoad
> [11/9/09 10:17:58:948 MST] 00000028 SystemOut     O Status postLoad
> [11/9/09 10:17:58:948 MST] 00000028 SystemOut     O Action postLoad
> [11/9/09 10:17:58:948 MST] 00000028 SystemOut     O Request prePersist
> [11/9/09 10:17:58:963 MST] 00000028 SystemOut     O Comment prePersist
> [11/9/09 10:17:58:994 MST] 00000028 SystemOut     O Request postPersist
> [11/9/09 10:17:58:994 MST] 00000028 SystemOut     O Comment postPersist
> --
> View this message in context:
> http://n2.nabble.com/IllegalArgumentException-on-persist-but-only-on-first-attempt-tp3975239p3975239.html
> Sent from the OpenJPA Users mailing list archive at Nabble.com.
>