thank you!
that was the quote
2018-03-21 8:59 GMT+05:00 Tim Bain :
> It looks like you have a spurious quote at the end of the
> element; could that be causing the broker to fail to
> load?
>
> When I add that mangled element into my own activemq.xml file, I get a
> SAXParseException on the console, but you haven't mentioned seeing that so
> maybe that's not it... Or maybe that's because I'm running it under Windows
> instead of your Linux environment.
>
> Tim
>
> On Mon, Mar 19, 2018 at 2:36 AM, Илья Шипицин
> wrote:
>
> > well, I added log interceptor, activemq refuses to start (no logs at
> all).
> > how to debug it ? can someone have a look at my config ?
> >
> > [root@xxx activemq]# cat /opt/activemq/conf/activemq.xml
> > > xmlns="http://www.springframework.org/schema/beans";
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > xsi:schemaLocation="http://www.springframework.org/schema/beans
> > http://www.springframework.org/schema/beans/spring-beans.xsd
> > http://activemq.apache.org/schema/core
> > http://activemq.apache.org/schema/core/activemq-core.xsd";>
> >
> > > class="org.springframework.beans.factory.config.
> > PropertyPlaceholderConfigurer">
> >
> > file:${activemq.conf}/credentials.properties
> >
> >
> >
> >
> > >lazy-init="false" scope="singleton"
> >init-method="start" destroy-method="stop">
> >
> >
> > http://activemq.apache.org/schema/core";
> > brokerName="localhost" dataDirectory="${activemq.data}">
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > > createTablesOnStartup="true" >
> >
> > > lockCreateStatement= "SELECT * FROM ACTIVEMQ_LOCK WITH (UPDLOCK, ROWLOCK)
> > WHERE ID=1"/>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > http://www.springframework.org/schema/beans";
> > class="org.apache.activemq.hooks.SpringContextHook" />
> >
> >
> >
> >
> >> ttlCeiling="6" futureOnly="true"/>
> >
> >
> >
> >
> > > destroy-method="close">
> > > value="com.microsoft.sqlserver.jdbc.SQLServerDriver"/>
> > > value="jdbc:sqlserver://xxx:1433;DatabaseName=ActiveMQDatastore"/>
> >
> >
> >
> >
> >
> >
> > [root@xxx activemq]#
> >
> >
> > [root@xxx activemq]# bin/activemq start
> > INFO: Loading '/opt/activemq//bin/env'
> > INFO: Using java '/usr/bin/java'
> > INFO: Starting - inspect logfiles specified in logging.properties and
> > log4j.properties to get details
> > INFO: pidfile created : '/opt/activemq/data/activemq.pid' (pid '2274')
> > [root@xxx activemq]# bin/activemq status
> > INFO: Loading '/opt/activemq//bin/env'
> > INFO: Using java '/usr/bin/java'
> > ActiveMQ not running
> > [root@xxx activemq]#
> >
> >
> >
> > [root@xxx activemq]# ls data/
> > activemq.pid activemq.pid.stop audit.log
> > [root@xxx activemq]#
> >
> >
> >
> > 2018-03-18 19:57 GMT+05:00 Tim Bain :
> >
> > > Can you elaborate on what knowledge of ActiveMQ mechanics would be
> > needed?
> > > If you have specific questions that aren't covered by the wiki page I
> > > provided, we can try to answer them for you.
> > >
> > > Tim
> > >
> > > On Sun, Mar 18, 2018, 12:57 AM Илья Шипицин
> > wrote:
> > >
> > > > I mean, my task most probably can be resolved by log4j, it needs some
> > > > knowledge of activemq mechanics in order to set up log4j
> > > >
> > > > On Sun, Mar 18, 2018, 11:25 AM Tim Bain
> wrote:
> > > >
> > > > > Does http://activemq.apache.org/logging-interceptor.html do what
> > > you're
> > > > > looking for? (I can't tell, since your requirement is pretty vague,
> > > given
> > > > > that the broker isn't a web server and uses long-lived connections
> > that
> > > > > span multiple operations rather than short-lived connections that
> are
> > > > used
> > > > > for only a single operation, but it seems like it might be what you
> > > > want.)
> > > > >
> > > > > Tim
> > > > >
> > > > > On Wed, Mar 14, 2018 at 6:42 AM, Илья Шипицин <
> chipits...@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > 5.x
> > > > > >
> > > > > > (we do not use artemis yet, but having that guide for artemis
> would
> > > be
> > > > > > nice)
> > > > > >
> > > > > > 2018-03-14 17:40 GMT+05:00 Tim Bain :
> > > > > >
> > > > > > > Is this for 5.x, or for Artemis?
> > > > > > >
> > > > > > > On Wed, Mar 14, 2018, 2:04 AM Илья