Bamboo remote agent logging configuration on Windows - bamboo

I have a Bamboo remote agent v5.12.3 installed on a Windows 2012 Server machine. After upgrade from v5.9.7 log file contains error messages saying that access to write log file into root directory was denied.
This is fragment of log file with the exception:
INFO | jvm 1 | 2017/01/31 11:25:04 | log4j:ERROR setFile(null,true) call failed.
INFO | jvm 1 | 2017/01/31 11:25:04 | java.io.FileNotFoundException: \atlassian-bamboo.log (Access is denied)
INFO | jvm 1 | 2017/01/31 11:25:04 | at java.io.FileOutputStream.open0(Native Method)
INFO | jvm 1 | 2017/01/31 11:25:04 | at java.io.FileOutputStream.open(FileOutputStream.java:270)
INFO | jvm 1 | 2017/01/31 11:25:04 | at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
INFO | jvm 1 | 2017/01/31 11:25:04 | at java.io.FileOutputStream.<init>(FileOutputStream.java:133)
INFO | jvm 1 | 2017/01/31 11:25:04 | at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
INFO | jvm 1 | 2017/01/31 11:25:04 | at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
INFO | jvm 1 | 2017/01/31 11:25:04 | at org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:223)
INFO | jvm 1 | 2017/01/31 11:25:04 | at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
INFO | jvm 1 | 2017/01/31 11:25:04 | at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)
INFO | jvm 1 | 2017/01/31 11:25:04 | at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)
INFO | jvm 1 | 2017/01/31 11:25:04 | at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:842)
INFO | jvm 1 | 2017/01/31 11:25:04 | at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768)
INFO | jvm 1 | 2017/01/31 11:25:04 | at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:648)
INFO | jvm 1 | 2017/01/31 11:25:04 | at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:514)
INFO | jvm 1 | 2017/01/31 11:25:04 | at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580)
INFO | jvm 1 | 2017/01/31 11:25:04 | at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:415)
INFO | jvm 1 | 2017/01/31 11:25:04 | at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.configureLog4j(RemoteAgent.java:141)
INFO | jvm 1 | 2017/01/31 11:25:04 | at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.start(RemoteAgent.java:73)
INFO | jvm 1 | 2017/01/31 11:25:04 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2017/01/31 11:25:04 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO | jvm 1 | 2017/01/31 11:25:04 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | 2017/01/31 11:25:04 | at java.lang.reflect.Method.invoke(Method.java:498)
INFO | jvm 1 | 2017/01/31 11:25:04 | at com.atlassian.bamboo.agent.bootstrap.AgentRunner.run(AgentRunner.java:30)
INFO | jvm 1 | 2017/01/31 11:25:04 | at java.lang.Thread.run(Thread.java:745)
INFO | jvm 1 | 2017/01/31 11:25:04 | log4j:ERROR Either File or DatePattern options are not set for appender [filelog].
INFO | jvm 1 | 2017/01/31 11:25:04 | log4j:ERROR setFile(null,true) call failed.
INFO | jvm 1 | 2017/01/31 11:25:04 | java.io.FileNotFoundException: \js-atlassian-bamboo.log (Access is denied)
INFO | jvm 1 | 2017/01/31 11:25:04 | at java.io.FileOutputStream.open0(Native Method)
INFO | jvm 1 | 2017/01/31 11:25:04 | at java.io.FileOutputStream.open(FileOutputStream.java:270)
INFO | jvm 1 | 2017/01/31 11:25:04 | at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
INFO | jvm 1 | 2017/01/31 11:25:04 | at java.io.FileOutputStream.<init>(FileOutputStream.java:133)
INFO | jvm 1 | 2017/01/31 11:25:04 | at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
INFO | jvm 1 | 2017/01/31 11:25:04 | at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
INFO | jvm 1 | 2017/01/31 11:25:04 | at org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:223)
INFO | jvm 1 | 2017/01/31 11:25:04 | at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
INFO | jvm 1 | 2017/01/31 11:25:04 | at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)
INFO | jvm 1 | 2017/01/31 11:25:04 | at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)
INFO | jvm 1 | 2017/01/31 11:25:04 | at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:842)
INFO | jvm 1 | 2017/01/31 11:25:04 | at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768)
INFO | jvm 1 | 2017/01/31 11:25:04 | at org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyConfigurator.java:672)
INFO | jvm 1 | 2017/01/31 11:25:04 | at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:516)
INFO | jvm 1 | 2017/01/31 11:25:04 | at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580)
INFO | jvm 1 | 2017/01/31 11:25:04 | at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:415)
INFO | jvm 1 | 2017/01/31 11:25:04 | at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.configureLog4j(RemoteAgent.java:141)
INFO | jvm 1 | 2017/01/31 11:25:04 | at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.start(RemoteAgent.java:73)
INFO | jvm 1 | 2017/01/31 11:25:04 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2017/01/31 11:25:04 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO | jvm 1 | 2017/01/31 11:25:04 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | 2017/01/31 11:25:04 | at java.lang.reflect.Method.invoke(Method.java:498)
INFO | jvm 1 | 2017/01/31 11:25:04 | at com.atlassian.bamboo.agent.bootstrap.AgentRunner.run(AgentRunner.java:30)
INFO | jvm 1 | 2017/01/31 11:25:04 | at java.lang.Thread.run(Thread.java:745)
INFO | jvm 1 | 2017/01/31 11:25:04 | log4j:ERROR Either File or DatePattern options are not set for appender [javascript].
First of all, I do not understand all the log files that Bamboo remote agent creates. There exists at least these:
atlassian-bamboo-agent.log - which I have redirected to \logs directory. This file is correctly written with bamboo agent log records, everything is fine here...
atlassian-bamboo.log - the agent tries to write it into C:\ directory, which I of course prevent him from.
js-atlassian-bamboo.log - the same as previous
Can anyone explain to me, what is the difference between these log files?
Finally I do not understand, why the agent wants to create the atlassian-bamboo and the js-atlassian-bamboo log files in the root folder of drive C. How can I configure the agent, so that it creates these files in another folder?
Thanks in advance

atlassian-bamboo-agent.log -> This will capture only the activity on agent
atlassian-bamboo.log -> This will capture the logs of build /deployment which this agent is taking up
You can configure the logs , Please check below link
https://confluence.atlassian.com/bamboocloud/logging-in-bamboo-737184373.html

Related

When i move the navigation Node in cmscockpit from one parent to another it(Navigation Node) is getting deleted with below error

INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | SEVERE: >>de.hybris.platform.servicelayer.exceptions.ModelSavingException: item 8819489571904 no longer valid (was removed): object no longer valid
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >>item 8819489571904 no longer valid (was removed): object no longer valid
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.jalo.Item$CachedGetter.get(Item.java:740)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.jalo.ExtensibleItem.getProperty(ExtensibleItem.java:343)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.cms2.jalo.navigation.GeneratedCMSNavigationNode.getParent(GeneratedCMSNavigationNode.java:544)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at jdk.internal.reflect.GeneratedMethodAccessor1288.invoke(Unknown Source)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.jalo.type.ReflectionAttributeAccess$AttributeMethod.invokeGetter(ReflectionAttributeAccess.java:753)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.jalo.type.ReflectionAttributeAccess.getValue(ReflectionAttributeAccess.java:959)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.jalo.Item.getAttribute(Item.java:1921)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.util.OneToManyHandler.addValue(OneToManyHandler.java:501)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.util.BidirectionalOneToManyHandler.addValue(BidirectionalOneToManyHandler.java:59)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.cms2.jalo.navigation.GeneratedCMSNavigationNode.setParent(GeneratedCMSNavigationNode.java:562)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.jalo.type.ReflectionAttributeAccess$AttributeMethod.invokeSetter(ReflectionAttributeAccess.java:808)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.jalo.type.ReflectionAttributeAccess.setValue(ReflectionAttributeAccess.java:999)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.jalo.Item.setAttribute(Item.java:2387)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.jalo.Item.setAllAttributesInternal(Item.java:2228)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.jalo.Item$18.execute(Item.java:2145)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.tx.Transaction.execute(Transaction.java:1214)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.tx.Transaction.execute(Transaction.java:1182)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.jalo.Item.setAllAttributes(Item.java:2140)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.jalo.Item.setAllAttributes(Item.java:2120)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.servicelayer.internal.converter.impl.ItemModelConverter.storeAttributes(ItemModelConverter.java:1816)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.servicelayer.internal.converter.impl.ItemModelConverter.lambda$2(ItemModelConverter.java:864)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.servicelayer.internal.polyglot.UnitOfWorkInterceptor.lambda$0(UnitOfWorkInterceptor.java:71)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.servicelayer.internal.polyglot.UnitOfWorkInterceptor.execute(UnitOfWorkInterceptor.java:57)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.servicelayer.internal.polyglot.UnitOfWorkInterceptor.updateFromServiceLayer(UnitOfWorkInterceptor.java:28)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.servicelayer.internal.converter.impl.ItemModelConverter.save(ItemModelConverter.java:864)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.servicelayer.internal.model.impl.wrapper.ModelWrapper.save(ModelWrapper.java:361)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.servicelayer.internal.model.impl.ResolvingModelPersister.saveOthers(ResolvingModelPersister.java:62)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.servicelayer.internal.model.impl.ResolvingModelPersister.persist(ResolvingModelPersister.java:47)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.saveViaJalo(DefaultModelService.java:1173)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.doJaloPersistence(DefaultModelService.java:732)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.persistWrappers(DefaultModelService.java:1117)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.performPersistenceOperations(DefaultModelService.java:709)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.saveAllInternal(DefaultModelService.java:703)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.saveAll(DefaultModelService.java:683)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.saveAll(DefaultModelService.java:650)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.cms2.servicelayer.services.impl.DefaultCMSNavigationService.move(DefaultCMSNavigationService.java:512)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.cmscockpit.navigationnode.browserarea.tree.NavigationNodeController.move(NavigationNodeController.java:231)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.cmscockpit.navigationnode.browserarea.tree.NavigationNodeController.move(NavigationNodeController.java:1)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.cockpit.components.mvc.tree.PositionAwareTreeControllerWrapper.move(PositionAwareTreeControllerWrapper.java:26)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.cockpit.components.mvc.tree.Tree$DropHandler.onEvent(Tree.java:93)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.java:197)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:141)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.process0(EventProcessingThreadImpl.java:519)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.sendEvent(EventProcessingThreadImpl.java:123)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at org.zkoss.zk.ui.event.Events.sendEvent(Events.java:293)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.cmscockpit.navigationnode.browserarea.tree.NavigationNodeRenderer.sendExtendedDropEvent(NavigationNodeRenderer.java:421)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at de.hybris.platform.cmscockpit.navigationnode.browserarea.tree.NavigationNodeRenderer$2.onEvent(NavigationNodeRenderer.java:176)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.java:197)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:141)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.process0(EventProcessingThreadImpl.java:519)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 | >> at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.run(EventProcessingThreadImpl.java:446)
INFO | jvm 1 | main | 2022/06/07 08:06:12.035 |
INFO | jvm 1 | main | 2022/06/07 08:06:25.848 | [33mWARN [Thread-10798] [DefaultTypedObject] Can not retrieve object. Reason: Item has been removed.

Why ignite does not load all records into cache when server node count increased?

I have developed ignite sample data grid application with third party persistence. I have an entity named UserInfo. I have generated 3602000 records and added them into database. I have 64 GB ram on my machine. I am running n server nodes and after cluster initialized run a client node to trigger loading caches. When I run one or two server nodes and then load cache everything is fine. All records are loaded into the cache. When I run 4 server nodes approximately half of the records are loaded into the cache. There are a lot of free memory on the machine. I have created a github repo for sample application https://github.com/serdroid/userinfo .
Below free command output and ignitevisorcmd output for both cases.
before starting servers
free --giga
total used free shared buff/cache available
Mem: 65 8 52 0 4 56
2 server nodes running with -Xmx4G
Loaded 3602000 keys with backups in 255911ms.
Free memory
free --giga
total used free shared buff/cache available
Mem: 65 20 38 0 6 45
Cache details
Nodes for: info.serdroid.userinfo.grid.model.UserInfo(#c0)
+================================================================================================================+
| Node ID8(#), IP | CPUs | Heap Used | CPU Load | Up Time | Size | Hi/Mi/Rd/Wr |
+================================================================================================================+
| 800C684F(#n1), 10.251.74.157 | 4 | 87.97 % | 0.40 % | 00:13:07.851 | Total: 1837114 | Hi: 0 |
| | | | | | Heap: 0 | Mi: 0 |
| | | | | | Off-Heap: 1837114 | Rd: 0 |
| | | | | | Off-Heap Memory: 0 | Wr: 0 |
+------------------------------+------+-----------+----------+--------------+----------------------+-------------+
| 40FD7F83(#n0), 10.251.74.157 | 4 | 86.30 % | 0.40 % | 00:13:25.431 | Total: 1764886 | Hi: 0 |
| | | | | | Heap: 0 | Mi: 0 |
| | | | | | Off-Heap: 1764886 | Rd: 0 |
| | | | | | Off-Heap Memory: 0 | Wr: 0 |
+----------------------------------------------------------------------------------------------------------------+
4 server nodes running with -Xmx4G
Loaded 1805474 keys with backups in 98203ms.
Free memory
free --giga
total used free shared buff/cache available
Mem: 65 23 35 0 6 41
Cache details
Nodes for: info.serdroid.userinfo.grid.model.UserInfo(#c0)
+================================================================================================================+
| Node ID8(#), IP | CPUs | Heap Used | CPU Load | Up Time | Size | Hi/Mi/Rd/Wr |
+================================================================================================================+
| 9B36B2E9(#n2), 10.251.74.157 | 4 | 65.52 % | 0.27 % | 00:14:58.116 | Total: 534454 | Hi: 0 |
| | | | | | Heap: 0 | Mi: 0 |
| | | | | | Off-Heap: 534454 | Rd: 0 |
| | | | | | Off-Heap Memory: 0 | Wr: 0 |
+------------------------------+------+-----------+----------+--------------+----------------------+-------------+
| 1222A1A4(#n0), 10.251.74.157 | 4 | 39.65 % | 2.33 % | 00:15:06.421 | Total: 389344 | Hi: 0 |
| | | | | | Heap: 0 | Mi: 0 |
| | | | | | Off-Heap: 389344 | Rd: 0 |
| | | | | | Off-Heap Memory: 0 | Wr: 0 |
+------------------------------+------+-----------+----------+--------------+----------------------+-------------+
| 8699AB89(#n1), 10.251.74.157 | 4 | 62.77 % | 0.23 % | 00:15:01.325 | Total: 441069 | Hi: 0 |
| | | | | | Heap: 0 | Mi: 0 |
| | | | | | Off-Heap: 441069 | Rd: 0 |
| | | | | | Off-Heap Memory: 0 | Wr: 0 |
+------------------------------+------+-----------+----------+--------------+----------------------+-------------+
| 8B43AF4C(#n3), 10.251.74.157 | 4 | 65.44 % | 1.73 % | 00:14:55.624 | Total: 440607 | Hi: 0 |
| | | | | | Heap: 0 | Mi: 0 |
| | | | | | Off-Heap: 440607 | Rd: 0 |
| | | | | | Off-Heap Memory: 0 | Wr: 0 |
+----------------------------------------------------------------------------------------------------------------+
Apache Ignite uses off-heap memory to store your data. Please configure (enlarge) data region as it is described at https://apacheignite.readme.io/docs/memory-configuration.
Apache Ignite works in a Lazy way for loading data into memory from a store by design.
You can force data reload by Cache.loadCache(null) manually, or you can use EventType.EVT_NODE_JOINED local event as a trigger. Please see https://apacheignite.readme.io/docs/events for more details.

ActiveMQ 5.3.0 - Delete Inactive Destinations

I'm running ActiveMQ 5.3.0 and I tried to follow the instructions here
https://cwiki.apache.org/confluence/display/ACTIVEMQ/Delete+Inactive+Destinations
to get my configuration to delete queues that have not had messages or
consumers on them.
However, I updated my activemq.xml file and I'm getting this stack trace
when I try to start activemq now. Can anyone help? I'm very new to
activemq so I apologize if I'm doing something dumb.
ERROR: java.lang.Exception:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class
path resource [activemq.xml]: Error setting property values; nested
exception is org.springframework.beans.NotWritablePropertyException: Invalid
property 'schedulePeriodForDestinationPurge' of bean class
[org.apache.activemq.xbean.XBeanBrokerService]: Bean property
'schedulePeriodForDestinationPurge' is not writable or has an invalid setter
method. Does the parameter type of the setter match the return type of the
getter?
INFO | jvm 1 | 2017/11/02 15:51:00 | java.lang.Exception:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class
path resource [activemq.xml]: Error setting property values; nested
exception is org.springframework.beans.NotWritablePropertyException: Invalid
property 'schedulePeriodForDestinationPurge' of bean class
[org.apache.activemq.xbean.XBeanBrokerService]: Bean property
'schedulePeriodForDestinationPurge' is not writable or has an invalid setter
method. Does the parameter type of the setter match the return type of the
getter?
INFO | jvm 1 | 2017/11/02 15:51:00 | at
org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:99)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:129)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:79)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
java.lang.reflect.Method.invoke(Unknown Source)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
org.apache.activemq.console.Main.runTaskClass(Main.java:251)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
org.apache.activemq.console.Main.main(Main.java:107)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
java.lang.reflect.Method.invoke(Unknown Source)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
java.lang.Thread.run(Unknown Source)
INFO | jvm 1 | 2017/11/02 15:51:00 | Caused by:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class
path resource [activemq.xml]: Error setting property values; nested
exception is org.springframework.beans.NotWritablePropertyException: Invalid
property 'schedulePeriodForDestinationPurge' of bean class
[org.apache.activemq.xbean.XBeanBrokerService]: Bean property
'schedulePeriodForDestinationPurge' is not writable or has an invalid setter
method. Does the parameter type of the setter match the return type of the
getter?
INFO | jvm 1 | 2017/11/02 15:51:00 | at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1279)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
java.security.AccessController.doPrivileged(Native Method)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:96)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:52)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:115)
INFO | jvm 1 | 2017/11/02 15:51:00 | at
org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:74)
INFO | jvm 1 | 2017/11/02 15:51:00 | ... 16 more
INFO | jvm 1 | 2017/11/02 15:51:00 | Caused by:
org.springframework.beans.NotWritablePropertyException: Invalid property
'schedulePeriodForDestinationPurge' of bean class
[org.apache.activemq.xbean.XBeanBrokerService]: Bean property
'schedulePeriodForDestinationPurge' is not writable or has an invalid setter
method. Does the parameter type of the setter match the return type of the
getter?
Your ActiveMQ version is to old for the configuration item you are trying to add. Version 5.3.0 is quite old and you should really consider upgrading to a newer release with current fixes and security improvements.

Unable to insert/update the data in Media table through impex

I'm trying to make an entry of an image in the media for email template related customizations as given below:
$contentCatalog=ContentCatalog_en
$contentCV=catalogVersion(CatalogVersion.catalog(Catalog.id[default=$contentCatalog]),CatalogVersion.version[default=Staged])[default=$contentCatalog:Staged]
$jarResourceCms=jar:com.test.core.setup.CoreSystemSetup&/core/import/cockpits/cmscockpit
INSERT_UPDATE Media;$contentCV[unique=true];code[unique=true];mime;realfilename;#media[translator=de.hybris.platform.impex.jalo.media.MediaDataTranslator][forceWrite=true]
;;EmailPageModel_preview;text/gif;EmailPageModel_preview.gif;$jarResourceCms/preview-images/EmailPageModel_preview.gif
How ever,I keep getting the below error in the logs while tryng to import this part of impex.
INFO | jvm 1 | main | 2016/07/26 09:51:57.699 | [mde.hybris.platform.impex.jalo.ImpExException: line 60 at main script: current handler is not set[HY--1]
INFO | jvm 1 | main | 2016/07/26 09:51:57.699 | at de.hybris.platform.impex.jalo.Importer.importNextInternal(Importer.java:763)
INFO | jvm 1 | main | 2016/07/26 09:51:57.699 | at de.hybris.platform.impex.jalo.Importer.importAll(Importer.java:708)
INFO | jvm 1 | main | 2016/07/26 09:51:57.699 | at com.pearson.core.jalo.StoreConfigJobPerformable.importImpexFile(StoreConfigJobPerformable.java:121)
INFO | jvm 1 | main | 2016/07/26 09:51:57.699 | at com.pearson.core.jalo.StoreConfigJobPerformable.importStoreConfigurations(StoreConfigJobPerformable.java:85)
INFO | jvm 1 | main | 2016/07/26 09:51:57.699 | at com.pearson.core.jalo.StoreConfigJobPerformable.perform(StoreConfigJobPerformable.java:49)
INFO | jvm 1 | main | 2016/07/26 09:51:57.699 | at de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob.performCronJob(ServicelayerJob.java:38)
INFO | jvm 1 | main | 2016/07/26 09:51:57.699 | at de.hybris.platform.cronjob.jalo.Job.execute(Job.java:1301)
INFO | jvm 1 | main | 2016/07/26 09:51:57.699 | at de.hybris.platform.cronjob.jalo.Job.performImpl(Job.java:819)
INFO | jvm 1 | main | 2016/07/26 09:51:57.699 | at de.hybris.platform.cronjob.jalo.Job.access$1(Job.java:772)
INFO | jvm 1 | main | 2016/07/26 09:51:57.699 | at de.hybris.platform.cronjob.jalo.Job$JobRunable.run(Job.java:677)
INFO | jvm 1 | main | 2016/07/26 09:51:57.699 | at de.hybris.platform.util.threadpool.PoolableThread.run(PoolableThread.java:198)
INFO | jvm 1 | main | 2016/07/26 09:51:57.699 | Caused by: de.hybris.platform.impex.jalo.ImpExException: current handler is not set[HY--1]
INFO | jvm 1 | main | 2016/07/26 09:51:57.699 | at de.hybris.platform.impex.jalo.imp.ImpExImportReader.processLine(ImpExImportReader.java:692)
INFO | jvm 1 | main | 2016/07/26 09:51:57.699 | at de.hybris.platform.impex.jalo.imp.ImpExImportReader.readLine(ImpExImportReader.java:495)
INFO | jvm 1 | main | 2016/07/26 09:51:57.699 | at de.hybris.platform.impex.jalo.Importer.doImport(Importer.java:254)
INFO | jvm 1 | main | 2016/07/26 09:51:57.699 | at de.hybris.platform.impex.jalo.Importer.importNextInternal(Importer.java:757)
INFO | jvm 1 | main | 2016/07/26 09:51:57.699 | ... 10 more
INFO | jvm 1 | main | 2016/07/26 09:51:57.699 | Caused by: java.lang.IllegalStateException: current handler is not set
INFO | jvm 1 | main | 2016/07/26 09:51:57.699 | at de.hybris.platform.impex.jalo.media.MediaDataTranslator.getHandler(MediaDataTranslator.java:104)
INFO | jvm 1 | main | 2016/07/26 09:51:57.699 | at de.hybris.platform.impex.jalo.media.MediaDataTranslator.performImport(MediaDataTranslator.java:153)
INFO | jvm 1 | main | 2016/07/26 09:51:57.699 | at de.hybris.platform.impex.jalo.header.SpecialColumnDescriptor.performImport(SpecialColumnDescriptor.java:132)
INFO | jvm 1 | main | 2016/07/26 09:51:57.699 | at de.hybris.platform.impex.jalo.imp.DefaultImportProcessor.processUpdateLine(DefaultImportProcessor.java:581)
INFO | jvm 1 | main | 2016/07/26 09:51:57.699 | at de.hybris.platform.impex.jalo.imp.DefaultImportProcessor.processInsertUpdateLine(DefaultImportProcessor.java:409)
INFO | jvm 1 | main | 2016/07/26 09:51:57.699 | at de.hybris.platform.impex.jalo.imp.DefaultImportProcessor.processItemData_Impl(DefaultImportProcessor.java:244)
INFO | jvm 1 | main | 2016/07/26 09:51:57.699 | at de.hybris.platform.impex.jalo.imp.DefaultImportProcessor.processItemData(DefaultImportProcessor.java:149)
INFO | jvm 1 | main | 2016/07/26 09:51:57.699 | at de.hybris.platform.impex.jalo.imp.ImpExImportReader.processLine(ImpExImportReader.java:659)
Can anyone tell me what exactly is going wrong here?
Hi Please do the system update then try to execute below Impex.
# Preview Image for use in the CMS Cockpit
Import config properties into impex macros
$contentCatalog=xxxjapanContentCatalog
$contentCV=catalogVersion(CatalogVersion.catalog(Catalog.id[default=$contentCatalog]),CatalogVersion.version[default=Staged])[default=$contentCatalog:Staged]
INSERT_UPDATE Media;$contentCV[unique=true];code[unique=true];mime;realfilename;#media[translator=de.hybris.platform.impex.jalo.media.MediaDataTranslator][forceWrite=true]
;;EmailPageModel_preview;text/gif;EmailPageModel_preview.gif;$jarResourceCms/preview-images/EmailPageModel_preview.gif
Have you did any custom configuration with any of the code?
Reference:
https://answers.sap.com/questions/12756314/impexexception--javalangillegalstateexception-curr.html

How to fix activemq error which is appear after oo-install script is finished successfully?

I just tried to install openshift by oo-install to CentOS 6.5 (clear minimal OS), installation process finished successfully but it's look like the 'broker' is not running. I tried to understand that part is broken and found that
ActiveMQ is not started at boot and it has this error in /var/log/activemq/activemq.log
2014-06-22 16:45:28,085 [erSimpleAppMain] INFO XBeanBrokerFactory$1 - Refreshing org.apache.activemq.xbean. XBeanBrokerFactory$1#38d9e447: startup date [Sun Jun 22 16:45:28 YEKT 2014]; root of context hierarchy
2014-06-22 16:45:34,239 [erSimpleAppMain] ERROR XBeanBrokerFactory - Failed to load: class path resource [activemq.xml], reason: Invalid bean definition with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class path resource [activemq. xml]: Could not resolve placeholder 'activemq.data' in string value "${activemq.data}"
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'org.apache.activemq.xbean. XBeanBrokerService#0' defined in class path resource [activemq.xml]: Could not resolve placeholder 'activemq.data' in string value "${activemq.data}"
at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:209)
at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:220)
at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:84)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext. java:687)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext. java:662)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:454)
at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
at org.apache.activemq.xbean.XBeanBrokerFactory$1.<init>(XBeanBrokerFactory.java:101)
at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:101)
at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:65)
at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
at org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:125)
at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:84)
at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:150)
at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.activemq.console.Main.runTaskClass(Main.java:262)
at org.apache.activemq.console.Main.main(Main.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:290)
at java.lang.Thread.run(Thread.java:744)
Also in /var/log/activemq/wrapper.log exist another error message:
STATUS | wrapper | 2014/06/22 16:45:08 | --> Wrapper Started as Daemon
STATUS | wrapper | 2014/06/22 16:45:08 | Java Service Wrapper Community Edition 64-bit 3.5.9
STATUS | wrapper | 2014/06/22 16:45:08 | Copyright (C) 1999-2011 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2014/06/22 16:45:08 | http://wrapper.tanukisoftware.com
STATUS | wrapper | 2014/06/22 16:45:08 |
STATUS | wrapper | 2014/06/22 16:45:08 | Launching a JVM...
INFO | jvm 1 | 2014/06/22 16:45:19 | WrapperManager: Initializing...
INFO | jvm 1 | 2014/06/22 16:45:21 | Java Runtime: Oracle Corporation 1.7.0_55 /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.55.x86_64/ jre
INFO | jvm 1 | 2014/06/22 16:45:21 | Heap sizes: current=44608k free=40256k max=506816k
INFO | jvm 1 | 2014/06/22 16:45:21 | JVM args: -Dactivemq.home=/usr/share/activemq -Dactivemq.base=/usr/share/activemq -Dcom. sun.management.jmxremote -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Xmx512m -Djava.library.path=/usr/lib:/usr/lib64 -Dwrapper. key=8FoxAdsYaZZj3A_f -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper. disable_console_input=TRUE -Dwrapper.pid=993 -Dwrapper.version=3.5.9 -Dwrapper.native_library=wrapper -Dwrapper.service=TRUE -Dwrapper .cpu.timeout=10 -Dwrapper.jvmid=1
INFO | jvm 1 | 2014/06/22 16:45:21 | Extensions classpath:
INFO | jvm 1 | 2014/06/22 16:45:21 | [/usr/share/activemq/lib,/usr/share/activemq/lib/camel,/usr/share/activemq/lib/optional,/ usr/share/activemq/lib/web,/usr/share/activemq/lib/extra]
INFO | jvm 1 | 2014/06/22 16:45:21 | ACTIVEMQ_HOME: /usr/share/activemq
INFO | jvm 1 | 2014/06/22 16:45:21 | ACTIVEMQ_BASE: /usr/share/activemq
INFO | jvm 1 | 2014/06/22 16:45:21 | ACTIVEMQ_CONF: /usr/share/activemq/conf
INFO | jvm 1 | 2014/06/22 16:45:21 | ACTIVEMQ_DATA: /usr/share/activemq/data
INFO | jvm 1 | 2014/06/22 16:45:25 | Loading message broker from: xbean:activemq.xml
INFO | jvm 1 | 2014/06/22 16:45:34 | ERROR: java.lang.RuntimeException: Failed to execute start task. Reason: org.springframework .beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class path resource [activemq.xml]: Could not resolve placeholder 'activemq.data' in string value "${activemq.data}"
INFO | jvm 1 | 2014/06/22 16:45:34 | java.lang.RuntimeException: Failed to execute start task. Reason: org.springframework.beans. factory.BeanDefinitionStoreException: Invalid bean definition with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class path resource [activemq.xml]: Could not resolve placeholder 'activemq.data' in string value "${activemq.data}"
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:108)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:150)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:104)
INFO | jvm 1 | 2014/06/22 16:45:34 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2014/06/22 16:45:34 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO | jvm 1 | 2014/06/22 16:45:34 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | 2014/06/22 16:45:34 | at java.lang.reflect.Method.invoke(Method.java:606)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.activemq.console.Main.runTaskClass(Main.java:262)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.activemq.console.Main.main(Main.java:115)
INFO | jvm 1 | 2014/06/22 16:45:34 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2014/06/22 16:45:34 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO | jvm 1 | 2014/06/22 16:45:34 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | 2014/06/22 16:45:34 | at java.lang.reflect.Method.invoke(Method.java:606)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:290)
INFO | jvm 1 | 2014/06/22 16:45:34 | at java.lang.Thread.run(Thread.java:744)
INFO | jvm 1 | 2014/06/22 16:45:34 | Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class path resource [activemq.xml]: Could not resolve placeholder 'activemq.data' in string value "${activemq.data}"
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.springframework.beans.factory.config.PlaceholderConfigurerSupport. doProcessProperties(PlaceholderConfigurerSupport.java:209)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer. processProperties(PropertyPlaceholderConfigurer.java:220)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.springframework.beans.factory.config.PropertyResourceConfigurer. postProcessBeanFactory(PropertyResourceConfigurer.java:84)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.springframework.context.support.AbstractApplicationContext. invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:687)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.springframework.context.support.AbstractApplicationContext. invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:662)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.springframework.context.support.AbstractApplicationContext.refresh( AbstractApplicationContext.java:454)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>( ResourceXmlApplicationContext.java:64)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>( ResourceXmlApplicationContext.java:52)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.activemq.xbean.XBeanBrokerFactory$1.<init>(XBeanBrokerFactory.java:101)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext( XBeanBrokerFactory.java:101)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:65)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:125)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:84)
INFO | jvm 1 | 2014/06/22 16:45:34 | ... 16 more
INFO | jvm 1 | 2014/06/22 16:45:34 | ERROR: java.lang.Exception: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class path resource [activemq.xml]: Could not resolve placeholder 'activemq.data' in string value "${activemq.data}"
INFO | jvm 1 | 2014/06/22 16:45:34 | java.lang.Exception: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class path resource [activemq.xml]: Could not resolve placeholder 'activemq.data' in string value "${activemq.data}"
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:109)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:150)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:104)
INFO | jvm 1 | 2014/06/22 16:45:34 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2014/06/22 16:45:34 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO | jvm 1 | 2014/06/22 16:45:34 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | 2014/06/22 16:45:34 | at java.lang.reflect.Method.invoke(Method.java:606)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.activemq.console.Main.runTaskClass(Main.java:262)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.activemq.console.Main.main(Main.java:115)
INFO | jvm 1 | 2014/06/22 16:45:34 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2014/06/22 16:45:34 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO | jvm 1 | 2014/06/22 16:45:34 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | 2014/06/22 16:45:34 | at java.lang.reflect.Method.invoke(Method.java:606)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:290)
INFO | jvm 1 | 2014/06/22 16:45:34 | at java.lang.Thread.run(Thread.java:744)
INFO | jvm 1 | 2014/06/22 16:45:34 | Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class path resource [activemq.xml]: Could not resolve placeholder 'activemq.data' in string value "${activemq.data}"
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.springframework.beans.factory.config.PlaceholderConfigurerSupport. doProcessProperties(PlaceholderConfigurerSupport.java:209)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer. processProperties(PropertyPlaceholderConfigurer.java:220)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.springframework.beans.factory.config.PropertyResourceConfigurer. postProcessBeanFactory(PropertyResourceConfigurer.java:84)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.springframework.context.support.AbstractApplicationContext. invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:687)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.springframework.context.support.AbstractApplicationContext. invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:662)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.springframework.context.support.AbstractApplicationContext.refresh( AbstractApplicationContext.java:454)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>( ResourceXmlApplicationContext.java:64)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>( ResourceXmlApplicationContext.java:52)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.activemq.xbean.XBeanBrokerFactory$1.<init>(XBeanBrokerFactory.java:101)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext( XBeanBrokerFactory.java:101)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:65)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:125)
INFO | jvm 1 | 2014/06/22 16:45:34 | at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:84)
INFO | jvm 1 | 2014/06/22 16:45:34 | ... 16 more
STATUS | wrapper | 2014/06/22 16:45:36 | <-- Wrapper Stopped
I'm completely new to ActiveMq and don't have any idea of this errors nature, therefore I would like to know any way to understand or fix this issue.
PS.
Why oo-install tool is never work correctly? I tried to install openshift few months ago by it to different OS like fedora19, few versions of CentOS 6x and always after installation has finished openshift is didn't started after reboot.
I found answer here https://lists.openshift.redhat.com/openshift-archives/dev/2014-January/msg00056.html
I think the root problem is that I directed you to the PuppetLabs
repos to install Puppet. That was a mistake on my part. Puppet is
available through EPEL and that would have been the correct way to
install it. Instead, because your Broker had the puppetlabs-deps repo
on it, the wrong Puppet package was installed.
To correct this:
* yum erase activemq
* Disable the puppetlabs-deps repo (easiest way, change 'enabled=1' to 'enabled=0' in the puppetlabs-deps.repo file in /etc/yum.repos.d/)
* Rerun yum install activemq
this solved my issue, activemq started without errors. But anyway broker is not works yet.