ADF Exception Handle Problem

Hi All,
1) created a class with "execute" method in ADF model project, and exposed it as a data control.
2) bind the "execute" method into a JSF page in ADF viewController project.
3) tried to run "execute" method from JSF page.
4) some exception thrown from "execute" method, but ADF application didn't show the real exception message but following, why?
<Utils><buildFacesMessage> ADF: Adding the following JSF error message: tried to access class oracle.j2ee.util.TraceLogger$TraceLoggerHandler from class oracle.j2ee.util.CustomerLogger
java.lang.IllegalAccessError: tried to access class oracle.j2ee.util.TraceLogger$TraceLoggerHandler from class oracle.j2ee.util.CustomerLogger
     at oracle.j2ee.util.CustomerLogger.getCompatibleHandler(CustomerLogger.java:248)
     at oracle.j2ee.util.CustomerLogger.getLogger(CustomerLogger.java:231)
     at oracle.j2ee.rmi.RMIMessages.<clinit>(RMIMessages.java:21)
     at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:125)
     at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:571)
     at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:515)
     at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
     at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
     at com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(StatelessSessionRemoteInvocationHandler.java:43)
     at __Proxy3.getObject(Unknown Source)
     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.agile.api.pc.EJBRemoteProxy$1.invoke(EJBRemoteProxy.java:40)
     at $Proxy130.getObject(Unknown Source)
     at com.agile.api.pc.Session$GetObjectAction.doSdkAction(Session.java:1452)
     at com.agile.api.common.SDKAction.run(SDKAction.java:23)
     at com.agile.api.common.OracleAuthenticator.doAs(OracleAuthenticator.java:131)
     at com.agile.api.common.Security.doAs(Security.java:54)
     at com.agile.api.common.Security.doAs(Security.java:109)
     at com.agile.api.pc.Session.getObject(Session.java:448)
     at model.Test.execute(Test.java:113)
     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 oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:567)
     at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2134)
     at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3020)
     at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:440)
     at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:257)
     at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1625)
     at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2141)
     at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:468)
     at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:307)
     at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:730)
     at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:394)
     at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
     at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:185)
     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:157)
     at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
     at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1259)
     at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
     at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
     at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
     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:300)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
     at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
     at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
     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.doIt(WebAppServletContext.java:3684)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
<Utils><buildFacesMessage> ADF: Adding the following JSF error message: tried to access class oracle.j2ee.util.TraceLogger$TraceLoggerHandler from class oracle.j2ee.util.CustomerLogger
java.lang.IllegalAccessError: tried to access class oracle.j2ee.util.TraceLogger$TraceLoggerHandler from class oracle.j2ee.util.CustomerLogger
     at oracle.j2ee.util.CustomerLogger.getCompatibleHandler(CustomerLogger.java:248)
     at oracle.j2ee.util.CustomerLogger.getLogger(CustomerLogger.java:231)
     at oracle.j2ee.rmi.RMIMessages.<clinit>(RMIMessages.java:21)
     at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:125)
     at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:571)
     at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:515)
     at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
     at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
     at com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(StatelessSessionRemoteInvocationHandler.java:43)
     at __Proxy3.getObject(Unknown Source)
     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.agile.api.pc.EJBRemoteProxy$1.invoke(EJBRemoteProxy.java:40)
     at $Proxy130.getObject(Unknown Source)
     at com.agile.api.pc.Session$GetObjectAction.doSdkAction(Session.java:1452)
     at com.agile.api.common.SDKAction.run(SDKAction.java:23)
     at com.agile.api.common.OracleAuthenticator.doAs(OracleAuthenticator.java:131)
     at com.agile.api.common.Security.doAs(Security.java:54)
     at com.agile.api.common.Security.doAs(Security.java:109)
     at com.agile.api.pc.Session.getObject(Session.java:448)
     at model.Test.execute(Test.java:113)
     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 oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:567)
     at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2134)
     at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3020)
     at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:440)
     at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:257)
     at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1625)
     at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2141)
     at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:468)
     at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:307)
     at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:730)
     at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:394)
     at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
     at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:185)
     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:157)
     at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
     at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1259)
     at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
     at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
     at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
     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:300)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
     at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
     at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
     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.doIt(WebAppServletContext.java:3684)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

Hi All,
if i called the "execute" method from a pure Java client application, i got the following exception message,
com.agile.util.exception.CMAppException: Invalid parameter.
     at com.agile.apibean.Generic.createError(Generic.java:29)
     at com.agile.apibean.Generic.checkParameter(Generic.java:41)
     at com.agile.apibean.objects.DataObjectOperations.getObject(DataObjectOperations.java:264)
     at com.agile.apibean.objects.DataObjectOperations.getObject(DataObjectOperations.java:294)
     at com.agile.apibean.APISessionBean.getObject(APISessionBean.java:367)
     at sun.reflect.GeneratedMethodAccessor309.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
     at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
     at com_agile_apibean_APISession_RemoteProxy_2fc2dp8.getObject(Unknown Source)
     at sun.reflect.GeneratedMethodAccessor399.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
     at java.lang.Thread.run(Thread.java:595)
     at com.evermind.server.rmi.RMICall.warningExceptionOriginatesFromTheRemoteServer(RMICall.java:109)
     at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:129)
     at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:571)
     at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:515)
     at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
     at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
     at com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(StatelessSessionRemoteInvocationHandler.java:43)
     at __Proxy3.getObject(Unknown Source)
     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.agile.api.pc.EJBRemoteProxy$1.invoke(EJBRemoteProxy.java:40)
     at $Proxy1.getObject(Unknown Source)
     at com.agile.api.pc.Session$GetObjectAction.doSdkAction(Session.java:1452)
     at com.agile.api.common.SDKAction.run(SDKAction.java:23)
     at com.agile.api.common.OracleAuthenticator.doAs(OracleAuthenticator.java:131)
     at com.agile.api.common.Security.doAs(Security.java:54)
     at com.agile.api.common.Security.doAs(Security.java:109)
     at com.agile.api.pc.Session.getObject(Session.java:448)
     at model.Test.execute(Test.java:113)
     at model.TestClient.main(TestClient.java:16)
com.agile.util.exception.CMAppException: Invalid parameter.
     at com.agile.apibean.Generic.createError(Generic.java:29)
     at com.agile.apibean.Generic.checkParameter(Generic.java:41)
     at com.agile.apibean.objects.DataObjectOperations.getObject(DataObjectOperations.java:264)
     at com.agile.apibean.objects.DataObjectOperations.getObject(DataObjectOperations.java:294)
     at com.agile.apibean.APISessionBean.getObject(APISessionBean.java:367)
     at sun.reflect.GeneratedMethodAccessor309.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
     at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
     at com_agile_apibean_APISession_RemoteProxy_2fc2dp8.getObject(Unknown Source)
     at sun.reflect.GeneratedMethodAccessor399.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
     at java.lang.Thread.run(Thread.java:595)
     at com.evermind.server.rmi.RMICall.warningExceptionOriginatesFromTheRemoteServer(RMICall.java:109)
     at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:129)
     at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:571)
     at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:515)
     at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
     at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
     at com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(StatelessSessionRemoteInvocationHandler.java:43)
     at __Proxy3.getObject(Unknown Source)
     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.agile.api.pc.EJBRemoteProxy$1.invoke(EJBRemoteProxy.java:40)
     at $Proxy1.getObject(Unknown Source)
     at com.agile.api.pc.Session$GetObjectAction.doSdkAction(Session.java:1452)
     at com.agile.api.common.SDKAction.run(SDKAction.java:23)
     at com.agile.api.common.OracleAuthenticator.doAs(OracleAuthenticator.java:131)
     at com.agile.api.common.Security.doAs(Security.java:54)
     at com.agile.api.common.Security.doAs(Security.java:109)
     at com.agile.api.pc.Session.getObject(Session.java:448)
     at model.Test.execute(Test.java:113)
     at model.TestClient.main(TestClient.java:16)
Error code : 60018
Error message : Invalid parameter.
Root Cause exception : com.agile.util.exception.CMAppException: Invalid parameter.
     at com.agile.api.pc.Session.createError(Session.java:1723)
     at com.agile.api.pc.Session$GetObjectAction.doSdkAction(Session.java:1457)
     at com.agile.api.common.SDKAction.run(SDKAction.java:23)
     at com.agile.api.common.OracleAuthenticator.doAs(OracleAuthenticator.java:131)
     at com.agile.api.common.Security.doAs(Security.java:54)
     at com.agile.api.common.Security.doAs(Security.java:109)
     at com.agile.api.pc.Session.getObject(Session.java:448)
     at model.Test.execute(Test.java:113)
     at model.TestClient.main(TestClient.java:16)
Process exited with exit code 0.

Similar Messages

  • Exception Handling Problem In BPM

    All
    I am facing an exception handling problem I am using BPM and , I have caught exception in the transformation step but when there is any data problem in that mapping(mentioned in the transformation)
    it is not throwing the exception . is there any option to collect these type of system exception in  the bpm and give a alert thru mail
    is there any way to collect these type of exception happened in the BPE and raise alert thru generic alert
    Thanks
    Jayaraman

    Hi Jayaraman,
        When you say there is any data problem, does that fail the message mapping that you have defined?
    If the message mapping used in the tranformation fails, it should raise an exception in the BPM.
    Did you test the message mapping using the payload and see if it really fails or not?
    Regards,
    Ravi Kanth Talagana

  • Pls help..Constructor,setter, getter and Exception Handling Problem

    halo, im new in java who learning basic thing and java.awt basic...i face some problem about constructor, setter, and getter.
    1. I created a constructor, setter and getter in a file, and create another test file which would like to get the value from the constructor file.
    The problem is: when i compile the test file, it come out error msg:cannot find symbol.As i know that is because i miss declare something but i dont know what i miss.I post my code here and help me to solve this problem...thanks
    my constructor file...i dont know whether is correct, pls tell me if i miss something...
    public class Employee{
         private int empNum;
         private String empName;
         private double empSalary;
         Employee(){
              empNum=0;
              empName="";
              empSalary=0;
         public int getEmpNum(){
              return empNum;
         public String getName(){
              return empName;
         public double getSalary(){
              return empSalary;
         public void setEmpNum(int e){
              empNum = e;
         public void setName(String n){
              empName = n;
         public void setSalary(double sal){
              empSalary = sal;
    my test file....
    public class TestEmployeeClass{
         public static void main(String args[]){
              Employee e = new Employee();
                   e.setEmpNum(100);
                   e.setName("abc");
                   e.setSalary(1000.00);
                   System.out.println(e.getEmpNum());
                   System.out.println(e.getName());
                   System.out.println(e.getSalary());
    }**the program is work if i combine this 2 files coding inside one file(something like the last part of my coding of problem 2)...but i would like to separate them....*
    2. Another problem is i am writing one simple program which is using java.awt interface....i would like to add a validation for user input (something like show error msg when user input character and negative number) inside public void actionPerformed(ActionEvent e) ...but i dont have any idea to solve this problem.here is my code and pls help me for some suggestion or coding about exception. thank a lots...
    import java.awt.*;
    import java.awt.event.*;
    public class SnailTravel extends Frame implements ActionListener, WindowListener{
       private Frame frame;
       private Label lblDistance, lblSpeed, lblSpeed2, lblTime, lblTime2, lblComment, lblComment2 ;
       private TextField tfDistance;
       private Button btnCalculate, btnClear;
       public void viewInterface(){
          frame = new Frame("Snail Travel");
          lblDistance = new Label("Distance");
          lblSpeed = new Label("Speed");
          lblSpeed2 = new Label("0.0099km/h");
          lblTime = new Label("Time");
          lblTime2 = new Label("");
          lblComment = new Label("Comment");
          lblComment2 = new Label("");
          tfDistance = new TextField(20);
          btnCalculate = new Button("Calculate");
          btnClear = new Button("Clear");
          frame.setLayout(new GridLayout(5,2));
          frame.add(lblDistance);
          frame.add(tfDistance);
          frame.add(lblSpeed);
          frame.add(lblSpeed2);
          frame.add(lblTime);
          frame.add(lblTime2);
          frame.add(lblComment);
          frame.add(lblComment2);
          frame.add(btnCalculate);
          frame.add(btnClear);
          btnCalculate.addActionListener(this);
          btnClear.addActionListener(this);
          frame.addWindowListener(this);
          frame.setSize(100,100);
          frame.setVisible(true);
          frame.pack();     
        public static void main(String [] args) {
            SnailTravel st = new SnailTravel();
            st.viewInterface();
        public void actionPerformed(ActionEvent e) {
           if (e.getSource() == btnCalculate){
              SnailData sd = new SnailData();
           double distance = Double.parseDouble(tfDistance.getText());
           sd.setDistance(distance);
                  sd.setSpeed(0.0099);
              sd.setTime(distance/sd.getSpeed());
              String answer = Double.toString(sd.getTime());
              lblTime2.setText(answer);
              lblComment2.setText("But No Exception!!!");
           else
           if(e.getSource() == btnClear){
              tfDistance.setText("");
              lblTime2.setText("");
       public void windowClosing(WindowEvent e){
                   System.exit(1);
        public void windowClosed (WindowEvent e) { };
        public void windowDeiconified (WindowEvent e) { };
        public void windowIconified (WindowEvent e) { };
        public void windowActivated (WindowEvent e) { };
        public void windowDeactivated (WindowEvent e) { };
        public void windowOpened(WindowEvent e) { };
    class SnailData{
       private double distance;
       private double speed;
       private double time;
       public SnailData(){
          distance = 0;
          speed = 0;
          time = 0;
       public double getDistance(){
          return distance;
       public double getSpeed(){
          return speed;
       public double getTime(){
          return time;
       public void setDistance(double d){
          distance = d;
       public void setSpeed(double s){
          speed = s;
       public void setTime(double t){
          time = t;
    }Pls and thanks again for helps....

    What i actually want to do is SnailTravel, but i facing some problems, which is the
    - Constructor,setter, getter, and
    - Exception Handling.
    So i create another simple contructor files which name Employee and TestEmployeeClass, to try find out the problem but i failed, it come out error msg "cannot find symbol".
    What i want to say that is if i cut below code (SnailTravel) to its own file(SnailData), SnailTravel come out error msg "cannot find symbol".So i force to put them in a same file(SnailTravel) to run properly.
    I need help to separate them. (I think i miss some syntax but i dont know what)
    And can somebody help me about Exception handling too pls.
    class SnailData{
       private double distance;
       private double speed;
       private double time;
       public SnailData(){
          distance = 0;
          speed = 0;
          time = 0;
       public double getDistance(){
          return distance;
       public double getSpeed(){
          return speed;
       public double getTime(){
          return time;
       public void setDistance(double d){
          distance = d;
       public void setSpeed(double s){
          speed = s;
       public void setTime(double t){
          time = t;

  • FORALL Exception handling problem

    Hi All,
    I have one doubt in forall exception handling. I have gone through the SAVE EXCEPTION for bulk collect but i have one more query
    BEGIN
    FORALL j IN l_tab.first .. l_tab.last
    INSERT INTO exception_test
    VALUES (l_tab(i));
    EXCEPTION
    END;
    My requirement is when an exception occurs, i ant to print the values of the collection.
    e.g. say l_tab (j).emp_number, l_tab (j).emp_id.
    How is that possible?
    Thanks
    Samarth
    Edited by: 950810 on Mar 12, 2013 7:28 PM

    >
    I have one doubt in forall exception handling. I have gone through the SAVE EXCEPTION for bulk collect but i have one more query
    BEGIN
    FORALL j IN l_tab.first .. l_tab.last
    INSERT INTO exception_test
    VALUES (l_tab(i));
    EXCEPTION
    END;
    My requirement is when an exception occurs, i ant to print the values of the collection.
    e.g. say l_tab (j).emp_number, l_tab (j).emp_id.
    How is that possible?
    >
    Post the code you are using. You didn't post the FORALL that is using SAVE EXCEPTIONS.
    The SQL%BULK_EXCEPTIONS associative array that you get has the INDEX of the collection element that caused the exception.
    So you need to use those indexes to index into the original collection to get whatever values are in it.
    One index from the exception array is:
    SQL%BULK_EXCEPTIONS(i).error_index So if your original collection is named 'myCollection' you would reference that collection value as:
    myCollection(SQL%BULK_EXCEPTIONS(i).error_index); See 'Handling FORALL Exceptions (%BULK_EXCEPTIONS Attribute)' in the PL/SQL Language doc
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/tuning.htm#i49099
    >
    All exceptions raised during the execution are saved in the cursor attribute %BULK_EXCEPTIONS, which stores a collection of records. Each record has two fields:
    %BULK_EXCEPTIONS(i).ERROR_INDEX holds the iteration of the FORALL statement during which the exception was raised.
    %BULK_EXCEPTIONS(i).ERROR_CODE holds the corresponding Oracle Database error code.
    The values stored by %BULK_EXCEPTIONS always refer to the most recently executed FORALL statement. The number of exceptions is saved in %BULK_EXCEPTIONS.COUNT. Its subscripts range from 1 to COUNT.
    The individual error messages, or any substitution arguments, are not saved, but the error message text can looked up using ERROR_CODE with SQLERRM as shown in Example 12-9.
    You might need to work backward to determine which collection element was used in the iteration that caused an exception. For example, if you use the INDICES OF clause to process a sparse collection, you must step through the elements one by one to find the one corresponding to %BULK_EXCEPTIONS(i).ERROR_INDEX. If you use the VALUES OF clause to process a subset of elements, you must find the element in the index collection whose subscript matches %BULK_EXCEPTIONS(i).ERROR_INDEX, and then use that element's value as the subscript to find the erroneous element in the original collection.

  • Flow Activity Exception Handling Problem

    Hi,
    I am using Flow Activity in my Bpel Process, i am getting some exception in one of flow, but other flows are working fine. Even i have included Catch block for other flow still i am getting fault response.
    Please suggest me how to do exception handling in Flow Activity.
    Thanks in advance.

    Hi,
    just restructure your BPEL process. The 'Flow' activity contains several 'Sequence' activities. Simply ... put a 'Scope' activity inside of each 'Sequence' activity. Then put another 'Sequence' activity inside of each 'Scope' activity ... and put there required logic/activities.
    After that you can create fault handling on these 'Scope' activities. In this way you can handle faults in each flow-sequence.
    Regards,
    Martin

  • JSP Exception Handler problem

    I have set up an errorPage handler (ExceptionHandler.jsp) for my JSP page, Main.jsp. If the Main.jsp throws an exception from some of its early code, ExceptionHandler.jsp shows correctly.
    But if Main.jsp throws an exception later on in its code, its previous ouput to the client isn't cleared and gets sent to the client along with the ExceptionHandler.jsp output - usually resulting in the user seeing a blank screen.
    So how can I make it so that when ExceptionHandler.jsp is called, none of Main.jsp output is sent to the client?
    Cheers,
    James

    Don't handle business logic in JSPs, but in Servlets. Use JSPs for presentation only. With other words: move all those scriptlets out of the JSP file to a real Java class.

  • Exception handling problem

    Hi, i have a database whereby people can look up customer records based on their order numbers. If the order number does not exist, an error should appear.
    Code:
    SET SERVEROUTPUT ON;
    DECLARE
    v_ordNum NUMBER(8) := &sv_odNum;
    v_fname VARCHAR2 (30);
    v_lname VARCHAR2 (30);
    v_add VARCHAR2 (30);
    v_num VARCHAR2 (10);
    BEGIN
    SELECT first, last, cadd, dphone
    INTO v_fname, v_lname, v_add, v_num
    FROM CUSTOMER c, ORDERS o
    WHERE c.custid = o.custid
    AND v_ordNum = o.orderid;
    DBMS_OUTPUT.PUT_LINE(' The name, address and telephone number of the customer follow: '
    ||v_fname|| ' ' ||v_lname ||' ' ||v_add||' ' ||v_num);
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    DBMS_OUTPUT.PUT_LINE(v_ordNum 'was not found. Please try again');
    END;
    When i enter a order number that does not exist i get this instead, y:
    SQL> @q1.sql
    Enter value for sv_odnum: 2331
    old 2: v_ordNum NUMBER(8) := &sv_odNum;
    new 2: v_ordNum NUMBER(8) := 2331;
    DBMS_OUTPUT.PUT_LINE(v_ordNum 'was not found. Please try again');
    ERROR at line 18:
    ORA-06550: line 18, column 33:
    PLS-00103: Encountered the symbol "was not found. Please try again" when
    expecting one of the following:
    . ( ) , * @ % & | = - + < / > at in mod not range rem => ..
    <an exponent (**)> <> or != or ~= >= <= <> and or like as
    between from using is null is not || is dangling
    The symbol "." was substituted for "was not found. Please try again" to
    continue.

    Hi,
    you were careful in using "||" while writing the previous DBMS_OUTPUT.PUT_LINE statement.
    do the same now aslo...
    DBMS_OUTPUT.PUT_LINE(v_ordNum || ' was not found. Please try again');
    Try now and tell me. Simple Errors you should be careful... you just have to read the error carefull and see what it says and why it is wrong.
    Regards
    Jagan

  • Exception handling problems

    hi folks,
    i have developed one web service in which i have thrown a SoapFault
    exception.i want it to see what happens on the client.i get an exception
    thrown but ,theres some thing called SaxParseException that also appears on
    the client console.also while running the web service i get a message on the
    server console which is like this
    Unable to deploy EJB: Hello from Hellodeepuu.jar:
    Unable to bind a cluster-aware stateless session EJBObject to the name:
    HelloHome_EO. Please ensure
    that the jndi-name in the weblogic-ejb-jar.xml is correct. The error was:
    javax.naming.NameAlreadyBoundException: Can't rebind anything but a
    replica-aware stub to a name tha
    t is currently bound to a replica-aware stub; remaining name ''
    <<no stack trace available>>
    what is this?
    and on the cline side console the xml and the exception is like this
    ------------- RECEIVING XML -------------
    <?xml version="1.0"?>
    <definitions
    targetNamespace="java:com.chase.ccs.webservice.transaction"
    xmlns:tns="java:com.chase.ccs.webservice.transaction"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/1999/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    >
    <types>
    <schema targetNamespace='java:com.chase.ccs.webservice.transaction'
    xmlns='http://www.w3.org/1999/XMLSchema'>
    </schema>
    </types>
    <message name="helloRequest">
    </message>
    <message name="helloResponse">
    <part name="return" type="xsd:string" />
    </message>
    <portType name="HelloPortType">
    <operation name="hello">
    <input message="tns:helloRequest"/>
    <output message="tns:helloResponse"/>
    </operation>
    </portType>
    <binding name="HelloBinding" type="tns:HelloPortType"><soap:binding
    style="rpc" transport="http://sc
    hemas.xmlsoap.org/soap/http/"/>
    <operation name="hello">
    <soap:operation soapAction="urn:hello"/>
    <input><soap:body use="encoded" namespace='urn:Hello'
    encodingStyle="http://schemas.xmlsoap.org/soap
    /encoding/"/></input>
    <output><soap:body use="encoded" namespace='urn:Hello'
    encodingStyle="http://schemas.xmlsoap.org/soa
    p/encoding/"/></output>
    </operation>
    </binding>
    <service name="Hello"><documentation>todo</documentation><port
    name="HelloPort" binding="tns:HelloBi
    nding"><soap:address
    location="http://localhost:7001/Hello/Hellouri"/></port></service></definiti
    ons
    >
    -------------- SENDING XML --------------
    <?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope
    xmlns:SOAP-ENV='http://schemas.xmlsoap.org/
    soap/envelope/' xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'
    xmlns:xsi='http://www.w3.
    org/1999/XMLSchema-instance'
    xmlns:xsd='http://www.w3.org/1999/XMLSchema'><SOAP-ENV:Body><ns0:hello
    xmlns:ns0='urn:Hello'
    SOAP-ENV:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'></ns0:hel
    lo
    </SOAP-ENV:Body></SOAP-ENV:Envelope>------------- RECEIVINGXML -------------
    <?xml version="1.0" ?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <soap:Fault>
    <faultcode>
    Client
    </faultcode>
    <faultstring>
    java.rmi.RemoteException
    </faultstring>
    <detail>
    Application fault:
    java.rmi.RemoteException: EJB Exception: ; nested exception is:
    weblogic.soap.SoapFault: faultstring
    ------------- Remote Stack Trace ------------
    detail------------- Local Stack Trace ------------
    weblogic.soap.SoapFault: faultstring
    <<no stack trace available>>
    </detail>
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>
    Scanner has tokens:
    [CHARDATA] (detail------------- Local Stack
    race ------------)
    [SPACE] (
    [CHARDATA] (weblogic.soap.SoapFault: faultstring)
    [SPACE] (
    lt: faultstring
    <n <-- bad character
    ur in exceptionclass org.xml.sax.SAXParseException
    Error at line:18 col:4 '<' expected [?! -- [CDATA[ ]
    at
    weblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseException(SAXE
    lementFactory
    .java:60)
    at
    weblogic.xml.babel.parsers.StreamParser.streamParseSome(StreamParser.java:13
    0)
    at
    weblogic.xml.babel.parsers.BabelXMLEventStream.parseSome(BabelXMLEventStream
    .java:46)
    at
    weblogicx.xml.stream.SubEventStream.parseSome(SubEventStream.java:48)
    at
    weblogicx.xml.stream.SubElementEventStream.parseSome(SubElementEventStream.j
    ava:38)
    at
    weblogicx.xml.stream.SubEventStream.parseSome(SubEventStream.java:48)
    at
    weblogicx.xml.stream.SubElementEventStream.parseSome(SubElementEventStream.j
    ava:38)
    at
    weblogicx.xml.stream.XMLEventStreamBase.hasNext(XMLEventStreamBase.java:135)
    at
    weblogicx.xml.stream.helpers.TextBuilder.process(TextBuilder.java:23)
    at
    weblogic.soap.codec.SoapEncodingCodec.decode(SoapEncodingCodec.java:194)
    at
    weblogic.soap.codec.SoapEncodingCodec.decode(SoapEncodingCodec.java:145)
    at weblogic.soap.codec.CodecFactory.decode(CodecFactory.java:66)
    at weblogic.soap.codec.Operation.read(Operation.java:97)
    at
    weblogic.soap.codec.SoapMessage.readOperation(SoapMessage.java:200)
    at weblogic.soap.codec.SoapMessage.read(SoapMessage.java:130)
    at weblogic.soap.WebServiceProxy.receive(WebServiceProxy.java:480)
    at weblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:431)
    at weblogic.soap.SoapMethod.invoke(SoapMethod.java:186)
    at CountClient.main(CountClient.java:60)
    i am using wl6.1 and rpc style message service.i would appreacite if anyone
    would tell me why i am getting the SaxParse Exception even though i am not
    parsing anything.
    thanx in advance
    deepuu

    hi manoj,
    thanx for the instant reply.
    but in my condition if i want it make it work ,is there any way that i can
    do it.
    deepuu
    "manoj cheenath" <[email protected]> wrote in message
    news:[email protected]...
    In 6.1 the fault->details element in the response is not wrapped in
    CDATA. In some situation (like the one you found) the serialization
    of stack trace to fault->details produce invalid XML. Hence, the
    parser failed.
    This is a bug and i have filed a CR on WSL 6.1.
    regards,
    manoj
    "deepuu" <[email protected]> wrote in message
    news:[email protected]...
    hi folks,
    i have developed one web service in which i have thrown a SoapFault
    exception.i want it to see what happens on the client.i get an
    exception
    thrown but ,theres some thing called SaxParseException that also appearson
    the client console.also while running the web service i get a message onthe
    server console which is like this
    Unable to deploy EJB: Hello from Hellodeepuu.jar:
    Unable to bind a cluster-aware stateless session EJBObject to the name:
    HelloHome_EO. Please ensure
    that the jndi-name in the weblogic-ejb-jar.xml is correct. The error
    was:
    javax.naming.NameAlreadyBoundException: Can't rebind anything but a
    replica-aware stub to a name tha
    t is currently bound to a replica-aware stub; remaining name ''
    <<no stack trace available>>
    what is this?
    and on the cline side console the xml and the exception is like this
    ------------- RECEIVING XML -------------
    <?xml version="1.0"?>
    <definitions
    targetNamespace="java:com.chase.ccs.webservice.transaction"
    xmlns:tns="java:com.chase.ccs.webservice.transaction"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/1999/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    >
    <types>
    <schema targetNamespace='java:com.chase.ccs.webservice.transaction'
    xmlns='http://www.w3.org/1999/XMLSchema'>
    </schema>
    </types>
    <message name="helloRequest">
    </message>
    <message name="helloResponse">
    <part name="return" type="xsd:string" />
    </message>
    <portType name="HelloPortType">
    <operation name="hello">
    <input message="tns:helloRequest"/>
    <output message="tns:helloResponse"/>
    </operation>
    </portType>
    <binding name="HelloBinding" type="tns:HelloPortType"><soap:binding
    style="rpc" transport="http://sc
    hemas.xmlsoap.org/soap/http/"/>
    <operation name="hello">
    <soap:operation soapAction="urn:hello"/>
    <input><soap:body use="encoded" namespace='urn:Hello'
    encodingStyle="http://schemas.xmlsoap.org/soap
    /encoding/"/></input>
    <output><soap:body use="encoded" namespace='urn:Hello'
    encodingStyle="http://schemas.xmlsoap.org/soa
    p/encoding/"/></output>
    </operation>
    </binding>
    <service name="Hello"><documentation>todo</documentation><port
    name="HelloPort" binding="tns:HelloBi
    nding"><soap:address
    location="http://localhost:7001/Hello/Hellouri"/></port></service></definiti
    ons
    >
    -------------- SENDING XML --------------
    <?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope
    xmlns:SOAP-ENV='http://schemas.xmlsoap.org/
    soap/envelope/'xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'
    xmlns:xsi='http://www.w3.
    org/1999/XMLSchema-instance'
    xmlns:xsd='http://www.w3.org/1999/XMLSchema'><SOAP-ENV:Body><ns0:hello
    xmlns:ns0='urn:Hello'
    SOAP-ENV:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'></ns0:hel
    lo
    </SOAP-ENV:Body></SOAP-ENV:Envelope>------------- RECEIVINGXML -------------
    <?xml version="1.0" ?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <soap:Fault>
    <faultcode>
    Client
    </faultcode>
    <faultstring>
    java.rmi.RemoteException
    </faultstring>
    <detail>
    Application fault:
    java.rmi.RemoteException: EJB Exception: ; nested exception is:
    weblogic.soap.SoapFault: faultstring
    ------------- Remote Stack Trace ------------
    detail------------- Local Stack Trace ------------
    weblogic.soap.SoapFault: faultstring
    <<no stack trace available>>
    </detail>
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>
    Scanner has tokens:
    [CHARDATA] (detail------------- Local Stack
    race ------------)
    [SPACE] (
    [CHARDATA] (weblogic.soap.SoapFault: faultstring)
    [SPACE] (
    lt: faultstring
    <n <-- bad character
    ur in exceptionclass org.xml.sax.SAXParseException
    Error at line:18 col:4 '<' expected [?! -- [CDATA[ ]
    at
    weblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseException(SAXE
    lementFactory
    .java:60)
    at
    weblogic.xml.babel.parsers.StreamParser.streamParseSome(StreamParser.java:13
    0)
    at
    weblogic.xml.babel.parsers.BabelXMLEventStream.parseSome(BabelXMLEventStream
    .java:46)
    at
    weblogicx.xml.stream.SubEventStream.parseSome(SubEventStream.java:48)
    at
    weblogicx.xml.stream.SubElementEventStream.parseSome(SubElementEventStream.j
    ava:38)
    at
    weblogicx.xml.stream.SubEventStream.parseSome(SubEventStream.java:48)
    at
    weblogicx.xml.stream.SubElementEventStream.parseSome(SubElementEventStream.j
    ava:38)
    at
    weblogicx.xml.stream.XMLEventStreamBase.hasNext(XMLEventStreamBase.java:135)
    at
    weblogicx.xml.stream.helpers.TextBuilder.process(TextBuilder.java:23)
    at
    weblogic.soap.codec.SoapEncodingCodec.decode(SoapEncodingCodec.java:194)
    at
    weblogic.soap.codec.SoapEncodingCodec.decode(SoapEncodingCodec.java:145)
    at weblogic.soap.codec.CodecFactory.decode(CodecFactory.java:66)
    at weblogic.soap.codec.Operation.read(Operation.java:97)
    at
    weblogic.soap.codec.SoapMessage.readOperation(SoapMessage.java:200)
    at weblogic.soap.codec.SoapMessage.read(SoapMessage.java:130)
    atweblogic.soap.WebServiceProxy.receive(WebServiceProxy.java:480)
    atweblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:431)
    at weblogic.soap.SoapMethod.invoke(SoapMethod.java:186)
    at CountClient.main(CountClient.java:60)
    i am using wl6.1 and rpc style message service.i would appreacite ifanyone
    would tell me why i am getting the SaxParse Exception even though i am
    not
    parsing anything.
    thanx in advance
    deepuu

  • Exception handle problem.

    I'd like to return a value in method doDelete(),but it saids that "finally block dose not complete normally",why? I use Ecplise3.0.1.
    Any advice is highly appreciated!
    Code:
    public int doDelete(String a, String b)
    int state = 0;
    String filter = "num != 1"
    OneDAO oneDAO = new OneDAO ( );
    try
    ArrayList list = oneDAO .query (filter);//get the record to be delete
    oneDAO .deleteDS(list );//delete record from table A
    oneDAO .deleteCom (a, b);//delete record from table B
    state = 0; //success
    catch (OPException e)
    state = 6; //meet exception
    throw new SystemException (e);
    finally
    return state;
    }

    You can not both return a value and throw an excepton, which is what you are tring to do above. If a Throwable is throw, the method never "returns", and the calling blocks "trys" catch block is executed.
    When you post code, please use [code] and [/code] tags as described in Formatting Tips on the message entry page. It makes it much easier to read.

  • Problem in Exception Handling...URGENT

    hi, actually i am trying to make a program using Lucene Api and Using NGramSpeller...
    the information about NGramSpeller is here
    http://www.marine-geo.org/services/oai/docs/javadoc/org/apache/lucene/spell/NGramSpeller.html#suggestUsingNGrams(org.apache.lucene.search.Searcher,%20java.lang.String,%20int,%20int,%20int,%20float,%20float,%20float,%20int,%20java.util.List,%20boolean)
    and here is my code..
    package org.apache.lucene.spell;
    import java.io.IOException;
    import java.io.File;
    import java.io.*;
    import java.io.FileInputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.BufferedReader;
    import org.apache.lucene.index.Term;
    import org.apache.lucene.queryParser.ParseException;
    import org.apache.lucene.search.Query;
    import org.apache.lucene.search.TermQuery;
    import org.apache.lucene.spell.NGramSpeller;
    import org.apache.lucene.store.Directory;
    import org.apache.lucene.store.FSDirectory;
    import org.apache.lucene.analysis.*;
    import org.apache.lucene.index.*;
    import org.apache.lucene.store.*;
    import org.apache.lucene.document.*;
    import org.apache.lucene.search.*;
    import org.apache.lucene.search.BooleanClause.Occur;
    import java.lang.*;
    public class spell1 {
         public static void main(String args[]) throws IOException {     
         try{
         System.out.println("enter the keyword");
         BufferedReader in = new BufferedReader(new InputStreamReader(System.in));//USER INPUT KEYWORDS
        String the_query = in.readLine();               
         //String spellIndex = "C:/opt/lucene/didyoumean/indexes/spell";
         String spellIndex1 = "C:/Documents and Settings/sumit-i/Desktop/ngramspell/ngramspell";
         Searcher spellIndex = new IndexSearcher(spellIndex1);
         NGramSpeller spellChecker = new NGramSpeller();
         float a=2.0f, b=1.0f, c=0.0f;
         try{
         String[] similarWords = spellChecker.suggestUsingNGrams(spellIndex, "jva", 3, 3, 10, a, b, c, 0, null, true);
         System.out.println("DO YOU MEAN.........");
         for(int i=0;i<similarWords.length;i++)
         System.out.println(similarWords);
         catch (IOException e) {
    throw e;
         in.close();
         catch (IOException ioe)
         ioe.printStackTrace();
    the error i am getting is due to some exception handling problem, which is as follows:package org.apache.lucene.spell;
    import java.io.IOException;
    import java.io.File;
    import java.io.*;
    import java.io.FileInputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.BufferedReader;
    import org.apache.lucene.index.Term;
    import org.apache.lucene.queryParser.ParseException;
    import org.apache.lucene.search.Query;
    import org.apache.lucene.search.TermQuery;
    import org.apache.lucene.spell.NGramSpeller;
    import org.apache.lucene.store.Directory;
    import org.apache.lucene.store.FSDirectory;
    import org.apache.lucene.analysis.*;
    import org.apache.lucene.index.*;
    import org.apache.lucene.store.*;
    import org.apache.lucene.document.*;
    import org.apache.lucene.search.*;
    import org.apache.lucene.search.BooleanClause.Occur;
    import java.lang.*;
    public class spell1 {
         public static void main(String args[]) throws IOException {     
         try{
         System.out.println("enter the keyword");
         BufferedReader in = new BufferedReader(new InputStreamReader(System.in));//USER INPUT KEYWORDS
    String the_query = in.readLine();               
         //String spellIndex = "C:/opt/lucene/didyoumean/indexes/spell";
         String spellIndex1 = "C:/Documents and Settings/sumit-i/Desktop/ngramspell/ngramspell";
         Searcher spellIndex = new IndexSearcher(spellIndex1);
         NGramSpeller spellChecker = new NGramSpeller();
         float a=2.0f, b=1.0f, c=0.0f;
         try{
         String[] similarWords = spellChecker.suggestUsingNGrams(spellIndex, "jva", 3, 3, 10, a, b, c, 0, null, true);
         System.out.println("DO YOU MEAN.........");
         for(int i=0;i<similarWords.length;i++)
         System.out.println(similarWords[i]);
         catch (IOException e) {
    throw e;
         in.close();
         catch (IOException ioe)
         ioe.printStackTrace();
    any idea....plzzz                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    what about this??
    try{
         String[] similarWords = spellChecker.suggestUsingNGrams(spellIndex, "jva", 3, 3, 10, a, b, c, 0, null, true);
         System.out.println("DO YOU MEAN.........");
         for(int i=0;i<similarWords.length;i++)
         System.out.println(similarWords);
         catch (ArrayIndexOutOfBoundsException e) {
    System.out.println("exception: " + e.getMessage());
    e.printStackTrace();

  • ADF: Gracefully handling JDBC connection errors?  Part II

    Hi gang
    I while back I posted a forum post to find a solution to "display a specific web page when the JDBC connection drops out on our ADF application, specifically the following error: oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection"
    ...you can see the original post here:
    Re: ADF: Gracefully handling JDBC connection errors?
    For the life of me I can't get this to work now. It appears I can't redirect to another page during the call to reportException. I've had a play with different methods of redirecting, as seen in the following code sample:
    public class ErrorHandlerImpl extends DCErrorHandlerImpl {
      public ErrorHandlerImpl() {
        super(true);
      @Override
      public void reportException(DCBindingContainer dCBindingContainer, Exception exception) {
    //    try {
          String message = exception.getMessage();
          if (message.indexOf("JBO-26061") >= 0) {
            // Method 1
            FacesContext fc = FacesContext.getCurrentInstance();
            UIViewRoot viewRoot =
            fc.getApplication().getViewHandler().createView(fc, "faces/errorPage.jspx");
            fc.setViewRoot(viewRoot);
            fc.renderResponse();
            // Method 2              
            // FacesContext fc = FacesContext.getCurrentInstance();
            // fc.getApplication().getNavigationHandler().handleNavigation(fc, null, "goError");
            // fc.responseComplete();
            // Method 3 - required IOExcepition handler
            // FacesContext.getCurrentInstance().getExternalContext().redirect("faces/errorPage.jspx");
          } else
              super.reportException(dCBindingContainer, exception);
    //    } catch (IOException e) {
    }... with no success.
    Has anyobody any other solutions or advice on getting this to work?
    Your help appreciated.
    Thanks & regads,
    CM.
    PS. JDev 11gR1 ADF BC + ADF Faces RC

    Hi Frank
    Yep, I' tried redirect, that was method 3 (you can see all 3 methods I've attempted, last 2 are commented out).
    With the declarative ADFc exception handler, problem is it's a catch all, not specifically for JBO-26061. Can you think of a way I can tailor fit it for JBO-26061 with a custom message "Database down"?
    In addition the exception handler is not consistently called. As example, if you're moving between pages rather than operating on 1 page, the standard af:messages error dialog is shown if the db connection has been dropped, rather than navigating to the exception handler page. As such it seems the DCErrorHandlerImpl.reportExceptions is the better chokepoint to work from.
    Cheers,
    CM.

  • What is the idea behind Render Response and Exception Handling in TF?

    Dear All,
    While searching for answer for my question, I find it hard to decipher this line.
    task flow exception handling doesn't handle any exception that is in Render Response phase
    I found this several times in many post like this.
    Re: ADF Exception handling (including RENDER RESPNSE PHASE)
    and this
    Re: Exception Handling in TaskFlow
    What's the idea behind exception handling in task flow that is related to JSF/ADF life cycle?
    I can't find a resource on why I should know what phase an exception has been thrown?
    Sorry if my question might be vague/ignorant to others, but I just would like to know the idea from experts around here. :)
    Thanks.
    JDEV 11G PS4

    Hi,
    Render Response is the last lifecycle phase processed during JSF request. The ADF controller has no chance of handling exceptions that occur during this time (example, exception thrown in managed bean) and therefore in its default exception handling implementation ignores this lifecycle phase. As an application developer you don't need to know when an exception is raised. However, if you find that an exception occurs during Render Response and it is not handled by the ADFc declarative exception handler, then you know. You can try and override the framework exception handler as explained here:
    https://blogs.oracle.com/jdevotnharvest/entry/extending_the_adf_controller_exception_handler
    However, better practice is to use try/catch blocks surrounding e.g. calls in a managed bean that could cause exceptions
    Frank

  • ADF Task Flow Exception Handling

    Hi ,
    I tried a very simple thing for taskFlow exception handling.
    I created a bounded task flow with a page fragment (View1.jsff) and another view which is the TaskFlow ExceptionHandler (error.jsff).
    The view1.jsff has a button whose action is bound to the backing bean. In the backingBean method I deliberately do division by 0.
    Since this is an unHandled exception, I would have expected the control to come to error.jsff. But, instead I am shown a pop up box with the error message.
    Why is the control not getting redirected to error.jsff ?
    Thanks.
    S.Srivatsa Sivan

    Hi Frank , im having the same problem.
    I want to handle exceptions that occur while navigating task flows (example: A user navigates to a task flow that he/she does not have view permission)
    I tried using a view activity and method activity as the exception handler but none of them works, the exception is still not handles. It does not even navigate to the exception handler on the task flow.
    on the view page i have:
    <af:panelStretchLayout topHeight="50px" id="psl1">
    <f:facet name="top">
    <af:panelGroupLayout layout="scroll"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    id="pgl1">
    Error message:  
    <af:outputText value="#{controllerContext.currentRootViewPort.exceptionData.message}" id="ot2"/>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="center">
    <af:outputText value="#{my_exception_Handler.stackTrace}" id="ot1"/>
    <!-- id="af_one_column_header_stretched" -->
    </f:facet>
    </af:panelStretchLayout>
    I tried getting the error message and stacktrace from the controllerContext via EL like this "#{controllerContext.currentRootViewPort.exceptionData.message}"
    and from the controllerContext class in functions that i have declared in my_exception_Handler class like this
    " ControllerContext ctx = ControllerContext.getInstance();
    ViewPortContext vCtx = ctx.getCurrentViewPort();
    if(vCtx.getExceptionData() != null){
    StringWriter stringWriter = new StringWriter();
    PrintWriter printWriter = new PrintWriter(stringWriter);
    vCtx.getExceptionData().printStackTrace(printWriter);
    return stringWriter.toString();"
    But all this dont even matter because when the exception occurs on the task flow it does not navigate to the default exception handler.
    thanks for your interest and help in advance.
    Cyborg_0912

  • Exception Handling in ADF 10g

    Hi everybody,
    I want to develop an application and need exception handling.
    I have a helper application that contains this classes:
    MyADFPhaseListener extends ADFPhaseListener that return this: return new MyFacesPageLifecycle(),
    MyErrorHandler extends DCErrorHandlerImpl,
    MyFacesPageLifecycle extends FacesPageLifecycle that contain this methods:
    prepareModel(LifecycleContext ctx) that set my errorhandler with this: ctx.getBindingContext().setErrorHandler(new MyErrorHandler(true));
    and
    reportErrors(PageLifecycleContext ctx){
    DCBindingContainer bc = (DCBindingContainer)ctx.getBindingContainer();
    if (bc != null) {
    ArrayList<Exception> exceptions =new ArrayList<Exception>();
    exceptions = bc.getExceptionsList();
    if (exceptions != null) {
    /*handle exceptions*/
    My problem is here:
    when throw an exception in my app like this: throw new JboException("Don't do that.", "101", null);
    after create pagelifecycle and calling prepareModel(), reporterros() dose not call....!!!
    why?
    Edited by: 859070 on May 15, 2011 9:35 PM

    when click a button and call action of this button.
    please note:
    My helper application and main application are apart. I deploy helper application to jar file and use this jar file in main application.
    Maybe exceptions don`t send to reportErrors() method in MyPageLifeCycle class, because i create a test class like this:
    public class test {
    public static void main(String[] args) throws SQLException {
    ArrayList<Exception> exss = new ArrayList<Exception>();
    exss.add(new JboException("A fatal exception is occurred",
    "103", null));
    exss.add(new NullPointerException());
    exss.add(new SQLException());
    MyFacesPageLifecycle efpl =new MyFacesPageLifecycle();
    efpl.errorReporter(exss);
    Body of errorReporter(ArrayList<Exception>) method is like reportErrors(PageLifecycleContext) just parameter is different.
    public void errorReporter(ArrayList<Exception> excs) {
    if (excs != null) {
    for (Exception exception: excs) {
    if(exception instanceof JboException){
    System.out.println("JBOException is occurred here: "+exception.getMessage());
    else if(exception instanceof SQLException){
    System.out.println("SQLException is occurred here");
    else if(exception instanceof NullPointerException){
    System.out.println("NullPointerException is occurred here");
    else{
    and this handle exceptions list. My opinion is that exceptions between different applications(helper and main) are lost. is this correct?

  • Exception Handling in ADF

    Jdeveloper version 11.1.1.5.0
    Use Case :
    My application has :- 1 Jspx page ( testPage.jspx ) , 1 taskflow ( testExceptionFlow.xml ) , 1 pageFragment ( testOperation.jsff ).
    I have employee table dragged as table on testOperation.jsff with 4 buttons :
    1. Delete - Executes the VO's Delete action.
    2. Commit - AM's commit operation ( through datacontrol )
    3. CustomDeleteAndCommit - One method in VOImpl which deletes the currentRow and calls this.getDBTransaction().commit() method.
    4. CustomCommitThroughBean - Action listener in beans calls the commit through operation binding.
    I have secured my application and create two users in jazn.xml User1 and User2. Now both users are logged in to the application using different browser.
    Both users can see employee with empId 100.
    User1 selects a employee with empId 100 and clicks Delete button. Further clicks Commit button.
    User2 selects the same employee with empId 100 and clicks Delete button. Further he can choose to commit through different options :
    a) Commit
    b) CustomCommitThroughBean
    OR
    CustomDeleteAndCommit
    Obviously there will be jboException stating that row is already delete. When I am calling it through CustomCommitThroughBean operationBinding.getErrors() has errors, so I don't see error on UI.
    I see a couple of posts about different ways of handling Exception :
    [Using Exception Handler in an ADF Task Flow | https://blogs.oracle.com/ADFProgrammers/entry/using_exception_handler_in_an]
    [Extending the ADF Controller exception handler | https://blogs.oracle.com/jdevotnharvest/entry/extending_the_adf_controller_exception_handler]
    [Task Flow Exception Handler | http://adfpractice-fedor.blogspot.com/2011/12/task-flow-exception-handler-you-must.html]
    [Exception Handling in adf (Part 1) | http://adfwithejb.blogspot.com/2012/05/exception-handling-in-adf-part-1.html ]
    Which method of exception handling is applicable should be chosen ?
    I just want to notify user about exception through some custom message and table should get refreshed for further operation.
    My observations :
    I get an error dialog in case :
    Commit & CustomDeleteAndCommit
    whereas no default error in case : CustomCommitThroughBean
    I have uploaded my application [here | http://dl.dropbox.com/u/70986236/BlogApplication/OperationBindingExecuteErrorApp.zip ] . Want to implement exception handling in this application.
    Thanks,
    Rajdeep
    Edited by: Rajdeep on Jul 26, 2012 9:45 PM

    When you invoke an operation programmatically through an ADF OperationBinding, the eventual exception is not thrown to you but it is reported to the BindingContainer and the BindingContainer automatically adds a FacesMessage of ERROR severity to the FacesContext. If you have an <af:messages> tag in your ADF Faces page, this error message should be displayed automatically.
    Dimitar

Maybe you are looking for

  • Academic version 3 question

    how many times can you install the academic version of fcp 3 with the same serial numbers. its not working now and i think it may be because its been installed to the max. anyone know?

  • Computer not recognizing iPhone

    Hello! When I plug the iPhone into a USB port on my MacMini G4, nothing happens - neither iTunes nor iPhoto are launched, and the phone doesn't even charge. I tested the port with other devices, and it works fine. This exact setup has worked like cha

  • IDOC Process And regarding material

    Hi,     I want learn about IDOC In ABAP . So please send me the process of IDOC and the regarding material.

  • PDF viewer dead in 1.3.1

    My pdf viewer was working just fine before the update but now it doesn't load any of the previously fine pdfs. Help!  Post relates to: Pre p100eww (Sprint)

  • Repetitive Manufacturing and Planning Strategy 52

    Can I run Repetitive Manufacturing on a material with the planning strategy of 52 (Plnng w/o final assem. w/o make-to.stock) ? When i try to perform backflush on the planned orders, i am faced with the following error : <b>Plnd ord. <i>XXXXX</i> is a