activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars-Fredrik <itsme...@gmail.com>
Subject Configuration problem ActiveMQ 4.x
Date Sat, 12 May 2007 20:10:41 GMT

Hi!

I'm trygin to use Spring 2.0.5 together with ActiveMQ 4.1.1 or the latest
snapshot 4.2 build. If I try with 3.2.2 of ActiveMQ it works but then I have
a problem getting the redelivery policies working.

So I need to solve either the problem with getting redelivery policies
working in 3.2.2 OR get 4.1.1 / 4.2 snapshot working which hopefully have
the problem solved.

I have tried to run 4.1.1 / 4.2 with the full conf file that comes with the
bundle and with the one used in the example (this one is attached just to
show it) but I get the following error on both: 

Caused by:
org.springframework.jms.UncategorizedJmsException: Uncategorized exception
occur
ed during JMS processing; nested exception is javax.jms.JMSException: Could
not
create Transport. Reason: java.lang.ArrayIndexOutOfBoundsException: 18;
nested e
xception is java.lang.ArrayIndexOutOfBoundsException: 18
Caused by:
javax.jms.JMSException: Could not create Transport. Reason:
java.lang.ArrayIndex
OutOfBoundsException: 18
        at
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSuppo
rt.java:33)
        at
org.apache.activemq.ActiveMQConnectionFactory.createTransport(ActiveM
QConnectionFactory.java:232)
        at
org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnectio
n(ActiveMQConnectionFactory.java:245)
        at
org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnectio
n(ActiveMQConnectionFactory.java:214)
        at
org.apache.activemq.ActiveMQConnectionFactory.createConnection(Active
MQConnectionFactory.java:161)
        at
org.springframework.jms.support.JmsAccessor.createConnection(JmsAcces
sor.java:188)
        at
org.springframework.jms.listener.AbstractJmsListeningContainer.create
SharedConnection(AbstractJmsListeningContainer.java:209)
        at
org.springframework.jms.listener.AbstractJmsListeningContainer.establ
ishSharedConnection(AbstractJmsListeningContainer.java:181)
        at
org.springframework.jms.listener.AbstractJmsListeningContainer.doStar
t(AbstractJmsListeningContainer.java:345)
        at
org.springframework.jms.listener.AbstractJmsListeningContainer.initia
lize(AbstractJmsListeningContainer.java:158)
        at
org.springframework.jms.listener.AbstractJmsListeningContainer.afterP
ropertiesSet(AbstractJmsListeningContainer.java:133)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1202)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:428)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:251)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.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.refres
h(AbstractApplicationContext.java:352)
        at
org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:244)
        at
org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:187)
        at
org.springframework.web.context.ContextLoaderServlet.init(ContextLoad
erServlet.java:82)
        at javax.servlet.GenericServlet.init(GenericServlet.java:211)
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:1105)
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:93
2)
        at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:3917)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4
201)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:759)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
9)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

        at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)

        at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698
)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472
)
        at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:310)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)

        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)

        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442
)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:4
50)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:709
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 18
        at
org.apache.activemq.util.DataByteArrayInputStream.readUTF(DataByteArr
ayInputStream.java:253)
        at
org.apache.activemq.openwire.v2.BaseDataStreamMarshaller.looseUnmarsh
alString(BaseDataStreamMarshaller.java:536)
        at
org.apache.activemq.openwire.v2.JournalTraceMarshaller.looseUnmarshal
(JournalTraceMarshaller.java:113)
        at
org.apache.activemq.openwire.OpenWireFormat.doUnmarshal(OpenWireForma
t.java:349)
        at
org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.
java:204)
        at
org.apache.activemq.store.journal.JournalPersistenceAdapter.recover(J
ournalPersistenceAdapter.java:470)
        at
org.apache.activemq.store.journal.JournalPersistenceAdapter.start(Jou
rnalPersistenceAdapter.java:225)
        at
org.apache.activemq.broker.BrokerService.createRegionBroker(BrokerSer
vice.java:1251)
        at
org.apache.activemq.broker.BrokerService.createBroker(BrokerService.j
ava: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.transport.vm.VMTransportFactory.doCompositeConnec
t(VMTransportFactory.java:113)
        at
org.apache.activemq.transport.vm.VMTransportFactory.doConnect(VMTrans
portFactory.java:52)
        at
org.apache.activemq.transport.TransportFactory.doConnect(TransportFac
tory.java:43)
        at
org.apache.activemq.transport.TransportFactory.connect(TransportFacto
ry.java:77)
        at
org.apache.activemq.ActiveMQConnectionFactory.createTransport(ActiveM
QConnectionFactory.java:230)
        ... 48 more http://www.nabble.com/file/8353/activemq.xml
activemq.xml 
-- 
View this message in context: http://www.nabble.com/Configuration-problem-ActiveMQ-4.x-tf3733001s2354.html#a10449326
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message