please raise a jira so we can track it

cheers,

Rob

http://open.iona.com/ -Enterprise Open Integration
http://rajdavies.blogspot.com/



On Nov 16, 2007, at 2:11 PM, goldi wrote:


Testing ActiveMQ integrated in JBoss I found that the following doesn't work
anymore:

<config-property-value>failover://(tcp://192.168.8.101:65001)? jms.prefetchPolicy.all=1000</config-property-value>

I got the following exception:

2007-11-16 15:08:50,734 ERROR
[org.apache.activemq.ra.ActiveMQEndpointWorker] Endpoint connection to JMS
broker failed: Could not create Transport. Reason:
java.lang.IllegalArgumentException: Invalid connect parameters:
{jms.prefetchPolicy.all=1000}
2007-11-16 15:08:50,734 ERROR
[org.apache.activemq.ra.ActiveMQEndpointWorker] Endpoint will try to
reconnect to the JMS broker in 30 seconds


This integrated Broker runs against a Standalone ActiveMQ-Broker. Killing
the second one and trying to restart it I got the following exception:

java.io.IOException: Recovery Failed: The subscription does not exist:
ID:Dev-AG-1992-1195220522906-3:2:-1:2
        at
org.apache.activemq.util.IOExceptionSupport.create (IOExceptionSupport.java:27)
        at
org.apache.activemq.broker.TransactionBroker.start (TransactionBroker.java:110) at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java: 153) at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java: 153)
        at
org.apache.activemq.broker.MutableBrokerFilter.start (MutableBrokerFilter.java:163) at org.apache.activemq.broker.BrokerService.start (BrokerService.java:422)
        at
org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet (XBeanBrokerService.java:46)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanF actory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1201)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanF actory.initializeBean(AbstractAutowireCapableBeanFactory.java:1171)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanF actory.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.p reInstantiateSingletons(DefaultListableBeanFactory.java:287)
        at
org.springframework.context.support.AbstractApplicationContext.refresh (AbstractApplicationContext.java:352)
        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.createApplicationContext( XBeanBrokerFactory.java:91)
        at
org.apache.activemq.xbean.XBeanBrokerFactory.createBroker (XBeanBrokerFactory.java:51)
        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:112)
        at
org.apache.activemq.console.command.StartCommand.runTask (StartCommand.java:74)
        at
org.apache.activemq.console.command.AbstractCommand.execute (AbstractCommand.java:51)
        at
org.apache.activemq.console.command.ShellCommand.runTask (ShellCommand.java:104)
        at
org.apache.activemq.console.command.AbstractCommand.execute (AbstractCommand.java:51)
        at
org.apache.activemq.console.command.ShellCommand.main (ShellCommand.java:76)
        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.apache.activemq.console.Main.runTaskClass(Main.java:222)
        at org.apache.activemq.console.Main.main(Main.java:106)
Caused by: java.lang.IllegalArgumentException: The subscription does not
exist: ID:Dev-AG-1992-1195220522906-3:2:-1:2
        at
org.apache.activemq.broker.region.AbstractRegion.acknowledge (AbstractRegion.java:336)
        at
org.apache.activemq.broker.region.RegionBroker.acknowledge (RegionBroker.java:427)
        at
org.apache.activemq.broker.TransactionBroker.acknowledge (TransactionBroker.java:194)
        at
org.apache.activemq.broker.TransactionBroker$1.recover (TransactionBroker.java:100)
        at
org.apache.activemq.store.amq.AMQTransactionStore.recover (AMQTransactionStore.java:196)
        at
org.apache.activemq.broker.TransactionBroker.start (TransactionBroker.java:92)
        ... 32 more
2007-11-16 14:50:53,047 [MQ ShutdownHook] INFO  BrokerService
- ActiveMQ Message Broker (localhost, null) is shutting down
2007-11-16 14:50:53,047 [MQ ShutdownHook] INFO  TransportConnector
- Connector openwire Stopped
2007-11-16 14:50:54,329 [MQ ShutdownHook] ERROR AMQPersistenceAdapter
- Could not stop service:
AMQPersistenceAdapter(C:\ESBActiveMQ5.0\Active_Broker\bin\..\data \localhost).
Reason: java.lang.NullPointerException
java.lang.NullPointerException
        at
org.apache.activemq.store.amq.AMQTxOperation.writeExternal (AMQTxOperation.java:113)
        at
org.apache.activemq.store.kahadaptor.AMQTxMarshaller.writePayload (AMQTxMarshaller.java:60)
        at
org.apache.activemq.store.kahadaptor.AMQTxMarshaller.writePayload (AMQTxMarshaller.java:34)
        at
org.apache.activemq.kaha.impl.data.SyncDataFileWriter.storeItem (SyncDataFileWriter.java:58)
        at
org.apache.activemq.kaha.impl.data.DataManagerImpl.storeDataItem (DataManagerImpl.java:151)
        at
org.apache.activemq.kaha.impl.container.MapContainerImpl.write (MapContainerImpl.java:516)
        at
org.apache.activemq.kaha.impl.container.MapContainerImpl.put (MapContainerImpl.java:301)
        at
org.apache.activemq.store.kahadaptor.KahaReferenceStoreAdapter.savePre paredState(KahaReferenceStoreAdapter.java:270)
        at
org.apache.activemq.store.amq.AMQPersistenceAdapter.stop (AMQPersistenceAdapter.java:263) at org.apache.activemq.util.ServiceStopper.stop (ServiceStopper.java:41) at org.apache.activemq.broker.BrokerService.stop (BrokerService.java:457)
        at
org.apache.activemq.broker.BrokerService.containerShutdown (BrokerService.java:1586)

with the result that the Broker don't starts anymore (Trying it 3 times).

Greets Goldi



Hiram Chirino wrote:

Hi Everyone,

I've cut a new release candidate. The last one had a few memory leaks
and issues with the default persistence store among other small bugs.
I'm hoping RC3 will be the last release candidate.  Could you guys
test these binaries out and let us know how they are working out?  It
would be nice to get a 5.0.0 release out soon.

You can get the binary distributions here:
http://people.apache.org/~chirino/apache-activemq-5.0.0-RC3/maven2/ org/apache/activemq/apache-activemq/5.0.0/
maven 2 repo:
http://people.apache.org/~chirino/apache-activemq-5.0.0-RC3/maven2
maven 1 repo:
http://people.apache.org/~chirino/apache-activemq-5.0.0-RC3/maven1

Source SVN tag:
https://svn.apache.org/repos/asf/activemq/tags/activemq-5.0.0

--
Regards,
Hiram

Blog: http://hiramchirino.com

Open Source SOA
http://open.iona.com



--
View this message in context: http://www.nabble.com/Please-help- check-ActiveMQ-5.0.0-RC3-tf4791838s2354.html#a13793974
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Reply via email to