[ 
http://jira.nuxeo.org/browse/NXP-3274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50485#action_50485
 ] 

Olivier Grisel commented on NXP-3274:
-------------------------------------

org.postgresql.xa.PGXAException: Erreur en annulant une transaction préparée    
                                                                                
                
        at org.postgresql.xa.PGXAConnection.rollback(PGXAConnection.java:357)   
                                                                                
                
        at org.nuxeo.ecm.core.storage.sql.Mapper.rollback(Mapper.java:1693)     
                                                                                
                
        at 
org.nuxeo.ecm.core.storage.sql.TransactionalSession.rollback(TransactionalSession.java:94)
                                                                           
        at 
org.nuxeo.ecm.core.storage.sql.ra.ConnectionAwareXAResource.rollback(ConnectionAwareXAResource.java:70)
[snip]
Caused by: org.postgresql.util.PSQLException: Une erreur d'entrée/sortie a eu 
lieu lors d'envoi vers le serveur.                                              
                  
        at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:220)    
                                                                                
     
        at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:451)
                                                                                
 
        at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:336)
                                                                        
        at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:282)
                                                                           
        at org.postgresql.xa.PGXAConnection.rollback(PGXAConnection.java:347)   
                                                                                
                
        ... 64 more                                                             
                                                                                
                
Caused by: java.net.SocketException: Broken pipe                                
                                                                                
                
        at java.net.SocketOutputStream.socketWrite0(Native Method)              
                                                                                
                
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)  
                                                                                
                
        at java.net.SocketOutputStream.write(SocketOutputStream.java:136)       
                                                                                
                
        at 
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)          
                                                                                
     
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)    
                                                                                
                
        at org.postgresql.core.PGStream.flush(PGStream.java:508)                
                                                                                
                
        at 
org.postgresql.core.v3.QueryExecutorImpl.sendSync(QueryExecutorImpl.java:692)   
                                                                                
     
        at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:193)  

> Make VCS mapper check that its JDBC connection is still valid when starting a 
> new transaction
> ---------------------------------------------------------------------------------------------
>
>                 Key: NXP-3274
>                 URL: http://jira.nuxeo.org/browse/NXP-3274
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>          Components: Core SQL Storage
>    Affects Versions: 5.2 M4
>            Reporter: Olivier Grisel
>            Assignee: Florent Guillaume
>            Priority: Major
>             Fix For: 5.2 RC
>
>
> Steps to reproduce:
> 1- start postgresql server
> 2- start nuxeo with VCS configured to use postgresql
> 3- browse the workspaces with Administrator
> 4- restart postgresql
> 5- continue browsing
> => crash everytime you do a new request (even read only, see first comment 
> for stacktrace).
> The only way to get the core to create a new connection is to restart jboss.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to