[daisy] Problems starting daisy repository

Bruno Dumon bruno at outerthought.org
Tue Jan 30 12:27:16 CST 2007


On Tue, 2007-01-30 at 18:38 +0100, Andreas Deininger wrote:
> 2007/1/30, Bruno Dumon <bruno at outerthought.org>:
> > On Tue, 2007-01-30 at 15:10 +0100, Andreas Deininger wrote:
> > > Hi,
> > >
> > > I cannot start the repository of one of daisy instances any more. (see
> > > stacktrace from the logfile below). I checked my ActiveMQ database for
> > > that repository and the table ACTIVEMQ_MSGS contains more than 500.00
> > > records, the column CONTAINER is always: queue://fullTextIndexerJobs
> > >
> > > Any advice what to do now? Can I safely delete these records?
> >
> > What is "500.00"? 5 hundred? 50 thousand?
> 
> Sorry, typo: more than 500.000 (500 thousand).
> Actually, that was an approximation provided by phpMyAdmin, it turned out to be:
> 496 records where the column CONTAINER was queue://fullTextIndexerJobs
> 71605 records where this column had the value topic://daisy.
> 
> > I have the impression there's something wrong the acknowledging of the
> > JMS messages. We'll need to have a closer look at this.
> 
> The weird thing is that this instance ran without problems for months already.
> 
> > In the meantime, I think it is ok to delete them, though I'd first check
> > what the largest ID is in the ACTIVEMQ_MSGS table and update the
> > ACTIVMEQ_ACKS table accordingly (not sure if this is needed, just
> > guessing, you could always look for more info on the active MQ site).
> 
> I deleted the records and started the repository again. The repository
> now is up again, however, it looks like the database table is filling
> up rapidly again, there are already 52 rows in that table, and the
> number is increasing constantly.
> 
> Is there anything I can try to do in order to clarify what's going on here?
> 

>From a quick look around on some other installations, I think you're not
the only with this problem.

I was going to have a closer look at it but I see that on my current
development setup persistence isn't working at all. If I drop the
tables, they are not created on repository startup. I do see this though
when starting with "./start-repository -debug":

[INFO   ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionReader): Loading XML bean definitions from URL [file:activemq-conf.xml] 
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionReader): Using JAXP implementation [com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl at 57828d]
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Loading bean definitions
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Default lazy init ''
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Default autowire ''
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Default dependency check ''
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Could not find resource: META-INF/services/org/apache/xbean/spring/http/activemq.org/config/1.0/broker
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Neither XML 'id' nor 'name' specified - using generated bean name [org.apache.activemq.xbean.XBeanBrokerService]
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Could not find resource: META-INF/services/org/apache/xbean/spring/http/activemq.org/config/1.0/managementContext
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Neither XML 'id' nor 'name' specified - using generated bean name [org.apache.activemq.broker.jmx.ManagementContext]
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Could not find resource: META-INF/services/org/apache/xbean/spring/http/activemq.org/config/1.0/jaasAuthenticationPlugin
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Neither XML 'id' nor 'name' specified - using generated bean name [org.apache.activemq.security.JaasAuthenticationPlugin]
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Could not find resource: META-INF/services/org/apache/xbean/spring/http/activemq.org/config/1.0/authorizationPlugin
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Neither XML 'id' nor 'name' specified - using generated bean name [org.apache.activemq.security.AuthorizationPlugin]
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Could not find resource: META-INF/services/org/apache/xbean/spring/http/activemq.org/config/1.0/authorizationMap
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Neither XML 'id' nor 'name' specified - using generated bean name [org.apache.activemq.security.DefaultAuthorizationMap]
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Could not find resource: META-INF/services/org/apache/xbean/spring/http/activemq.org/config/1.0/authorizationEntry
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Neither XML 'id' nor 'name' specified - using generated bean name [org.apache.activemq.security.AuthorizationEntry]
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Could not find resource: META-INF/services/org/apache/xbean/spring/http/activemq.org/config/1.0/authorizationEntry
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Neither XML 'id' nor 'name' specified - using generated bean name [org.apache.activemq.security.AuthorizationEntry]
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Could not find resource: META-INF/services/org/apache/xbean/spring/http/activemq.org/config/1.0/authorizationEntry
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Neither XML 'id' nor 'name' specified - using generated bean name [org.apache.activemq.security.AuthorizationEntry]
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Could not find resource: META-INF/services/org/apache/xbean/spring/http/activemq.org/config/1.0/authorizationEntry
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Neither XML 'id' nor 'name' specified - using generated bean name [org.apache.activemq.security.AuthorizationEntry]
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Could not find resource: META-INF/services/org/apache/xbean/spring/http/activemq.org/config/1.0/authorizationEntry
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Neither XML 'id' nor 'name' specified - using generated bean name [org.apache.activemq.security.AuthorizationEntry]
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Could not find resource: META-INF/services/org/apache/xbean/spring/http/activemq.org/config/1.0/jdbcPersistenceAdapter
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Neither XML 'id' nor 'name' specified - using generated bean name [org.apache.activemq.store.jdbc.JDBCPersistenceAdapter]
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Could not find resource: META-INF/services/org/apache/xbean/spring/http/activemq.org/config/1.0/transportConnector
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Neither XML 'id' nor 'name' specified - using generated bean name [org.apache.activemq.broker.TransportConnector]
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Could not find resource: META-INF/services/org/apache/xbean/spring/http/activemq.org/config/1.0/transportConnector
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Neither XML 'id' nor 'name' specified - using generated bean name [org.apache.activemq.broker.TransportConnector]
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser): Found 3 <bean> elements in URL [file:activemq-conf.xml]
[DEBUG  ] (daisy.jcl.org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionReader): Loaded 3 bean definitions from location pattern [file:activemq-conf.xml]

Not sure what is causing this. Some changed dependency? ...

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno at outerthought.org                          bruno at apache.org



More information about the daisy mailing list