Exception at Post Istallation http://dev.libresource.org/home/community/forum/Exception_at_Post_Istallation RE : Exception at Post Istallation http://dev.libresource.org/home/community/forum/Exception_at_Post_Istallation/RE_Exception_at_Post_Istallation_4 Sebastien Jourdain 2007-04-26T12:02:46+02:00 RE : Exception at Post Istallation http://dev.libresource.org/home/community/forum/Exception_at_Post_Istallation/RE_Exception_at_Post_Istallation_3 Sebastien Jourdain 2007-04-26T12:01:30+02:00 Can't remove a document is lucene error, which means is not able to remove a document from the full text indexation base. This might occured if the indexation base is not yet created. That's exactly what happen durring the bootstrap.

But after the first indexation, this error shouldn't occure anymore.

Regards,

Seb

PS: To build the full text indexation log as root and go to the url http://localhost:9000/?action=indexation This action will create the full text indexation base. ]]> RE : Exception at Post Istallation http://dev.libresource.org/home/community/forum/Exception_at_Post_Istallation/RE_Exception_at_Post_Istallation_2 franklupo 2007-04-26T10:38:23+02:00 Thank]]> RE : Exception at Post Istallation http://dev.libresource.org/home/community/forum/Exception_at_Post_Istallation/RE_Exception_at_Post_Istallation_1 Sebastien Jourdain 2007-04-24T09:39:26+02:00

  • C:/Programmi/LS-Corsinvest/work/index
  • and
  • C:/Programmi/LS-Corsinvest/work/files
  • exists ?
  • If all of this is correct, you should log as root and access to this URL in order to build the segment file used for the full text indexation. http://localhost:9000/?action=indexation Don't forget to increase the memory size of the JVM.

    On windows, it should looks like SET JAVA_OPTS=-Xmx512m

    Regards,

    Seb ]]> RE : Exception at Post Istallation http://dev.libresource.org/home/community/forum/Exception_at_Post_Istallation/RE_Exception_at_Post_Istallation_0 franklupo 2007-04-23T11:36:29+02:00 Configuration file ls-config-windows.properties:

    # kernel configuration
    kernel.uriScheme=ls
    kernel.principalMapper=org.libresource.kernel.mappers.MembershipPrincipalMapper
    kernel.principalMapper.options=
    
    1. core configuration
    libresource.uriResolverClass=org.libresource.core.BasicURIResolver
    1. WARNING, if the following properties contains path with '' character, change them to '\\'
    2. Example : C:LibreSource\\work\\index >> C:\\LibreSource\\work\\index
    kernel.indexation.data.dir=C:\\Programmi\\LS-Corsinvest\\work\\index libresource.distributedFilesystem=C:\\Programmi\\LS-Corsinvest\\work\\files
    1. custom config
    #kernel.uriHost=localhost:9000
    1. custom config
    kernel.uriHost=localhost:9000
    1. cas server url (if cas is local)
    kernel.authUrl=https://localhost:9043/cas
    1. Subversion configuration
    subversion.authz.file.path=C:/Programmi/LS-Corsinvest/work/svn/conf/authz subversion.passwd.file.path=C:/Programmi/LS-Corsinvest/work/svn/conf/passwd subversion.repository.base.path=C:/Programmi/LS-Corsinvest/work/svn/ls-svn subversion.admin.login=lsSVNLogin subversion.admin.password=951qsdf357

    Error

    org.libresource.LibresourceException: Can't remove a document
            at org.libresource.search.LibresourceSearch.remove(LibresourceSearch.java:127)
            at org.libresource.search.LibresourceSearch.reindex(LibresourceSearch.java:133)
            at org.libresource.kernel.ejb.IndexationEventListenerBean.onMessage(IndexationEventListenerBean.java:93)
            at sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            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: C:ProgrammiLS-Corsinvestworkindexsegments (Impossibile trovare il file specificato)
            at java.io.RandomAccessFile.open(Native Method)
            at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
            at org.apache.lucene.store.FSInputStream$Descriptor.<init>(FSDirectory.java:376)
            at org.apache.lucene.store.FSInputStream.<init>(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:120)
            … 16 more
    org.postgresql.util.PSQLException: ERROR: duplicate key violates unique constraint "pg_type_typname_nsp_index"

    at org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139) at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154) at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101) at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43) at org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:515) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50) at org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:271) at org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:257) at org.libresource.core.ejb.LibresourceCoreServiceBean.getConnectionForEvents(LibresourceCoreServiceBean.java:1684) at org.libresource.core.ejb.LibresourceCoreServiceBean.getInterestedEventFilters(LibresourceCoreServiceBean.java:1156) at org.objectweb.jonas_gen.org.libresource.core.interfaces.JOnASLibresourceCoreService275938075Remote.getInterestedEventFilters(JOnASLibresourceCoreService275938075Remote.java:1794) at org.libresource.core.ejb.JabberNotificationsDispatcherBean.onMessage(JabberNotificationsDispatcherBean.java:94) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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)

    Thanks]]> RE : Exception at Post Istallation http://dev.libresource.org/home/community/forum/Exception_at_Post_Istallation/RE_Exception_at_Post_Istallation Sebastien Jourdain 2007-04-21T17:51:08+02:00 If you used the installeur, you can edit the configuration file and run the config.bat script.

    From the source, it's the same juste edit the ls-config.properties and run ant deploy

    Regards,

    Seb

    ]]> Exception at Post Istallation http://dev.libresource.org/home/community/forum/Exception_at_Post_Istallation/Exception_at_Post_Istallation franklupo 2007-04-21T11:29:12+02:00

    Sat Apr 21 11:24:13 CEST 2007 : /users/guest : /users/guest : kernel.createAcl
    Sat Apr 21 11:24:13 CEST 2007 : /users/guest : /users/guest : kernel.bind
    Sat Apr 21 11:24:13 CEST 2007 : /users/guest : /users/guest : kernel.createAcl
    Fri Apr 13 11:24:13 CEST 2007 : /users/guest : /ServerConfig : kernel.createAcl
    Sat Apr 21 11:24:13 CEST 2007 : /users/guest : /ServerConfig : kernel.resetAcls
    Sat Apr 21 11:24:13 CEST 2007 : /users/guest : /ServerConfig : kernel.createAcl
    Sat Apr 21 11:24:13 CEST 2007 : /users/guest : /ServerConfig : kernel.createAcl
    Sat Apr 21 11:24:13 CEST 2007 : /users/guest : /ServerConfig : kernel.setProperty
    org.libresource.LibresourceException: Can't remove a document
            at org.libresource.search.LibresourceSearch.remove(LibresourceSearch.java:127)
            at org.libresource.search.LibresourceSearch.reindex(LibresourceSearch.java:133)
            at org.libresource.kernel.ejb.IndexationEventListenerBean.onMessage(IndexationEventListenerBean.java:93)
            at sun.reflect.GeneratedMethodAccessor113.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            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: C:ProgrammiLibreSourceworkindexsegments (Impossibile trovare il file specificato)
            at java.io.RandomAccessFile.open(Native Method)
            at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
            at org.apache.lucene.store.FSInputStream$Descriptor.<init>(FSDirectory.j
    ava:376)
            at org.apache.lucene.store.FSInputStream.<init>(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:120)
            … 16 more
    org.postgresql.util.PSQLException: ERROR: duplicate key violates unique constraint "pg_type_typname_nsp_index"

    at org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139) at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154) at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101) at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43) at org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:515) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50) at org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:271) at org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:257) at org.libresource.core.ejb.LibresourceCoreServiceBean.getConnectionForEvents(LibresourceCoreServiceBean.java:1684) at org.libresource.core.ejb.LibresourceCoreServiceBean.getInterestedEventFilters(LibresourceCoreServiceBean.java:1156) at org.objectweb.jonas_gen.org.libresource.core.interfaces.JOnASLibresourceCoreService275938075Remote.getInterestedEventFilters(JOnASLibresourceCoreService275938075Remote.java:1794) at org.libresource.core.ejb.MailNotificationsDispatcherBean.onMessage(MailNotificationsDispatcherBean.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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) org.postgresql.util.PSQLException: ERROR: duplicate key violates unique constraint "pg_type_typname_nsp_index"

    at org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139) at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154) at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101) at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43) at org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:515) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50) at org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:271) at org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:257) at org.libresource.core.ejb.LibresourceCoreServiceBean.getConnectionForEvents(LibresourceCoreServiceBean.java:1684) at org.libresource.core.ejb.LibresourceCoreServiceBean.getInterestedEventFilters(LibresourceCoreServiceBean.java:1156) at org.objectweb.jonas_gen.org.libresource.core.interfaces.JOnASLibresourceCoreService275938075Remote.getInterestedEventFilters(JOnASLibresourceCoreService275938075Remote.java:1794) at org.libresource.core.ejb.JabberNotificationsDispatcherBean.onMessage(JabberNotificationsDispatcherBean.java:94) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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) org.postgresql.util.PSQLException: ERROR: duplicate key violates unique constraint "pg_type_typname_nsp_index"

    at org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139) at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154) at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101) at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43) at org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:515) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50) at org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:271) at org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:257) at org.libresource.core.ejb.LibresourceCoreServiceBean.getConnectionForEvents(LibresourceCoreServiceBean.java:1684) at org.libresource.core.ejb.LibresourceCoreServiceBean.getInterestedEventFilters(LibresourceCoreServiceBean.java:1156) at org.objectweb.jonas_gen.org.libresource.core.interfaces.JOnASLibresourceCoreService275938075Remote.getInterestedEventFilters(JOnASLibresourceCoreService275938075Remote.java:1794) at org.libresource.core.ejb.MailNotificationsDispatcherBean.onMessage(MailNotificationsDispatcherBean.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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)

    Thanks]]>