Re: [DISCUSS] Using Travis CI for Artemis PR builds

2018-02-16 Thread Илья Шипицин
Travis seems already performs "mvn install" by itself, we can reduce build log (it's really huge) On Feb 16, 2018 10:46 PM, "Justin Bertram" wrote: > Artemis doesn't yet have AppVeyor integration. > > Perhaps you should open a JIRA or start a separate discussion thread

Re: Producer Flow Control active but server still facing OOM issues

2018-02-16 Thread Tim Bain
512 MB isn't very much memory for an ActiveMQ broker. I'm used to seeing more like 2 GB, 4 GB, sometimes more when people describe how big their heap is. If 512 MB works with Postgres, and you're good with using Postgres, that's fine, but the general consensus is that KahaDB has had more testing

Re: Artemis HA master/slave

2018-02-16 Thread Justin Bertram
> When multiple backups are configured, does replication happen to all the backups from the live server? No. I explained this in a previous response to one of your questions [1]. > Is there a way to prioritize the slaves as to who can become live when the current live server goes down? In the

Artemis HA master/slave

2018-02-16 Thread tcomprak
I have a few questions about Artemis' HA feature - When multiple backups are configured, does replication happen to all the backups from the live server? - Is there a way to prioritize the slaves as to who can become live when the current live server goes down? - Under normal scenarios, how long

Re: [DISCUSS] Using Travis CI for Artemis PR builds

2018-02-16 Thread Justin Bertram
Artemis doesn't yet have AppVeyor integration. Perhaps you should open a JIRA or start a separate discussion thread about your JDBC issues. Justin On Fri, Feb 16, 2018 at 11:36 AM, Илья Шипицин wrote: > It turned out that ms SQL jdbc is not being tested (both

Re: [DISCUSS] Using Travis CI for Artemis PR builds

2018-02-16 Thread Илья Шипицин
It turned out that ms SQL jdbc is not being tested (both documentation is bad, SQL statements are also broken). Do you accept patches for app veyor as well? On Feb 16, 2018 10:29 PM, "Justin Bertram" wrote: > We're discussing travis-ci.org [1]. > > > Justin > > [1]

Re: [DISCUSS] Using Travis CI for Artemis PR builds

2018-02-16 Thread Justin Bertram
We're discussing travis-ci.org [1]. Justin [1] https://travis-ci.org/apache/activemq-artemis On Fri, Feb 16, 2018 at 11:21 AM, Илья Шипицин wrote: > Sorry for interrupting (joined mailing list to resolve some issues), are > you talking about travis-ci.org or

Re: [DISCUSS] Using Travis CI for Artemis PR builds

2018-02-16 Thread Илья Шипицин
Sorry for interrupting (joined mailing list to resolve some issues), are you talking about travis-ci.org or travis-ci.com? On Feb 16, 2018 10:18 PM, "Robbie Gemmell" wrote: > I believe the mirrors in the apache github org have a shared resource > pool at Travis, while

Re: [DISCUSS] Using Travis CI for Artemis PR builds

2018-02-16 Thread Robbie Gemmell
I believe the mirrors in the apache github org have a shared resource pool at Travis, while jobs for your personal forks run in the global resource pool. Its not unusual for the latter to be quicker off the mark, but even then its usually just seconds of difference. Occasionally there can be a

Re: [DISCUSS] Using Travis CI for Artemis PR builds

2018-02-16 Thread Justin Bertram
I may have spoken too soon. The UI on the Travis website apparently takes awhile to update or got out of sync or something. The PR build looks to be taking around 25 minutes consistently which I think is pretty good. Justin On Thu, Feb 15, 2018 at 3:18 PM, Justin Bertram

Re: Producer Flow Control active but server still facing OOM issues

2018-02-16 Thread Thiago Veronezi
Hi Tim, Thanks for your time. I managed to make the Broker very stable after moving away from KahaDB and Limiting the number of active connections at one time. This is what I think happened. * KahaDB competes with the broker for JVM resources. It does not matter how much of memory I reserve with

Re: ms sql jdbc example

2018-02-16 Thread Илья Шипицин
If official documentation is wrong, I would like to get working example from someone who actually uses ms SQL jdbc On Feb 16, 2018 7:17 PM, "Thiago Veronezi" wrote: > The official documentation might be out of date. This would be a nice > opportunity for us to add some

Re: ms sql jdbc example

2018-02-16 Thread Thiago Veronezi
The official documentation might be out of date. This would be a nice opportunity for us to add some contribution. :) Anyway, I thought 'org.apache.commons.dbcp.BasicDataSource" was something installed out of the box. It seems to be missing.

Re: Producer Flow Control active but server still facing OOM issues

2018-02-16 Thread Tim Bain
This is only a partial answer (I'll try to get time this weekend to answer the parts I don't have time for now), but I want to get you something to start with. On Feb 15, 2018 5:03 AM, "Thiago Veronezi" wrote: Hi, ActiveMQ community, I'm actively working on a documentation

Re: ms sql jdbc example

2018-02-16 Thread Илья Шипицин
well, I would definetly prefer to use official documentation. why do I ever need to jump over sites and pick random things ? 2018-02-16 18:59 GMT+05:00 Tim Bain : > Try the configuration in the answer to this question: >

Re: ms sql jdbc example

2018-02-16 Thread Tim Bain
Try the configuration in the answer to this question: https://stackoverflow.com/questions/8604229/setting-up-activemq-with-journaled-mysql-jdbc-persistence?rq=1 On Feb 16, 2018 6:58 AM, "Илья Шипицин" wrote: > 2018-02-16 16:57:21,051 | INFO | Refreshing >

Re: ms sql jdbc example

2018-02-16 Thread Илья Шипицин
2018-02-16 16:57:21,051 | INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@6fd02e5: startup date [Fri Feb 16 16:57:21 MSK 2018]; root of context hierarc hy | org.apache.activemq.xbean.XBeanBrokerFactory$1 | main 2018-02-16 16:57:22,099 | WARN | Exception encountered during

Re: Using Environment Variables in Activemq.xml

2018-02-16 Thread Tim Bain
I think (haven't tried it) you should be able to reference environment variables too, you'd just have to use Spring's syntax for it in SPEL: #{systemProperties['key']} On Feb 16, 2018 6:10 AM, "Thiago Veronezi" wrote: > You can use the -D option to copy your environment

Re: ms sql jdbc example

2018-02-16 Thread Thiago Veronezi
Oh, I meant for you to test the config above, but replacing "postgres-ds" with your "mssql-ds". We will just test the connection without the journaling thing. []s, Thiago. On Fri, Feb 16, 2018 at 11:45 AM, Илья Шипицин wrote: > sorry, I do not have postgresql here. > > I

Re: ms sql jdbc example

2018-02-16 Thread Илья Шипицин
sorry, I do not have postgresql here. I can set up a vm for you with ms sql if you wish 2018-02-16 18:44 GMT+05:00 Thiago Veronezi : > Hi, > > I don't have a mssql server handy for testing it. Can you try something? > > I have postgres configured with this... > > > >

Re: ms sql jdbc example

2018-02-16 Thread Thiago Veronezi
Hi, I don't have a mssql server handy for testing it. Can you try something? I have postgres configured with this... Can you try the same? []s, Thiago. On Fri, Feb 16, 2018 at 11:28 AM, Илья Шипицин wrote: > log: > > 2018-02-16 16:27:55,841 | INFO |

Re: ms sql jdbc example

2018-02-16 Thread Илья Шипицин
log: 2018-02-16 16:27:55,841 | INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@6fd02e5: startup date [Fri Feb 16 16:27:55 MSK 2018]; root of context hierarchy | org.apache.activemq.xbean.XBeanBrokerFactory$1 | main 2018-02-16 16:27:56,249 | ERROR | Failed to load: class path

Re: Using Environment Variables in Activemq.xml

2018-02-16 Thread Thiago Veronezi
You can use the -D option to copy your environment variables to System.properties via "bin/env". For example: ACTIVEMQ_OPTS="$ACTIVEMQ_OPTS_MEMORY -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=$ACTIVEMQ_CONF/login.config

Re: ms sql jdbc example

2018-02-16 Thread Thiago Veronezi
Can you share your configuration file? []s, Thiago. On Fri, Feb 16, 2018 at 8:44 AM, Илья Шипицин wrote: > hello, > > I'm trying to set up apache-activemq-5.15.3 + ms sql using the following > guide: > > http://activemq.apache.org/sqlserver.html (2005 part) > > > I

ms sql jdbc example

2018-02-16 Thread Илья Шипицин
hello, I'm trying to set up apache-activemq-5.15.3 + ms sql using the following guide: http://activemq.apache.org/sqlserver.html (2005 part) I downloaded jdbc driver + changed config as in example, however, I'm getting the following error: 2018-02-16 12:39:45,340 | INFO | Refreshing