tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Spencer (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENEJB-714) Required dependency to commons-logging is not declared.
Date Wed, 07 Nov 2007 00:55:50 GMT

    [ https://issues.apache.org/jira/browse/OPENEJB-714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540641
] 

Paul Spencer commented on OPENEJB-714:
--------------------------------------

David,
The problem appears in Maven 2.0.4. and ejbd 3.0-beta-1.

It does NOT appear in 2.0.7 and ejbd 3.0-beta-1.

It does NOT appear in Maven 2.0.4 and ejbd 3.0.0-SNAPSHOT

Paul Spencer

> Required dependency to commons-logging is not declared.
> -------------------------------------------------------
>
>                 Key: OPENEJB-714
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-714
>             Project: OpenEJB
>          Issue Type: Bug
>    Affects Versions: 3.0-beta-1
>            Reporter: Paul Spencer
>            Assignee: David Blevins
>
> I have creates a simple ejb test based on the "Embedded and Remotable" example [1]. 
Per the documentation the only dependency for OpenEJB is openejb-ejbd.  I get the following
stack trace unless I add commons-logging.
> FATAL - OpenEJB has encountered a fatal error and cannot be started: The Assembler encountered
an unexpected error while attempting to build the container system
> java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
>         at org.apache.geronimo.transaction.manager.TransactionManagerImpl.<clinit>(TransactionManagerImpl.java:42)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:242)
>         at org.apache.xbean.recipe.ObjectRecipe.getType(ObjectRecipe.java:259)
>         at org.apache.xbean.recipe.ObjectRecipe.create(ObjectRecipe.java:166)
>         at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:28)
>         at org.apache.openejb.assembler.classic.Assembler.createTransactionManager(Assembler.java:950)
>         at org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:279)
>         at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:207)
>         at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:149)
>         at org.apache.openejb.OpenEJB.init(OpenEJB.java:293)
>         at org.apache.openejb.OpenEJB.init(OpenEJB.java:272)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
>         at org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:59)
>         at org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:45)
>         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
>         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
>         at javax.naming.InitialContext.init(InitialContext.java:223)
>         at javax.naming.InitialContext.<init>(InitialContext.java:197)
>         at com.foo.helloworld.company.beans.CompanyAdminBeanEjbTest.setUp(CompanyAdminBeanEjbTest.java:56)
>         at junit.framework.TestCase.runBare(TestCase.java:125)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:118)
>         at junit.framework.TestSuite.runTest(TestSuite.java:208)
>         at junit.framework.TestSuite.run(TestSuite.java:203)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
>         at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
>         at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
>         at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
> Tests run: 6, Failures: 3, Errors: 3, Skipped: 0, Time elapsed: 10.25 sec <<<
FAILURE!
> [1] http://openejb.apache.org/embedded-and-remotable.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message