activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce Snyder (JIRA)" <j...@apache.org>
Subject [jira] Closed: (AMQ-1458) ActiveMQ restart fails when any of the queue has pending persistence messages
Date Fri, 20 Nov 2009 16:01:53 GMT

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

Bruce Snyder closed AMQ-1458.
-----------------------------

       Resolution: Cannot Reproduce
    Fix Version/s:     (was: AGING_TO_DIE)
                   5.3.0

> ActiveMQ restart fails when any of the queue has pending persistence messages
> -----------------------------------------------------------------------------
>
>                 Key: AMQ-1458
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1458
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.2.0
>         Environment: RHEL4U5 jdk 1.5.0.12
>            Reporter: Alpesh Patel
>             Fix For: 5.3.0
>
>
> I have configured Active MQ apache-activemq-5.0-20071008 to use JAAS authentication and
persistence  messages with oracle ds.
> In normal scenario all seems good but broker restart fails when any of the queue has
pending persistence messages.
> I have to flush all the messages from oracle db then only broker starts successfully.
> Here is an error on startup 
> 2007-10-11 16:14:01,686 [main           ] INFO  BrokerService                  - ActiveMQ
Message Broker (localhost, ID:t
> eb-uas-dev-01.teb.dbzco.com-37909-1192133628668-0:0) is shutting down
> 2007-10-11 16:14:01,687 [main           ] INFO  NetworkConnector               - Network
Connector org.apache.activemq.tr
> ansport.discovery.multicast.MulticastDiscoveryAgent@23f1bb Stopped
> 2007-10-11 16:14:04,623 [main           ] INFO  BrokerService                  - ActiveMQ
5.0-SNAPSHOT JMS Message Broker
>  (localhost) is starting
> 2007-10-11 16:14:04,623 [main           ] INFO  BrokerService                  - For
help or more information please see:
>  http://activemq.apache.org/
> 2007-10-11 16:14:04,930 [main           ] INFO  JDBCPersistenceAdapter         - Database
driver recognized: [oracle_jdbc
> _driver]
> 2007-10-11 16:14:05,055 [main           ] INFO  DefaultDatabaseLocker          - Attempting
to acquire the exclusive lock
>  to become the Master broker
> 2007-10-11 16:14:05,081 [main           ] INFO  DefaultDatabaseLocker          - Becoming
the master on dataSource: org.a
> pache.commons.dbcp.BasicDataSource@8b567c
> 2007-10-11 16:14:05,457 [main           ] INFO  BrokerService                  - Using
Persistence Adapter: JDBCPersisten
> ceAdaptor(org.apache.commons.dbcp.BasicDataSource@8b567c)
> 2007-10-11 16:14:05,487 [JMX connector  ] INFO  ManagementContext              - JMX
consoles can connect to service:jmx:
> rmi:///jndi/rmi://localhost:1099/jmxrmi
> 2007-10-11 16:14:05,618 [main           ] ERROR BrokerService                  - Failed
to start ActiveMQ JMS Message Bro
> ker. Reason: java.lang.SecurityException: User is not authenticated.
> java.lang.SecurityException: User is not authenticated.
>         at org.apache.activemq.security.AuthorizationBroker.addDestination(AuthorizationBroker.java:52)
>         at org.apache.activemq.broker.MutableBrokerFilter.addDestination(MutableBrokerFilter.java:151)
>         at org.apache.activemq.broker.region.AbstractRegion.start(AbstractRegion.java:93)
>         at org.apache.activemq.broker.region.RegionBroker.start(RegionBroker.java:182)
>         at org.apache.activemq.broker.jmx.ManagedRegionBroker.start(ManagedRegionBroker.java:103)
>         at org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:112)
>         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.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.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowir
> eCapableBeanFactory.java:1201)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCa
> pableBeanFactory.java:1171)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapabl
> eBeanFactory.java:425)
>         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
>         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegist
>         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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message