tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Franz Allan Valencia See (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENEJB-922) Almost all TestCases of the Example projects throw a NameNotFoundException
Date Sat, 11 Oct 2008 14:43:44 GMT

    [ https://issues.apache.org/jira/browse/OPENEJB-922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12638752#action_12638752
] 

Franz Allan Valencia See commented on OPENEJB-922:
--------------------------------------------------

I found out the problem.

My 'meta-inf's are all in small caps that's why openejb was not able to detect the ejb-jar.xml's.
Renaming those 'meta-inf's to 'META-INF' made the tests pass.

> Almost all TestCases of the Example projects throw a NameNotFoundException
> --------------------------------------------------------------------------
>
>                 Key: OPENEJB-922
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-922
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 3.0
>         Environment: Maven version: 2.0.8
> Java version: 1.5.0_15
> OS name: "linux" version: "2.6.24-19-generic" arch: "i386" Family: "unix"
>            Reporter: Franz Allan Valencia See
>
> The following test cases fail due to a NameNotFoundExeption:
> * component-interfaces
> * custom-injection
> * ejb-examples
> * helloworld-weblogic
> * injection-of-datasource
> * injection-of-ejbs
> * injection-of-entitymanager
> * injection-of-env-entry
> * jpa-hibernate
> * simple-stateful
> * simple-stateless
> * telephone-stateful
> * testing-security
> * testing-transactions
> However, the interceptors example seem to work, and the difference seems to be this line
> ...
> properties.setProperty("openejb.deployments.classpath.include", ".*interceptors/target/classes.*");
> ...

-- 
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