tomcat7 - OpenWebBeans configuration -


i using openwebbeans inside apache tomcat 7. use deltaspike , resteasy.

the following list of dependencies owb.

    <dependency>         <groupid>org.apache.openwebbeans</groupid>         <artifactid>openwebbeans-spi</artifactid>         <version>${owb.version}</version>         <scope>compile</scope>     </dependency>     <dependency>         <groupid>org.apache.openwebbeans</groupid>         <artifactid>openwebbeans-impl</artifactid>         <version>${owb.version}</version>         <scope>compile</scope>     </dependency>     <dependency>         <groupid>org.apache.openwebbeans</groupid>         <artifactid>openwebbeans-web</artifactid>         <version>${owb.version}</version>         <scope>compile</scope>     </dependency>     <dependency>         <groupid>org.apache.openwebbeans</groupid>         <artifactid>openwebbeans-el22</artifactid>         <version>${owb.version}</version>         <scope>compile</scope>     </dependency>     <dependency>         <groupid>org.apache.openwebbeans</groupid>         <artifactid>openwebbeans-tomcat7</artifactid>         <version>${owb.version}</version>         <scope>compile</scope>     </dependency>     <dependency>         <groupid>org.apache.openwebbeans</groupid>         <artifactid>openwebbeans-resource</artifactid>         <version>${owb.version}</version>         <scope>compile</scope>     </dependency>      <dependency>         <groupid>org.apache.geronimo.specs</groupid>         <artifactid>geronimo-atinject_1.0_spec</artifactid>         <version>1.0</version>     </dependency>     <dependency>         <groupid>org.apache.geronimo.specs</groupid>         <artifactid>geronimo-jcdi_1.0_spec</artifactid>         <version>1.0</version>     </dependency>     <dependency>         <groupid>org.apache.geronimo.specs</groupid>         <artifactid>geronimo-interceptor_1.1_spec</artifactid>         <version>1.0</version>     </dependency> 

owb version latest version.

when declared listener in web.xml.

when run following exception.

apr 01, 2015 8:45:56 org.apache.catalina.core.standardcontext listenerstart severe: exception sending context initialized event listener instance of class org.apache.deltaspike.servlet.impl.event.eventbridgecontextlistener java.lang.illegalstateexception: no org.apache.deltaspike.core.api.provider.beanmanagerprovider in place! please ensure configured cdi implementation of choice properly. if setup correct, please clear caches , compiled artifacts.     @ org.apache.deltaspike.core.api.provider.beanmanagerprovider.getinstance(beanmanagerprovider.java:164)     @ org.apache.deltaspike.servlet.impl.event.eventbroadcaster.getbeanmanager(eventbroadcaster.java:58)     @ org.apache.deltaspike.servlet.impl.event.eventbroadcaster.fireevent(eventbroadcaster.java:47)     @ org.apache.deltaspike.servlet.impl.event.eventbridgecontextlistener.contextinitialized(eventbridgecontextlistener.java:38)     @ org.apache.catalina.core.standardcontext.listenerstart(standardcontext.java:5016)     @ org.apache.catalina.core.standardcontext.startinternal(standardcontext.java:5524)     @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150)     @ org.apache.catalina.core.containerbase.addchildinternal(containerbase.java:901)     @ org.apache.catalina.core.containerbase.addchild(containerbase.java:877)     @ org.apache.catalina.core.standardhost.addchild(standardhost.java:649)     @ org.apache.catalina.startup.hostconfig.manageapp(hostconfig.java:1760)     @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)     @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62)     @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)     @ java.lang.reflect.method.invoke(method.java:483)     @ org.apache.tomcat.util.modeler.basemodelmbean.invoke(basemodelmbean.java:301)     @ com.sun.jmx.interceptor.defaultmbeanserverinterceptor.invoke(defaultmbeanserverinterceptor.java:819)     @ com.sun.jmx.mbeanserver.jmxmbeanserver.invoke(jmxmbeanserver.java:801)     @ org.apache.catalina.mbeans.mbeanfactory.createstandardcontext(mbeanfactory.java:618)     @ org.apache.catalina.mbeans.mbeanfactory.createstandardcontext(mbeanfactory.java:565)     @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)     @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62)     @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)     @ java.lang.reflect.method.invoke(method.java:483)     @ org.apache.tomcat.util.modeler.basemodelmbean.invoke(basemodelmbean.java:301)     @ com.sun.jmx.interceptor.defaultmbeanserverinterceptor.invoke(defaultmbeanserverinterceptor.java:819)     @ com.sun.jmx.mbeanserver.jmxmbeanserver.invoke(jmxmbeanserver.java:801)     @ javax.management.remote.rmi.rmiconnectionimpl.dooperation(rmiconnectionimpl.java:1466)     @ javax.management.remote.rmi.rmiconnectionimpl.access$300(rmiconnectionimpl.java:76)     @ javax.management.remote.rmi.rmiconnectionimpl$privilegedoperation.run(rmiconnectionimpl.java:1307)     @ javax.management.remote.rmi.rmiconnectionimpl.doprivilegedoperation(rmiconnectionimpl.java:1399)     @ javax.management.remote.rmi.rmiconnectionimpl.invoke(rmiconnectionimpl.java:828)     @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)     @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62)     @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)     @ java.lang.reflect.method.invoke(method.java:483)     @ sun.rmi.server.unicastserverref.dispatch(unicastserverref.java:323)     @ sun.rmi.transport.transport$1.run(transport.java:178)     @ sun.rmi.transport.transport$1.run(transport.java:175)     @ java.security.accesscontroller.doprivileged(native method)     @ sun.rmi.transport.transport.servicecall(transport.java:174)     @ sun.rmi.transport.tcp.tcptransport.handlemessages(tcptransport.java:557)     @ sun.rmi.transport.tcp.tcptransport$connectionhandler.run0(tcptransport.java:812)     @ sun.rmi.transport.tcp.tcptransport$connectionhandler.run(tcptransport.java:671)     @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142)     @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617)     @ java.lang.thread.run(thread.java:745) 

the resources owb pretty rare on net. can me configure it?


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -