Exception thrown in EJB not captured in ManagedBean

Hi. Im new in community.
I have an EE project using JSF 1.2, EJB 3.0 deployed in Weblogic 10.3.6.
My EJB that throws an Exception that is captured in my ManagedBean. However the exception does not reach to my ManagedBean.
This exception should reload the page with an error message stating that the group already exists, but as the exception does not reach the ManagedBean, the page is not displayed with the error message.
I appreciate the help. Rgrds.
My web.xml
  <error-page>
    <exception-type>java.lang.Exception</exception-type>
    <location>/PRErrorPageView.faces</location>
  </error-page>
My EJB:
try {
            List<Grupo> grupos = findGrupoByName(grupo.getNomeGrupo());
            if (!grupos.isEmpty() && !alteraPermissao)
                throw new GrupoException("msgErroGrupoNomeCadastrado");
My ManagedBean:
Here is the call of my EJB
grupoServices.persisteGrupo(grupo, listCR, listCC, listCM, listCP, listMo, alteraGrupo, codigoTela, codigoUsuarioLogado);         
cancelar();
FacesUtil.addSuccessMessage("Grupo criado com sucesso!");
} catch (GrupoException e) {
logger.warning(e.getMsg());
FacesUtil.addErrorMessage(e.getMsg());
My class GrupoException:
public class GrupoException extends ComponentException{
    /** The serialVersionUID */
    private static final long serialVersionUID = -6912605895523623154L;
        public GrupoException(String key){
        super(key);
My ComponentException:
public class ComponentException extends RuntimeException{
    /** The serialVersionUID */
    private static final long serialVersionUID = -2534006938034008594L;
    private String            msg;
    public ComponentException(String key) {
        String msgBundle = ResourcesUtil.getString(ResourcesUtil.MENSAGENS_FILE, key);
        this.msg = msgBundle;
Weblogic log:
]] Root cause of ServletException.
javax.faces.FacesException: #{cadastroGrupo.gravar}: javax.ejb.EJBException: EJB Exception: : br.com.telefonica.portal.services.exceptions.GrupoException
    at br.com.telefonica.portal.services.impl.GrupoServiceImpl.persisteGrupo(GrupoServiceImpl.java:93)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy87.persisteGrupo(Unknown Source)
    at br.com.telefonica.portal.services.impl.GrupoServiceImpl_k21zc8_GrupoServicesLocalImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
    at br.com.telefonica.portal.services.impl.GrupoServiceImpl_k21zc8_GrupoServicesLocalImpl.persisteGrupo(Unknown Source)
    at br.com.telefonica.portal.web.views.CadastroGrupoBean.gravar(CadastroGrupoBean.java:310)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
    at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
    at javax.faces.component.UICommand.broadcast(UICommand.java:387)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
    at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
; nested exception is: br.com.telefonica.portal.services.exceptions.GrupoException
    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
    at javax.faces.component.UICommand.broadcast(UICommand.java:387)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
    at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
    Truncated. see log file for complete stacktrace
Caused By: javax.faces.el.EvaluationException: javax.ejb.EJBException: EJB Exception: : br.com.telefonica.portal.services.exceptions.GrupoException
    at br.com.telefonica.portal.services.impl.GrupoServiceImpl.persisteGrupo(GrupoServiceImpl.java:93)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy87.persisteGrupo(Unknown Source)
    at br.com.telefonica.portal.services.impl.GrupoServiceImpl_k21zc8_GrupoServicesLocalImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
    at br.com.telefonica.portal.services.impl.GrupoServiceImpl_k21zc8_GrupoServicesLocalImpl.persisteGrupo(Unknown Source)
    at br.com.telefonica.portal.web.views.CadastroGrupoBean.gravar(CadastroGrupoBean.java:310)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
    at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
    at javax.faces.component.UICommand.broadcast(UICommand.java:387)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
    at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
; nested exception is: br.com.telefonica.portal.services.exceptions.GrupoException
    at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
    at javax.faces.component.UICommand.broadcast(UICommand.java:387)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
    Truncated. see log file for complete stacktrace
Caused By: javax.ejb.EJBException: EJB Exception: : br.com.telefonica.portal.services.exceptions.GrupoException
    at br.com.telefonica.portal.services.impl.GrupoServiceImpl.persisteGrupo(GrupoServiceImpl.java:93)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy87.persisteGrupo(Unknown Source)
    at br.com.telefonica.portal.services.impl.GrupoServiceImpl_k21zc8_GrupoServicesLocalImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
    at br.com.telefonica.portal.services.impl.GrupoServiceImpl_k21zc8_GrupoServicesLocalImpl.persisteGrupo(Unknown Source)
    at br.com.telefonica.portal.web.views.CadastroGrupoBean.gravar(CadastroGrupoBean.java:310)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
    at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
    at javax.faces.component.UICommand.broadcast(UICommand.java:387)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
    at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
; nested exception is: br.com.telefonica.portal.services.exceptions.GrupoException
    at weblogic.ejb.container.internal.EJBRuntimeUtils.throwEJBException(EJBRuntimeUtils.java:156)
    at weblogic.ejb.container.internal.BaseLocalObject.handleSystemException(BaseLocalObject.java:887)
    at weblogic.ejb.container.internal.BaseLocalObject.handleSystemException(BaseLocalObject.java:818)
    at weblogic.ejb.container.internal.BaseLocalObject.postInvoke1(BaseLocalObject.java:517)
    at weblogic.ejb.container.internal.BaseLocalObject.__WL_postInvokeTxRetry(BaseLocalObject.java:455)
    Truncated. see log file for complete stacktrace
Caused By: br.com.telefonica.portal.services.exceptions.GrupoException
    at br.com.telefonica.portal.services.impl.GrupoServiceImpl.persisteGrupo(GrupoServiceImpl.java:93)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    Truncated. see log file for complete stacktrace

Tao,
          > If your ejb method is in a transaction context, then you throw application
          exception, the container will try to commit the transaction.
          In the case of an application exception, the caller will be responsible for
          committing or rolling back the transaction. (A runtime exception will roll
          back the transaction automatically.) That is why, if you use CMT, that the
          EJB methods call from outside the EJB container (such as from a servlet)
          should never be able to throw runtime exceptions.
          Peace,
          Cameron Purdy
          Tangosol, Inc.
          http://www.tangosol.com
          +1.617.623.5782
          WebLogic Consulting Available
          "Tao Zhang" <[email protected]> wrote in message
          news:3a33c04a$[email protected]..
          >
          > Hi,
          > It's ok because you look after the transaction yourself. probably you use
          the default transaction attribute 'Supports'.
          >
          > If your ejb method is in a transaction context, then you throw application
          exception, the container will try to commit the transaction.
          >
          > Hope this can help.
          > Tao Zhang
          >
          > "Gormless" <[email protected]> wrote:
          > >
          > >When I throw an application exception from within a statless session bean
          which uses jdbs for DB Lookup Only I get
          > >"Exception thrown in non-transactional EJB invoke".
          > >
          > >As this is a llokup only I have no Transaction Management
          >
          

Similar Messages

  • Can not catch in servlet exception thrown by EJB

    Hello everybody.
    I created an exception class InvalidDataException derived from Exception. This exception is thrown in an EJB session.
    In my servlet I wrote two catch blocks. The first one is :
    catch(InvalidDataException ex) and the second one is catch(Exception ex).
    The InvalidDataException is not catched in the InvalidDataException block but in the Exception block. And in the Exception block I display the class of the catched exception, the class is the class of my InvalidDataException.
    I hope my explanation is clear...
    Any ideas ??
    Thank you for your help
    Here is the stacktrace, there are french words, dont be afraid :-)
    10:20:48,261 INFO  [STDOUT] avant lancement exception invalidData
    10:20:48,264 ERROR [[BookServlet]] Servlet.service() for servlet BookServlet threw exception
    pipeline.MyExceptions.InvalidDataException: La date de d\uffffbut doit \ufffftre ant\uffffrieure \uf
    fff la date de fin du projet
            at pipeline.ejb.FacadeBean.verifDates(FacadeBean.java:169)
            at pipeline.ejb.FacadeBean.reserverRess(FacadeBean.java:125)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
            at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta
    iner.java:228)
            at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI
    nterceptor.java:158)
            at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance
    Interceptor.java:169)
            at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.
    java:71)
            at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
            at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
            at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
            at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
            at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
            at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:206)
            at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.
    java:136)
            at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:643)
            at org.jboss.ejb.Container.invoke(Container.java:917)
            at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
            at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
            at $Proxy110.reserverRess(Unknown Source)
            at pipeline.web.BookServlet.doPost(BookServlet.java:235)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
    ava:252)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
    ava:202)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
            at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja
    va:174)
            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
            at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Htt
    p11BaseProtocol.java:663)
            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
            at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
            at java.lang.Thread.run(Thread.java:595)

    Hello,
    I fix my problem. I included the class InvalidDataException in the *.war and in the *.jar so there were 2 definitions of InvalidDataException. Thats why my exception was not catched.
    Bye

  • Strutstestcase problem - exception thrown by action not being caught

    Hi,
    I am experiencing a problem in a test class I wrote to test part of a Struts based application. I have posted this problem on the StrutsTestCase forum but not had a response yet (it doesn't seem to be frequently visited/posted at) so thought I would try my luck here.
    The action performs some back-end processing and if all successful then returns a mapping forward. If an error occurs then an Exception is thrown. The config file contains the entry for the ExceptionHandler which displays the error message on the page (i.e. it calls the same jsp page that the action was first submitted from).
    This all works fine when tested through the browser. Running a successful test via CactusStrutsTestCase also works correctly. But when I try to run a test to validate the error path the test class errors and the cactus output file indicates the Exception was thrown. BUT in my test class method...
    public void testFileUpload()
    this.setRequestPathInfo("/mypath");
    this.addRequestParameter("action", "uploadFile");
    MyForm form = new MyForm();
    form.setFormFile(this.getUploadFile("empty.txt"));
    this.setActionForm(form);
    try
    this.actionPerform();
    System.out.println("got here OK -----------------------");
    catch (Exception e)
    System.out.println("got here ERROR -----------------------" + e.getMessage());
    I try to catch the Exception so I can determine whether the test passed/failed but it is never caught. Instead the test just errors and neither debug line above is printed on the console. Yet the output file indicates that at the 'this.actionPerform();' line an error was uncaught...
    <testcase classname="test.MyCactusTest" name="testFileUpload" time="4.87">
    <error message="An uncaught exception was thrown during actionExecute()" type="org.apache.cactus.internal.client.ServletExceptionWrapper">servletunit.struts.ExceptionDuringTestError: An uncaught exception was thrown during actionExecute()
         at servletunit.struts.CactusStrutsTestCase.actionPerform()V(CactusStrutsTestCase.java:546)
         at test.MyCactusTest.testFileUpload()V(MyCactusTest.java:34)
    I'm bemused! Any help is much appreciated.

    Hi,
    I am experiencing a problem in a test class I wrote to test part of a Struts based application. I have posted this problem on the StrutsTestCase forum but not had a response yet (it doesn't seem to be frequently visited/posted at) so thought I would try my luck here.
    The action performs some back-end processing and if all successful then returns a mapping forward. If an error occurs then an Exception is thrown. The config file contains the entry for the ExceptionHandler which displays the error message on the page (i.e. it calls the same jsp page that the action was first submitted from).
    This all works fine when tested through the browser. Running a successful test via CactusStrutsTestCase also works correctly. But when I try to run a test to validate the error path the test class errors and the cactus output file indicates the Exception was thrown. BUT in my test class method...
    public void testFileUpload()
    this.setRequestPathInfo("/mypath");
    this.addRequestParameter("action", "uploadFile");
    MyForm form = new MyForm();
    form.setFormFile(this.getUploadFile("empty.txt"));
    this.setActionForm(form);
    try
    this.actionPerform();
    System.out.println("got here OK -----------------------");
    catch (Exception e)
    System.out.println("got here ERROR -----------------------" + e.getMessage());
    I try to catch the Exception so I can determine whether the test passed/failed but it is never caught. Instead the test just errors and neither debug line above is printed on the console. Yet the output file indicates that at the 'this.actionPerform();' line an error was uncaught...
    <testcase classname="test.MyCactusTest" name="testFileUpload" time="4.87">
    <error message="An uncaught exception was thrown during actionExecute()" type="org.apache.cactus.internal.client.ServletExceptionWrapper">servletunit.struts.ExceptionDuringTestError: An uncaught exception was thrown during actionExecute()
         at servletunit.struts.CactusStrutsTestCase.actionPerform()V(CactusStrutsTestCase.java:546)
         at test.MyCactusTest.testFileUpload()V(MyCactusTest.java:34)
    I'm bemused! Any help is much appreciated.

  • Error Occurred: Exception thrown is NOT a DSCException : UnExpected From DSC

    Hey Everybody ,
    In the context of my project. I was bring to use LiveCycle ES API  to identify with the server . so when i try to connect using the EJB proposed by livecycle i get this error :
    com.adobe.idp.um.api.UMException| [com.adobe.livecycle.usermanager.client.AuthenticationManagerServiceClient] errorCode:16385 errorCodeHEX:0x4001 message:Exception thrown is NOT a DSCException : UnExpected From DSC chainedException:ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.chainedExceptionMessage:Internal error. chainedException trace:ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.
    at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.doSend(EjbMessageDispatcher.java :175)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)
    at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
    at com.adobe.livecycle.usermanager.client.AuthenticationManagerServiceClient.authenticate(Au thenticationManagerServiceClient.java:109)
    at com.gaselys.test.PurgeProcess.main(PurgeProcess.java:71)
    Caused by: java.rmi.RemoteException: Remote EJBObject lookup failed for 'ejb/Invocation'; nested exception is:
    org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [socket://127.0.0.1:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss. invocation.unified.marshall.InvocationMarshaller&socketTimeout=600000&unmarshaller=org.jbo ss.invocation.unified.marshall.InvocationUnMarshaller]
    at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.initialise(EjbMessageDispatcher. java:105)
    at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.doSend(EjbMessageDispatcher.java :141)
    ... 4 more
    Caused by: org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [socket://127.0.0.1:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall .InvocationMarshaller&socketTimeout=600000&unmarshaller=org.jboss.invocation.unified.marsh all.InvocationUnMarshaller]
    at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientI nvoker.java:530)
    at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
    at org.jboss.remoting.Client.invoke(Client.java:1550)
    at org.jboss.remoting.Client.invoke(Client.java:530)
    at org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.ja va:183)
    at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365)
    at org.jboss.invocation.MarshallingInvokerInterceptor.invoke(MarshallingInvokerInterceptor.j ava:63)
    at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
    at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
    at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:184)
    at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
    at $Proxy0.create(Unknown Source)
    at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.initialise(EjbMessageDispatcher. java:95)
    ... 5 more
    Caused by: java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(SocketClientInvoker. java:187)
    at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketCli entInvoker.java:801)
    at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientI nvoker.java:526)
    ... 17 more
    NB:  The ejb is working well on my first environment <Dev>
    I'm using Livecycle ES 2 9.0
    JBoss_4_2_1_GA
    Oracle 10g
    Any proposal or suggestion will be useful
    Naoufal FAHEM

    Awsome I have no more error
    i had to make change on my  jboss-service.xml .
    change
    <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
    i changed the ${jboss.bind.address} with my server ip adress.
    now everything is working fine

  • BPEL PM 10.1.3.3.0 : Exception Framework not capturing Business Faults.

    Hi Gurus,
    I am facing a problem with exception framework of BPEL PM 10.1.3.3.0 whereby it's not capturing Business Faults thrown using throw activity.
    The following is exactly what I am using:
    1) Fault Policy File:
    <?xml version="1.0" encoding="UTF-8"?>
    <faultPolicy version="2.0.1" id="TestPolicy" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.oracle.com/bpel/faultpolicy" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <Conditions>          
              <faultName xmlns:coeFaults="http://test.myco.com/faults" name="coeFaults:testFault">
                   <condition>
                        <action ref="ora-human-intervention"/>
                   </condition>
              </faultName>
         </Conditions>
         <Actions>
              <Action id="ora-retry">
                   <retry>
                        <retryCount>8</retryCount>
                        <retryInterval>2</retryInterval>
                        <exponentialBackoff/>
                        <retryFailureAction ref="ora-rethrow-fault"/>
                   </retry>
              </Action>
              <!-- This is an action will cause a replay scope fault-->
              <Action id="ora-replay-scope">
                   <replayScope/>
              </Action>
              <!-- This is an action will bubble up the fault-->
              <Action id="ora-rethrow-fault">
                   <rethrowFault/>
              </Action>
              <!-- This is an action will mark the work item to be "pending recovery from console"-->
              <Action id="ora-human-intervention">
                   <humanIntervention/>
              </Action>
              <!-- This action will cause the instance to terminate-->
              <Action id="ora-terminate">
                   <abort/>
              </Action>
         </Actions>
    </faultPolicy>
    2) Faultpolicy Binding which I specify in bpel.xml just after partnerLinkBindings completes :
         <faultPolicyBindings>
              <process faultPolicy="TestPolicy"/>
         </faultPolicyBindings>
    3) Throw activity in my bpel process is as follows:
    <throw name="TestFault" faultName="ns1:testFault"
    faultVariable="FaultVar"/>
    Where ns1 refers to http://test.myco.com/faults
    And FaultVar is of type FaultMessage which is defined as follows:
         <message name="FaultMessage">
              <part name="payload" element="client:FaultEle"/>
         </message>
    And FaultEle is of complexType as follows:
    <complexType name="FaultType">
    <sequence>
    <element name="code" type="string"/>
    <element name="summary" type="string"/>
    <element name="detail" type="string"/>
    </sequence>
    </complexType>
    Gurus, please let me know what wrong I am doing here.
    Or is this a known issue in 10.1.3.3.0 ? If so, please provide me the workaround or fix.
    Thanks-
    Ashish.

    The fault management framework catches all faults (business and runtime) for an invoke activity only.
    For all other activities use the BPEL fault handler.

  • Exception is thrown "mydb is not bound"(needs urgent help)

    We r three students and our final project is a BPM(Business peocess Management)system.
    BPM is actually a workflow system(managing the business processes)and all the rules and constraints are applied from the Rule Management System.
    we have started the implementation, and therefore we need some help related to the implementation.
    We r using EJB2.0 with JBuilder9, JBoss3.2 as the application server and tomcate as the web server.
    problem:
    I want to create manual database connection using DataSource,
    I am using mysql and database name is mydb.
    I have done all the reqiured configration of mysql with Joss and it is working.
    After getting the initial context, when i try to lookup the datasource, exception is thrown "mydb is not bound"
    Initial context is correct because i have tried entity beans asd it works well.
    code is
    Hashtable contextValues = new Hashtable();
    contextValues.put(Context.PROVIDER_URL, "jnp://loopback:1099");
    contextValues.put(Context.INITIAL_CONTEXT_FACTORY,
    "org.jnp.interfaces.NamingContextFactory");
    Context context = new InitialContext(contextValues);
    context.lookup("java://mydb");
    Kindly help me if u find time,
    regards!

    try java:comp/env/jdbc/mydb or java:comp/env/mydb

  • Data Quality vendor-specific error: An error occurred when calling function 'sdq_init_connector ()' in connector ": "(-8) Exception!." Detailed error message: Exception thrown by Java: java.lang.UnsatisfiedLinkError: nio (Not found in com.ibm.oti.vm.boots

    When attempting to create a new Account in siebel integrated with OEDQ the following error occurs.
    ERROR
    Data Quality vendor-specific error: An error occurred when calling function 'sdq_init_connector ()' in connector ": "(-8) Exception!." Detailed error message: Exception thrown by Java: java.lang.UnsatisfiedLinkError: nio (Not found in com.ibm.oti.vm.bootstrap.library.path)(SBL-APS-00118)
    STEPS
    The issue can be reproduced at will with the following steps:
    1) from EDQ director we have imported the EDQ_CDS,EDQ-REFERENCE DATA & EDQ_HISTORICAl DATA packages sucessfully.
    2) Created dnd.param file in SIebel server SDQCOnnector folder.
    3) Copied the libdnd.so file to siebsrvr lib directory(32 bit)
    3) In dnd.param file we have mentioned the javalib file and instllation directory path(<Siebsrvr roo>/dnd/install)
    4) Unzipped the EDQ-Siebel Connector files in dnd/install folder
    5) Copied the dnd.properties file in dnd/install directory and modified it accordingly to point to installed EDQ instance.
    6) Configured the Siebel components for EDQ integration.
    7) Realtime EDQ jobs are running.
    8) Create a new Account
    Env details are
    On : 8.2.2.14 [IP2014] version, Client Functionality
    EDQ 11.1.1.7.4
    IBM JDK 1.7 32 bit
    Using Open UI
    Any Champ have faced this issue and overcame it please let me know the resolution steps. your help is
    Regards
    Monoj Dey
    9007554589

    Hi Monoj,
    A few questions:
    - What OS is Siebel running on?
    - What version of the Siebel connector are you using?
    - Which libdnd.so file are you using?
    - What's the contents of your dnd.parms file?
    thanks,
    Nick

  • "Exception thrown in non-transactional EJB invoke"

              When I throw an application exception from within a statless session bean which uses jdbs for DB Lookup Only I get
              "Exception thrown in non-transactional EJB invoke".
              As this is a llokup only I have no Transaction Management
              

    Tao,
              > If your ejb method is in a transaction context, then you throw application
              exception, the container will try to commit the transaction.
              In the case of an application exception, the caller will be responsible for
              committing or rolling back the transaction. (A runtime exception will roll
              back the transaction automatically.) That is why, if you use CMT, that the
              EJB methods call from outside the EJB container (such as from a servlet)
              should never be able to throw runtime exceptions.
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              http://www.tangosol.com
              +1.617.623.5782
              WebLogic Consulting Available
              "Tao Zhang" <[email protected]> wrote in message
              news:3a33c04a$[email protected]..
              >
              > Hi,
              > It's ok because you look after the transaction yourself. probably you use
              the default transaction attribute 'Supports'.
              >
              > If your ejb method is in a transaction context, then you throw application
              exception, the container will try to commit the transaction.
              >
              > Hope this can help.
              > Tao Zhang
              >
              > "Gormless" <[email protected]> wrote:
              > >
              > >When I throw an application exception from within a statless session bean
              which uses jdbs for DB Lookup Only I get
              > >"Exception thrown in non-transactional EJB invoke".
              > >
              > >As this is a llokup only I have no Transaction Management
              >
              

  • Cfajax Exception thrown not caught

    I'm trying to use the new coldfusion 8 ajax features, but I
    receive this error in the Ajax debug window: "window:global:
    Exception thrown and not caught"
    The result of the ajax cfc call shows correctly in the debug
    window, but never makes it back to my code because of this error.
    sample code:
    <javascript>
    function getUserName(userId) {
    var myTest = new myTestCFC();
    var thisUserName = myTest.getName(userId);
    alert(thisUserName);
    <in body of html>
    <cfajaxproxy cfc="myTestCFC" />
    Any ideas?

    Yes, I have encountered this. What I found out is that if I
    have content in my application.cfc page the results for cfselect
    will not make it back to the dropdowns even though the debug window
    shows that the values are there. I had my footer info in the
    application.cfc. Once I removed that I did not receive the
    exception. I found this from
    Ben
    Forta's blog toward the bottom of the page in the comments
    section.
    Now that I have taken that out when I go to my form the
    dropdowns work correctly but when I select anything from the
    dropdowns I can't reference them. Such as #form.cfselected_value#.
    So I'm going to go back to my application.cfc and start stripping
    items out again to see if there is something there causing the
    issuse. If anyone has an answer for this please let me know.
    Thanks
    Lisa

  • Exception thrown and not caught

    I am testing out Ben Forta's tutorial 2 on ajax dropdown
    menus and I am getting the following error...
    Line: 787
    Char: 1
    Error: Exception thrown and not caught
    WTH????

    Hi,
    Check for any html comments placed either in your
    Application.cfm file (or) the page which you are experiencing the
    error. If anything exists remove those comments and try running the
    page again..
    HTH

  • 'exception thrown but not caught' error on the url iview

    Hi,
    EP6, we have url iview that is working fine for displaying a web application. but the problem is some of the link on the web application throws 'exception thrown but not caught' error. it happens to some of the users though.

    Hi Mokone
    I agree with Raghvendranath statement.
    This is not portal side problem.U just using URL of that application
    Also do this
    Open the URLiView editor and check the Fetch Mode property value.
        Launch the same URL in a new browser window (not in the portal).
        Change the URLiView Fetch Mode property from Server-Side to Client-Side.
        The iView is using the Server-side fetching mode but no proxy is defined for the portal
    Hope this info help you
    Regards
    Ruturaj

  • Did not realize  init() exception thrown by servlet FacesServlet

    Dear Programmers
    I have written a little application using JSF. It works fine on my machine (I use WSAD) but when I deploy it to the server I get the exception:
    [08:47:55:656 IST 06/10/05] 39b61791 ServletInstan E SRVE0100E: Did not realize init() exception thrown by servlet FacesServlet: javax.servlet.ServletException
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:99)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147)
         at com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:189)
         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
         at com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:870)
         at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:224)
         at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:542)
         at com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1272)
         at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:277)
         at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:400)
         at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:218)
         at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:1004)
         at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:136)
         at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:356)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:415)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:808)
         at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:351)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:578)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:268)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:485)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.tivoli.jmx.modelmbean.MMBInvoker.invoke(Unknown Source)
         at com.tivoli.jmx.modelmbean.MMBInvoker.invokeOperation(Unknown Source)
         at com.tivoli.jmx.modelmbean.DynamicModelMBeanSupport.invoke(Unknown Source)
         at javax.management.modelmbean.RequiredModelMBean.invoke(Unknown Source)
         at com.tivoli.jmx.GenericMBeanSupport.invoke(Unknown Source)
         at com.tivoli.jmx.MBeanAccess.invoke(Unknown Source)
         at com.tivoli.jmx.MBeanServerImpl.invoke(Unknown Source)
         at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:658)
         at com.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:141)
         at com.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.perform(ApplicationDeploymentCollectionAction.java:315)
         at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1791)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
         at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
         at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java(Compiled Code))
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
         at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
         at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled Code))
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:80)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:214)
         at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
         at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:116)
         at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
         at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
         at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
         at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615)
         at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
    What does it mean???
    How can I solve the problem?

    Cross-post
    http://forum.java.sun.com/thread.jspa?threadID=683318&tstart=0

  • Dynamic Actions & Cascading List of Values (Exception thrown and not caught

    I am having a really strange issue within my Apex 4.0 environment where I am trying to build dynamic actions and cascading list of values.
    I am trying to develop new functionality in an existing application, (original application developed using HTMLdb 1.6 and gradually updated to Apex 4.0.1), to add a dynamic action that sets a value of another field, using SQL. The dynamic action is failing with 'Exception thrown and not caught - jquery-1.4.2.min.js Line: 28 Char: 162'. However, when I create a new application within the same workspace and develop the same functionality is works without a problem.
    I have ensured the templates for each page/region are an exact copy of each other.
    <b>When I run the application in Firebug I get the following information:</b>
    Date     Fri, 31 Dec 2010 14:20:03 GMT
    Server     Oracle-Application-Server-11g
    X-DB-Content-length     87
    Set-Cookie     HTMLDB_IDLE_SESSION=31-DEC-2010 23:20:03;path=/
    Content-Length     87
    Keep-Alive     timeout=5, max=99
    Connection     Keep-Alive
    Content-Type     text/html; charset=UTF-8
    Content-Language     en
    <b>For the application that is working I get slightly different response headers.</b>
    Date     Fri, 31 Dec 2010 14:20:37 GMT
    Server     Oracle-Application-Server-11g
    Cache-Control     no-cache
    Pragma     no-cache
    X-DB-Content-length     14
    Content-Length     14
    Keep-Alive     timeout=5, max=94
    Connection     Keep-Alive
    Content-Type     application/json
    Content-Language     en
    <b>Notice the Content-Type for the version that doesn't work is using "text/html", while the working version uses "application/json"
    Firebug also provides the following error:</b>
    uncaught exception: Invalid JSON: Content-type: application/json Cache-Control: no-cache Pragma: no-cache {"value":"1"}
    <b>Does anyone have any idea what is going on??
    Thanks.
    Jon</b>

    Patrick,
    Thanks my session verify function was causing the problem and I have removed it temporarily from my authentication scheme.
    I am using the "check_timeout" function that was developed a number of years ago as part of a "How To" section in the old HTMLdb days. I knew there was an issue with this routine as the newer versions of the browsers handle cookies differently and I was going to redevelop it at some point. Do you know which part of the function causes the issue?
    Many Thanks,
    Jon
    FUNCTION check_timeout
    RETURN BOOLEAN
    AS
    l_session_expire VARCHAR2(256) := NULL;
    l_cookie_exists BOOLEAN := TRUE;
    BEGIN
    IF htmldb_custom_auth.get_user IS NULL THEN
    RETURN TRUE;
    END IF;
    BEGIN
    l_session_expire := owa_cookie.get('HTMLDB_IDLE_SESSION').vals(1);
    EXCEPTION WHEN NO_DATA_FOUND THEN
    l_cookie_exists := FALSE; -- no cookie set, assume first page visit after login
    END;
    IF l_cookie_exists
    AND TO_DATE(l_session_expire,'DD-MON-YYYY HH24:MI:SS') < SYSDATE
    THEN
    wwv_flow.g_unrecoverable_error := TRUE;
    owa_util.redirect_url('f?p='||'500:101'); -- Note hard-coded login application and page ID 500:101
    RETURN FALSE;
    ELSIF NOT g_cookie_already_sent THEN
    owa_util.mime_header('text/html', FALSE);
    owa_cookie.send ( NAME => 'HTMLDB_IDLE_SESSION',
    VALUE => TO_CHAR(SYSDATE+(c_max_idle_minutes/1440),'DD-MON-YYYY HH24:MI:SS'),
    expires => NULL,
    path => '/',
    domain => NULL );
    owa_util.http_header_close;
    g_cookie_already_sent := TRUE;
    END IF;
    RETURN TRUE;
    END check_timeout;

  • Handling exception thrown by parseEscapedXML function

    Hi,
    I am using parseEscapedXML function to parse an xml string in the below format .
    <parameters><item id="" value=""/><item id="" value=""/></parameters>
    The exception thrown when input is in incorrect xml format is not caught using catchAll.
    Kindly check if anyone have any idea about this.

    Hi,
    Ideally your BAPI shouldn't raise exceptions - it is much better to use the RETURN table from your BAPI with any relevant messages - have a look at the majority of standard SAP BAPI's in transaction BAPI.
    This way, the only exceptions your try... catch block needs to handle are those related to the actual calling of your BAPI, not it's functionality.
    Also, if you can successfully run the BAPI in SE37 but it fails when called from your WD application, try using the FBGENDAT functionality to capture what data is being passed to SAP from your Web Dynpro application.  All it takes is a simple mistake in setting up your contexts or logic and you won't be calling your BAPI correctly.
    Hope this helps,
    Gareth.

  • Communcation Channel Type E-Mail Receiver Exception thrown in method proces

    Hi,
    I use a scenario R/3 IDOC -> XI -> Email. It is working, however the email is send 4 times.
    I have an error within a communication channel.
    Adaptertype E-Mail Direction Receiver
    The communcation channel message log show the following entry:
    2008-08-14 12:47:09 Erfolgreich Message wurde erfolgreich vom Messaging-System empfangen. Profil: XI URL: http://host:port/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER
    2008-08-14 12:47:09 Erfolgreich Mit der Verbindung Mail_http://sap.com/xi/XI/System. Versuch die Message in die Empfangs-Queue zu stellen
    2008-08-14 12:47:09 Erfolgreich Message erfolgreich in Queue gestellt
    2008-08-14 12:47:09 Erfolgreich Die Message wurde erfolgreich aus der Empfangs-Queue abgerufen
    2008-08-14 12:47:09 Erfolgreich Der Status der Message wurde auf DLNG gesetzt
    2008-08-14 12:47:09 Erfolgreich Liefert an Kanal: CC_Application_Mail_RCV
    2008-08-14 12:47:09 Erfolgreich MP: Tritt in den Modulprozessor ein
    2008-08-14 12:47:09 Erfolgreich MP: Lokales Modul localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean wird verarbeitet
    2008-08-14 12:47:09 Erfolgreich Mail: message entering the adapter
    2008-08-14 12:47:09 Erfolgreich Mail: Receiver adapter entered with qos ExactlyOnce
    2008-08-14 12:47:09 Erfolgreich Mail: calling the adpter for processing
    2008-08-14 12:47:09 Erfolgreich Mail: call completed
    2008-08-14 12:47:09 Erfolgreich Mail: continuing to response message 58650010-69ee-11dd-bc24-0018fe76622e
    2008-08-14 12:47:09 Erfolgreich Mail: sending a delivery ack ...
    2008-08-14 12:47:09 Erfolgreich Mail: sent a delivery ack
    2008-08-14 12:47:09 Erfolgreich MP: Lokales Modul localejbs/AF_Modules/MessageTransformBean wird verarbeitet
    2008-08-14 12:47:09 Fehler MP: Ausnahme aufgetreten mit Grund com.sap.engine.services.ejb.exceptions.BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback.
    2008-08-14 12:47:09 Fehler Ausnahme aufgetreten beim Adapter-Framework: Exception thrown in method process. The transaction is marked for rollback.
    2008-08-14 12:47:09 Fehler Zustellung der Message an die Anwendung über Mail_http://sap.com/xi/XI/System ist fehlgeschlagen weil: com.sap.aii.af.ra.ms.api.RecoverableException: Exception thrown in method process. The transaction is marked for rollback.: com.sap.engine.services.ejb.exceptions.BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback.
    2008-08-14 12:47:09 Erfolgreich Der Status der Message wurde auf WAIT gesetzt
    2008-08-14 12:47:09 Erfolgreich Die Zustellung der asynchronen Message um Thu Aug 14 12:52:09 CEST 2008 wurde erfolgreich eingeplant.
    Does anybody know what do to?
    Best regards,
    Nils Kloth

    Hi,
    it seems that the module processing is not working, if the flag keep attachments is not checked.
    Best regards,
    Nils Kloth

Maybe you are looking for