2 Replies Latest reply on Nov 4, 2010 4:43 PM by oscar ovalle

    javax.mail.NoSuchProviderException: smtp with jboss 4.2.3

    oscar ovalle Newbie

      Hi, I have a problem trying to send emails in java, server
      I use jboss and the problem is that I generated is as follows:

       

      javax.mail.NoSuchProviderException: smtp
      19:48:59,484 ERROR [STDERR]      at javax.mail.Session.getService(Session.java:782)
      19:48:59,484 ERROR [STDERR]      at javax.mail.Session.getTransport(Session.java:708)
      19:48:59,484 ERROR [STDERR]      at javax.mail.Session.getTransport(Session.java:651)
      19:48:59,484 ERROR [STDERR]      at javax.mail.Session.getTransport(Session.java:631)
      19:48:59,484 ERROR [STDERR]      at javax.mail.Session.getTransport(Session.java:686)
      19:48:59,484 ERROR [STDERR]      at javax.mail.Transport.send0(Transport.java:166)
      19:48:59,484 ERROR [STDERR]      at javax.mail.Transport.send(Transport.java:98)
      19:48:59,484 ERROR [STDERR]      at co.com.sirius.facturacion.model.util.FacturacionEmailManager.enviarCorreoHtml(FacturacionEmailManager.java:96)
      19:48:59,484 ERROR [STDERR]      at co.com.sirius.facturacion.model.ejb.ComercialService.enviarCorreoAComerciales(ComercialService.java:125)
      19:48:59,484 ERROR [STDERR]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      19:48:59,484 ERROR [STDERR]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      19:48:59,484 ERROR [STDERR]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      19:48:59,484 ERROR [STDERR]      at java.lang.reflect.Method.invoke(Method.java:597)
      19:48:59,484 ERROR [STDERR]      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
      19:48:59,484 ERROR [STDERR]      at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
      19:48:59,484 ERROR [STDERR]      at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
      19:48:59,484 ERROR [STDERR]      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      19:48:59,484 ERROR [STDERR]      at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
      19:48:59,484 ERROR [STDERR]      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      19:48:59,484 ERROR [STDERR]      at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
      19:48:59,484 ERROR [STDERR]      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      19:48:59,484 ERROR [STDERR]      at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
      19:48:59,484 ERROR [STDERR]      at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
      19:48:59,484 ERROR [STDERR]      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      19:48:59,484 ERROR [STDERR]      at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
      19:48:59,484 ERROR [STDERR]      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      19:48:59,484 ERROR [STDERR]      at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
      19:48:59,484 ERROR [STDERR]      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      19:48:59,484 ERROR [STDERR]      at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
      19:48:59,484 ERROR [STDERR]      at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
      19:48:59,484 ERROR [STDERR]      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      19:48:59,484 ERROR [STDERR]      at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
      19:48:59,484 ERROR [STDERR]      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      19:48:59,484 ERROR [STDERR]      at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
      19:48:59,484 ERROR [STDERR]      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      19:48:59,484 ERROR [STDERR]      at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:240)
      19:48:59,484 ERROR [STDERR]      at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:210)
      19:48:59,484 ERROR [STDERR]      at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:84)
      19:48:59,484 ERROR [STDERR]      at $Proxy85.enviarCorreoAComerciales(Unknown Source)
      19:48:59,484 ERROR [STDERR]      at co.com.sirius.facturacion.model.ejb.FacturacionFachadaService.enviarCorreoAComerciales(FacturacionFachadaService.java:656)
      19:48:59,484 ERROR [STDERR]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      19:48:59,484 ERROR [STDERR]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      19:48:59,484 ERROR [STDERR]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      19:48:59,484 ERROR [STDERR]      at java.lang.reflect.Method.invoke(Method.java:597)
      19:48:59,484 ERROR [STDERR]      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
      19:48:59,484 ERROR [STDERR]      at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
      19:48:59,484 ERROR [STDERR]      at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
      19:48:59,484 ERROR [STDERR]      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      19:48:59,484 ERROR [STDERR]      at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
      19:48:59,484 ERROR [STDERR]      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      19:48:59,484 ERROR [STDERR]      at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
      19:48:59,484 ERROR [STDERR]      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      19:48:59,484 ERROR [STDERR]      at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
      19:48:59,484 ERROR [STDERR]      at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
      19:48:59,484 ERROR [STDERR]      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      19:48:59,484 ERROR [STDERR]      at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
      19:48:59,484 ERROR [STDERR]      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      19:48:59,484 ERROR [STDERR]      at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
      19:48:59,484 ERROR [STDERR]      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      19:48:59,484 ERROR [STDERR]      at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
      19:48:59,484 ERROR [STDERR]      at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
      19:48:59,484 ERROR [STDERR]      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      19:48:59,484 ERROR [STDERR]      at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
      19:48:59,484 ERROR [STDERR]      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      19:48:59,484 ERROR [STDERR]      at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
      19:48:59,484 ERROR [STDERR]      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      19:48:59,484 ERROR [STDERR]      at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:240)
      19:48:59,484 ERROR [STDERR]      at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:210)
      19:48:59,484 ERROR [STDERR]      at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:84)
      19:48:59,484 ERROR [STDERR]      at $Proxy106.enviarCorreoAComerciales(Unknown Source)
      19:48:59,484 ERROR [STDERR]      at co.com.sirius.facturacion.web.controller.SoporteController.enviarCorreoAComerciales(SoporteController.java:501)
      19:48:59,484 ERROR [STDERR]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      19:48:59,484 ERROR [STDERR]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      19:48:59,484 ERROR [STDERR]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      19:48:59,484 ERROR [STDERR]      at java.lang.reflect.Method.invoke(Method.java:597)
      19:48:59,484 ERROR [STDERR]      at org.springframework.web.servlet.mvc.multiaction.MultiActionController.invokeNamedMethod(MultiActionController.java:473)
      19:48:59,484 ERROR [STDERR]      at org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:410)
      19:48:59,484 ERROR [STDERR]      at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
      19:48:59,484 ERROR [STDERR]      at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
      19:48:59,484 ERROR [STDERR]      at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
      19:48:59,484 ERROR [STDERR]      at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
      19:48:59,484 ERROR [STDERR]      at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
      19:48:59,484 ERROR [STDERR]      at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
      19:48:59,484 ERROR [STDERR]      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      19:48:59,484 ERROR [STDERR]      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      19:48:59,484 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      19:48:59,484 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      19:48:59,484 ERROR [STDERR]      at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)
      19:48:59,484 ERROR [STDERR]      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      19:48:59,484 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      19:48:59,484 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      19:48:59,484 ERROR [STDERR]      at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
      19:48:59,484 ERROR [STDERR]      at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
      19:48:59,484 ERROR [STDERR]      at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
      19:48:59,484 ERROR [STDERR]      at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
      19:48:59,484 ERROR [STDERR]      at org.springframework.security.ui.SessionFixationProtectionFilter.doFilterHttp(SessionFixationProtectionFilter.java:67)
      19:48:59,484 ERROR [STDERR]      at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
      19:48:59,484 ERROR [STDERR]      at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
      19:48:59,484 ERROR [STDERR]      at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
      19:48:59,484 ERROR [STDERR]      at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
      19:48:59,484 ERROR [STDERR]      at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
      19:48:59,484 ERROR [STDERR]      at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)
      19:48:59,484 ERROR [STDERR]      at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
      19:48:59,484 ERROR [STDERR]      at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
      19:48:59,484 ERROR [STDERR]      at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)
      19:48:59,484 ERROR [STDERR]      at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
      19:48:59,484 ERROR [STDERR]      at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
      19:48:59,484 ERROR [STDERR]      at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278)
      19:48:59,484 ERROR [STDERR]      at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
      19:48:59,484 ERROR [STDERR]      at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
      19:48:59,484 ERROR [STDERR]      at org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)
      19:48:59,484 ERROR [STDERR]      at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
      19:48:59,484 ERROR [STDERR]      at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
      19:48:59,484 ERROR [STDERR]      at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
      19:48:59,484 ERROR [STDERR]      at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
      19:48:59,484 ERROR [STDERR]      at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
      19:48:59,484 ERROR [STDERR]      at org.springframework.security.concurrent.ConcurrentSessionFilter.doFilterHttp(ConcurrentSessionFilter.java:99)
      19:48:59,484 ERROR [STDERR]      at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
      19:48:59,484 ERROR [STDERR]      at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
      19:48:59,484 ERROR [STDERR]      at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)
      19:48:59,484 ERROR [STDERR]      at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)
      19:48:59,484 ERROR [STDERR]      at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
      19:48:59,484 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      19:48:59,484 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      19:48:59,484 ERROR [STDERR]      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      19:48:59,484 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      19:48:59,484 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      19:48:59,484 ERROR [STDERR]      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      19:48:59,484 ERROR [STDERR]      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      19:48:59,484 ERROR [STDERR]      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
      19:48:59,484 ERROR [STDERR]      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      19:48:59,484 ERROR [STDERR]      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      19:48:59,484 ERROR [STDERR]      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      19:48:59,484 ERROR [STDERR]      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      19:48:59,484 ERROR [STDERR]      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      19:48:59,484 ERROR [STDERR]      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      19:48:59,484 ERROR [STDERR]      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      19:48:59,484 ERROR [STDERR]      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      19:48:59,484 ERROR [STDERR]      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      19:48:59,484 ERROR [STDERR]      at java.lang.Thread.run(Thread.java:619)

      javax.mail.NoSuchProviderException: smtp

      19:48:59,484 ERROR [STDERR] at javax.mail.Session.getService(Session.java:782)

      19:48:59,484 ERROR [STDERR] at javax.mail.Session.getTransport(Session.java:708)

      19:48:59,484 ERROR [STDERR] at javax.mail.Session.getTransport(Session.java:651)

      19:48:59,484 ERROR [STDERR] at javax.mail.Session.getTransport(Session.java:631)

      19:48:59,484 ERROR [STDERR] at javax.mail.Session.getTransport(Session.java:686)

      19:48:59,484 ERROR [STDERR] at javax.mail.Transport.send0(Transport.java:166)

      19:48:59,484 ERROR [STDERR] at javax.mail.Transport.send(Transport.java:98)

      19:48:59,484 ERROR [STDERR] at co.com.sirius.facturacion.model.util.FacturacionEmailManager.enviarCorreoHtml(FacturacionEmailManager.java:96)

      19:48:59,484 ERROR [STDERR] at co.com.sirius.facturacion.model.ejb.ComercialService.enviarCorreoAComerciales(ComercialService.java:125)

      19:48:59,484 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      19:48:59,484 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      19:48:59,484 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      19:48:59,484 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)

      19:48:59,484 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)

      19:48:59,484 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)

      19:48:59,484 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)

      19:48:59,484 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

      19:48:59,484 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)

      19:48:59,484 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

      19:48:59,484 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)

      19:48:59,484 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

      19:48:59,484 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)

      19:48:59,484 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)

      19:48:59,484 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

      19:48:59,484 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)

      19:48:59,484 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

      19:48:59,484 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)

      19:48:59,484 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

      19:48:59,484 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)

      19:48:59,484 ERROR [STDERR] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)

      19:48:59,484 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

      19:48:59,484 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)

      19:48:59,484 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

      19:48:59,484 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)

      19:48:59,484 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

      19:48:59,484 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:240)

      19:48:59,484 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:210)

      19:48:59,484 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:84)

      19:48:59,484 ERROR [STDERR] at $Proxy85.enviarCorreoAComerciales(Unknown Source)

      19:48:59,484 ERROR [STDERR] at co.com.sirius.facturacion.model.ejb.FacturacionFachadaService.enviarCorreoAComerciales(FacturacionFachadaService.java:656)

      19:48:59,484 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      19:48:59,484 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      19:48:59,484 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      19:48:59,484 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)

      19:48:59,484 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)

      19:48:59,484 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)

      19:48:59,484 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)

      19:48:59,484 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

      19:48:59,484 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)

      19:48:59,484 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

      19:48:59,484 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)

      19:48:59,484 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

      19:48:59,484 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)

      19:48:59,484 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)

      19:48:59,484 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

      19:48:59,484 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)

      19:48:59,484 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

      19:48:59,484 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)

      19:48:59,484 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

      19:48:59,484 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)

      19:48:59,484 ERROR [STDERR] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)

      19:48:59,484 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

      19:48:59,484 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)

      19:48:59,484 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

      19:48:59,484 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)

      19:48:59,484 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

      19:48:59,484 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:240)

      19:48:59,484 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:210)

      19:48:59,484 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:84)

      19:48:59,484 ERROR [STDERR] at $Proxy106.enviarCorreoAComerciales(Unknown Source)

      19:48:59,484 ERROR [STDERR] at co.com.sirius.facturacion.web.controller.SoporteController.enviarCorreoAComerciales(SoporteController.java:501)

      19:48:59,484 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      19:48:59,484 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      19:48:59,484 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      19:48:59,484 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)

      19:48:59,484 ERROR [STDERR] at org.springframework.web.servlet.mvc.multiaction.MultiActionController.invokeNamedMethod(MultiActionController.java:473)

      19:48:59,484 ERROR [STDERR] at org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:410)

      19:48:59,484 ERROR [STDERR] at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)

      19:48:59,484 ERROR [STDERR] at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)

      19:48:59,484 ERROR [STDERR] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)

      19:48:59,484 ERROR [STDERR] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)

      19:48:59,484 ERROR [STDERR] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)

      19:48:59,484 ERROR [STDERR] at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)

      19:48:59,484 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)

      19:48:59,484 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

      19:48:59,484 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

      19:48:59,484 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      19:48:59,484 ERROR [STDERR] at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)

      19:48:59,484 ERROR [STDERR] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

      19:48:59,484 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      19:48:59,484 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      19:48:59,484 ERROR [STDERR] at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)

      19:48:59,484 ERROR [STDERR] at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)

      19:48:59,484 ERROR [STDERR] at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)

      19:48:59,484 ERROR [STDERR] at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

      19:48:59,484 ERROR [STDERR] at org.springframework.security.ui.SessionFixationProtectionFilter.doFilterHttp(SessionFixationProtectionFilter.java:67)

      19:48:59,484 ERROR [STDERR] at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

      19:48:59,484 ERROR [STDERR] at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

      19:48:59,484 ERROR [STDERR] at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)

      19:48:59,484 ERROR [STDERR] at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

      19:48:59,484 ERROR [STDERR] at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

      19:48:59,484 ERROR [STDERR] at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)

      19:48:59,484 ERROR [STDERR] at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

      19:48:59,484 ERROR [STDERR] at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

      19:48:59,484 ERROR [STDERR] at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)

      19:48:59,484 ERROR [STDERR] at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

      19:48:59,484 ERROR [STDERR] at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

      19:48:59,484 ERROR [STDERR] at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278)

      19:48:59,484 ERROR [STDERR] at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

      19:48:59,484 ERROR [STDERR] at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

      19:48:59,484 ERROR [STDERR] at org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)

      19:48:59,484 ERROR [STDERR] at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

      19:48:59,484 ERROR [STDERR] at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

      19:48:59,484 ERROR [STDERR] at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)

      19:48:59,484 ERROR [STDERR] at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

      19:48:59,484 ERROR [STDERR] at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

      19:48:59,484 ERROR [STDERR] at org.springframework.security.concurrent.ConcurrentSessionFilter.doFilterHttp(ConcurrentSessionFilter.java:99)

      19:48:59,484 ERROR [STDERR] at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)

      19:48:59,484 ERROR [STDERR] at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)

      19:48:59,484 ERROR [STDERR] at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)

      19:48:59,484 ERROR [STDERR] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)

      19:48:59,484 ERROR [STDERR] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)

      19:48:59,484 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      19:48:59,484 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      19:48:59,484 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

      19:48:59,484 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      19:48:59,484 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      19:48:59,484 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

      19:48:59,484 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

      19:48:59,484 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)

      19:48:59,484 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)

      19:48:59,484 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

      19:48:59,484 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

      19:48:59,484 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)

      19:48:59,484 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

      19:48:59,484 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)

      19:48:59,484 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

      19:48:59,484 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

      19:48:59,484 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)

      19:48:59,484 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)

      when I do unit testing, the service works correctly, but when run on the web, get error.
      please, help me with this error...