Resource Menu


posted by Florent Jouille at Feb 18, 2006 8:01 PM
Quote
Yes, it's a small bug in the installer.

It would be fixed quickly.

posted by Guest at Feb 18, 2006 7:38 PM
Quote
Hi,

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

posted by Guest at Feb 18, 2006 6:20 PM
Quote
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.

posted by Guest at Feb 18, 2006 6:00 PM
Quote
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 17, 2006 10:30 AM
Quote
Great...

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…

posted by Charles Sabourdin at Feb 17, 2006 10:27 AM
Quote
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 Florent Jouille at Feb 16, 2006 5:10 PM
Quote
WARNINGS are normal…
posted by Charles Sabourdin at Feb 16, 2006 4:37 PM
Quote
hello,

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

--

posted by Pascal Molli at Feb 16, 2006 4:28 PM
Quote
Please send us more info about your installation problem if yo u want we fix it.

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…

posted by Guest at Feb 16, 2006 3:44 PM
Quote
Hello,

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)