i am replying to an issue you had a while ago...i was going to say that i am using ubuntu 18.04 but i could easily install windows 7 on virtualbox.  i may be able to get access to a windows 10 box as well if you want me to run the tests

On 19/06/18 07:55, Mark Struberg wrote:
Yes, could someone lend me a hand with that?

I found one more in our ci build:


Failed tests:
   CounterCallbacksTest.test:114 [preDestroy] expected:<2> but was:<1>

https://ci.apache.org/builders/tomee-trunk-ubuntu/builds/927/steps/test/logs/stdio

LieGrue,
strub


Am 18.06.2018 um 21:01 schrieb Romain Manni-Bucau <rmannibu...@gmail.com>:

from memory this one was using a short timing (like 2s instead of 10s) to
avoid a too long build, we can increase it a lot (like x2 or x3 scale) to
make it stable now it is in openejb-core (originally it was an external
module and slowing down the build too much being another module). Feel free
to test that scale change but don't change the ratio please.

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>


Le lun. 18 juin 2018 à 19:31, Mark Struberg <strub...@yahoo.de.invalid> a
écrit :

dumdidum, the following still fails on OSX from time to time

ManagedScheduledExecutorServiceTest.triggerRunnableSchedule:124


LieGrue,
strub


Am 18.06.2018 um 12:23 schrieb Mark Struberg <strub...@yahoo.de.INVALID
:

FOUND IT.

hack, that was nasty ;)

In ArchivingTest#watch() we start a new thread to observe the changes on
a WatchKey.
Too bad we do not stop it after the test.

So when we test the parameterised gzip as 2nd run (zip is first run), we
now have 2 thread open.
And both write to the same lastEvent() variable...

I now kill the old thread if running.
I'm a bit exhausted now, so would prefer if someone could check my
changes.
txs and LieGrue,
strub

PS: will also pull it over to fb_tomee8 now, but master has the changes.

Am 18.06.2018 um 12:09 schrieb Jonathan Gallimore <
jonathan.gallim...@gmail.com>:
It passed on my Ubuntu box last night too. I have both Windows and OSX
boxes. Currently travelling, but I'll kick off a build on both in the
next
hour.

Jon

On Mon, 18 Jun 2018, 10:03 Mark Struberg, <strub...@yahoo.de.invalid>
wrote:
I now tried it on my Fedora box and it also works.So the problem only
seems to persist on OSX.I've not yet tested on Windows. Anyone has a
Win
box around?
Right now waiting for my MSDN license...
LieGrue,strub

  On Sunday, 17 June 2018, 22:14:04 CEST, Romain Manni-Bucau <
rmannibu...@gmail.com> wrote:

If true a sleep would workaround it. That said i dont reproduce it on
ubuntu, even on very fast machines so not sure. Maybe local setup
related?
Le dim. 17 juin 2018 21:49, Mark Struberg <strub...@yahoo.de.invalid>
a
écrit :

Just looked what we do in fb_tomee8. And found the following:

@Ignore //X TODO see TOMEE-2139 currently broken due to
#f24c42e2212c575
We cannot release with this test.

LieGrue,
strub


Am 17.06.2018 um 14:03 schrieb Romain Manni-Bucau <
rmannibu...@gmail.com
:

Can need a clean to pass IIRC. Code is unrelated to tomcat actually

Le dim. 17 juin 2018 12:16, Mark Struberg <strub...@yahoo.de.invalid
a
écrit :

That rotating test seems to stick.

Might have to do with a minor tomcat behaviour change.
Something which is at least not behaving stochastic and we can work
on
it.
Will try to tackle it tonight.

LieGrue,
strub

Am 17.06.2018 um 11:50 schrieb Mark Struberg
<strub...@yahoo.de.INVALID
:

That's the goal :D

I will be offline this afternoon, just like to providing feedback
and
pick up in the evening again.
Those are all stochastic failures. Once you resume from there they
will
likely work fine again :(
Of course that's frustrating to a potential new committer, so we
should
rather solve those failures.
Next one: :)

[ERROR] Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time
elapsed:
24.382 s <<< FAILURE! - in
org.apache.tomee.jul.handler.rotating.ArchivingTest
[ERROR]
logAndRotateAndPurge[gzip](org.apache.tomee.jul.handler.rotating.ArchivingTest)
Time elapsed: 5.425 s  <<< FAILURE!
java.lang.AssertionError
   at org.junit.Assert.fail(Assert.java:86)
   at org.junit.Assert.assertTrue(Assert.java:41)
   at org.junit.Assert.assertTrue(Assert.java:52)
   at
org.apache.tomee.jul.handler.rotating.ArchivingTest.logAndRotateAndPurge(ArchivingTest.java:207)

LieGrue,
strub


Am 17.06.2018 um 11:46 schrieb Jonathan Gallimore <
jonathan.gallim...@gmail.com>:
I'll take a look - I think my last build was green. If we sort
these
out,
are we good to release? I'm happy to do the actual release.

Jon

On Sun, 17 Jun 2018, 10:37 Mark Struberg,
<strub...@yahoo.de.invalid
wrote:
And another one which seems regularly failing since 2 years:

[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time
elapsed:
38.736 s <<< FAILURE! - in
org.apache.openejb.itest.legacy.LegacyServerTest
[ERROR] test(org.apache.openejb.itest.legacy.LegacyServerTest)
Time
elapsed: 38.661 s  <<< FAILURE!
java.lang.AssertionError: Bad number of invocations for the bean
"green".
expected:<2> but was:<1>
   at org.junit.Assert.fail(Assert.java:88)
   at org.junit.Assert.failNotEquals(Assert.java:834)
   at org.junit.Assert.assertEquals(Assert.java:645)
   at

org.apache.openejb.itest.legacy.LegacyServerTest.assertBalance(LegacyServerTest.java:219)

It's really hard to do a realease that way.
Is the logic of the test itself broken or is it really a problem
in
our
impl? Afaict it's the former. So probably remove the test?

LieGrue,
strub


Am 17.06.2018 um 11:04 schrieb Mark Struberg
<strub...@yahoo.de.INVALID
:

OpenJPA updated to 2.4.3.

But still getting random test errors.

Failed tests:
ManagedScheduledExecutorServiceTest.triggerRunnableSchedule:124
null


triggerRunnableSchedule(org.apache.openejb.threads.ManagedScheduledExecutorServiceTest)
Time elapsed: 0.836 sec  <<< FAILURE!
java.lang.AssertionError
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertTrue(Assert.java:52)
at
org.apache.openejb.threads.ManagedScheduledExecutorServiceTest.triggerRunnableSchedule(ManagedScheduledExecutorServiceTest.java:124)

LieGrue,
strub



Am 07.06.2018 um 00:08 schrieb Mark Struberg
<strub...@yahoo.de.INVALID
:
Just started a vote for openjpa-2.4.3. And 3.0 will follow
soon.
LieGrue,
strub

Am 05.06.2018 um 17:45 schrieb Jonathan Gallimore <
jonathan.gallim...@gmail.com>:
I think we're still looking for an OpenJPA release (unless I
missed
it).
Jon

On Tue, 5 Jun 2018, 14:03 Alex The Rocker, <
alex.m3...@gmail.com>
wrote:
Hello,

I TomEE 7.0.5 finally ready to be released?
(I don't see new activity for 1 month on this intention to
release,
what's blocking?)

Best regards,
Alexandre


2018-05-05 10:53 GMT+02:00 Mark Struberg
<strub...@yahoo.de.invalid
:
btw, link to the buildbot is here

https://ci.apache.org/builders/tomee-trunk-ubuntu/builds/920
LieGrue,
strub


Am 05.05.2018 um 10:49 schrieb Mark Struberg
<strub...@yahoo.de.INVALID
:
master build is broken since a while!

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.20:test
(test-tomee-remote) on project
arquillian-tomee-webprofile-tests:
There are
test failures.
[ERROR]


The rest seems to work fine.
So I gonna push forward with the Johnzon-1.0.1 release

Can anybody have a look at it?

txs and LieGrue,
strub



Am 04.05.2018 um 22:05 schrieb Mark Struberg
<strub...@yahoo.de.INVALID
:
I've now also deployed fresh snapshots and will update in
master
LieGrue,
strub


Am 04.05.2018 um 21:53 schrieb Mark Struberg
<strub...@yahoo.de.INVALID>:
Yes, working on it.

But I only see 2 bugs reported for this release.


https://issues.apache.org/jira/projects/JOHNZON/versions/12340497

JOHNZON-160 org.apache.johnzon.mapper.MapperException:
ObjectConverters are only supported for Classes not Types
Unassigned
Resolved
JOHNZON-101 JsonObject#getJson* must not throw
NullPointerException
Reinhard Sandtner      Closed

I now applied the patch - thanks again to Jon for doing
all
the
work!
I've also went through the changes (hack, that was a
lot!)
and
tried
to extract the ticket numbers:
https://issues.apache.org/jira/projects/JOHNZON/versions/12340497#release-report-tab-body
So I'm ready to roll the Johnzon-1.0.1 release ^^

Will keep you updated.

LieGrue,
strub

Am 02.05.2018 um 22:45 schrieb Alex The Rocker <
alex.m3...@gmail.com
:
Hello,

Now that OWB-1.7.5 vote passed, how about Johnzon 1.0.1
for
upcoming
TomEE 7.0.5?
Shouldn't there be a vote to officialize Johnzon 1.0.1?

Best regards,
Alexandre


2018-04-29 13:04 GMT+02:00 Mark Struberg
<strub...@yahoo.de.invalid
:
The OWB-1.7.5 vote is on the list now.

LieGrue,
strub

Am 27.04.2018 um 15:16 schrieb Romain Manni-Bucau <
rmannibu...@gmail.com>:
We are working with Mark on a release train soon,
johnzon
would be
part of
it probably.
An OWB release is needed too AFAIK and is on its way.


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |
Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <
https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> |
Book
<
https://www.packtpub.com/application-development/java-ee-8-high-performance
2018-04-27 14:43 GMT+02:00 Alex The Rocker <
alex.m3...@gmail.com>:
Hello TomEE developers,

I was away for a while, and I'm a bit lost on the
TomEE
7.0.5
upcoming
release plans:
- Jon did a great job with PR for upcoming Johnzon
1.0.1,
but
as
far
as I see, Johnzon 1.0.1 is still not released
- What else would prevent TomEE 7.0.5 from being
released?
As usual I volunteer for running heavy tests on any
preview...
Best regards,
Alexandre


2018-04-16 8:25 GMT+02:00 Romain Manni-Bucau <
rmannibu...@gmail.com>:
It is the fix, originally alternative=true was a
very
secured
impl cause
even with a poorly setup test it was passing but it
was
wrong.
Maybe it
is
worth a ticket to have it in the changelog but no
doubt
we
are
good now.
Le 16 avr. 2018 07:41, "Mark Struberg"
<strub...@yahoo.de.invalid>
a
écrit :
Hi jon!

Most probably has to do with fixing OWB-1209.

A custom Bean which is an @Alternative also must be
enabled
via
beans.xml
as per the spec :(

I know this is not convenient, but thats what the
spec
says.
 From CDI-2.0 onwards one can add the Prioritized
interface
and
add a
priority n a programmatic way.

LieGrue,
Strub

Am 15.04.2018 um 23:36 schrieb Jonathan Gallimore
<
jonathan.gallim...@gmail.com>:
On the openejb-mockito test failure - forget my
previous
emails -
setting
the MockBean to not be an AlternativeBean seems to
do
the
trick.
Pushed.
Lets see what we get from the CI now.

Cheers

Jon

On Sun, Apr 15, 2018 at 9:43 PM, Jonathan
Gallimore
<
jonathan.gallim...@gmail.com> wrote:

OK, I'm not sure which commit causes that test
failure,
but
this
commit
is
ok:
https://github.com/apache/openwebbeans/commit/
4b7259a1f7c8c0d65736f753df9e6a43a262ed96. Will
try
and
pin it
down.
In other news - Johnzon patch submitted, and
discussion
opened on the
Johnzon dev@ mailing list. Will keep this thread
posted
on
progress.
Jon



On Sun, Apr 15, 2018 at 9:03 PM, Jonathan
Gallimore <
jonathan.gallim...@gmail.com> wrote:

Thanks all!

I have looked at the test failures on the CI.
The
bval-embedded
tests
should be ok now - the other failures were in
the
openejb-mockito
module,
and I think they relate to this change in OWB:
https://github.com/apache
/openwebbeans/commit/89c18915afc2173ec1c5478ca6dc09ecce322d2a
To be honest, I don't know where to start
looking
at
this
one, can
anyone
help? I'd appreciate any learning I can do in
the
process. In
essence,
we're seeing this:

Caused by:
javax.enterprise.inject.UnsatisfiedResolutionException:
Api
type [org.apache.openejb.mockito.Hello] is not
found
with the
qualifiers
Qualifiers: [@javax.enterprise.inject.Default()]
for injection into Field Injection Point, field
name :
helloCdi,
Bean
Owner : [Facade, WebBeansType:ENTERPRISE,
Name:null,
API
Types:[org.apache.openejb.mockito.Facade,java.lang.Object],
Qualifiers:[javax.enterprise.inject.Default,javax.
enterprise.inject.Any]]
at
org.apache.webbeans.util.InjectionExceptionUtil.throwUnsatis
fiedResolutionException(InjectionExceptionUtil.java:65)
at
org.apache.webbeans.container.InjectionResolver.checkInjecti
onPoint(InjectionResolver.java:234)
at
org.apache.webbeans.container.BeanManagerImpl.validate(BeanM
anagerImpl.java:1209)
at
org.apache.webbeans.util.WebBeansUtil.validate(
WebBeansUtil.java:1709)
at
org.apache.webbeans.config.BeansDeployer.validate(BeansDeplo
yer.java:924)
at
org.apache.webbeans.config.BeansDeployer.validateInjectionPo
ints(BeansDeployer.java:835)
at
org.apache.webbeans.config.BeansDeployer.deploy(BeansDeploye
r.java:318)
... 24 more

As far as I can see the extension adds the
necessary
stuff
on
javax.enterprise.inject.spi.AfterBeanDiscovery
here:
https://github.com/apache/tomee/blob/master/utils/
openejb-mockito/src/main/java/org/apache/openejb/mockito/
MockitoExtension.java#L53

I'll a build without that change to a) confirm
that
it is
that
change,
and b) see if that shows any different
behaviour.

Here's the output from the tests:

-----

/Library/Java/JavaVirtualMachines/jdk1.8.0_
141.jdk/Contents/Home/bin/java
-ea -Didea.test.cyclic.buffer.size=1048576
"-javaagent:/Applications/
IntelliJ
IDEA.app/Contents/lib/idea_rt.jar=50678:/Applications/IntelliJ
IDEA.app/Contents/bin" -Dfile.encoding=UTF-8
-classpath
"/Applications/IntelliJ
IDEA.app/Contents/lib/idea_rt.
jar:/Applications/IntelliJ
IDEA.app/Contents/plugins/junit/lib/junit-rt.jar:/
Applications/IntelliJ
IDEA.app/Contents/plugins/junit/lib/junit5-rt.jar:/Library/
Java/JavaVirtualMachines/jdk1.8.0_141.jdk/Contents/Home/jre/
lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.
8.0_141.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/J
avaVirtualMachines/jdk1.8.0_141.jdk/Contents/Home/jre/lib/ex
t/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_
141.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/
JavaVirtualMachines/jdk1.8.0_141.jdk/Contents/Home/jre/lib/
ext/jaccess.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_
141.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/
JavaVirtualMachines/jdk1.8.0_141.jdk/Contents/Home/jre/lib/
ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.
8.0_141.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/
Java/JavaVirtualMachines/jdk1.8.0_141.jdk/Contents/Home/jre/
lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.
8.0_141.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/L
ibrary/Java/JavaVirtualMachines/jdk1.8.0_141.jdk/Contents/
Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/

JavaVirtualMachines/jdk1.8.0_141.jdk/Contents/Home/jre/lib/
ext/zipfs.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_
141.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaV
irtualMachines/jdk1.8.0_141.jdk/Contents/Home/jre/lib/jce.
jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_141.jdk/
Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachi
nes/jdk1.8.0_141.jdk/Contents/Home/jre/lib/jfxswt.jar:/
Library/Java/JavaVirtualMachines/jdk1.8.0_141.jdk/Contents/
Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachin
es/jdk1.8.0_141.jdk/Contents/Home/jre/lib/management-agent.
jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_

141.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaV
irtualMachines/jdk1.8.0_141.jdk/Contents/Home/jre/lib/reso
urces.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_141.
jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualM
achines/jdk1.8.0_141.jdk/Contents/Home/lib/ant-javafx.
jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_141.jdk/
Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachin
es/jdk1.8.0_141.jdk/Contents/Home/lib/javafx-mx.jar:/
Library/Java/JavaVirtualMachines/jdk1.8.0_141.jdk/Contents/
Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachin
es/jdk1.8.0_141.jdk/Contents/Home/lib/packager.jar:/
Library/Java/JavaVirtualMachines/jdk1.8.0_141.jdk/Contents/
Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.
8.0_141.jdk/Contents/Home/lib/tools.jar:/Users/jgallimore/de
v/tomee/utils/openejb-mockito/target/test-classes:/Users/
jgallimore/dev/tomee/utils/openejb-mockito/target/classes
:/Users/jgallimore/.m2/repository/org/apache/tomee/openejb-
core/7.0.5-SNAPSHOT/openejb-core-7.0.5-SNAPSHOT.jar:/
Users/jgallimore/.m2/repository/org/apache/tomee/mbean-
annotation-api/7.0.5-SNAPSHOT/mbean-annotation-api-7.0.5-
SNAPSHOT.jar:/Users/jgallimore/.m2/repository/org/apache/
tomee/openejb-jpa-integration/7.0.5-SNAPSHOT/openejb-jpa-
integration-7.0.5-SNAPSHOT.jar:/Users/jgallimore/.m2/
repository/org/apache/tomee/javaee-api/7.0-1/javaee-api-7.
0-1.jar:/Users/jgallimore/.m2/repository/org/apache/commons/
commons-lang3/3.5/commons-lang3-3.5.jar:/Users/

jgallimore/.m2/repository/org/apache/tomee/openejb-api/7.0.
5-SNAPSHOT/openejb-api-7.0.5-SNAPSHOT.jar:/Users/
jgallimore/.m2/repository/org/apache/tomee/openejb-loader/7.
0.5-SNAPSHOT/openejb-loader-7.0.5-SNAPSHOT.jar:/Users/
jgallimore/.m2/repository/org/apache/tomee/openejb-
javaagent/7.0.5-SNAPSHOT/openejb-javaagent-7.0.5-
SNAPSHOT.jar:/Users/jgallimore/.m2/repository/org/apache/
tomee/openejb-jee/7.0.5-SNAPSHOT/openejb-jee-7.0.5-SNA
PSHOT.jar:/Users/jgallimore/.m2/repository/org/apache/
tomee/openejb-jee-accessors/7.0.5-SNAPSHOT/openejb-jee-
accessors-7.0.5-SNAPSHOT.jar:/Users/jgallimore/.m2/
repository/org/metatype/sxc/sxc-jaxb-core/0.8/sxc-jaxb-
core-0.8.jar:/Users/jgallimore/.m2/repository/org/
metatype/sxc/sxc-runtime/0.8/sxc-runtime-0.8.jar:/Users/
jgallimore/.m2/repository/commons-cli/commons-cli/1.2/
commons-cli-1.2.jar:/Users/jgallimore/.m2/repository/
commons-collections/commons-collections/3.2.2/commons-collec
tions-3.2.2.jar:/Users/jgallimore/.m2/repository/org/apache/
activemq/activemq-ra/5.14.5/activemq-ra-5.14.5.jar:/Users/
jgallimore/.m2/repository/org/apache/activemq/activemq-
kahadb-store/5.14.5/activemq-kahadb-store-5.14.5.jar:/
Users/jgallimore/.m2/repository/org/apache/
activemq/protobuf/activemq-
protobuf/1.1/activemq-protobuf-1.1.jar:/Users/

jgallimore/.m2/repository/org/apache/activemq/activemq-
broker/5.14.5/activemq-broker-5.14.5.jar:/Users/jgallimore/.
m2/repository/org/apache/activemq/activemq-client/5.14.5/
activemq-client-5.14.5.jar:/Users/jgallimore/.m2/repository/
org/fusesource/hawtbuf/hawtbuf/1.11/hawtbuf-1.11.jar:
/Users/jgallimore/.m2/repository/org/apache/activemq
/activemq-openwire-legacy/5.14.5/activemq-openwire-legacy-
5.14.5.jar:/Users/jgallimore/.m2/repository/org/apache/activ
emq/activemq-jdbc-store/5.14.5/activemq-jdbc-store-5.14.5.
jar:/Users/jgallimore/.m2/repository/org/apache/geronimo
/components/geronimo-connector/3.1.4/geronimo-connector-3.1.
4.jar:/Users/jgallimore/.m2/repository/org/apache/
geronimo/specs/geronimo-j2ee-connector_1.6_spec/1.0/
geronimo-j2ee-connector_1.6_spec-1.0.jar:/Users/

jgallimore/.m2/repository/org/apache/geronimo/components/
geronimo-transaction/3.1.4/geronimo-transaction-3.1.4.
jar:/Users/jgallimore/.m2/repository/org/objectweb/howl/
howl/1.0.1-1/howl-1.0.1-1.jar:/Users/jgallimore/.m2/
repository/org/apache/geronimo/javamail/geronimo-
javamail_1.4_mail/1.9.0-alpha-2/geronimo-javamail_1.4_mail-
1.9.0-alpha-2.jar:/Users/jgallimore/.m2/repository/org/
apache/xbean/xbean-asm6-shaded/4.7/xbean-asm6-shaded-
4.7.jar:/Users/jgallimore/.m2/repository/org/apache/xbean/
xbean-finder-shaded/4.7/xbean-finder-shaded-4.7.jar:/Users/j
gallimore/.m2/repository/org/apache/xbean/xbean-reflect/4.7/
xbean-reflect-4.7.jar:/Users/jgallimore/.m2/repository/org/
apache/xbean/xbean-naming/4.7/xbean-naming-4.7.jar:/Users/
jgallimore/.m2/repository/org/apache/xbean/xbean-
bundleutils/4.7/xbean-bundleutils-4.7.jar:/Users/jgallimore/
.m2/repository/org/hsqldb/hsqldb/2.3.2/hsqldb-2.3.2.jar:
/Users/jgallimore/.m2/repository/org/apache/commons/commons-
dbcp2/2.1/commons-dbcp2-2.1.jar:/Users/jgallimore/.m2/
repository/org/apache/commons/commons-pool2/2.3/commons-
pool2-2.3.jar:/Users/jgallimore/.m2/repository/org/
codehaus/swizzle/swizzle-stream/1.6.2/swizzle-stream-1.
6.2.jar:/Users/jgallimore/.m2/repository/commons-logging/com
mons-logging/1.2/commons-logging-1.2.jar:/Users/jgallimore/.
m2/repository/org/apache/openejb/shade/quartz-openejb-
shade/2.2.1/quartz-openejb-shade-2.2.1.jar:/Users/
jgallimore/.m2/repository/org/slf4j/slf4j-jdk14/1.7.21/
slf4j-jdk14-1.7.21.jar:/Users/jgallimore/.m2/repository/org/
slf4j/slf4j-api/1.7.21/slf4j-api-1.7.21.jar:/Users/
jgallimore/.m2/repository/org/apache/openwebbeans/
openwebbeans-impl/1.7.5-SNAPSHOT/openwebbeans-impl-1.
7.5-20180414.204726-1.jar:/Users/jgallimore/.m2/
repository/org/apache/
openwebbeans/openwebbeans-spi/1.7.5-SNAPSHOT/openwebbeans-
spi-1.7.5-20180414.204653-1.jar:/Users/jgallimore/.m2/repo
sitory/org/apache/openwebbeans/openwebbeans-ejb/1.7.5-
SNAPSHOT/openwebbeans-ejb-1.7.5-20180414.204853-1.jar:/
Users/jgallimore/.m2/repository/org/apache/openwebbeans/
openwebbeans-ee/1.7.5-SNAPSHOT/openwebbeans-ee-1.7.
5-20180414.204912-1.jar:/Users/jgallimore/.m2/repositor
y/org/apache/openwebbeans/openwebbeans-ee-common/1.7.5-
SNAPSHOT/openwebbeans-ee-common-1.7.5-20180414.204754-
1.jar:/Users/jgallimore/.m2/repository/org/apache/
openwebbeans/openwebbeans-web/1.7.5-SNAPSHOT/openwebbeans-
web-1.7.5-20180414.204833-1.jar:/Users/jgallimore/.m2/repo
sitory/org/apache/openwebbeans/openwebbeans-el22/1.7.5-
SNAPSHOT/openwebbeans-el22-1.7.5-20180414.204813-1.jar:/
Users/jgallimore/.m2/repository/org/apache/openjpa/
openjpa/2.4.3-SNAPSHOT/openjpa-2.4.3-20180415.104655-
7.jar:/Users/jgallimore/.m2/repository/commons-lang/
commons-lang/2.6/commons-lang-2.6.jar:/Users/jgallimore/.m2/
repository/net/sourceforge/serp/serp/1.15.1/serp-1.15.1.
jar:/Users/jgallimore/.m2/repository/org/apache/bval/
bval-core/1.1.2/bval-core-1.1.2.jar:/Users/jgallimore/.m2/
repository/org/apache/bval/bval-jsr/1.1.2/bval-jsr-1.1.2.
jar:/Users/jgallimore/.m2/repository/org/mockito/
mockito-core/2.7.9/mockito-core-2.7.9.jar:/Users/jgallimo
re/.m2/repository/net/bytebuddy/byte-buddy/1.6.5/byte-buddy-
1.6.5.jar:/Users/jgallimore/.m2/repository/net/bytebuddy/
byte-buddy-agent/1.6.5/byte-buddy-agent-1.6.5.jar:/Users/
jgallimore/.m2/repository/org/objenesis/objenesis/2.5/
objenesis-2.5.jar:/Users/jgallimore/.m2/repository/
junit/junit/4.12/junit-4.12.jar:/Users/jgallimore/.m2/
repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar"
com.intellij.rt.execution.junit.JUnitStarter
-ideVersion5
-junit4
org.apache.openejb.mockito.MockitoAndAppComposerClassLevelTest
objc[1342]: Class JavaLaunchHelper is
implemented
in
both
/Library/Java/JavaVirtualMachines/jdk1.8.0_
141.jdk/Contents/Home/bin/java
(0x1070124c0) and /Library/Java/JavaVirtualMachi

nes/jdk1.8.0_141.jdk/Contents/Home/jre/lib/libinstrument.dylib
(0x10709e4e0). One of the two will be used.
Which
one
is
undefined.
INFO - Created new singletonService
org.apache.openejb.cdi.ThreadS
ingletonServiceImpl@12843fce
INFO - Succeeded in installing singleton service
INFO - Cannot find the configuration file
[conf/openejb.xml].  Will
attempt to create one for the beans deployed.
INFO - Configuring Service(id=Default Security
Service,
type=SecurityService, provider-id=Default
Security
Service)
INFO - Configuring Service(id=Default
Transaction
Manager,
type=TransactionManager, provider-id=Default
Transaction
Manager)
INFO - Creating TransactionManager(id=Default
Transaction
Manager)
INFO - Creating SecurityService(id=Default
Security
Service)
INFO - Configuring enterprise application:
/Users/jgallimore/dev/tomee/ut
ils/openejb-mockito/MockitoAndAppComposerClassLevelTest
INFO - Auto-deploying ejb Facade:
EjbDeployment(deployment-id=
Facade)
INFO - Configuring Service(id=Default Managed
Container,
type=Container,
provider-id=Default Managed Container)
INFO - Auto-creating a container for bean
org.apache.openejb.mockito.Moc
kitoAndAppComposerClassLevelTest:
Container(type=MANAGED,
id=Default
Managed Container)
INFO - Creating Container(id=Default Managed
Container)
INFO - Using directory /var/folders/17/ynk_
jcls1z19jhl0b0h4nmfm0000gn/T
for stateful session passivation
INFO - Configuring Service(id=Default Singleton
Container,
type=Container, provider-id=Default Singleton
Container)
INFO - Auto-creating a container for bean
Facade:
Container(type=SINGLETON, id=Default Singleton
Container)
INFO - Creating Container(id=Default Singleton
Container)
WARNING - Unresolved ejb reference
"java:comp/env/org.apache.
openejb.mockito.Facade/hello"
in bean "Facade".  Will attempt resolution again
at
runtime.
WARNING - Unresolved ejb reference
"java:comp/env/org.apache.
openejb.mockito.Facade/hello"
in bean "classes.Comp".  Will attempt resolution
again at
runtime.
INFO - Enterprise application
"/Users/jgallimore/dev/tomee/u
tils/openejb-mockito/MockitoAndAppComposerClassLevelTest"
loaded.
INFO - Not creating another application
classloader
for
MockitoAndAppComposerClassLevelTest
INFO - Assembling app:
/Users/jgallimore/dev/tomee/ut
ils/openejb-mockito/MockitoAndAppComposerClassLevelTest
INFO - Jndi(name=FacadeLocalBean) -->
Ejb(deployment-id=Facade)
INFO -
Jndi(name=global/MockitoAndAppComposerClassLevelTest/
classes/Facade!org.apache.openejb.mockito.Facade)
-->
Ejb(deployment-id=Facade)
INFO -
Jndi(name=global/MockitoAndAppComposerClassLeve
lTest/classes/Facade)
--> Ejb(deployment-id=Facade)
INFO - Existing thread singleton service in
SystemInstance():
org.apache.openejb.cdi.ThreadSingletonServiceImpl@12843fce
INFO - OpenWebBeans Container is starting...
INFO - Adding OpenWebBeansPlugin : [CdiPlugin]
SEVERE - CDI Beans module deployment failed

org.apache.webbeans.exception.WebBeansDeploymentException:
javax.enterprise.inject.UnsatisfiedResolutionException:
Api
type
[org.apache.openejb.mockito.Hello] is not found
with
the
qualifiers
Qualifiers: [@javax.enterprise.inject.Default()]
for injection into Field Injection Point, field
name :
helloCdi,
Bean
Owner : [Facade, WebBeansType:ENTERPRISE,
Name:null,
API
Types:[org.apache.openejb.mockito.Facade,java.lang.Object],
Qualifiers:[javax.enterprise.inject.Default,javax.
enterprise.inject.Any]]
at
org.apache.webbeans.config.BeansDeployer.deploy(BeansDeploye
r.java:338)
at
org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(Ope
nEJBLifecycle.java:196)
at
org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize
(ThreadSingletonServiceImpl.java:189)
at
org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:41)
at
org.apache.openejb.assembler.classic.Assembler.createApplica
tion(Assembler.java:963)
at
org.apache.openejb.assembler.classic.Assembler.createApplica
tion(Assembler.java:757)
at
org.apache.openejb.assembler.classic.Assembler.createApplica
tion(Assembler.java:753)
at
org.apache.openejb.testing.ApplicationComposers.deployApp(Ap
plicationComposers.java:724)
at
org.apache.openejb.testing.ApplicationComposers.before(Appli
cationComposers.java:386)
at
org.apache.openejb.testing.ApplicationComposers.evaluate(App
licationComposers.java:1068)
at
org.apache.openejb.junit.DeployApplication.evaluate(DeployAp
plication.java:40)
at
org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit
4ClassRunner.java:78)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit
4ClassRunner.java:57)
at
org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(
ParentRunner.java:288)
at
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)



Reply via email to