Bootstrap error (Unknown Source) at org.apache.lucene.store.FSInputStream$Descriptor.(FSDirectory.java:376) at org.apache.lucene.store.FSInputStream.(FSDirectory.java:405) at org.apache.lucene.store.FSDirectory.openFile(FSDirectory.java:268) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:40) at org.apache.lucene.index.IndexReader$1.doBody(IndexReader.java:116) at org.apache.lucene.store.Lock$With.run(Lock.java:109) at org.apache.lucene.index.IndexReader.open(IndexReader.java:111) at org.apache.lucene.index.IndexReader.open(IndexReader.java:106) at org.libresource.search.LibresourceSearch.remove(LibresourceSearch.java:121) ... 16 more Wed Jun 13 10:11:01 CDT 2007 : /users/root : /documentation/doc : kernel.create Wed Jun 13 10:11:01 CDT 2007 : /users/root : /documentation/doc : kernel.resetAcls Wed Jun 13 10:11:01 CDT 2007 : /users/root : /documentation/doc : kernel.resetAcls Wed Jun 13 10:11:01 CDT 2007 : /users/root : /documentation/doc : kernel.setProperty Wed Jun 13 10:11:01 CDT 2007 : /users/root : /documentation/doc : kernel.bind Wed Jun 13 10:11:01 CDT 2007 : /users/root : /documentation/doc : libresourceWiki.page.create Wed Jun 13 10:11:01 CDT 2007 : /users/root : /documentation/doc : libresourceWiki.page.editContent org.libresource.LibresourceException: Can't remove a document at org.libresource.search.LibresourceSearch.remove(LibresourceSearch.java:128) at org.libresource.search.LibresourceSearch.reindex(LibresourceSearch.java:134) at org.libresource.kernel.ejb.IndexationEventListenerBean.onMessage(IndexationEventListenerBean.java:94) at sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.objectweb.jonas_ejb.container.JMessageEndpointProxy.invoke(JMessageEndpointProxy.java:214) at $Proxy0.onMessage(Unknown Source) at org.objectweb.joram.client.connector.InboundSession.onMessage(InboundSession.java:172) at org.objectweb.joram.client.jms.MessageConsumerListener.activateListener(MessageConsumerListener.java:449) at org.objectweb.joram.client.jms.MultiSessionConsumer.onMessage(MultiSessionConsumer.java:168) at org.objectweb.joram.client.jms.Session.onMessage(Session.java:1835) at org.objectweb.joram.client.jms.Session.run(Session.java:878) at org.objectweb.joram.client.connector.InboundSession.run(InboundSession.java:157) at org.objectweb.jonas_lib.JWorkManager.doMyWork(JWorkManager.java:386) at org.objectweb.jonas_lib.JWorkManager.nextWork(JWorkManager.java:443) at org.objectweb.jonas_lib.JWorkManager$WorkThread.run(JWorkManager.java:536) Caused by: java.io.FileNotFoundException: /home/richard_y/LibreSource/tmp-work/index/segments (No such file or directory) at java.io.RandomAccessFile.open(Native Method) at java.io.RandomAccessFile.(Unknown Source) at org.apache.lucene.store.FSInputStream$Descriptor.(FSDirectory.java:376) at org.apache.lucene.store.FSInputStream.(FSDirectory.java:405) at org.apache.lucene.store.FSDirectory.openFile(FSDirectory.java:268) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:40) at org.apache.lucene.index.IndexReader$1.doBody(IndexReader.java:116) at org.apache.lucene.store.Lock$With.run(Lock.java:109) at org.apache.lucene.index.IndexReader.open(IndexReader.java:111) at org.apache.lucene.index.IndexReader.open(IndexReader.java:106) at org.libresource.search.LibresourceSearch.remove(LibresourceSearch.java:121) ... 16 more Wed Jun 13 10:11:01 CDT 2007 : /users/root : /documentation/doc : libresourceWiki.page.edit org.libresource.LibresourceException: Can't remove a document at org.libresource.search.LibresourceSearch.remove(LibresourceSearch.java:128) at org.libresource.search.LibresourceSearch.reindex(LibresourceSearch.java:134) at org.libresource.kernel.ejb.IndexationEventListenerBean.onMessage(IndexationEventListenerBean.java:94) at sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.objectweb.jonas_ejb.container.JMessageEndpointProxy.invoke(JMessageEndpointProxy.java:214) at $Proxy0.onMessage(Unknown Source) at org.objectweb.joram.client.connector.InboundSession.onMessage(InboundSession.java:172) at org.objectweb.joram.client.jms.MessageConsumerListener.activateListener(MessageConsumerListener.java:449) at org.objectweb.joram.client.jms.MultiSessionConsumer.onMessage(MultiSessionConsumer.java:168) at org.objectweb.joram.client.jms.Session.onMessage(Session.java:1835) at org.objectweb.joram.client.jms.Session.run(Session.java:878) at org.objectweb.joram.client.connector.InboundSession.run(InboundSession.java:157) at org.objectweb.jonas_lib.JWorkManager.doMyWork(JWorkManager.java:386) at org.objectweb.jonas_lib.JWorkManager.nextWork(JWorkManager.java:443) at org.objectweb.jonas_lib.JWorkManager$WorkThread.run(JWorkManager.java:536) Caused by: java.io.FileNotFoundException: /home/richard_y/LibreSource/tmp-work/index/segments (No such file or directory) at java.io.RandomAccessFile.open(Native Method) at java.io.RandomAccessFile.(Unknown Source) at org.apache.lucene.store.FSInputStream$Descriptor.(FSDirectory.java:376) at org.apache.lucene.store.FSInputStream.(FSDirectory.java:405) at org.apache.lucene.store.FSDirectory.openFile(FSDirectory.java:268) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:40) at org.apache.lucene.index.IndexReader$1.doBody(IndexReader.java:116) at org.apache.lucene.store.Lock$With.run(Lock.java:109) at org.apache.lucene.index.IndexReader.open(IndexReader.java:111) at org.apache.lucene.index.IndexReader.open(IndexReader.java:106) at org.libresource.search.LibresourceSearch.remove(LibresourceSearch.java:121) ... 16 more 2007-06-13 10:11:01,810 : JManagedConnection.prepareStatement : reuse an open pstmt 2007-06-13 10:11:01,812 : JManagedConnection.prepareStatement : reuse an open pstmt 2007-06-13 10:11:01,814 : JManagedConnection.prepareStatement : reuse an open pstmt Wed Jun 13 10:11:01 CDT 2007 : /users/root : /documentation/doc/authors : kernel.create Wed Jun 13 10:11:01 CDT 2007 : /users/root : /documentation/doc/authors : kernel.resetAcls Wed Jun 13 10:11:01 CDT 2007 : /users/root : /documentation/doc/authors : kernel.resetAcls {code} ]]> http://dev.libresource.org/home/development/bug/Bootstrap_error Comment of : Bootstrap error http://dev.libresource.org/home/development/bug/Bootstrap_error/Comment_of_Bootstrap_error_9 Sebastien Jourdain 2007-06-14T13:43:14+02:00 if you need the jabber notification, since you reset the database you will need to execute an sql script and create a specific user on libresource for the jabber notification. Let me know, if you want more information about it.

Seb]]> Comment of : Bootstrap error http://dev.libresource.org/home/development/bug/Bootstrap_error/Comment_of_Bootstrap_error_8 ze 2007-06-14T13:31:08+02:00 For history I have used the java 1.6 from backports.org and I have set java alternative via update-alternatives --set java /usr/lib/jvm/java-6-sun/jre/bin/java

So installation is now OK :)

thanks ]]> Comment of : Bootstrap error http://dev.libresource.org/home/development/bug/Bootstrap_error/Comment_of_Bootstrap_error_7 Sebastien Jourdain 2007-06-14T11:46:03+02:00

1) LibreSource config file
  - create a directory for the LibreSource indexation (kernel.indexationDataDir)
  - create a directory for the LibreSource file exchange (libresource.distributedFilesystem)
  - give to the postgres group the right to use these folders
     sudo chgrp postgres tmp/files tmp/index
     sudo chmod g+rwx tmp/files tmp/index
  - create the libresource database in PostgreSQL
  - create the libresource user in PostgreSQL
  - allow this user to be a superuser : 
    ALTER USER libresource WITH superuser;
  - Edit the file $LIBRESOURCE_HOME/Distribution/ls-config.properties
     in order to set your server properties
  - Edit the file $LIBRESOURCE_HOME/Distribution/build.properties
     in order to choose the service you want
  - Export the JONAS_ROOT path 
     (The following given path should be updated regarding your personnal configuration)
     on windows: SET JONAS_ROOT=c:/JONAS_4_7_x
     on linux  : export JONAS_ROOT=/opt/JONAS_4_7_x
  - Run "./ThirdPart/ant/bin/ant clean-all; ./ThirdPart/ant/bin/ant deploy" to build 
      the LibreSource ear and libresourceDS.properties and libresourceMail.properties and libresourceConfig.properties

Thanks for your feed back,

so finally the first problem came from the driver and the second from the postgres user limitation ?]]> Comment of : Bootstrap error http://dev.libresource.org/home/development/bug/Bootstrap_error/Comment_of_Bootstrap_error_6 ze 2007-06-14T11:33:24+02:00

Importing defaultBootstrap.xml (5804314 o.) at (you are ls://v-vserveur2.uhb.fr:9000/users/root)

* NOTICE : The user "ls://v-vserveur2.uhb.fr:9000/users/guest" already exists… * NOTICE : The user "ls://v-vserveur2.uhb.fr:9000/users/guest" already exists… * NOTICE : The user "ls://v-vserveur2.uhb.fr:9000/users/guest" already exists… * Importing Page "Documentation" at node /documentation * Importing Page "LibreSource Documentation" at node /documentation/doc * Importing Group "Authors" at node /documentation/doc/authors * Importing Repository "Figures" at node /documentation/doc/images * Importing File "authentification-fig1.png" at node /documentation/doc/images/authentification-fig1

Problem during import() Caused by : Error in createFile : ERREUR: doit être super-utilisateur pour utiliser lo_import() du côté serveur

So the problem is that libresource need a postgres account with super-user priviliege...

You can close the bug and add this need in install document :)

Regards, ]]> Comment of : Bootstrap error http://dev.libresource.org/home/development/bug/Bootstrap_error/Comment_of_Bootstrap_error_5 Sebastien Jourdain 2007-06-14T10:31:07+02:00

  • Remove the postgresql driver in the INSTALL_DIR/JONAS_4_7_6/lib/ext/postgresql.jar
  • Put this one instead http://jdbc.postgresql.org/download/postgresql-8.1-409.jdbc2ee.jar
  • drop database
  • create database
  • start jonas again
  • follow the installation procedure...
  • And let me know if it was the solution of your problem.

    Seb]]> Comment of : Bootstrap error http://dev.libresource.org/home/development/bug/Bootstrap_error/Comment_of_Bootstrap_error_4 ze 2007-06-14T10:22:28+02:00 Comment of : Bootstrap error http://dev.libresource.org/home/development/bug/Bootstrap_error/Comment_of_Bootstrap_error_3 ze 2007-06-14T10:21:45+02:00 Comment of : Bootstrap error http://dev.libresource.org/home/development/bug/Bootstrap_error/Comment_of_Bootstrap_error_2 ze 2007-06-14T10:21:12+02:00

  • NOTICE : The user "ls://v-vserveur2.uhb.fr:9000/users/guest" already exists...
  • NOTICE : The user "ls://v-vserveur2.uhb.fr:9000/users/guest" already exists...
  • NOTICE : The user "ls://v-vserveur2.uhb.fr:9000/users/guest" already exists...
  • Importing Page "Documentation" at node /documentation
  • Importing Page "LibreSource Documentation" at node /documentation/doc
  • Importing Group "Authors" at node /documentation/doc/authors
  • Problem during import() Caused by : Error in createGroup : Error in bind : A resource is already binded with this URI /documentation/doc/authors

    I will try that you ask :)]]> Comment of : Bootstrap error http://dev.libresource.org/home/development/bug/Bootstrap_error/Comment_of_Bootstrap_error_1 Sebastien Jourdain 2007-06-13T15:20:35+02:00 We needed to change the postgres driver for our installation. (http://jdbc.postgresql.org/download.html) in the JDBC 2 EE column.]]> Comment of : Bootstrap error http://dev.libresource.org/home/development/bug/Bootstrap_error/Comment_of_Bootstrap_error_0 Sebastien Jourdain 2007-06-13T15:17:12+02:00 Could you add the importation web output in a comment ?]]>