org.apache.openejb.OpenEJBException

Creating application failed: classpath.ear: org.apache.openejb.OpenEJBException: Could not lookup <jta-data-source> 'java:openejb/Resource/java:/IdentityManagerDS' for unit 'IdentityManager-ejbPU': Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial: Could not lookup <jta-data-source> 'java:openejb/Resource/java:/IdentityManagerDS' for unit 'IdentityManager-ejbPU': Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler. java:658) at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler. java:442) at org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembl er.java:360) at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:272) at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web20

Stack trace

  • org.apache.openejb.OpenEJBException: Creating application failed: classpath.ear: org.apache.openejb.OpenEJBException: Could not lookup <jta-data-source> 'java:openejb/Resource/java:/IdentityManagerDS' for unit 'IdentityManager-ejbPU': Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial: Could not lookup <jta-data-source> 'java:openejb/Resource/java:/IdentityManagerDS' for unit 'IdentityManager-ejbPU': Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler. java:658) at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler. java:442) at org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembl er.java:360) at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:272) at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137) at org.apache.openejb.OpenEJB.init(OpenEJB.java:286) at org.apache.openejb.OpenEJB.init(OpenEJB.java:265) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

davidvanlaatumdavidvanlaatum
Once,
Unknown visitor
Unknown visitorOnce,