mmm i think to know what was causing this error. I have a beans.xml file in my ejb module (i dont know how to appear there), i removed and now i dont have anymore this problem.
2012/12/12 José Luis Cetina <maxtorz...@gmail.com> > But i have a problem, when i copy and paste the same jar to lib folder i > and i try to run tomee i get this error's (UsuariosFacade its my EJB): > > INFO: Jndi(name=UsuariosFacadeLocalBean) --> > Ejb(deployment-id=UsuariosFacade) > Dec 12, 2012 6:28:00 PM org.apache.openejb.assembler.classic.JndiBuilder > bind > INFO: > Jndi(name=global/kx-globalconfig-ejb-1.0-SNAPSHOT/UsuariosFacade!com.grupokx.globalconfig.ejbs.UsuariosFacade) > --> Ejb(deployment-id=UsuariosFacade) > Dec 12, 2012 6:28:00 PM org.apache.openejb.assembler.classic.JndiBuilder > bind > INFO: Jndi(name=global/kx-globalconfig-ejb-1.0-SNAPSHOT/UsuariosFacade) > --> Ejb(deployment-id=UsuariosFacade) > Dec 12, 2012 6:28:00 PM org.apache.openejb.cdi.CdiBuilder initSingleton > INFO: Existing thread singleton service in SystemInstance() > org.apache.openejb.cdi.ThreadSingletonServiceImpl@1687c76 > Dec 12, 2012 6:28:00 PM org.apache.openejb.cdi.OpenEJBLifecycle > startApplication > INFO: OpenWebBeans Container is starting... > Dec 12, 2012 6:28:00 PM org.apache.webbeans.plugins.PluginLoader startUp > INFO: Adding OpenWebBeansPlugin : [CdiPlugin] > Dec 12, 2012 6:28:00 PM org.apache.webbeans.plugins.PluginLoader startUp > INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin] > Dec 12, 2012 6:28:00 PM org.apache.openejb.cdi.OpenEJBLifecycle > startApplication > SEVERE: CDI Beans module deployment failed > java.lang.IllegalStateException > at java.util.TreeMap$PrivateEntryIterator.remove(TreeMap.java:1134) > at org.apache.openejb.cdi.CdiScanner.process(CdiScanner.java:206) > at org.apache.openejb.cdi.CdiScanner.init(CdiScanner.java:172) > at > org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:200) > at > org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:150) > at org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:44) > at > org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:802) > at > org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:532) > at > org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:431) > at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:339) > at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:144) > at org.apache.openejb.OpenEJB.init(OpenEJB.java:290) > at > org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:233) > at org.apache.tomee.catalina.TomcatLoader.init(TomcatLoader.java:130) > at > org.apache.tomee.catalina.ServerListener.lifecycleEvent(ServerListener.java:121) > at > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) > at > org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) > at > org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402) > at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:110) > at org.apache.catalina.startup.Catalina.load(Catalina.java:633) > at org.apache.catalina.startup.Catalina.load(Catalina.java:658) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:601) > at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450) > > Dec 12, 2012 6:28:00 PM org.apache.openejb.assembler.classic.Assembler > destroyApplication > INFO: Undeploying app: > /home/maxtorzito/Apache_TomEE/apache-tomee-plus-1.5.1-SNAPSHOT/apps/kx-globalconfig-ejb-1.0-SNAPSHOT.jar > Dec 12, 2012 6:28:00 PM org.apache.openejb.assembler.classic.Assembler > buildContainerSystem > SEVERE: Application could not be deployed: > > /home/maxtorzito/Apache_TomEE/apache-tomee-plus-1.5.1-SNAPSHOT/apps/kx-globalconfig-ejb-1.0-SNAPSHOT.jar > org.apache.openejb.OpenEJBException: Creating application failed: > /home/maxtorzito/Apache_TomEE/apache-tomee-plus-1.5.1-SNAPSHOT/apps/kx-globalconfig-ejb-1.0-SNAPSHOT.jar: > couldn't start owb context > at > org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:954) > at > org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:532) > at > org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:431) > at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:339) > at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:144) > at org.apache.openejb.OpenEJB.init(OpenEJB.java:290) > at > org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:233) > at org.apache.tomee.catalina.TomcatLoader.init(TomcatLoader.java:130) > at > org.apache.tomee.catalina.ServerListener.lifecycleEvent(ServerListener.java:121) > at > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) > at > org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) > at > org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402) > at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:110) > at org.apache.catalina.startup.Catalina.load(Catalina.java:633) > at org.apache.catalina.startup.Catalina.load(Catalina.java:658) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:601) > at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450) > Caused by: org.apache.openejb.OpenEJBRuntimeException: couldn't start owb > context > at > org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:152) > at org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:44) > at > org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:802) > ... 20 more > Caused by: org.apache.openejb.OpenEJBRuntimeException: > java.lang.IllegalStateException > at > org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:323) > at > org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:150) > ... 22 more > Caused by: java.lang.IllegalStateException > at java.util.TreeMap$PrivateEntryIterator.remove(TreeMap.java:1134) > at org.apache.openejb.cdi.CdiScanner.process(CdiScanner.java:206) > at org.apache.openejb.cdi.CdiScanner.init(CdiScanner.java:172) > at > org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:200) > ... 23 more > > > > The error only happen when i copy my ejb jar to lib folder but if i dont > copy to lib folder my webapps cant find the classes. > > > > 2012/12/12 José Luis Cetina <maxtorz...@gmail.com> > >> I get the answer for myself. >> >> I copy & paste my ejb module (jar file) to apps folder. >> >> And i can see in log file that are "recognized and deployed" as EJB's. >> >> >> >> >> 2012/12/12 José Luis Cetina <maxtorz...@gmail.com> >> >>> How can i "deploy" my ejb module if this only represents a jar file?? >>> >>> Where i have to drop it?? app+lib? only apps? only lib?? >>> >>> >>> 2012/12/12 Romain Manni-Bucau <rmannibu...@gmail.com> >>> >>>> Your goal >>>> >>>> Basically why did you created an ear if then you split >>>> ejbmodule/webapps? >>>> Le 13 déc. 2012 00:58, "José Luis Cetina" <maxtorz...@gmail.com> a >>>> écrit : >>>> >>>> > Ok, i understand. The i have to do a lookup "manually". >>>> > >>>> > What link? >>>> > >>>> > Thanks >>>> > >>>> > >>>> > 2012/12/12 Romain Manni-Bucau <rmannibu...@gmail.com> >>>> > >>>> > > cdi context is limited to the "packaging" (ear, war or jar) so it >>>> > > can't work if all is not in the same archive >>>> > > >>>> > > btw i didnt get the link between the ear and ejbmodule in tomee/lib >>>> > > >>>> > > Romain Manni-Bucau >>>> > > Twitter: @rmannibucau >>>> > > Blog: http://rmannibucau.wordpress.com/ >>>> > > LinkedIn: http://fr.linkedin.com/in/rmannibucau >>>> > > Github: https://github.com/rmannibucau >>>> > > >>>> > > >>>> > > >>>> > > 2012/12/13 José Luis Cetina <maxtorz...@gmail.com>: >>>> > > > Hi, what i did was the follow: >>>> > > > >>>> > > > 1. Create an ear with an EJB module inside of it. >>>> > > > 2. Deploy my ear in apps directory >>>> > > > 3. Copy and pase my jar file of my ejb module to tomee/lib >>>> > > > 4. Create a single webapp per separate of the ear (outside of the >>>> ear) >>>> > > and >>>> > > > add a depedency of the jar where ejbs are contains >>>> > > > 5. Deploy my webapp >>>> > > > 6. In my webapp (in a managedbean) i do a lookup of my ejbs >>>> > > > 7. I get my reference and now all is working. >>>> > > > >>>> > > > This is working great, but now i tried to create my own >>>> annotation for >>>> > > use >>>> > > > it to "inject" my EJB in my webapp. >>>> > > > >>>> > > > I did this: >>>> > > > >>>> > > > 1. In my ear i create my annotation like this: >>>> > > > @Qualifier >>>> > > > @Retention(RUNTIME) >>>> > > > @Target({METHOD, FIELD, PARAMETER, TYPE}) >>>> > > > public @interface EJBGlobalConfig { >>>> > > > @Nonbinding >>>> > > > String value() default ""; >>>> > > > } >>>> > > > >>>> > > > 2. I create a producer class >>>> > > > public class EJBGlobalConfigProducer implements Serializable { >>>> > > > @Produces >>>> > > > @EJBGlobalConfig >>>> > > > public MyExampleEJB getEJBGlobalConfig(InjectionPoint ip) >>>> throws >>>> > > > Exception { >>>> > > > return (MyExampleEJB) >>>> > > > >>>> > > >>>> > >>>> InitialContext.doLookup(""java:global/MyEarName/MyEJBModuleName/MyExampleEJB/!mypackage.MyExampleEJB"); >>>> > > > } >>>> > > > } >>>> > > > >>>> > > > 3. Then in my web app i use it in my "managed bean" >>>> > > > >>>> > > > @Named >>>> > > > @ViewAccessScoped >>>> > > > public void MyManagedBean implements Serializable{ >>>> > > > >>>> > > > @EJBGlobalConfig >>>> > > > private MyExampleEJB example; >>>> > > > >>>> > > > } >>>> > > > >>>> > > > >>>> > > > When i try to deploy my webapp i get this error: >>>> > > > >>>> > > > SEVERE: CDI Beans module deployment failed >>>> > > > javax.enterprise.inject.UnsatisfiedResolutionException: Api type >>>> > > > [mypackage.MyExampleEJB] is not found with the qualifiers >>>> > > > Qualifiers: >>>> > > > >>>> > > >>>> > >>>> [@com.grupokx.globalconfig.anotaciones.qualifiers.EJBGlobalConfig(value=)] >>>> > > > for injection into Field Injection Point, field name : example, >>>> Bean >>>> > > Owner >>>> > > > : [MyManagedBean, Name:myManagedBean, WebBeans Type:MANAGED, API >>>> > > > >>>> Types:[java.io.Serializable,java.lang.Object,test.MyManagedBean....], >>>> > > > >>>> > > >>>> > >>>> Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default,javax.inject.Named]] >>>> > > > >>>> > > > >>>> > > > I read this, in point 2 of this link it says: >>>> > > > If the dependency is an Enterprise JavaBean (EJB) in a separate >>>> EJB >>>> > > > module, verify the EJB module is listed in the classpath of the >>>> > > > META-INF/MANIFEST.MF directory that is inside of the web project >>>> with >>>> > the >>>> > > > failing @Inject annotation. In Eclipse, establish this >>>> relationship >>>> > under >>>> > > > Deployment Assembly properties of the web project. >>>> > > > >>>> > > > Here is the link >>>> > > > >>>> > > > >>>> > > >>>> > >>>> http://pic.dhe.ibm.com/infocenter/wasinfo/v8r0/index.jsp?topic=%2Fcom.ibm.websphere.base.doc%2Finfo%2Faes%2Fae%2Ftweb_troubleshoot_cdi.html >>>> > > > >>>> > > > >>>> > > > It is the same for TomEE?? >>>> > > > >>>> > > > >>>> > > > >>>> > > > >>>> > > > >>>> > > > >>>> > > > >>>> > > > >>>> > > > 2012/12/11 José Luis Cetina <maxtorz...@gmail.com> >>>> > > > >>>> > > >> Ok. I will discuss with my own and my team and think what we >>>> want. And >>>> > > let >>>> > > >> you know. >>>> > > >> Thanks for the advice. >>>> > > >> El dic 11, 2012 3:14 AM, "Romain Manni-Bucau" < >>>> rmannibu...@gmail.com> >>>> > > >> escribió: >>>> > > >> >>>> > > >> yep, >>>> > > >>> >>>> > > >>> put all in the same ear if you want injections >>>> > > >>> >>>> > > >>> otherwise you'd need to do remote calls and there is no >>>> standard ways >>>> > > >>> to get injections >>>> > > >>> >>>> > > >>> Romain Manni-Bucau >>>> > > >>> Twitter: @rmannibucau >>>> > > >>> Blog: http://rmannibucau.wordpress.com/ >>>> > > >>> LinkedIn: http://fr.linkedin.com/in/rmannibucau >>>> > > >>> Github: https://github.com/rmannibucau >>>> > > >>> >>>> > > >>> >>>> > > >>> >>>> > > >>> 2012/12/11 José Luis Cetina <maxtorz...@gmail.com>: >>>> > > >>> > My wars are outside from ear, each of one are deploy in >>>> webapps >>>> > > >>> separately. >>>> > > >>> > >>>> > > >>> > I know they can be in the same ear in different war module >>>> but i >>>> > dont >>>> > > >>> like >>>> > > >>> > the idea of undeploy my entire ear if i have a change in only >>>> one >>>> > war >>>> > > >>> > webapp. >>>> > > >>> > >>>> > > >>> > Im not close to have all in the same ear. I dont know if this >>>> is >>>> > the >>>> > > way >>>> > > >>> > of ear works. >>>> > > >>> > >>>> > > >>> > Do you recommend to have all in the same ear file? >>>> > > >>> > >>>> > > >>> > Do you have any advice? >>>> > > >>> > El dic 11, 2012 1:07 AM, "Romain Manni-Bucau" < >>>> > rmannibu...@gmail.com >>>> > > > >>>> > > >>> > escribió: >>>> > > >>> > >>>> > > >>> >> Wait, your wars are not in the ear? >>>> > > >>> >> Le 11 déc. 2012 02:35, "José Luis Cetina" < >>>> maxtorz...@gmail.com> >>>> > a >>>> > > >>> écrit : >>>> > > >>> >> >>>> > > >>> >> > Anybody use ear + war files? >>>> > > >>> >> > El dic 10, 2012 3:12 PM, "José Luis Cetina" < >>>> > maxtorz...@gmail.com >>>> > > > >>>> > > >>> >> > escribió: >>>> > > >>> >> > >>>> > > >>> >> > > What i need is this: >>>> > > >>> >> > > >>>> > > >>> >> > > EJB in EAR >>>> > > >>> >> > > WEBAPP1 IN WAR >>>> > > >>> >> > > WEBAPP2 IN WAR >>>> > > >>> >> > > >>>> > > >>> >> > > All of this in the same JVM in the same server. >>>> > > >>> >> > > >>>> > > >>> >> > > I want to inject my EJB's (that are in EAR file) inside >>>> of >>>> > > managed >>>> > > >>> bean >>>> > > >>> >> > in >>>> > > >>> >> > > webapp1 and webapp2. This because i want to reuse my >>>> Business >>>> > > >>> Layer in >>>> > > >>> >> > my 2 >>>> > > >>> >> > > webapps. >>>> > > >>> >> > > How can i do this in TomEE? >>>> > > >>> >> > > >>>> > > >>> >> > > When an EJB is consider remote? in this case my ejb's are >>>> > inside >>>> > > >>> an ear >>>> > > >>> >> > > file, in this case the ejb are consider remote? or EJB's >>>> just >>>> > > are >>>> > > >>> >> > consider >>>> > > >>> >> > > remote when they are in different jvm's? >>>> > > >>> >> > > >>>> > > >>> >> > > >>>> > > >>> >> > > >>>> > > >>> >> > > >>>> > > >>> >> > > 2012/12/10 José Luis Cetina <maxtorz...@gmail.com> >>>> > > >>> >> > > >>>> > > >>> >> > >> Why i get NoClassDefFounError?? Apparently my >>>> managedbean try >>>> > > to >>>> > > >>> >> lookup >>>> > > >>> >> > >> EJBTest class inside of the war but how can i indicate >>>> that >>>> > > this >>>> > > >>> class >>>> > > >>> >> > in >>>> > > >>> >> > >> the ear file? >>>> > > >>> >> > >> >>>> > > >>> >> > >> >>>> > > >>> >> > >> 2012/12/10 José Luis Cetina <maxtorz...@gmail.com> >>>> > > >>> >> > >> >>>> > > >>> >> > >>> Sorry i can see i copy/paste a filter in web.xml >>>> > > >>> >> > >>> >>>> > > >>> >> > >>> This line has to be removed: >>>> > > >>> >> > >>> >>>> > > >>> >> > >>> <filter-mapping> >>>> > > >>> >> > >>> <filter-name>PrimeFaces FileUpload >>>> > > Filter</filter-name> >>>> > > >>> >> > >>> <servlet-name>Faces Servlet</servlet-name> >>>> > > >>> >> > >>> </filter-mapping> >>>> > > >>> >> > >>> >>>> > > >>> >> > >>> >>>> > > >>> >> > >>> 2012/12/10 José Luis Cetina <maxtorz...@gmail.com> >>>> > > >>> >> > >>> >>>> > > >>> >> > >>>> Sorry i mean, the ear its deploying WITHOUT ANY >>>> problem, >>>> > but >>>> > > the >>>> > > >>> >> > webapp >>>> > > >>> >> > >>>> CANT find my EJB class >>>> > > >>> >> > >>>> >>>> > > >>> >> > >>>> >>>> > > >>> >> > >>>> 2012/12/10 José Luis Cetina <maxtorz...@gmail.com> >>>> > > >>> >> > >>>> >>>> > > >>> >> > >>>>> Here it is an example: >>>> > > >>> >> > >>>>> >>>> > > >>> >> > >>>>> http://www.sendspace.com/file/wfnwii >>>> > > >>> >> > >>>>> >>>> > > >>> >> > >>>>> The zip contains an ear maven project and webapp >>>> maven >>>> > > project. >>>> > > >>> >> > >>>>> >>>> > > >>> >> > >>>>> I copy the ear to apps folder now i can see that the >>>> ear >>>> > its >>>> > > >>> >> > deploying >>>> > > >>> >> > >>>>> with problems, now my webapp CANT find the EJB class. >>>> > > >>> >> > >>>>> >>>> > > >>> >> > >>>>> >>>> > > >>> >> > >>>>> 2012/12/10 Romain Manni-Bucau <rmannibu...@gmail.com >>>> > >>>> > > >>> >> > >>>>> >>>> > > >>> >> > >>>>>> Hi, >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>>>> can you share the project please? >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>>>> Romain Manni-Bucau >>>> > > >>> >> > >>>>>> Twitter: @rmannibucau >>>> > > >>> >> > >>>>>> Blog: http://rmannibucau.wordpress.com/ >>>> > > >>> >> > >>>>>> LinkedIn: http://fr.linkedin.com/in/rmannibucau >>>> > > >>> >> > >>>>>> Github: https://github.com/rmannibucau >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>>>> 2012/12/10 José Luis Cetina <maxtorz...@gmail.com>: >>>> > > >>> >> > >>>>>> > I cant get my EJB injected. >>>> > > >>> >> > >>>>>> > >>>> > > >>> >> > >>>>>> > 1. I drop an ear in apps folder >>>> > > >>> >> > >>>>>> > 2. Deploy my webapp in webapps folder >>>> > > >>> >> > >>>>>> > 3. Try to use @EJB in my webapp >>>> > > >>> >> > >>>>>> > >>>> > > >>> >> > >>>>>> > I always get this error: >>>> > > >>> >> > >>>>>> > >>>> > > >>> >> > >>>>>> > WARNING: Injection data not found in JNDI context: >>>> > > >>> >> > >>>>>> > >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> jndiName='comp/env/com.grupokx.mailing.controlador.inicio.LoginWebMBean/local', >>>> > > >>> >> > >>>>>> > >>>> > > >>> >> >>>> target=com.grupokx.mailing.controlador.inicio.LoginWebMBean/local >>>> > > >>> >> > >>>>>> > >>>> > > >>> >> > >>>>>> > If i try with CODI: >>>> > > >>> >> > >>>>>> > UsuariosFacadeLocal facade = >>>> > > >>> >> > >>>>>> > >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> BeanManagerProvider.getInstance().getContextualReference(UsuariosFacadeLocal.class); >>>> > > >>> >> > >>>>>> > >>>> > > >>> >> > >>>>>> > i get this: >>>> > > >>> >> > >>>>>> > Dec 10, 2012 9:27:55 AM >>>> > > >>> >> > >>>>>> > >>>> > org.apache.webbeans.component.AbstractInjectionTargetBean >>>> > > >>> >> > >>>>>> > postConstructDefault >>>> > > >>> >> > >>>>>> > SEVERE: An error occurred while executing >>>> > > [@PostConstruct.] >>>> > > >>> >> > >>>>>> > java.lang.IllegalStateException: Could not find >>>> beans >>>> > for >>>> > > >>> >> > >>>>>> Type=interface >>>> > > >>> >> > >>>>>> > >>>> > > com.grupokx.globalconfig.api.ejb.local.UsuariosFacadeLocal >>>> > > >>> and >>>> > > >>> >> > >>>>>> qualifiers:[] >>>> > > >>> >> > >>>>>> > >>>> > > >>> >> > >>>>>> > >>>> > > >>> >> > >>>>>> > 2012/12/7 Romain Manni-Bucau < >>>> rmannibu...@gmail.com> >>>> > > >>> >> > >>>>>> > >>>> > > >>> >> > >>>>>> >> For injections youll need ear i think. Wonder >>>> about >>>> > > lookups >>>> > > >>> >> (was >>>> > > >>> >> > >>>>>> my idea) >>>> > > >>> >> > >>>>>> >> Le 8 déc. 2012 00:18, "José Luis Cetina" < >>>> > > >>> maxtorz...@gmail.com >>>> > > >>> >> > >>>> > > >>> >> > a >>>> > > >>> >> > >>>>>> écrit : >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >> > Hi Romain i did this: >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > 1. Create a jar file with just 1 EJB class >>>> > > EJBTest.class >>>> > > >>> >> > >>>>>> (myejb.jar) >>>> > > >>> >> > >>>>>> >> > 2. Look at the tomee.xml and found this line: >>>> > > >>> <Deployments >>>> > > >>> >> > >>>>>> dir="apps/" /> >>>> > > >>> >> > >>>>>> >> > 3. I create the "apps" directory in >>>> APACHE-HOME/ >>>> > > >>> >> > >>>>>> >> > 4. Copy myejb.jar file to APACHE-HOME/directory >>>> > > >>> >> > >>>>>> >> > 5. Copy myejb.jar file to APACHE-HOME/lib >>>> > > >>> >> > >>>>>> >> > 6. Start my webapps (resides in webapps folder) >>>> > > >>> >> > >>>>>> >> > 7. Then try to inject my EJBTest.class with >>>> @EJB >>>> > even >>>> > > >>> with >>>> > > >>> >> CODI >>>> > > >>> >> > >>>>>> like >>>> > > >>> >> > >>>>>> >> this: >>>> > > >>> >> > >>>>>> >> > EJBTest facade = >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >>>> > > >>>> BeanManagerProvider.getInstance().getContextualReference(EJBTest.class); >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > When TomEE start i can see this line in the log >>>> > file: >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > INFO: Configuring enterprise application: >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> /home/maxtorzito/Apache_TomEE/apache-tomee-webprofile-1.5.1-SNAPSHOT/apps/globalconfig-ejb-1.0-SNAPSHOT.jar >>>> > > >>> >> > >>>>>> >> > Dec 07, 2012 5:06:48 PM >>>> > > >>> >> > >>>>>> org.apache.openejb.config.InitEjbDeployments >>>> > > >>> >> > >>>>>> >> deploy >>>> > > >>> >> > >>>>>> >> > INFO: Auto-deploying ejb EJBTest: >>>> > > >>> >> > >>>>>> EjbDeployment(deployment-id=EJBTest) >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > BUT I CANT get my EJB injected. >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > Q1. Do i have to create the apps folder? >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > Whats wrong? >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > Here is my log: >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > Dec 07, 2012 5:06:57 PM >>>> > > >>> >> > >>>>>> >> >>>> org.apache.openejb.cdi.CdiResourceInjectionService >>>> > > >>> >> > >>>>>> >> > fillInjectionProperties >>>> > > >>> >> > >>>>>> >> > WARNING: Injection data not found in JNDI >>>> context: >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> jndiName='comp/env/com.grupokx.mailing.controlador.inicio.LoginWebMBean/local', >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>> > target=com.grupokx.mailing.controlador.inicio.LoginWebMBean/local >>>> > > >>> >> > >>>>>> >> > Dec 07, 2012 5:06:57 PM >>>> > > >>> >> > >>>>>> >> > >>>> > > org.apache.webbeans.component.AbstractInjectionTargetBean >>>> > > >>> >> > >>>>>> >> > postConstructDefault >>>> > > >>> >> > >>>>>> >> > SEVERE: An error occurred while executing >>>> > > >>> [@PostConstruct.] >>>> > > >>> >> > >>>>>> >> > java.lang.IllegalStateException: Could not find >>>> > beans >>>> > > for >>>> > > >>> >> > >>>>>> Type=class >>>> > > >>> >> > >>>>>> >> > com.grupokx.globalconfig.ejb.impl.EJBTest and >>>> > > >>> qualifiers:[] >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.myfaces.extensions.cdi.core.api.provider.BeanManagerProvider.getContextualReference(BeanManagerProvider.java:172) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> com.grupokx.mailing.controlador.inicio.LoginWebMBean.myPostConstruct(LoginWebMBean.java:40) >>>> > > >>> >> > >>>>>> >> > at >>>> > sun.reflect.NativeMethodAccessorImpl.invoke0(Native >>>> > > >>> >> Method) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>>> > > >>> >> > >>>>>> >> > at >>>> java.lang.reflect.Method.invoke(Method.java:601) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.webbeans.intercept.InvocationContextImpl.proceedCommonAnnots(InvocationContextImpl.java:381) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.webbeans.intercept.InvocationContextImpl.proceed(InvocationContextImpl.java:185) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.webbeans.component.AbstractInjectionTargetBean.postConstructDefault(AbstractInjectionTargetBean.java:259) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.webbeans.component.AbstractInjectionTargetBean.postConstruct(AbstractInjectionTargetBean.java:237) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.webbeans.portable.creation.InjectionTargetProducer.postConstruct(InjectionTargetProducer.java:122) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.webbeans.component.InjectionTargetWrapper.postConstruct(InjectionTargetWrapper.java:87) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.webbeans.component.AbstractOwbBean.create(AbstractOwbBean.java:182) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.webbeans.container.SerializableBean.create(SerializableBean.java:119) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.myfaces.extensions.cdi.core.impl.util.CodiUtils.createNewInstanceOfBean(CodiUtils.java:69) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.AbstractConversationBeanEntry.createNewBeanInstance(AbstractConversationBeanEntry.java:139) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.AbstractConversationBeanEntry.getBeanInstance(AbstractConversationBeanEntry.java:84) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.myfaces.extensions.cdi.core.impl.scope.conversation.AbstractGroupedConversationContext.create(AbstractGroupedConversationContext.java:100) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.myfaces.extensions.cdi.core.impl.scope.conversation.ConversationContextAdapter.get(ConversationContextAdapter.java:81) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.webbeans.context.CustomContextImpl.get(CustomContextImpl.java:43) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.webbeans.context.CustomPassivatingContextImpl.get(CustomPassivatingContextImpl.java:42) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.getContextualInstance(NormalScopedBeanInterceptorHandler.java:154) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.invoke(NormalScopedBeanInterceptorHandler.java:114) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.invoke(NormalScopedBeanInterceptorHandler.java:108) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> com.grupokx.mailing.controlador.inicio.LoginWebMBean_$$_javassist_27.getUsuario(LoginWebMBean_$$_javassist_27.java) >>>> > > >>> >> > >>>>>> >> > at >>>> > sun.reflect.NativeMethodAccessorImpl.invoke0(Native >>>> > > >>> >> Method) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>>> > > >>> >> > >>>>>> >> > at >>>> java.lang.reflect.Method.invoke(Method.java:601) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> javax.el.BeanELResolver.getValue(BeanELResolver.java:64) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >>>> > > >>> >>>> javax.el.CompositeELResolver.getValue(CompositeELResolver.java:58) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:179) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> org.apache.el.parser.AstValue.getValue(AstValue.java:183) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >>>> > > >>>> org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:185) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.webbeans.el.WrappedValueExpression.getValue(WrappedValueExpression.java:68) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.myfaces.view.facelets.el.ContextAwareTagValueExpression.getValue(ContextAwareTagValueExpression.java:96) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >>>> > > >>>> javax.faces.component._DeltaStateHelper.eval(_DeltaStateHelper.java:249) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> javax.faces.component.UIOutput.getValue(UIOutput.java:67) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> javax.faces.component.UIInput.getValue(UIInput.java:151) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.primefaces.util.ComponentUtils.getValueToRender(ComponentUtils.java:61) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.primefaces.component.inputtext.InputTextRenderer.encodeMarkup(InputTextRenderer.java:77) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.primefaces.component.inputtext.InputTextRenderer.encodeEnd(InputTextRenderer.java:51) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >>>> > > >>>> javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:663) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >>>> > >>>> org.primefaces.renderkit.CoreRenderer.renderChild(CoreRenderer.java:62) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.primefaces.renderkit.CoreRenderer.renderChildren(CoreRenderer.java:46) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.primefaces.component.dialog.DialogRenderer.encodeContent(DialogRenderer.java:165) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.primefaces.component.dialog.DialogRenderer.encodeMarkup(DialogRenderer.java:94) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.primefaces.component.dialog.DialogRenderer.encodeEnd(DialogRenderer.java:42) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >>>> > > >>>> javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:663) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >>>> > > >>>> javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:543) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >>>> > > >>>> javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:539) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >>>> > > >>>> javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:539) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >>>> > > >>>> javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:539) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.renderView(FaceletViewDeclarationLanguage.java:1981) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:285) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:116) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >>>> > > >>>> org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:241) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.myfaces.extensions.cdi.jsf2.impl.listener.phase.CodiLifecycleWrapper.render(CodiLifecycleWrapper.java:126) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>> javax.faces.webapp.FacesServlet.service(FacesServlet.java:199) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:79) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >>>> > > >>> >> >>>> > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >>>> > > >>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:931) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) >>>> > > >>> >> > >>>>>> >> > at >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) >>>> > > >>> >> > >>>>>> >> > at java.lang.Thread.run(Thread.java:722) >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > 2012/12/7 Romain Manni-Bucau < >>>> rmannibu...@gmail.com >>>> > > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> > > ear sounds fine >>>> > > >>> >> > >>>>>> >> > > >>>> > > >>> >> > >>>>>> >> > > you can deploy your ejb deps in tomee lib + >>>> deploy >>>> > > >>> your ejb >>>> > > >>> >> > as >>>> > > >>> >> > >>>>>> jar too >>>> > > >>> >> > >>>>>> >> > > (in apps/ for instance) then deploy your >>>> webapps >>>> > > >>> >> > >>>>>> >> > > >>>> > > >>> >> > >>>>>> >> > > depends a lot of your goal and the lifecycle >>>> of >>>> > each >>>> > > >>> parts >>>> > > >>> >> > >>>>>> >> > > >>>> > > >>> >> > >>>>>> >> > > Romain Manni-Bucau >>>> > > >>> >> > >>>>>> >> > > Twitter: @rmannibucau >>>> > > >>> >> > >>>>>> >> > > Blog: http://rmannibucau.wordpress.com/ >>>> > > >>> >> > >>>>>> >> > > LinkedIn: >>>> http://fr.linkedin.com/in/rmannibucau >>>> > > >>> >> > >>>>>> >> > > Github: https://github.com/rmannibucau >>>> > > >>> >> > >>>>>> >> > > >>>> > > >>> >> > >>>>>> >> > > >>>> > > >>> >> > >>>>>> >> > > >>>> > > >>> >> > >>>>>> >> > > 2012/12/7 José Luis Cetina < >>>> maxtorz...@gmail.com >>>> > >: >>>> > > >>> >> > >>>>>> >> > > > Hi i have a question, i always use war >>>> files for >>>> > > my >>>> > > >>> >> webapp, >>>> > > >>> >> > >>>>>> inside of >>>> > > >>> >> > >>>>>> >> > > them >>>> > > >>> >> > >>>>>> >> > > > i have ejbs,entities,classes etc, but now >>>> i need >>>> > > to >>>> > > >>> >> > separate >>>> > > >>> >> > >>>>>> my >>>> > > >>> >> > >>>>>> >> EJB's, >>>> > > >>> >> > >>>>>> >> > > and >>>> > > >>> >> > >>>>>> >> > > > then i am trying to use ear file for this, >>>> but >>>> > > >>> honestly i >>>> > > >>> >> > am >>>> > > >>> >> > >>>>>> not sure >>>> > > >>> >> > >>>>>> >> > if >>>> > > >>> >> > >>>>>> >> > > > this is correct. >>>> > > >>> >> > >>>>>> >> > > > >>>> > > >>> >> > >>>>>> >> > > > I have 3 different webapps (they are >>>> package as >>>> > > wars) >>>> > > >>> >> and i >>>> > > >>> >> > >>>>>> need each >>>> > > >>> >> > >>>>>> >> > of >>>> > > >>> >> > >>>>>> >> > > > them can call EJB's methods, but i want to >>>> have >>>> > my >>>> > > >>> EJB in >>>> > > >>> >> > >>>>>> separate >>>> > > >>> >> > >>>>>> >> > > "module" >>>> > > >>> >> > >>>>>> >> > > > what can i do? Do i have to package my EJB >>>> in an >>>> > > >>> EAR? All >>>> > > >>> >> > of >>>> > > >>> >> > >>>>>> this in >>>> > > >>> >> > >>>>>> >> > the >>>> > > >>> >> > >>>>>> >> > > > same server (same jvm). >>>> > > >>> >> > >>>>>> >> > > > >>>> > > >>> >> > >>>>>> >> > > > Can you give some adivce? >>>> > > >>> >> > >>>>>> >> > > > >>>> > > >>> >> > >>>>>> >> > > > Im using TomEE 1.5.1-SNAPSHOT >>>> > > >>> >> > >>>>>> >> > > > >>>> > > >>> >> > >>>>>> >> > > > Thanks. >>>> > > >>> >> > >>>>>> >> > > > >>>> > > >>> >> > >>>>>> >> > > > >>>> > > >>> >> > >>>>>> >> > > > 2012/12/7 Romain Manni-Bucau < >>>> > > rmannibu...@gmail.com> >>>> > > >>> >> > >>>>>> >> > > > >>>> > > >>> >> > >>>>>> >> > > >> Hi, >>>> > > >>> >> > >>>>>> >> > > >> >>>> > > >>> >> > >>>>>> >> > > >> ear shouldn't be extracted in webapps >>>> (David >>>> > > added >>>> > > >>> the >>>> > > >>> >> > >>>>>> needed conf >>>> > > >>> >> > >>>>>> >> to >>>> > > >>> >> > >>>>>> >> > > >> avoid it i think, @David: can you confirm >>>> > > please?) >>>> > > >>> >> > >>>>>> >> > > >> >>>> > > >>> >> > >>>>>> >> > > >> otherwise apps should work adding >>>> <Deployment >>>> > > >>> dir="apps" >>>> > > >>> >> > /> >>>> > > >>> >> > >>>>>> to >>>> > > >>> >> > >>>>>> >> > tomee.xml >>>> > > >>> >> > >>>>>> >> > > >> >>>> > > >>> >> > >>>>>> >> > > >> Romain Manni-Bucau >>>> > > >>> >> > >>>>>> >> > > >> Twitter: @rmannibucau >>>> > > >>> >> > >>>>>> >> > > >> Blog: http://rmannibucau.wordpress.com/ >>>> > > >>> >> > >>>>>> >> > > >> LinkedIn: >>>> > http://fr.linkedin.com/in/rmannibucau >>>> > > >>> >> > >>>>>> >> > > >> Github: https://github.com/rmannibucau >>>> > > >>> >> > >>>>>> >> > > >> >>>> > > >>> >> > >>>>>> >> > > >> >>>> > > >>> >> > >>>>>> >> > > >> >>>> > > >>> >> > >>>>>> >> > > >> 2012/12/7 José Luis Cetina < >>>> > maxtorz...@gmail.com >>>> > > >: >>>> > > >>> >> > >>>>>> >> > > >> > I remember i readed time ago some >>>> troubles >>>> > > about >>>> > > >>> TomEE >>>> > > >>> >> > >>>>>> with ear >>>> > > >>> >> > >>>>>> >> > files. >>>> > > >>> >> > >>>>>> >> > > >> > >>>> > > >>> >> > >>>>>> >> > > >> > >>>> > > >>> >> > >>>>>> >> > > >> > Im trying to do a test, deploying an >>>> ear file >>>> > > that >>>> > > >>> >> > >>>>>> contains a >>>> > > >>> >> > >>>>>> >> single >>>> > > >>> >> > >>>>>> >> > > EJB >>>> > > >>> >> > >>>>>> >> > > >> > without war. >>>> > > >>> >> > >>>>>> >> > > >> > >>>> > > >>> >> > >>>>>> >> > > >> > I only drop my ear into webapps folder >>>> > > >>> >> > >>>>>> >> > > >> > >>>> > > >>> >> > >>>>>> >> > > >> > >>>> > > >>> >> > >>>>>> >> > > >> > >>>> > > >>> >> > >>>>>> >> > > >> > What can be happend? >>>> > > >>> >> > >>>>>> >> > > >> > >>>> > > >>> >> > >>>>>> >> > > >> > >>>> > > >>> >> > >>>>>> >> > > >> > INFO: ------------------------- >>>> > > >>> >> > >>>>>> >> > > >> > TomcatWebAppBuilder.init >>>> > > /testing-ear-1.0-SNAPSHOT >>>> > > >>> >> > >>>>>> >> > > >> > Dec 07, 2012 4:20:15 PM >>>> > > >>> >> > >>>>>> org.apache.openejb.util.OptionsLog info >>>> > > >>> >> > >>>>>> >> > > >> > INFO: Using >>>> > > >>> >> > >>>>>> >> >>>> > 'openejb.deployments.classpath.filter.systemapps=false' >>>> > > >>> >> > >>>>>> >> > > >> > Dec 07, 2012 4:20:15 PM >>>> > > >>> >> > >>>>>> org.apache.openejb.util.OptionsLog info >>>> > > >>> >> > >>>>>> >> > > >> > INFO: Using >>>> > > >>> >> > >>>>>> >> > > >> > >>>> > > >>> >> > >>>>>> >> > > >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >>>> > >>>> 'openejb.default.deployment-module=org.apache.openejb.config.WebModule' >>>> > > >>> >> > >>>>>> >> > > >> > Dec 07, 2012 4:20:15 PM >>>> > > >>> >> > >>>>>> org.apache.openejb.util.OptionsLog info >>>> > > >>> >> > >>>>>> >> > > >> > INFO: Using >>>> > > >>> >> > >>>>>> >> > > >> > >>>> > > >>> >> > >>>>>> >> > > >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >>>> > >>>> 'openejb.default.deployment-module=org.apache.openejb.config.WebModule' >>>> > > >>> >> > >>>>>> >> > > >> > Dec 07, 2012 4:20:15 PM >>>> > > >>> >> > >>>>>> org.apache.openejb.config.DeploymentLoader >>>> > > >>> >> > >>>>>> >> > > >> > discoverModuleType >>>> > > >>> >> > >>>>>> >> > > >> > INFO: type for >>>> > > >>> >> > >>>>>> >> > > >> > >>>> > > >>> >> > >>>>>> >> > > >> >>>> > > >>> >> > >>>>>> >> > > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> '/home/maxtorzito/Apache_TomEE/apache-tomee-webprofile-1.5.1-SNAPSHOT/lib' >>>> > > >>> >> > >>>>>> >> > > >> > was not found, defaulting to WebModule >>>> > > >>> >> > >>>>>> >> > > >> > Dec 07, 2012 4:20:15 PM >>>> > > >>> >> > >>>>>> org.apache.openejb.util.OptionsLog info >>>> > > >>> >> > >>>>>> >> > > >> > INFO: Using >>>> > > >>> >> > >>>>>> >> > > >> > >>>> > > >>> >> > >>>>>> >> > > >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >>>> > >>>> 'openejb.default.deployment-module=org.apache.openejb.config.WebModule' >>>> > > >>> >> > >>>>>> >> > > >> > Dec 07, 2012 4:20:15 PM >>>> > > >>> >> > >>>>>> org.apache.openejb.util.OptionsLog info >>>> > > >>> >> > >>>>>> >> > > >> > INFO: Using >>>> > > >>> >> > >>>>>> >> > > >> > >>>> > > >>> >> > >>>>>> >> > > >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >>>> > >>>> 'openejb.default.deployment-module=org.apache.openejb.config.WebModule' >>>> > > >>> >> > >>>>>> >> > > >> > Dec 07, 2012 4:20:15 PM >>>> > > >>> >> > >>>>>> >> > org.apache.openejb.config.ConfigurationFactory >>>> > > >>> >> > >>>>>> >> > > >> > configureApplication >>>> > > >>> >> > >>>>>> >> > > >> > INFO: Configuring enterprise >>>> application: >>>> > > >>> >> > >>>>>> >> > > >> > >>>> > > >>> >> > >>>>>> >> > > >> >>>> > > >>> >> > >>>>>> >> > > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >> >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >> >>>> > > >>> >>>> > > >>>> > >>>> /home/maxtorzito/Apache_TomEE/apache-tomee-webprofile-1.5.1-SNAPSHOT/webapps/testing-ear-1.0-SNAPSHOT >>>> > > >>> >> > >>>>>> >> > > >> > Dec 07, 2012 4:20:15 PM >>>> > > >>> >> > >>>>>> >> org.apache.openejb.config.InitEjbDeployments >>>> > > >>> >> > >>>>>> >> > > >> deploy >>>> > > >>> >> > >>>>>> >> > > >> > INFO: Auto-deploying ejb EJBTest: >>>> > > >>> >> > >>>>>> >> > EjbDeployment(deployment-id=EJBTest) >>>> > > >>> >> > >>>>>> >> > > >> > Dec 07, 2012 4:20:15 PM >>>> > > >>> >> > >>>>>> org.apache.openejb.config.AutoConfig >>>> > > >>> >> > >>>>>> >> deploy >>>> > > >>> >> > >>>>>> >> > > >> > INFO: Configuring >>>> > > >>> >> PersistenceUnit(name=kx_globalconifg, >>>> > > >>> >> > >>>>>> >> > > >> > >>>> > > >>> >> > >>>>>> >>>> > > >>> provider=org.apache.openjpa.persistence.PersistenceProviderImpl) >>>> > > >>> >> > >>>>>> >> > > >> > Dec 07, 2012 4:20:15 PM >>>> > > >>> >> > >>>>>> org.apache.openejb.config.AutoConfig >>>> > > >>> >> > >>>>>> >> > > >> > setNonJtaDataSource >>>> > > >>> >> > >>>>>> >> > > >> > INFO: Adjusting PersistenceUnit >>>> > kx_globalconifg >>>> > > >>> >> > >>>>>> >> > <non-jta-data-source> >>>> > > >>> >> > >>>>>> >> > > to >>>> > > >>> >> > >>>>>> >> > > >> > Resource ID >>>> 'GlobalConfigDataSourceNonJta' >>>> > from >>>> > > >>> 'null' >>>> > > >>> >> > >>>>>> >> > > >> > Dec 07, 2012 4:20:15 PM >>>> > > >>> >> > >>>>>> >> > > >> > >>>> > > >>> >> > >>>>>> >> > >>>> > > >>> >> > >>>>>> >>>> > > >>> >> > >>>> > > >>> >>>> > org.apache.openejb.config.AppInfoBuilder$PersistenceProviderProperties >>>> > > >>> >> > >>>>>> >> > > >> apply >>>> > > >>> >> > >>>>>> >> > > >> > WARNING: Removing >>>> > > >>> >> PersistenceUnit(name=kx_globalconifg) >>>> > > >>> >> > >>>>>> property >>>> > > >>> >> > >>>>>> >> > > >> > >>>> openjpa.ConnectionPassword=${db.password} >>>> > [not >>>> > > >>> valid >>>> > > >>> >> > in a >>>> > > >>> >> > >>>>>> >> container >>>> > > >>> >> > >>>>>> >> > > >> > environment] >>>> > > >> >>>> >>> ... > > [Mensaje recortado] -- ------------------------------------------------------------------- *SCJA. José Luis Cetina* -------------------------------------------------------------------