You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Markus S <ex...@de.bosch.com> on 2007/11/20 10:34:34 UTC

Cannot update from 3.1.2 to 3.2 Servicemix - failure derbydb

Hi there,

I decided to use ServiceMix 3.2 so I downloaded the binaries (win).
I unzipped them and tried to start the Server, which immediately responds
with "system cannot find path" (sorry, I only have the german errormessage
here) and then fails with the appended error.
I tried to rename the folder like the original, moved repository .m2 and a
folder .sysdb20 and
I moved the files to a very simple path everything without effort.

activemq port 61616
rmi port 1100
JAVA_HOME is set to jdk 1.5.0.14
PATH set
JAVA re is 1.5.0.6 (can't change this - without tampering)
Maven 2.0.7
Apache ODE 1.1

ServiceMix 3.1.2 is starting without pathproblem
I do not try to launch them simultaneously.

Can anyone help me please?

Thank you very much
Markus

--------------------------------------------------------------

Starting Apache ServiceMix ESB: 3.2

Loading Apache ServiceMix from servicemix.xml on the CLASSPATH
INFO  - ConnectorServerFactoryBean     - JMX connector available at:
service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
ERROR - BrokerService                  - Failed to start ActiveMQ JMS
Message Broker. Reason: java.io.IOException: Failed to create database
'derbydb', see the next exception for details.
java.io.IOException: Failed to create database 'derbydb', see the next
exception for details.
	at
org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:43)
	at
org.apache.activemq.store.jdbc.TransactionContext.getConnection(TransactionContext.java:62)
	at
org.apache.activemq.store.jdbc.JDBCPersistenceAdapter.createAdapter(JDBCPersistenceAdapter.java:297)
	at
org.apache.activemq.store.jdbc.JDBCPersistenceAdapter.getAdapter(JDBCPersistenceAdapter.java:251)
	at
org.apache.activemq.store.jdbc.JDBCPersistenceAdapter.start(JDBCPersistenceAdapter.java:152)
	at
org.apache.activemq.store.journal.JournalPersistenceAdapter.start(JournalPersistenceAdapter.java:223)
	at
org.apache.activemq.broker.BrokerService.createRegionBroker(BrokerService.java:1251)
	at
org.apache.activemq.broker.BrokerService.createBroker(BrokerService.java:1209)
	at
org.apache.activemq.broker.BrokerService.getBroker(BrokerService.java:508)
	at org.apache.activemq.broker.BrokerService.start(BrokerService.java:394)
	at
org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:47)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1201)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1171)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
	at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
	at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
	at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
	at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
	at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:161)
	at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:51)
	at org.apache.servicemix.Main.main(Main.java:54)
	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:585)
	at org.codehaus.classworlds.Launcher.launchStandard(Launcher.java:410)
	at org.codehaus.classworlds.Launcher.launch(Launcher.java:344)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:461)
Caused by: java.sql.SQLException: Failed to create database 'derbydb', see
the next exception for details.
	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown
Source)
	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(Unknown
Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(Unknown
Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
	at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Unknown Source)
	at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
	at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unknown Source)
	at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unknown Source)
	at
org.apache.activemq.store.jdbc.TransactionContext.getConnection(TransactionContext.java:55)
	... 28 more
Caught: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'org.apache.activemq.xbean.XBeanBrokerService'
defined in class path resource [activemq.xml]: Invocation of init method
failed; nested exception is java.io.IOException: Failed to create database
'derbydb', see the next exception for details.

-- 
View this message in context: http://www.nabble.com/Cannot-update-from-3.1.2-to-3.2-Servicemix---failure-derbydb-tf4842246s12049.html#a13853658
Sent from the ServiceMix - User mailing list archive at Nabble.com.