Server error on getPatch. Status code=403 http://dev.libresource.org/home/community/forum/7351e964c0a8001e015ad485c3ea4586 RE : Server error on getPatch. Status code=403 http://dev.libresource.org/home/community/forum/7351e964c0a8001e015ad485c3ea4586/7e8a19f8c0a8001e010e287573757adc Florent Jouille 2006-02-18T20:01:53+01:00 It would be fixed quickly.]]> RE : Server error on getPatch. Status code=403 http://dev.libresource.org/home/community/forum/7351e964c0a8001e015ad485c3ea4586/7e74bd48c0a8001e00282813e63d4f94 Guest 2006-02-18T19:38:33+01:00 It works! Our ls-config.properties file was wrong (wrong path and a "\" was missing)… Thank you a lot! :)

By the way, we have also find some small disaggreaments during installation, considering the libresourceDS.properties file. We had to change by hand the "DBURL", "DBUSER" and "DBPASSWD" in <LS_DIR>\JOnAS\conf\libresourceDS.properties to their real values:

datasource.name libresourceDS
datasource.url jdbc:postgresql://localhost:5432/libresource
datasource.classname org.postgresql.Driver
datasource.username postgres
datasource.password ******* (here enter your postgres password)
datasource.mapper rdb.postgres
(...)

I hope this may help the installer evolution in the future...

Best regards!

Manuele]]> RE : Server error on getPatch. Status code=403 http://dev.libresource.org/home/community/forum/7351e964c0a8001e015ad485c3ea4586/7e2cd8e9c0a8001e018a4c2e702adb12 Guest 2006-02-18T18:20:01+01:00 ERROR: could not create server file "G:Li breSource/work/files/synchronizerData/6ed1ad51815826dc0144c1344ca1b247/patchRepo sitory/1.2": No such file or directory

you have to check the file <LS-INSTALL-DIR>/LibreSource/ls-config.properties. (for your installation, it seems to be "G:\LibreSource") This file contains two lines with paths :

kernel.indexation.data.dir=<path>

libresource.distributedFilesystem=<path>

The two <path> must be correct and depend of your system. For windows, set to G:\\LibreSource\\work\files

and G:\\LibreSource\\work\index

Then, run <LS-INSTALL-DIR>/config.bat script. And restart LibreSource. ]]> RE : Server error on getPatch. Status code=403 http://dev.libresource.org/home/community/forum/7351e964c0a8001e015ad485c3ea4586/7e1b3ce0c0a8001e01230faad05b1360 Guest 2006-02-18T18:00:47+01:00 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).

]]> RE : Server error on getPatch. Status code=403 http://dev.libresource.org/home/community/forum/7351e964c0a8001e015ad485c3ea4586/7758fc6fc0a8001e01e36af2f7945d51 Guest 2006-02-17T10:30:53+01:00 We rewrote how postgres exchange files with Libresource and now it works without setting the rights on the Work directory.

It will be available in the next release…]]> RE : Server error on getPatch. Status code=403 http://dev.libresource.org/home/community/forum/7351e964c0a8001e015ad485c3ea4586/7755954dc0a8001e01bf003e33cef606 Charles Sabourdin 2006-02-17T10:27:10+01:00 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). ]]>
RE : Server error on getPatch. Status code=403 http://dev.libresource.org/home/community/forum/7351e964c0a8001e015ad485c3ea4586/73a0de04c0a8001e002fa7ca7478e7cc Florent Jouille 2006-02-16T17:10:55+01:00 RE : Server error on getPatch. Status code=403 http://dev.libresource.org/home/community/forum/7351e964c0a8001e015ad485c3ea4586/73824ca6c0a8001e011bf663053c6b43 Charles Sabourdin 2006-02-16T16:37:32+01:00 Does that help you ?

--
JOnAS/logs/jonas-2006-02-16.3.log
--
2006-02-16 14:29:46,230 : INFO : main : ServiceManager.startServices :    ear service started
2006-02-16 14:29:46,233 : INFO : main : ServiceManager.startServices :    mail service started
2006-02-16 14:29:46,240 : INFO : main : ServiceManager.startServices :    Jabber Service service started
2006-02-16 14:29:46,242 : INFO : main : Server.start :    Le serveur JOnAS 'jonas' est démarré sur rmi/jeremie
2006-02-16 15:09:54,823 : WARNING : http-9000-Processor23 : JManagedConnection.release :    connection was already closed
2006-02-16 15:42:19,452 : WARNING : PoolMonitor : ConnectionManager.adjust :    close a timed out open connection
2006-02-16 15:42:19,535 : WARNING : PoolMonitor : ConnectionManager.adjust :    close a timed out open connection
2006-02-16 15:42:19,536 : WARNING : PoolMonitor : ConnectionManager.adjust :    close a timed out open connection
2006-02-16 15:42:19,537 : WARNING : PoolMonitor : ConnectionManager.adjust :    close a timed out open connection
2006-02-16 15:42:19,538 : WARNING : PoolMonitor : ConnectionManager.adjust :    close a timed out open connection
2006-02-16 15:42:19,540 : WARNING : PoolMonitor : ConnectionManager.adjust :    close a timed out open connection
2006-02-16 15:42:19,541 : WARNING : PoolMonitor : ConnectionManager.adjust :    close a timed out open connection
2006-02-16 15:42:19,552 : WARNING : PoolMonitor : ConnectionManager.adjust :    close a timed out open connection
2006-02-16 15:42:19,555 : WARNING : PoolMonitor : ConnectionManager.adjust :    close a timed out open connection
2006-02-16 15:42:19,558 : WARNING : PoolMonitor : ConnectionManager.adjust :    close a timed out open connection
2006-02-16 15:42:19,561 : WARNING : PoolMonitor : ConnectionManager.adjust :    close a timed out open connection

--

]]>
RE : Server error on getPatch. Status code=403 http://dev.libresource.org/home/community/forum/7351e964c0a8001e015ad485c3ea4586/73799645c0a8001e0003089f2aea9474 Pascal Molli 2006-02-16T16:28:01+01:00 For the send patch, be sure to set permission (recursively) 777 on your <LibresourceInstallDir>/Work.

Anyway, the So6 error is not clear, we will fix it in next release…]]> Server error on getPatch. Status code=403 http://dev.libresource.org/home/community/forum/7351e964c0a8001e015ad485c3ea4586/7351e976c0a8001e01e88500379f31ac Guest 2006-02-16T15:44:41+01:00 I was trying to use libreSource into some personnal projet (so far I am only watching/trying it). My first, notice will be that the installer does not works and that I had tot edit libresourceDS.properties manually.


After that it was working. Then I try to create a workspace a to add my basic project (~ 600 files)

it was block with "Server error on getPatch. Status code=403"

--
linux mandrake 2006
jdk 1.5.0_6
--

--- INFO: <STATE from="0" to="1" current="1" comment="Waiting for reply..."/> org.libresource.so6.core.client.ServerException: Server error on getPatch. Status code=403 at org.libresource.so6.core.client.ClientIServletImpl.sendPatch(ClientIServletImpl.java:250) at org.libresource.so6.core.WsConnection.commit(WsConnection.java:529) at org.libresource.so6.core.ui.BasicProgressView.commit(BasicProgressView.java:159) at org.libresource.so6.core.exec.ui.Commit.doTheJob(Commit.java:77) at org.libresource.so6.core.exec.ui.Commit$2.run(Commit.java:114) at java.lang.Thread.run(Thread.java:595)

]]>