tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Buloichik" <Alexander_Buloic...@epam.com>
Subject newbie questions
Date Tue, 11 Dec 2007 15:04:26 GMT
Hi, All !

I installed OpenEJB, saw mailing lists and http://openejb.apache.org/, but there are some
questions exists.

1. Is there any detailed description for openejb.xml format ?

2. OpenEJB 3.0 beta 1 works strange with JNDI:

	IAddressLH addr=(IAddressLH)findContext.lookup("AddressEJBLocalHome");  // works good
	findContext.bind("AddressEntity", addr);                                // works good
	Object o=findContext.lookup("AddressEntity");                           // doesn't works
- javax.naming.NameNotFoundException: Name "AddressEntity" 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)


3. I can't build openejb from sources by maven:
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.openejb.jee.oejb3.OpenejbJarTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.328 sec <<< FAILURE!
Running org.apache.openejb.jee.oejb2.OpenejbJarTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.781 sec
Running org.apache.openejb.jee.oejb2.ConversionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec
Running org.apache.openejb.jee.wls.JaxbWlsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.375 sec
Running org.apache.openejb.jee.JeeTest
Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.765 sec <<< FAILURE!
Running org.apache.openejb.jee.jpa.PersistenceXmlTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.016 sec <<< FAILURE!
Running org.apache.openejb.jee.jpa.JaxbTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.406 sec

Results :

Tests in error: 
  testAll(org.apache.openejb.jee.oejb3.OpenejbJarTest)
  testEjbJar(org.apache.openejb.jee.JeeTest)
  testAll(org.apache.openejb.jee.jpa.PersistenceXmlTest)

Tests run: 17, Failures: 0, Errors: 3, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to D:\Work\tests - openEJB 3\container\openejb-jee\target\surefire-reports for
the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26 seconds
[INFO] Finished at: Tue Dec 11 17:00:19 EET 2007
[INFO] Final Memory: 37M/63M
[INFO] ------------------------------------------------------------------------

WBR, Alex.
Mime
View raw message