If it's purely a question of the JMS connection dropping off, you can either see to it that Fedora Core shuts down before Fedora GSearch, or (as we've done) separate the two with a message broker (we're using Apache ActiveMQ). There are other advantages in an enterprise environment to using a separate piece of messaging middleware.
--- A. Soroka Digital Research and Scholarship R & D the University of Virginia Library On Jul 2, 2009, at 12:05 PM, Paul Pound wrote: > We have a fairly standard fedora install, ie using included tomcat > etc. When we shutdown Fedora and then start it the fedoragsearch > lucene index seems to be in an inconsistent state and needs to be > rebuilt. We had this problem in Fedora 3.1 and have since updated > to 3.2 but the error is still there. > > The problem seems to be when Fedora is shutdown. I found a couple > of similar bugs that have been closed but we are still having a > problem. > > Below is from the logs everythng else in the logs looks pretty normal. > > Thanks, > Paul > > INFO: Stopping service Catalina > log4j:ERROR LogMananger.repositorySelector was null likely due to > error in class reloading, using NOPLoggerRepository. > ERROR 2009-06-29 13:04:54,609 (JmsMessagingClient) Messaging > Exception encountered attempting to stop Messaging Client: > fedoragsearch0. Exception message: The JMS connection has failed: > java.io.EOFException > fedora.server.errors.MessagingException: The JMS connection has > failed: java.io.EOFException > at fedora.server.messaging.JMSManager.close(JMSManager.java:671) > at > fedora > .client.messaging.JmsMessagingClient.stop(JmsMessagingClient.java:312) > at > dk > .defxws > .fedoragsearch.server.UpdateListener.destroy(UpdateListener.java:119) > at > org.apache.catalina.core.StandardWrapper.unload(StandardWrapper.java: > 1360) > at > org.apache.catalina.core.StandardWrapper.stop(StandardWrapper.java: > 1688) > at > org.apache.catalina.core.StandardContext.stop(StandardContext.java: > 4350) > at > org > .apache.catalina.core.ContainerBase.removeChild(ContainerBase.java: > 893) > at > org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java: > 1191) > at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1162) > at > org > .apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java: > 313) > at > org > .apache > .catalina > .util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) > at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java: > 1055) > at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java: > 1067) > at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java: > 448) > at > org.apache.catalina.core.StandardService.stop(StandardService.java: > 510) > at org.apache.catalina.core.StandardServer.stop(StandardServer.java: > 734) > at org.apache.catalina.startup.Catalina.stop(Catalina.java:602) > at org.apache.catalina.startup.Catalina.start(Catalina.java:577) > 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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) > Caused by: org.apache.activemq.ConnectionFailedException: The JMS > connection has failed: java.io.EOFException > at > org > .apache > .activemq > .ActiveMQConnection.checkClosedOrFailed(ActiveMQConnection.java:1260) > at > org.apache.activemq.ActiveMQConnection.stop(ActiveMQConnection.java: > 497) > at fedora.server.messaging.JMSManager.close(JMSManager.java:665) > ... 23 more > Caused by: java.io.EOFException > at java.io.DataInputStream.readInt(DataInputStream.java:375) > at > org > .apache > .activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:269) > at > org > .apache > .activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java: > 203) > at > org > .apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java: > 195) > at > org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java: > 183) > at java.lang.Thread.run(Thread.java:619) > log4j:ERROR LogMananger.repositorySelector was null likely due to > error in class reloading, using NOPLoggerRepository. > > > ------------------------------------------------------------------------------ > _______________________________________________ > Fedora-commons-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/fedora-commons-users ------------------------------------------------------------------------------ _______________________________________________ Fedora-commons-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
