activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Thomas Lichti <roland.lic...@telefonica.de>
Subject Re: Problem reading kahaPersistence data store
Date Fri, 19 Mar 2010 09:12:46 GMT
Hi Gary,

Gary Tully schrieb:
> odd, that stack trace does not match with the 5.3.0 source. 
That's funny, since I packaged the 5.3.0 into Sun Packages and used
kahaDB which hasn't been there before the 5.3.0 release (I never use
snapshots).

>  Can you verify that it is
> 5.3.0 and that this installation has no duplicate jars or anything odd like
> that.
>   
I'll check that, but I just got that error:
2010-03-19 10:08:53,441 INFO 
org.apache.activemq.broker.TransportConnector - Connector stomp Stopped
2010-03-19 10:08:54,083 ERROR
org.apache.activemq.store.amq.AMQPersistenceAdapter - Could not stop
service: AMQPersistenceAdapter(/data/apps/TDEamqbro/data). Reason:
java.lang.Nu
llPointerException
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:152)
        at
org.apache.activemq.kaha.impl.container.MapContainerImpl.write(MapContainerImpl.java:532)
        at
org.apache.activemq.kaha.impl.container.MapContainerImpl.put(MapContainerImpl.java:317)
        at
org.apache.activemq.store.kahadaptor.KahaReferenceStoreAdapter.savePreparedState(KahaReferenceStoreAdapter.java:306)
        at
org.apache.activemq.store.amq.AMQPersistenceAdapter.stop(AMQPersistenceAdapter.java:324)
        at
org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java:41)
        at
org.apache.activemq.broker.BrokerService.stop(BrokerService.java:519)
        at
org.apache.activemq.console.command.StartCommand$1.run(StartCommand.java:135)
2010-03-19 10:08:54,090 INFO  org.apache.activemq.broker.BrokerService -
ActiveMQ JMS Message Broker (solr-2073,
ID:solr-2073-43574-1268986625273-0:0) stopped

I don't like reading NullPointerException when writing persistence
stores ...
> So the root cause seems to be connections not shutting down which forces you
> to kill the broker, which leads to this state.
>   
That seemed to be the problem but here the connection problem wasn't
there and the store failed.

bye,
    Roland

-- 
Roland Thomas Lichti
IT Application Manager

Telef├│nica o2 Germany GmbH & Co. OHG
H├╝lshorstweg 30, 33415 Verl
t: +49 5246 80 1121, f: +49 5246 80 2121
m: +49 160 98949570
roland.lichti@telefonica.de
http://www.telefonica.de

Bitte finden Sie hier die
handelsrechtlichen Pflichtangaben: http://www.telefonica.de/pflichtangaben.html



Mime
View raw message