Following some unsuccessful unit testing of my own EJBs, I downloaded jboss-EJB-3.0_Embeddable_ALPHA_3 and decided to run the tests provided in the tutorial.
I got the same error as in my own tests: jboss-EJB-3.0_Embeddable_ALPHA_3/docs/embedded-tutorial/test-with-junit ant run gives | Testsuite: org.jboss.tutorial.junit.EmbeddedEjb3TestCase | Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 1.783 sec | | Testcase: unknown took 0 sec | Caused an ERROR | org.jboss.kernel.spi.registry.KernelRegistryEntryNotFoundException: Entry not found with name: InitialContextProperties | java.lang.RuntimeException: org.jboss.kernel.spi.registry.KernelRegistryEntryNotFoundException: Entry not found with name: InitialContextProperties | at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.scanClasspath(EJB3StandaloneBootstrap.java:157) | at org.jboss.tutorial.junit.EmbeddedEjb3TestCase.startupEmbeddedJboss(EmbeddedEjb3TestCase.java:59) | at org.jboss.tutorial.junit.EmbeddedEjb3TestCase$1.setUp(EmbeddedEjb3TestCase.java:44) | at junit.extensions.TestSetup$1.protect(TestSetup.java:18) | at junit.extensions.TestSetup.run(TestSetup.java:23) | Caused by: org.jboss.kernel.spi.registry.KernelRegistryEntryNotFoundException: Entry not found with name: InitialContextProperties | at org.jboss.kernel.plugins.registry.AbstractKernelRegistry.getEntry(AbstractKernelRegistry.java:84) | at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.getInitialContextProperties(EJB3StandaloneBootstrap.java:120) | at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.scanClasspath(EJB3StandaloneBootstrap.java:138) | ... 8 more | Given I have done nothing but unzip the archive, why is this failing? OS: Mac OS X Version 10.4.4 java version "1.5.0_05" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-83) Java HotSpot(TM) Client VM (build 1.5.0_05-48, mixed mode, sharing) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920273#3920273 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3920273 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user