Resource Menu


RE : Server error on getPatch. Status code=403
Hi,

We have the same problem on a LibreSource server freeshly installed on a W2K SP4 machine. We have also set the permissions of LibreSource and Postgres directories in order to give to postgress user full rights (postgres user and "all users" have fulll rights)… However, we still have getPatch error. This error prevent us to use the LibreSource, since we can't perform an update, neither the commit of any workspace. When we try to update a workspace, we have an error like this in JavaWS:

org.libresource.so6.core.client.ServerException: Server error on getPatch. Status code=403 at org.libresource.so6.core.client.ClientIServletImpl.getPatch(ClientIServletImpl.java:189) at org.libresource.so6.core.WsConnection.receive(WsConnection.java:674) at org.libresource.so6.core.WsConnection.update(WsConnection.java:636) at org.libresource.so6.core.ui.BasicProgressView.update(BasicProgressView.java:106) at org.libresource.so6.core.exec.ui.Update.doTheJob(Update.java:86) at org.libresource.so6.core.exec.ui.Update$2.run(Update.java:140) at java.lang.Thread.run(Unknown Source)

and, on the server side, we have this one: G:>org.postgresql.util.PSQLException: ERROR: could not create server file "G:Li breSource/work/files/synchronizerData/6ed1ad51815826dc0144c1344ca1b247/patchRepo sitory/1.2": No such file or directory

at org.postgresql.util.PSQLException.parseServerError(PSQLException.java :139) at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:152) at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:100) at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43) at org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Stat ement.java:517) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Stat ement.java:50) at org.postgresql.jdbc1.AbstractJdbc1Statement.executeQuery(AbstractJdbc 1Statement.java:233) at org.objectweb.jonas.dbm.JStatement.executeQuery(JStatement.java:324) at org.libresource.so6.server.ls.ejb.LibresourceSynchronizerServiceBean. exportFileFromDatabase(LibresourceSynchronizerServiceBean.java:1955) at org.libresource.so6.server.ls.ejb.LibresourceSynchronizerServiceBean. getPatch(LibresourceSynchronizerServiceBean.java:1220) at org.objectweb.jonas_gen.org.libresource.so6.server.ls.interfaces.JOnA SLibresourceSynchronizerService1712661409Remote.getPatch(JOnASLibresourceSynchro nizerService1712661409Remote.java:1638) at org.libresource.so6.web.servlet.So6Actions.getPatch(So6Actions.java:1 07) (...) org.libresource.so6.server.ls.LibresourceSynchronizerException: Error in getPatc h : ERROR: could not create server file "G:LibreSource/work/files/synchronizerDa ta/6ed1ad51815826dc0144c1344ca1b247/patchRepository/1.2": No such file or direct ory

at org.libresource.so6.server.ls.ejb.LibresourceSynchronizerServiceBean. getPatch(LibresourceSynchronizerServiceBean.java:1240) at org.objectweb.jonas_gen.org.libresource.so6.server.ls.interfaces.JOnA SLibresourceSynchronizerService1712661409Remote.getPatch(JOnASLibresourceSynchro nizerService1712661409Remote.java:1638) at org.libresource.so6.web.servlet.So6Actions.getPatch(So6Actions.java:1 07) (...) Caused by: org.postgresql.util.PSQLException: ERROR: could not create server fil e "G:LibreSource/work/files/synchronizerData/6ed1ad51815826dc0144c1344ca1b247/pa tchRepository/1.2": No such file or directory

at org.postgresql.util.PSQLException.parseServerError(PSQLException.java :139) at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:152) at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:100) at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43) at org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Stat ement.java:517) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Stat ement.java:50) at org.postgresql.jdbc1.AbstractJdbc1Statement.executeQuery(AbstractJdbc 1Statement.java:233) at org.objectweb.jonas.dbm.JStatement.executeQuery(JStatement.java:324) at org.libresource.so6.server.ls.ejb.LibresourceSynchronizerServiceBean. exportFileFromDatabase(LibresourceSynchronizerServiceBean.java:1955) at org.libresource.so6.server.ls.ejb.LibresourceSynchronizerServiceBean. getPatch(LibresourceSynchronizerServiceBean.java:1220) … 52 more

Have you any suggestion? Is this some kind of bug?

Best Regards,

Manuele

after re-installing everything, it seems to works.
n The bootstrap might be the cause.
n Nevertheless, I need to manually set chmod -R 777 Work/* often, is there a way to set it be default (umask might be the answer).

posted by Guest at Feb 18, 2006 6:00 PM