tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernhard Humm <b.h...@fbi.h-da.de>
Subject Re: OpenEJB with JUnit from NetBeans: NameNotFoundException
Date Thu, 09 Oct 2008 09:32:46 GMT



David Blevins wrote:
> 
> 
> Could you post the log output from the test run?
> 
> -David
> 
> 

init:
deps-jar:
compile:
compile-test:
Testsuite: org.superbiz.calculator.CalculatorTest
Apache OpenEJB 3.0    build: 20080408-04:13
http://openejb.apache.org/
INFO - openejb.home = C:\temp\NetBeans\OpenEJBTest
INFO - openejb.base = C:\temp\NetBeans\OpenEJBTest
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 - Configuring Service(id=Default JDK 1.3 ProxyFactory,
type=ProxyFactory, provider-id=Default JDK 1.3 ProxyFactory)
Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 5,234 sec

------------- Standard Output ---------------
Apache OpenEJB 3.0    build: 20080408-04:13
http://openejb.apache.org/
INFO - openejb.home = C:\temp\NetBeans\OpenEJBTest
INFO - openejb.base = C:\temp\NetBeans\OpenEJBTest
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 - Configuring Service(id=Default JDK 1.3 ProxyFactory,
type=ProxyFactory, provider-id=Default JDK 1.3 ProxyFactory)
------------- ---------------- ---------------
Testcase:
testCalculatorViaRemoteInterface(org.superbiz.calculator.CalculatorTest):
Caused an ERROR
Name "Calculator" not found.
javax.naming.NameNotFoundException: Name "Calculator" not found.
        at
org.apache.openejb.core.ivm.naming.IvmContext.federate(IvmContext.java:172)
        at
org.apache.openejb.core.ivm.naming.IvmContext.lookup(IvmContext.java:129)
        at javax.naming.InitialContext.lookup(InitialContext.java:392)
        at
org.superbiz.calculator.CalculatorTest.testCalculatorViaRemoteInterface(CalculatorTest.java:46)


Testcase:
testCalculatorViaLocalInterface(org.superbiz.calculator.CalculatorTest):
Caused an ERROR
Name "Calculator" not found.
javax.naming.NameNotFoundException: Name "Calculator" not found.
        at
org.apache.openejb.core.ivm.naming.IvmContext.federate(IvmContext.java:172)
        at
org.apache.openejb.core.ivm.naming.IvmContext.lookup(IvmContext.java:129)
        at javax.naming.InitialContext.lookup(InitialContext.java:392)
        at
org.superbiz.calculator.CalculatorTest.testCalculatorViaLocalInterface(CalculatorTest.java:63)


Test org.superbiz.calculator.CalculatorTest FAILED
test-report:
C:\temp\NetBeans\OpenEJBTest\nbproject\build-impl.xml:540: Some tests
failed; see details above.
BUILD FAILED (total time: 11 seconds)


-- 
View this message in context: http://www.nabble.com/OpenEJB-with-JUnit-from-NetBeans%3A-NameNotFoundException-tp19874503p19895424.html
Sent from the OpenEJB User mailing list archive at Nabble.com.


Mime
View raw message