jcr2spi spi2dav Sending large data, WorkspaceManager forgets exception

2007-12-29 Thread Jozef Wagner
Hi All, Problem 1: org.apache.jackrabbit.jcr2spi.WorkspaceManager.execute(ChangeLog changelog) has try{} finally{} block without catch. It happened to me that both try and finally block thrown an exception. Of course exception from try{} was lost, and I got misleaded :) Problem 2: I'm trying to

Re: jcr2spi spi2dav Sending large data, WorkspaceManager forgets exception

2008-01-07 Thread Angela Schreiber
hi jozef Jozef Wagner wrote: So, should I just set bigger heap for jvm or current spi2dav prototype does not support large data? I need to send files as large as 200MB. you are basically asking whether spi2dav should support large data, right? so i'd say yes... but i wouldn't be surprised if

Re: jcr2spi spi2dav Sending large data, WorkspaceManager forgets exception

2008-01-07 Thread Thomas Mueller
Hi, > a possible way improve this would be to make usage of > the global data store (JCR-926) That would be a solution. The idea is to avoid temporary copies of the data, and persist large objects as early as possible. I'm not sure if the data store should be used in the Jackrabbit SPI client (it

Re: jcr2spi spi2dav Sending large data, WorkspaceManager forgets exception

2008-01-07 Thread Angela Schreiber
Thomas Mueller wrote: Hi, a possible way improve this would be to make usage of the global data store (JCR-926) That would be a solution. The idea is to avoid temporary copies of the data, and persist large objects as early as possible. I'm not sure if the data store should be used in the Jac

Re: jcr2spi spi2dav Sending large data, WorkspaceManager forgets exception

2008-01-08 Thread Marcel Reutegger
Hi Jozef, Jozef Wagner wrote: Problem 1: org.apache.jackrabbit.jcr2spi.WorkspaceManager.execute(ChangeLog changelog) has try{} finally{} block without catch. It happened to me that both try and finally block thrown an exception. Of course exception from try{} was lost, and I got misleaded :)

Re: jcr2spi spi2dav Sending large data, WorkspaceManager forgets exception

2008-01-08 Thread Jozef Wagner
Hi, it's the method near the end of the file: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/WorkspaceManager.java?view=markup it is thrown by service.submit(batch); and it is constraint exception, about not supplying all required pro

Re: jcr2spi spi2dav Sending large data, WorkspaceManager forgets exception

2008-01-08 Thread Marcel Reutegger
Hi Jozef, thank you for the info. I've created a jira issue: https://issues.apache.org/jira/browse/JCR-1296 regards marcel Jozef Wagner wrote: Hi, it's the method near the end of the file: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit

Re: jcr2spi spi2dav Sending large data, WorkspaceManager forgets exception

2008-01-09 Thread Jozef Wagner
Hi, Well I had to increase maximum heap size for both client and tomcat server in order to be able to send 20mb binary property, and it was damn slow. I think most of the problem was by this base64 conversion. That is not good of course and I have to sind a solution pretty soon. When I use norma