you may want to post the script you are using because those log messages
indicate that the broker is starting when it should be stopping!
Activemq uses commons logging: see:
http://activemq.apache.org/how-can-i-enable-detailed-logging.html

2009/5/21 SureshKumarG <sureshkumarg...@gmail.com>

>
> Hi,
>
> I'm using active mq in my project. i have a service script which will
> start,
> stop and restart my service.
> I have added activeMQ also as part of my service in service script.
>
> while starting this no problems, but while stopping(inturn killing the
> process) actveMQ its pringting the logs on my console. I'm not expecting
> this. Its happening only for this process, no other process is writing logs
> on console.
>
> I'm getting the logs like this.
>
> Stopping Tomcat  Process...
> This may take a few minutes. Please wait ...               [  OK  ]
> Successfully Stopped Tomcat Process.
> Stopping ActiveMQ...ACTIVEMQ_HOME: /opt/apache-activemq-5.1.0
> ACTIVEMQ_BASE: /opt/apache-activemq-5.1.0
> Loading message broker from: xbean:activemq.xml
> INFO  BrokerService                  - Using Persistence Adapter:
> AMQPersistenceAdapter(/opt/apache-activemq-5.1.0/data)
> INFO  BrokerService                  - ActiveMQ 5.1.0 JMS Message Broker
> (localhost) is starting
> INFO  BrokerService                  - For help or more information please
> see: http://activemq.apache.org/
> WARN  AMQPersistenceAdapter          - Waiting to Lock the Store
> /opt/apache-activemq-5.1.0/data
>                                                           [  OK  ]
> Successfully Stopped ActiveMQ.
> Stopping Monitor Tomcat...                                 [  OK  ]
> Stopped Tomcat Process monitor
>
>
>
>
>
>
>
>
> This logs which are coming as part of my service script messages are extra
> and abolutely not required.
>
> ACTIVEMQ_HOME: /opt/apache-activemq-5.1.0
> ACTIVEMQ_BASE: /opt/apache-activemq-5.1.0
> Loading message broker from: xbean:activemq.xml
> INFO  BrokerService                  - Using Persistence Adapter:
> AMQPersistenceAdapter(/opt/apache-activemq-5.1.0/data)
> INFO  BrokerService                  - ActiveMQ 5.1.0 JMS Message Broker
> (localhost) is starting
> INFO  BrokerService                  - For help or more information please
> see: http://activemq.apache.org/
> WARN  AMQPersistenceAdapter          - Waiting to Lock the Store
> /opt/apache-activemq-5.1.0/data
>
>
> Its not possible to redirect this logs from my shell script also.
> Pls help me to resolve this.
>
> Thanks in Advance,
> Suresh.
> --
> View this message in context:
> http://www.nabble.com/ActiveMQ-is-logging-on-the-console-while-killing-the-process-tp23649869p23649869.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 
http://blog.garytully.com

Open Source SOA
http://FUSESource.com

Reply via email to