openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joachim Stein (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-941) Unable to write data into table
Date Wed, 25 Feb 2009 14:23:02 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676656#action_12676656
] 

Joachim Stein commented on OPENJPA-941:
---------------------------------------

Hello!

Something is happening after adding the Connection2 properties to the persitence.xml. The
first part of the exception disappears but a buffer overflow has added. Now the exception
looks like:

Trace: 2009/02/25 12:46:15.133 01 t=8C3E88 c=UNK key=P8 (13007002)                       
                                         
   ThreadId: 00000022                                                                    
                                          
   FunctionName: com.ibm.ws.Transaction.JTA.RegisteredSyncs                              
                                          
   SourceId: com.ibm.ws.Transaction.JTA.RegisteredSyncs                                  
                                          
   Category: SEVERE                                                                      
                                          
   ExtendedMessage: ***BUFFER OVERFLOW***                                                
                                          
 Trace: 2009/02/25 12:46:15.172 01 t=8C3E88 c=UNK key=P8 (13007002)                      
                                          
   ThreadId: 00000022                                                                    
                                          
   FunctionName: com.ibm.ws.webcontainer.servlet.ServletWrapper                          
                                          
   SourceId: com.ibm.ws.webcontainer.servlet.ServletWrapper                              
                                          
   Category: SEVERE                                                                      
                                          
   ExtendedMessage: BBOO0220E: SRVE0068E: Uncaught exception thrown in one of the service
methods of the servlet: SstController. Exce
 ption thrown : javax.ejb.EJBTransactionRolledbackException:                             
                         
  at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:795)                          
                         
  at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:206)                      
                         
  at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:581)  
                         
  at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:4311)               
                         
  at interfaces.EJSRemote0SLSstDbManagerImpl_9a8f969a.createServer(EJSRemote0SLSstDbManagerImpl_9a8f969a.java)
    
  at interfaces._SstDbManager_Stub.createServer(_SstDbManager_Stub.java)                 
                         
  at com.ibm.db2pm.sst.SstController.doGet(SstController.java:436)                       
                         
  at com.ibm.db2pm.sst.SstController.doPost(SstController.java:654)                      
                         
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)                        
                         
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)                        
                         
  at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1076)    
                         
  at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:550)
                        
  at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:486)
                      
  at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
               
  at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)           
                         
  at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)        
                         
  at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:115)         
                         
  at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
          
  at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
          
  at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
                         
  at com.ibm.ws390.channel.xmem.XMemConnLink.ready(XMemConnLink.java:762)                
                         
  at com.ibm.ws390.xmem.XMemSRBridgeImpl.httpinvoke(XMemSRBridgeImpl.java:230)           
                         
  at com.ibm.ws390.xmem.XMemSRCppUtilities.httpinvoke(XMemSRCppUtilities.java:74)        
                         
  at com.ibm.ws390.orb.ServerRegionBridge.httpinvoke(Unknown Source)                     
                         




> Unable to write data into table
> -------------------------------
>
>                 Key: OPENJPA-941
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-941
>             Project: OpenJPA
>          Issue Type: Bug
>         Environment: z/OS
>            Reporter: Joachim Stein
>
> My Application is running on WAS 6.1.0.18 which runs on a z/OS system. I'm working with
EJB 3.0. I can read data from database but everytime i call persist() to insert a row into
the table i get the following error message:
>   ExtendedMessage: BBOO0220E: WTRN0074E: Exception caught from before_completion synchronization
operation: <openjpa-1.0.1-r420667:592145 nonfatal general error> org.apache.openjpa.persistence.PersistenceException:
null                                             
>  at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.getConnection(AbstractJDBCSeq.java:162)
                                         
>  at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:366)
                                            
>  at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:266) 
                                               
>  at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:60)    
                                               
>  at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:160)           
                                               
>  at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:144)      
                                               
>  at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:557)
                                         
>  at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:450)          
                                               
>  at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:426)          
                                               
>  at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:541)
                                      
>  at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:134)
                               
>  at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:501)
                                           
>  at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2770) 
                                               
>  at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:39)              
                                               
>  at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:940)
                                              
>  at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1892)                
                                               
>  at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1852)            
                                               
>  at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1770)     
                                               
>  at com.ibm.ws.uow.ComponentContextSynchronizationWrapper.beforeCompletion(ComponentContextSynchronizationWrapper.java:66)
>  at com.ibm.ws.Transaction.JTA.RegisteredSyncs.distributeBefore(RegisteredSyncs.java:242)
                                          
>  at com.ibm.ws.Transaction.JTA.TransactionImpl.prePrepare(TransactionImpl.java:2404)
                                               
>  at com.ibm.ws.Transaction.JTA.TransactionImpl.stage1CommitProcessing(TransactionImpl.java:1637)
                                   
>  at com.ibm.ws.Transaction.JTA.TransactionImpl.processCommit(TransactionImpl.java:1608)
                                            
>  at com.ibm.ws.Transaction.JTA.TransactionImpl.commit(TransactionImpl.java:1543)    
                                               
>  at com.ibm.ws.Transaction.JTA.TranManagerImpl.commit(TranManagerImpl.java:240)     
                                               
>  at com.ibm.ws.Transaction.JTA.TranManagerSet.commit(TranManagerSet.java:164)       
                                               
>  at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:782)                      
                                               
>  at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:206)                  
                                               
>  at com.ibm.ejs.csi.RequiresNew.postInvoke(RequiresNew.java:93)                     
                                               
>  at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:581)
                                             
>  at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:4311)           
                                               
>  at interfaces.EJSLocal0SLOmegamonMasterManagerImpl_22398363.createOmegamonMaster(EJSLocal0SLOmegamonMasterManagerImpl_22398363.java
> )                                                                                   
                                               
>  at management.SstDbManagerImpl.createServer(SstDbManagerImpl.java:109)             
                                               
>  at interfaces.EJSRemote0SLSstDbManagerImpl_9a8f969a.createServer(EJSRemote0SLSstDbManagerImpl_9a8f969a.java)
                      
>  at interfaces._SstDbManager_Stub.createServer(_SstDbManager_Stub.java)             
                                               
>  at com.ibm.db2pm.sst.SstController.doGet(SstController.java:435)                   
                                               
>  at com.ibm.db2pm.sst.SstController.doPost(SstController.java:653)                  
                                               
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)                    
                                               
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)                    
                                               
>  at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1076)
                                               
>  at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:550)
                                          
>  at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:486)
                                        
>  at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
>  at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)  
>  at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)    
                      
>  at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:115)     
                      
>  at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
   
>  at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInf               
                 
> furthermore:
>    Message: BBOO0220E: SRVE0068E: Uncaught exception thrown in one of the service methods
of the servlet: SstController. Exception thrown : javax.ejb.EJBTransactionRolledbackException:
                                                                               
>   at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:795)    
>   at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:206)                 
                         
>   at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:581)
                      
>   at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:4311)          
                         
>   at interfaces.EJSRemote0SLSstDbManagerImpl_9a8f969a.createServer(EJSRemote0SLSstDbManagerImpl_9a8f969a.java)
>   at interfaces._SstDbManager_Stub.createServer(_SstDbManager_Stub.java)            
                         
>   at com.ibm.db2pm.sst.SstController.doGet(SstController.java:436)                  
                         
>   at com.ibm.db2pm.sst.SstController.doPost(SstController.java:654)                 
                         
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)                   
                         
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)                   
                         
>   at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1076)
                        
>   at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:550)
                   
>   at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:486)
                 
>   at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
          
>   at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)      
                         
>   at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)   
                         
>   at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:115)    
                         
>   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
     
>   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
     
>   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
                    
>   at com.ibm.ws390.channel.xmem.XMemConnLink.ready(XMemConnLink.java:762)           
                         
>   at com.ibm.ws390.xmem.XMemSRBridgeImpl.httpinvoke(XMemSRBridgeImpl.java:230)      
                         
>   at com.ibm.ws390.xmem.XMemSRCppUtilities.httpinvoke(XMemSRCppUtilities.java:74)   
                         
>   at com.ibm.ws390.orb.ServerRegionBridge.httpinvoke(Unknown Source)                
                         
>   at com.ibm.ws390.orb.ORBEJSBridge.httpinvoke(Unknown Source)                      
                         
>   at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)                   
                                                                                         
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      
>  at java.lang.reflect.Method.invoke(Method.java:618)                                
           
>  at com.ibm.ws390.orb.parameters.HTTPInvoke.HTTPInvokeParmSetter(HTTPInvoke.java:105)
          
>  at com.ibm.ws390.orb.CommonBridge.nativeRunApplicationThread(Native Method)        
           
>  at com.ibm.ws390.orb.CommonBridge.runApplicationThread(Unknown Source)             
           
>  at com.ibm.ws.util.ThreadPool$ZOSWorker.run(ThreadPool.java:1670)                  
           
>  com.ibm.ws.webcontainer.servlet.ServletWrapper com.ibm.ws.webcontainer.servlet.ServletWrapper
 
> What do you think does this exactly means? I've tried to fix the problem after looking
similarly problems in the internet but nothing helps.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message