hi. i would try to test a ejb stateful from tomee examples
so into netbeans i have:

setted a server tomee
created a web project

inserted the ejb statefull from tomee example

tried the testfrom the example   but not working.


i have added a my class into source test named MyTest.java

used the @Inject for get the ejb 

added a debug brekpoint at line 65. 
the variable counterA at line 65 is all times null.

Also whit a lookup with all named JNDI that tomee print into the consolle
during the deploy when i test it output all time not found into jndi name
global/simplestatefull/Counter

note: i would use the embedded EJBContainer and not arquillan for get the
test plus simple and speed.
tank you in advance


my github project: 
https://github.com/maurojava/simple-stateful

nb: i have also tried to add to  test classpath all jars inside the
tomee/lib but not working)
Mauro



--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/test-of-simple-stateful-example-not-working-into-netbeans-tp4680604.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to