did you check you have an ejb-jar.xml?

i think the osgi deployer is not up to date :s

- Romain

2011/7/1 Charles Moulliard <[email protected]>

> Hi,
>
> I have been able to find the bundles required to deploy OpenEJB
> 4.0-SNASPHOT on Apache Karaf 2.2.1. Unfortunately, I get this error at
> the launch
>
> Starting OpenEJB...
> FATAL ERROR WHILE CONFIGURING LOGGING!!!. MISSING embedded.juli.properties
> FILE
> FATAL ERROR WHILE CONFIGURING LOGGING!!!. MISSING embedded.juli.properties
> FILE
> Apache OpenEJB ${pom.version}    build:
> @DATE-REPLACED-BY-MAVEN@-@TIME-REPLACED-BY-MAVEN@
> http://openejb.apache.org/
> Registering OSGified OpenEJB Deployer...
> [Deployer] Bundle org.apache.openejb.core-osgi has been started
> [Deployer] Checking whether it's an EJB module
> ERROR: Bundle org.apache.openejb.core-osgi [198] EventDispatcher:
> Error during dispatch. (java.lang.NullPointerException)
> java.lang.NullPointerException
>        at
> org.apache.openejb.core.osgi.impl.Deployer.deploy(Deployer.java:58)
>        at
> org.apache.openejb.core.osgi.impl.Deployer.bundleChanged(Deployer.java:45)
>        at
> org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)
>        at
> org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)
>        at
> org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:949)
>        at
> org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54)
>        at
> org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:106)
>        at java.lang.Thread.run(Thread.java:680)
>
>
> I think that some parameters are not well configured and that openejb
> try to deploy a bundle as a EAR
>
> Regards,
>
> Charles Moulliard
>
> Apache Committer
>
> Blog : http://cmoulliard.blogspot.com
> Twitter : http://twitter.com/cmoulliard
> Linkedin : http://www.linkedin.com/in/charlesmoulliard
> Skype: cmoulliard
>

Reply via email to