5 Replies Latest reply on Dec 1, 2012 9:26 AM by Vinícius Abreu de França

    Unable to retrieve EntityManagerFactory, everything configured correctly but does not run!!!

    Vinícius Abreu de França Newbie

      I'm freaking out now! I can not find out why it fails to retrieve the PersistenceUnit. The worst thing is that when I run the EJB project profile tests, the "config-arquillian-glasfish", it runs perfectly, but when I run the complete project profile default, gives this error.

      I've tried everything and apparently everything is configured correctly. The project is attached for those who want to try ... Please help me! Thank you. (Sorry for my english, I'm Brazilian)

       

      Download of EJB Project

       

      Following is the stacktrace:

       

      SEVERE: java.lang.IllegalStateException: Unable to retrieve EntityManagerFactory for unitName intouchEnterprisePU

                at com.sun.enterprise.container.common.impl.EntityManagerWrapper.init(EntityManagerWrapper.java:132)

                at com.sun.enterprise.container.common.impl.EntityManagerWrapper._getDelegate(EntityManagerWrapper.java:173)

                at com.sun.enterprise.container.common.impl.EntityManagerWrapper.createNamedQuery(EntityManagerWrapper.java:532)

                at br.com.webbiz.intouch.model.dao.generic.GenericDAO.buscarUmResultado(GenericDAO.java:94)

                at br.com.webbiz.intouch.model.dao.PessoaDAO.buscaPessoaPorLogin(PessoaDAO.java:79)

                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.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)

                at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)

                at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5388)

                at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)

                at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)

                at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)

                at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)

                at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)

                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 com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)

                at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)

                at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)

                at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5360)

                at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5348)

                at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:214)

                at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:89)

                at $Proxy182.buscaPessoaPorLogin(Unknown Source)

                at br.com.webbiz.intouch.model.dao.__EJB31_Generated__PessoaDAO__Intf____Bean__.buscaPessoaPorLogin(Unknown Source)

                at br.com.webbiz.intouch.model.service.PessoaService.buscarPorLogin(PessoaService.java:137)

                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.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)

                at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)

                at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5388)

                at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)

                at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)

                at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)

                at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)

                at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)

                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 com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)

                at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)

                at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)

                at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5360)

                at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5348)

                at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:214)

                at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:89)

                at $Proxy184.buscarPorLogin(Unknown Source)

                at br.com.webbiz.intouch.control.managedbeans.LoginManagedBean.login(LoginManagedBean.java:67)

                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 com.sun.el.parser.AstValue.invoke(AstValue.java:254)

                at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)

                at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:39)

                at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50)

                at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)

                at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:148)

                at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)

                at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:769)

                at javax.faces.component.UICommand.broadcast(UICommand.java:300)

                at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)

                at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)

                at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)

                at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)

                at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

                at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)

                at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)

                at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)

                at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)

                at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)

                at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)

                at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)

                at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)

                at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)

                at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)

                at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)

                at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)

                at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)

                at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

                at org

      SEVERE: .apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)

                at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)

                at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)

                at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)

                at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)

                at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)

                at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)

                at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)

                at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)

                at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)

                at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)

                at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)

                at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)

                at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)

                at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)

                at com.sun.grizzly.ContextTask.run(ContextTask.java:71)

                at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)

                at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)

                at java.lang.Thread.run(Thread.java:722)

       

       

      SEVERE:           at com.sun.enterprise.container.common.impl.EntityManagerWrapper.init(EntityManagerWrapper.java:132)

      SEVERE:           at com.sun.enterprise.container.common.impl.EntityManagerWrapper._getDelegate(EntityManagerWrapper.java:173)

      SEVERE:           at com.sun.enterprise.container.common.impl.EntityManagerWrapper.createNamedQuery(EntityManagerWrapper.java:532)

      SEVERE:           at br.com.webbiz.intouch.model.dao.generic.GenericDAO.buscarUmResultado(GenericDAO.java:94)

      SEVERE:           at br.com.webbiz.intouch.model.dao.PessoaDAO.buscaPessoaPorLogin(PessoaDAO.java:79)

      SEVERE:           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      SEVERE:           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

      SEVERE:           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      SEVERE:           at java.lang.reflect.Method.invoke(Method.java:601)

      SEVERE:           at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)

      SEVERE:           at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)

      SEVERE:           at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5388)

      SEVERE:           at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)

      SEVERE:           at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)

      SEVERE:           at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)

      SEVERE:           at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)

      SEVERE:           at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)

      SEVERE:           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      SEVERE:           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

      SEVERE:           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      SEVERE:           at java.lang.reflect.Method.invoke(Method.java:601)

      SEVERE:           at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)

      SEVERE:           at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)

      SEVERE:           at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)

      SEVERE:           at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5360)

      SEVERE:           at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5348)

      SEVERE:           at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:214)

      SEVERE:           at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:89)

      SEVERE:           at $Proxy182.buscaPessoaPorLogin(Unknown Source)

      SEVERE:           at br.com.webbiz.intouch.model.dao.__EJB31_Generated__PessoaDAO__Intf____Bean__.buscaPessoaPorLogin(Unknown Source)

      SEVERE:           at br.com.webbiz.intouch.model.service.PessoaService.buscarPorLogin(PessoaService.java:137)

      SEVERE:           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      SEVERE:           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

      SEVERE:           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      SEVERE:           at java.lang.reflect.Method.invoke(Method.java:601)

      SEVERE:           at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)

      SEVERE:           at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)

      SEVERE:           at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5388)

      SEVERE:           at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)

      SEVERE:           at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)

      SEVERE:           at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)

      SEVERE:           at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)

      SEVERE:           at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)

      SEVERE:           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      SEVERE:           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

      SEVERE:           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      SEVERE:           at java.lang.reflect.Method.invoke(Method.java:601)

      SEVERE:           at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)

      SEVERE:           at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)

      SEVERE:           at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)

      SEVERE:           at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5360)

      SEVERE:           at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5348)

      SEVERE:           at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:214)

      SEVERE:           at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:89)

      SEVERE:           at $Proxy184.buscarPorLogin(Unknown Source)

      SEVERE:           at br.com.webbiz.intouch.control.managedbeans.LoginManagedBean.login(LoginManagedBean.java:67)

      SEVERE:           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      SEVERE:           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

      SEVERE:           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      SEVERE:           at java.lang.reflect.Method.invoke(Method.java:601)

      SEVERE:           at com.sun.el.parser.AstValue.invoke(AstValue.java:254)

      SEVERE:           at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)

      SEVERE:           at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:39)

      SEVERE:           at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50)

      SEVERE:           at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)

      SEVERE:           at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:148)

      SEVERE:           at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)

      SEVERE:           at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:769)

      SEVERE:           at javax.faces.component.UICommand.broadcast(UICommand.java:300)

      SEVERE:           at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)

      SEVERE:           at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)

      SEVERE:           at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)

      SEVERE:           at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)

      SEVERE:           at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

      SEVERE:           at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)

      SEVERE:           at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)

      SEVERE:           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)

      SEVERE:           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)

      SEVERE:           at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)

      SEVERE:           at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)

      SEVERE:           at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)

      SEVERE:           at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)

      SEVERE:           at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)

      SEVERE:           at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)

      SEVERE:           at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)

      SEVERE:           at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)

      SEVERE:           at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)

      SEVERE:           at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)

      SEVERE:           at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)

      SEVERE:           at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)

      SEVERE:           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)

      SEVERE:           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)

      SEVERE:           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)

      SEVERE:           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

      SEVERE:           at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)

      SEVERE:           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)

      SEVERE:           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)

      SEVERE:           at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)

      SEVERE:           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)

      SEVERE:           at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)

      SEVERE:           at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)

      SEVERE:           at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)

      SEVERE:           at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)

      SEVERE:           at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)

      SEVERE:           at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)

      SEVERE:           at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)

      SEVERE:           at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)

      SEVERE:           at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)

      SEVERE:           at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)

      SEVERE:           at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)

      SEVERE:           at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)

      SEVERE:           at com.sun.grizzly.ContextTask.run(ContextTask.java:71)

      SEVERE:           at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)

      SEVERE:           at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)

      SEVERE:           at java.lang.Thread.run(Thread.java:722)

      Listening for transport dt_socket at address: 9009

      INFO: Iniciado shutdown do servidor

      INFO: PWC1412: WebModule[null] ServletContext.log():Cleaning up Shiro Environment

      INFO: JMX002: JMXStartupService: Stopped JMXConnectorServer: null