[jira] [Updated] (CAMEL-9378) camel-leveldb - Camel cannot be restarted - IO Error

2016-04-28 Thread Claus Ibsen (JIRA)

 [ 
https://issues.apache.org/jira/browse/CAMEL-9378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-9378:
---
Priority: Minor  (was: Major)

> camel-leveldb - Camel cannot be restarted - IO Error
> 
>
> Key: CAMEL-9378
> URL: https://issues.apache.org/jira/browse/CAMEL-9378
> Project: Camel
>  Issue Type: Bug
>  Components: camel-leveldb
>Affects Versions: 2.15.2
>Reporter: Sergei Gorbunov
>Priority: Minor
>
> I am using "org.apache.camel.component.leveldb.LevelDBAggregationRepository" 
> as aggregation repository. Camel context imported to ActiveMQ context. 
> ActiveMQ installed as windows service.
> Case:
> 1. Execute restart command on activemq.
> 2. Camel cannot start.
> 3. If then start service manually - camel successfully starts.
> Exception:
> {code}
> INFO   | jvm 1| 2015/11/30 09:50:58 | {}
> INFO   | jvm 1| 2015/11/30 10:02:46 | Restarting broker
> INFO   | jvm 1| 2015/11/30 10:02:46 | Loading message broker from: 
> xbean:activemq.xml
> INFO   | jvm 1| 2015/11/30 10:02:47 | {}
> INFO   | jvm 1| 2015/11/30 10:02:54 | ERROR: java.lang.RuntimeException: 
> Failed to execute broker build task. Reason: 
> org.apache.camel.RuntimeCamelException: java.lang.RuntimeException: Error 
> opening LevelDB with file 
> F:\AMQ\bin\win64\..\..\data\aggregation\aggregate_%2A.%2A
> INFO   | jvm 1| 2015/11/30 10:02:54 | java.lang.RuntimeException: Failed 
> to execute broker build task. Reason: org.apache.camel.RuntimeCamelException: 
> java.lang.RuntimeException: Error opening LevelDB with file 
> F:\AMQ\bin\win64\..\..\data\aggregation\aggregate_%2A.%2A
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:101)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:150)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:104)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> java.lang.reflect.Method.invoke(Unknown Source)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> org.apache.activemq.console.Main.runTaskClass(Main.java:262)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> org.apache.activemq.console.Main.main(Main.java:115)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> java.lang.reflect.Method.invoke(Unknown Source)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at java.lang.Thread.run(Unknown 
> Source)
> INFO   | jvm 1| 2015/11/30 10:02:54 | Caused by: 
> org.apache.camel.RuntimeCamelException: java.lang.RuntimeException: Error 
> opening LevelDB with file 
> F:\AMQ\bin\win64\..\..\data\aggregation\aggregate_%2A.%2A
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1619)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:123)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:332)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:96)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationCo

[jira] [Updated] (CAMEL-9378) camel-leveldb - Camel cannot be restarted - IO Error

2015-12-28 Thread Claus Ibsen (JIRA)

 [ 
https://issues.apache.org/jira/browse/CAMEL-9378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-9378:
---
Summary: camel-leveldb - Camel cannot be restarted - IO Error  (was: Camel 
cannot be restarted - IO Error)

> camel-leveldb - Camel cannot be restarted - IO Error
> 
>
> Key: CAMEL-9378
> URL: https://issues.apache.org/jira/browse/CAMEL-9378
> Project: Camel
>  Issue Type: Bug
>  Components: camel-leveldb
>Affects Versions: 2.15.2
>Reporter: Sergei Gorbunov
>
> I am using "org.apache.camel.component.leveldb.LevelDBAggregationRepository" 
> as aggregation repository. Camel context imported to ActiveMQ context. 
> ActiveMQ installed as windows service.
> Case:
> 1. Execute restart command on activemq.
> 2. Camel cannot start.
> 3. If then start service manually - camel successfully starts.
> Exception:
> {code}
> INFO   | jvm 1| 2015/11/30 09:50:58 | {}
> INFO   | jvm 1| 2015/11/30 10:02:46 | Restarting broker
> INFO   | jvm 1| 2015/11/30 10:02:46 | Loading message broker from: 
> xbean:activemq.xml
> INFO   | jvm 1| 2015/11/30 10:02:47 | {}
> INFO   | jvm 1| 2015/11/30 10:02:54 | ERROR: java.lang.RuntimeException: 
> Failed to execute broker build task. Reason: 
> org.apache.camel.RuntimeCamelException: java.lang.RuntimeException: Error 
> opening LevelDB with file 
> F:\AMQ\bin\win64\..\..\data\aggregation\aggregate_%2A.%2A
> INFO   | jvm 1| 2015/11/30 10:02:54 | java.lang.RuntimeException: Failed 
> to execute broker build task. Reason: org.apache.camel.RuntimeCamelException: 
> java.lang.RuntimeException: Error opening LevelDB with file 
> F:\AMQ\bin\win64\..\..\data\aggregation\aggregate_%2A.%2A
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:101)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:150)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:104)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> java.lang.reflect.Method.invoke(Unknown Source)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> org.apache.activemq.console.Main.runTaskClass(Main.java:262)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> org.apache.activemq.console.Main.main(Main.java:115)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> java.lang.reflect.Method.invoke(Unknown Source)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at java.lang.Thread.run(Unknown 
> Source)
> INFO   | jvm 1| 2015/11/30 10:02:54 | Caused by: 
> org.apache.camel.RuntimeCamelException: java.lang.RuntimeException: Error 
> opening LevelDB with file 
> F:\AMQ\bin\win64\..\..\data\aggregation\aggregate_%2A.%2A
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1619)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:123)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:332)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:96)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)
> INFO   | jvm 1| 2015/11/30 10:02:54 | at 
> org.springframework.context.support.AbstractAppli