[Apiman-user] apiman 1.1.x build

Eric Wittmann eric.wittmann at redhat.com
Tue Sep 8 08:32:39 EDT 2015


Yeah this is currently required in most environments.  I haven't yet 
investigated how to make maven automatically grant additional memory to 
the unit tests.

If anyone out there knows offhand how to do that, we'd love a PR. :)

-Eric

On 9/6/2015 12:24 PM, Brandon Gaisford wrote:
>
> Probably unrelated, but I also encountered build issues with the last couple apiman releases and had to give maven additional memory via maven_opts to complete a build:
>
> export MAVEN_OPTS=“-Xmx1024m -XX:MaxPermSize=256M"
>
> Brandon
>
> On Sep 6, 2015, at 5:25 AM, Marc Savy <msavy at redhat.com> wrote:
>
>> And FWIW, here's our CI - https://travis-ci.org/apiman/apiman/builds/78634639
>>
>> ----- Original Message -----
>> From: "Fadi Abdin" <fadiabdeen at gmail.com>
>> To: "Marc Savy" <msavy at redhat.com>
>> Cc: "apiman-user" <apiman-user at lists.jboss.org>
>> Sent: Sunday, 6 September, 2015 3:41:11 PM
>> Subject: Re: [Apiman-user] apiman 1.1.x build
>>
>> i tried it on mac and windows
>>
>>
>> java version "1.7.0_71"
>>
>> its a clean clone :
>>
>> commit 9cce3c7a29cb60fc20ae94dfd1418227426ed8a4
>>
>> Author: Eric Wittmann < eric.wittmann at gmail.com >
>>
>>
>>
>> Date: Thu Sep 3 15:10:52 2015 -0400
>>
>>
>>
>>
>>
>>
>>
>> also tried it with -DskipTests but get stuck or fail
>>
>>
>>
>>
>>
>>
>> On Sun, Sep 6, 2015 at 10:36 AM, Marc Savy < msavy at redhat.com > wrote:
>>
>>
>> Hi,
>>
>> Which version of Java? (java -version)
>>
>> Which OS? (uname -a)
>>
>> Which commit? (git log -n 1)
>>
>> I wonder if the tests run during the build are actually connecting to your production ES setup, which might explain some of your earlier issues. I'll defer to Eric on that, as he's our resident ES expert.
>>
>> Regards,
>> Marc
>>
>> ----- Original Message -----
>> From: "Fadi Abdin" < fadiabdeen at gmail.com >
>> To: "apiman-user" < apiman-user at lists.jboss.org >
>> Sent: Sunday, 6 September, 2015 12:45:57 PM
>> Subject: [Apiman-user] apiman 1.1.x build
>>
>> is anyone able to build ?
>> i do mvn clean install but i get stuck on 'apiman-distro-db-es' with a lot of exceptions
>>
>> starting with :
>> 07:40:15,782 WARN FAILED o.e.j.s.ServletContextHandler at 62b54e9a{/apiman,null,STARTING}: javax.servlet.ServletException: io.apiman.manager.api.core.ex
>> ceptions.StorageException: Failed to index document admin of type user: RemoteTransportException[[Marsha Rosenberg][inet[/172.26.209.73:19300]][index]
>> ]; nested: DocumentAlreadyExistsException[[apiman_manager][2] [user][admin]: document already exists];
>> javax.servlet.ServletException: io.apiman.manager.api.core.exceptions.StorageException: Failed to index document admin of type user: RemoteTransportEx
>> ception[[Marsha Rosenberg][inet[/172.26.209.73:19300]][index]]; nested: DocumentAlreadyExistsException[[apiman_manager][2] [user][admin]: document alr
>> eady exists];
>> at io.apiman.manager.test.server.DatabaseSeedFilter.init(DatabaseSeedFilter.java:57)
>> at org.eclipse.jetty.servlet.FilterHolder.initialize(FilterHolder.java:138)
>>
>> _______________________________________________
>> Apiman-user mailing list
>> Apiman-user at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/apiman-user
>>
>>
>> _______________________________________________
>> Apiman-user mailing list
>> Apiman-user at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/apiman-user
>> _______________________________________________
>> Apiman-user mailing list
>> Apiman-user at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/apiman-user
>
>
> _______________________________________________
> Apiman-user mailing list
> Apiman-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/apiman-user
>


More information about the Apiman-user mailing list