[daisy] Upgrading from 1.4.1 to 2.0.1 (plaintext)
David.Evans at marks.com
David.Evans at marks.com
Sun May 6 19:59:44 CDT 2007
Hi all,
Sorry about the rich text in my original post.
We've been running Daisy 1.4.1 for about a year now and recently decided to
upgrade to Daisy 2.0.1.
The first step is to upgrade to Daisy 1.5. I have been following the
upgrade instructions found at
http://cocoondev.org/daisydocs-1_5/13-cd/328-cd.html
When I get the the step where we start up the repository server
for the first time (Start repository server) I get the following error
=====
Platform: Linux
Java Home: /usr/lib/java/jre
Merlin Home: /opt/daisy/repository-server/merlin
Security policy:
/opt/daisy/repository-server/merlin/bin/security.policy
JVM Options: -Xmx128m -Dmerlin.deployment.timeout=0
-Dmerlin.logging.config=/home/daisy/daisydata//conf/logkit.xml
-Ddaisy.datadir=/home/daisy/daisydata/ -Ddaisy.home=/opt/daisy
-Dfile.encoding=UTF-8 -Djava.awt.headless=true
-Dorg.apache.commons.logging.Log=org.outerj.daisy.logging.DaisyLog
-Djava.security.auth.login.config=/home/daisy/daisydata//conf/login.config
-Duser.language=en -Duser.country=US -Duser.variant=
Bootstrap JAR:
/opt/daisy/repository-server/merlin/system/merlin/jars/merlin-cli-3.3.0.jar
Merlin Arguments: -offline -home /home/daisy/daisydata/ -repository
/opt/daisy/lib -config /home/daisy/daisydata//conf/myconfig.xml
/opt/daisy/repository-server/conf/block.xml
---- exception report
----------------------------------------------------------
Exception: org.apache.avalon.merlin.KernelException
Message: Kernel startup failure.
---- cause
---------------------------------------------------------------------
Exception: org.apache.avalon.merlin.KernelException
Message: Cannot deploy application.
---- cause
---------------------------------------------------------------------
Exception: org.apache.avalon.activation.LifecycleException
Message:
Unable to create a new component instance in appliance
[/daisy/jmsclient/jmsclient] due to a component deployment failure.
---- cause
---------------------------------------------------------------------
Exception: javax.jms.JMSException
Message:
Could not connect to broker URL:
vm://DaisyJMS?brokerConfig=xbean:/home/daisy/daisydata//conf/activemq-conf.xml.
Reason: org.springframework.beans.factory.BeanDefinitionStoreException:
IOException parsing XML document from class path resource
[home/daisy/daisydata//conf/activemq-conf.xml]; nested exception is
java.io.FileNotFoundException: class path resource
[home/daisy/daisydata//conf/activemq-conf.xml] cannot be opened because
it does not exist
---- cause
---------------------------------------------------------------------
Exception: org.springframework.beans.factory.BeanDefinitionStoreException
Message:
IOException parsing XML document from class path resource
[home/daisy/daisydata//conf/activemq-conf.xml]; nested exception is
java.io.FileNotFoundException: class path resource
[home/daisy/daisydata//conf/activemq-conf.xml] cannot be opened because
it does not exist
---- cause
---------------------------------------------------------------------
Exception: java.io.FileNotFoundException
Message: class path resource [home/daisy/daisydata//conf/activemq-conf.xml]
cannot be opened because it does not exist
---- stack trace
---------------------------------------------------------------
java.io.FileNotFoundException:
class path resource [home/daisy/daisydata//conf/activemq-conf.xml]
cannot be opened because it does not exist
org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:137)
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:167)
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:148)
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:113)
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.loadBeanDefinitions(ClassPathXmlApplicationContext.java:170)
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:269)
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:158)
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:48)
org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:40)
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:56)
org.apache.activemq.transport.vm.VMTransportFactory.doCompositeConnect(VMTransportFactory.java:100)
org.apache.activemq.transport.vm.VMTransportFactory.doConnect(VMTransportFactory.java:48)
org.apache.activemq.transport.TransportFactory.doConnect(TransportFactory.java:42)
org.apache.activemq.transport.TransportFactory.connect(TransportFactory.java:76)
org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:224)
org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:166)
org.outerj.daisy.jms.impl.JmsClientImpl.initializeJmsConnection(JmsClientImpl.java:141)
org.outerj.daisy.jms.impl.JmsClientImpl.initialize(JmsClientImpl.java:130)
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
org.apache.avalon.activation.impl.DefaultComponentFactory.incarnation(DefaultComponentFactory.java:402)
org.apache.avalon.activation.impl.DefaultComponentFactory.incarnate(DefaultComponentFactory.java:130)
org.apache.avalon.activation.impl.SingletonLifestyleManager.refreshReference(SingletonLifestyleManager.java:144)
org.apache.avalon.activation.impl.SingletonLifestyleManager.commission(SingletonLifestyleManager.java:60)
org.apache.avalon.activation.impl.DefaultAppliance.commission(DefaultAppliance.java:94)
org.apache.avalon.activation.impl.DefaultRuntime.commission(DefaultRuntime.java:86)
org.apache.avalon.composition.model.impl.DefaultSystemContext.commission(DefaultSystemContext.java:362)
org.apache.avalon.composition.model.impl.DefaultDeploymentModel.commission(DefaultDeploymentModel.java:122)
org.apache.avalon.composition.model.impl.Commissioner.run(Commissioner.java:185)
java.lang.Thread.run(Thread.java:570)
--------------------------------------------------------------------------------
xargs: /usr/lib/java/jre/bin/java: exited with status 255; aborting
======
The file /home/daisy/daisydata/conf/activemq-conf.xml does in
fact exist. I've tried changing the reference to activemq-conf.xml, in
the myconfig.xml file, to an absolute path but I get the same error.
I'd be grateful for any help anyone can provide thanks,
david
More information about the daisy
mailing list