Building a Custom Worklist Client problem

Hi im following this tutorial http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/bp_worklistcust.htm#CIHFHGHA
I already put all jars on classpath. Can you help me?
But when I try deploy application on weblogic I got this error:
[11:44:48 AM] ---- Deployment started. ----
[11:44:48 AM] Target platform is (Weblogic 10.3).
[11:44:48 AM] Retrieving existing application information
[11:44:55 AM] Running dependency analysis...
[11:44:55 AM] Building...
[11:44:57 AM] Deploying profile...
[11:44:59 AM] Wrote Web Application Module to C:\Oracle\Middleware11\jdeveloper\jdev\mywork\CustomWorkList\WorkListWeb\deploy\webapp.war
[11:44:59 AM] Deploying Application...
[11:46:09 AM] [Deployer:149191]Operation 'deploy' on application 'webapp' is initializing on 'soa_server1'
[11:46:18 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application webapp on soa_server1.: [Deployer:149145]Unable to contact 'bam_server1'. Deployment is deferred until 'bam_server1' becomes available.; nested exception is:
     java.rmi.UnknownHostException: Could not discover administration URL for server 'bam_server1'.
[11:46:18 AM] [Deployer:149193]Operation 'deploy' on application 'webapp' has failed on 'soa_server1'
[11:46:18 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application webapp on soa_server1.: Error encountered during prepare phase of deploying WebService module 'webapp.war'. When processing WebService module 'webapp.war'. Can't find wsdl /wsdls/wsc11/wstx-wscoor-1.1-wsdl-200702.wsdl.
[11:46:18 AM] Weblogic Server Exception: weblogic.management.DeploymentException: Error encountered during prepare phase of deploying WebService module 'webapp.war'. When processing WebService module 'webapp.war'. Can't find wsdl /wsdls/wsc11/wstx-wscoor-1.1-wsdl-200702.wsdl
[11:46:18 AM] Caused by: weblogic.wsee.ws.WsException: When processing WebService module 'webapp.war'. Can't find wsdl /wsdls/wsc11/wstx-wscoor-1.1-wsdl-200702.wsdl[11:46:18 AM] See server logs or server console for more details.
*[11:46:18 AM] weblogic.management.DeploymentException: Error encountered during prepare phase of deploying WebService module 'webapp.war'. When processing WebService module 'webapp.war'. Can't find wsdl /wsdls/wsc11/wstx-wscoor-1.1-wsdl-200702.wsdl*
*[11:46:18 AM] #### Deployment incomplete. ####*
[11:46:18 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
Edited by: José Carlos on 27/05/2010 10:04
I dont know where can i get this wsdls!
Edited by: José Carlos on 27/05/2010 13:52

may have deploy it on soa_server or admin_server
I dont know how to configure and build this application and when can i put this xml:
<ejb-local-ref id="EjbRef_TaskServiceBean_Message">
<ejb-ref-name>ejb/local/TaskServiceBean</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local-home>oracle.bpel.services.workflow.task.ejb.TaskServiceLocalHome</local-home>
<local>oracle.bpel.services.workflow.task.ejb.TaskServiceLocal</local>
<ejb-link>TaskServiceBean</ejb-link>
</ejb-local-ref>
Edited by: José Carlos on 28/05/2010 08:01
When I try to deploy i got this error:
<28/05/2010 11h59min48s GMT-03:00> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application CustomWorkList is not versioned.>
<28/05/2010 12h00min08s GMT-03:00> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1275058787398' for task '0'. Error is: 'weblogic.management.DeploymentException: Error encountered during prepare phase of deploying WebService module 'WorkListWebWebApp.war'. When processing WebService module 'WorkListWebWebApp.war'. Can't find wsdl /wsdls/wsc11/wstx-wscoor-1.1-wsdl-200702.wsdl'
weblogic.management.DeploymentException: Error encountered during prepare phase of deploying WebService module 'WorkListWebWebApp.war'. When processing WebService module 'WorkListWebWebApp.war'. Can't find wsdl /wsdls/wsc11/wstx-wscoor-1.1-wsdl-200702.wsdl
     at weblogic.wsee.deploy.WSEEModule.prepare(WSEEModule.java:146)
     at weblogic.wsee.deploy.AppDeploymentExtensionFactory.prepare(AppDeploymentExtensionFactory.java:147)
     at weblogic.wsee.deploy.AppDeploymentExtensionFactory.access$100(AppDeploymentExtensionFactory.java:27)
     at weblogic.wsee.deploy.AppDeploymentExtensionFactory$1.prepare(AppDeploymentExtensionFactory.java:427)
     at weblogic.application.internal.flow.AppDeploymentExtensionFlow.prepare(AppDeploymentExtensionFlow.java:23)
     Truncated. see log file for complete stacktrace
Caused By: weblogic.wsee.ws.WsException: When processing WebService module 'WorkListWebWebApp.war'. Can't find wsdl /wsdls/wsc11/wstx-wscoor-1.1-wsdl-200702.wsdl
     at weblogic.wsee.deploy.WSEEWebModule.loadWsdlDefinitions(WSEEWebModule.java:166)
     at weblogic.wsee.deploy.WSEEModule.loadWsdl(WSEEModule.java:347)
     at weblogic.wsee.deploy.WSEEAnnotationProcessor.isWsdlHasPolicy(WSEEAnnotationProcessor.java:322)
     at weblogic.wsee.deploy.WSEEAnnotationProcessor.process(WSEEAnnotationProcessor.java:92)
     at weblogic.wsee.deploy.WSEEAnnotationProcessor.process(WSEEAnnotationProcessor.java:52)
     Truncated. see log file for complete stacktrace
>
<28/05/2010 12h00min08s GMT-03:00> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'CustomWorkList'.>
<28/05/2010 12h00min08s GMT-03:00> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.management.DeploymentException: Error encountered during prepare phase of deploying WebService module 'WorkListWebWebApp.war'. When processing WebService module 'WorkListWebWebApp.war'. Can't find wsdl /wsdls/wsc11/wstx-wscoor-1.1-wsdl-200702.wsdl
     at weblogic.wsee.deploy.WSEEModule.prepare(WSEEModule.java:146)
     at weblogic.wsee.deploy.AppDeploymentExtensionFactory.prepare(AppDeploymentExtensionFactory.java:147)
     at weblogic.wsee.deploy.AppDeploymentExtensionFactory.access$100(AppDeploymentExtensionFactory.java:27)
     at weblogic.wsee.deploy.AppDeploymentExtensionFactory$1.prepare(AppDeploymentExtensionFactory.java:427)
     at weblogic.application.internal.flow.AppDeploymentExtensionFlow.prepare(AppDeploymentExtensionFlow.java:23)
     Truncated. see log file for complete stacktrace
Caused By: weblogic.wsee.ws.WsException: When processing WebService module 'WorkListWebWebApp.war'. Can't find wsdl /wsdls/wsc11/wstx-wscoor-1.1-wsdl-200702.wsdl
     at weblogic.wsee.deploy.WSEEWebModule.loadWsdlDefinitions(WSEEWebModule.java:166)
     at weblogic.wsee.deploy.WSEEModule.loadWsdl(WSEEModule.java:347)
     at weblogic.wsee.deploy.WSEEAnnotationProcessor.isWsdlHasPolicy(WSEEAnnotationProcessor.java:322)
     at weblogic.wsee.deploy.WSEEAnnotationProcessor.process(WSEEAnnotationProcessor.java:92)
     at weblogic.wsee.deploy.WSEEAnnotationProcessor.process(WSEEAnnotationProcessor.java:52)
     Truncated. see log file for complete stacktrace
>
[12:00:08 PM] #### Deployment incomplete. ####
Edited by: José Carlos on 28/05/2010 08:03

Similar Messages

  • Building a custom worklist client in 11g R1 fails to authenticate [Solved]

    Release: 11gR1
    Hi,
    We're trying to build a custom worklist client using the APIs exposed by the workflow service described here:
    http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/bp_worklistcust.htm#BHAHBHID
    I created an ADF/webcenter application.
    Created a page and added ADF security to the page which in turn authenticates via OID - this works.
    However when I try to use the workflow API to retrieve the workflow context I receive this exception:
    ========= get tasks =========
    admin user : weblogic
    admin pw : weblogic1
    realm : myrealm
    user : harry
    exception : ORABPEL-30501
    Error in authenticating user.
    Error in authenticating and creating a workflow context for user myrealm/weblogic.
    Verify that the user credentials and identity service configurations are correct.
    message : Error in authenticating user.
    Error in authenticating and creating a workflow context for user myrealm/weblogic.
    Verify that the user credentials and identity service configurations are correct.
    ORABPEL-30501
    Error in authenticating user.
    Error in authenticating and creating a workflow context for user myrealm/weblogic.
    Verify that the user credentials and identity service configurations are correct.
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl_1031_WLStub.authenticate(Unknown Source)
    at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.authenticate(TaskQueryServiceRemoteClient.java:103)
    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.bpel.services.workflow.client.WFClientRetryInvocationHandler.invokeTarget(WFClientRetryInvocationHandler.java:121)
    at oracle.bpel.services.workflow.client.WFClientRetryInvocationHandler.invoke(WFClientRetryInvocationHandler.java:67)
    at $Proxy138.authenticate(Unknown Source)
    at view.services.worklistService.getTasks(worklistService.java:46)
    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 javax.el.BeanELResolver.getValue(BeanELResolver.java:261)
    at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
    at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
    at com.sun.el.parser.AstValue.getValue(AstValue.java:118)
    at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
    at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
    at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getValue(ValueRenderer.java:184)
    at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getConvertedString(ValueRenderer.java:145)
    at oracle.adfinternal.view.faces.renderkit.rich.OutputTextRenderer.encodeAll(OutputTextRenderer.java:108)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:392)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.ja
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.ja
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:125)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:201)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:167)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:317)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
    at oracle.adf.view.rich.render.RichRenderer.encodeStretchedChild(RichRenderer.java:1523)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._renderPane(PanelSplitterRenderer.java:925)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._renderSecondPane(PanelSplitterRenderer.java:831)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer.encodeAll(PanelSplitterRenderer.java:166)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
    at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:221)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
    at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:820)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1494)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:771)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
    at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:202)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:685)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:261)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:193)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    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:292)
    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:85)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
    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.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
    at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
    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.run(WebAppServletContext.java:3588)
    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:2200)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NoClassDefFoundError: Could not initialize class oracle.tip.pc.infra.exception.PCRuntimeException
    at oracle.tip.pc.services.common.ServiceFactory.getAuthenticationServiceInstance(ServiceFactory.java:166)
    at oracle.bpel.services.workflow.verification.impl.VerificationService.getAuthenticationService(VerificationService.java:3688)
    at oracle.bpel.services.workflow.verification.impl.VerificationService.authenticateUser(VerificationService.java:620)
    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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
    at oracle.bpel.services.workflow.common.WorkflowServiceCacheEventAdvice.invoke(WorkflowServiceCacheEventAdvice.java:85)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at oracle.bpel.services.common.dms.MethodPhaseEventAspect.invoke(MethodPhaseEventAspect.java:82)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at oracle.bpel.services.common.dms.MethodEventAspect.invoke(MethodEventAspect.java:70)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy154.authenticateUser(Unknown Source)
    at oracle.bpel.services.workflow.query.impl.TaskQueryService.authenticate(TaskQueryService.java:394)
    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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
    at oracle.bpel.services.workflow.common.WorkflowServiceCacheEventAdvice.invoke(WorkflowServiceCacheEventAdvice.java:85)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at oracle.bpel.services.workflow.test.workflow.ExceptionTestCaseBuilder.invoke(ExceptionTestCaseBuilder.java:155)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at oracle.bpel.services.common.dms.MethodEventAspect.invoke(MethodEventAspect.java:70)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at oracle.bpel.services.common.dms.MethodPhaseEventAspect.invoke(MethodPhaseEventAspect.java:82)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy162.authenticate(Unknown Source)
    at oracle.bpel.services.workflow.query.ejb.TaskQueryServiceBean.authenticate(TaskQueryServiceBean.java:80)
    at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl.authenticate(TaskQueryService_oz1ipg_EOImpl.java:733)
    at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    ... 2 more
    The Code Fragment that causes the exception:
    public class worklistService {
    String adminUser = "weblogic";
    String adminPassword = "weblogic1";
    String realm = "myrealm";
    public List getTasks() throws WorkflowException, StaleObjectException {
    System.out.println("========= get tasks =========");
    List tasks = null;
    String user = ADFContext.getCurrent().getSecurityContext().getUserName();
    try {
    IWorkflowServiceClient iWorkflowServiceClient = WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.REMOTE_CLIENT);
    ITaskQueryService iTaskQueryService = iWorkflowServiceClient.getTaskQueryService();
    System.out.println("admin user : " + adminUser);
    System.out.println("admin pw : " + adminPassword);
    System.out.println("realm : " + realm);
    System.out.println("user : " + user);
    IWorkflowContext adminContext = iTaskQueryService.authenticate(adminUser, adminPassword.toCharArray(), realm); *<-- EXCEPTION HERE*
    System.out.println("------ adminContext : " + adminContext);
    IWorkflowContext userContext = iTaskQueryService.authenticateOnBehalfOf(adminContext,user);
    System.out.println("------ userContext : " + userContext);
    My wf_client_config.xml file:
    <workflowServicesClientConfiguration xmlns="http://xmlns.oracle.com/bpel/services/client">
         <server name="default" default="true">
              <localClient>
                   <participateInClientTransaction>false</participateInClientTransaction>
              </localClient>
              <remoteClient>
                   <serverURL>t3://localhost:8001</serverURL>
                   *<userName>weblogic</userName>*
                   *<password>weblogic1</password>*
                   <initialContextFactory>weblogic.jndi.WLInitialContextFactory</initialContextFactory>
                   <participateInClientTransaction>false</participateInClientTransaction>
              </remoteClient>
              <soapClient>
                   <rootEndPointURL>http://localhost:8001</rootEndPointURL>
                   <identityPropagation mode="dynamic" type="saml">
                        <policy-references>
                             <policy-reference enabled="true" category="security" uri="oracle/wss10_saml_token_client_policy"/>
                        </policy-references>
                   </identityPropagation>
              </soapClient>
         </server>
    </workflowServicesClientConfiguration>
    Further Notes:
    The out-of-the-box worklistapp included with BPEL authenticates correctly through the same OID instance.
    The above was when I used REMOTE_CLIENT, I get a similar error when I use SOAP_CLIENT.
    Any help is greatly appreciated.
    Thanks
    Bud
    Edited by: user1330597 on Jul 15, 2009 8:54 AM

    Hi Guys,
    Thank you for taking the time to answer my questions, from your replies I gathered that I was barking up the wrong tree.
    I'll comment on my solution below for the curious.
    thx
    Bud
    I left my wf_client_config.xml file as is. (shown in the original comment above - I have this file in the ViewController project's src directory - not the global src directory)
    I reverted my workflow-identity-config.xml file to its original state (ie removed the multiple configurations and defaulted to the jazn.com realm):
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <ISConfiguration xmlns="http://www.oracle.com/pcbpel/identityservice/isconfig" >
    <configurations>
    <configuration realmName="jazn.com">
    <provider providerType="JPS" name="JpsProvider" service="Identity">
    <property name="jpsContextName" value="default" />
    </provider>
    </configuration>
    </configurations>
    <property name="caseSensitive" value="false"/>
    </ISConfiguration>
    It seemed to me that the worklist client service (API) always uses jazn.com as the realm, even though I added users to myrealm (weblogic's default realm) via oid.
    When I browse for users in a HumanTask.task file in JDeveloper for instance the users I had added to myrealm show up in the jazn.com realm - which is okay since they're all in there.
    Since this is a client and we don't really know the password of a user logging in I used the authenticateOnBehalfOf() method to get the IWorkflowContext of the user after getting the IWorkflowContext of an Administrator.
    In order to get an administrator IWorkflowContext you need to authenticate against a user who is in the 'Administrators' group.
    The code I used is below:
    public class worklistService {
    String adminUser = "harry";
    String adminPassword = "welcome1";
    String realm = "jazn.com";
    public List getTasks() throws WorkflowException, StaleObjectException {
    String user = ADFContext.getCurrent().getSecurityContext().getUserName();
    try {
    IWorkflowServiceClient iWorkflowServiceClient = WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.REMOTE_CLIENT);
    ITaskQueryService iTaskQueryService = iWorkflowServiceClient.getTaskQueryService();
    System.out.println("admin user : " + adminUser);
    System.out.println("admin pw : " + adminPassword);
    System.out.println("realm : " + realm);
    System.out.println("user : " + user);
    IWorkflowContext directUserContext = iTaskQueryService.authenticate("ben", adminPassword.toCharArray(), realm);
    System.out.println("------ directUserContext : " + directUserContext);
    IWorkflowContext adminContext = iTaskQueryService.authenticate(adminUser, adminPassword.toCharArray(), realm);
    System.out.println("------ adminContext : " + adminContext);
    IWorkflowContext userContext = iTaskQueryService.authenticateOnBehalfOf(adminContext,user);
    System.out.println("------ userContext : " + userContext);
    Hope this helps someone else ...

  • Exception adding attachment from custom worklist client

    I am building a custom Human Task Editor for BPEL. This is a java standalone (at the moment) and runs on my local Mac machine. The SOA Suite 11g is installed on Linux hosted box.
    A BPEL process is already deployed and an instance created. The instance has reached the 'human task' activity. I can also verify this from <host:port/integration/worklistapp>. However, we plan to build our own worklist app.
    In this custom worklist app (which is configured through REMOTE protocol ), I make use of the taskQueryService to fetch a list of all human tasks assigned to a particular user. This returns me with a list. All works well.
    However, when I try to add an attachment to one of the tasks, I get an exception.
    -------------------CODE:----------------------------------
    import oracle.bpel.services.workflow.task.model.AttachmentTypeImpl;
    In my main class :
    AttachmentTypeImpl at = new AttachmentTypeImpl() {
    public InputStream getInputStream() {
    throw new UnsupportedOperationException("Not supported yet.");
    public void setInputStream(InputStream arg0) {
    throw new UnsupportedOperationException("Not supported yet.");
    public void setBoundary(String arg0) {
    throw new UnsupportedOperationException("Not supported yet.");
    public String getBoundary() {
    throw new UnsupportedOperationException("Not supported yet.");
    at.setContent("THIS IS ATTACH CONTENT");
    at.setMimeType("application/msword");
    at.setName("MyAttach.doc");
    task.addAttachment(at);
    try {
    taskSrvc.addAttachment(ctx, task.getSystemAttributes().getTaskId(), at);
    } catch (StaleObjectException ex) {
    } catch (WorkflowException ex) {
    --------- EXCEPTION --------------------
    Exception in thread "main" java.lang.NullPointerException
    at oracle.xml.jaxb.JaxbNode.getOwnerDocument(JaxbNode.java:237)
    at oracle.xml.jaxb.JaxbNode.setJaxbElement(JaxbNode.java:782)
    at oracle.bpel.services.workflow.task.model.AttachmentTypeImpl.setContent(AttachmentTypeImpl.java:50)
    at customworklistclilent.Main.addAttachment(Main.java:224)
    at customworklistclilent.Main.queryTasks(Main.java:156)
    at customworklistclilent.Main.main(Main.java:70)
    Has anyone tried adding an attachment from the custom worklist client using remote ejb interface

    Have you tried working with the addAttachment() method of the Message interface (http://help.sap.com/javadocs/pi/SP3/xpi/com/sap/engine/interfaces/messaging/api/Message.html#addAttachment%28com.sap.engine.interfaces.messaging.api.Payload%29) ... It may require some (major) redesign of your JAVA mapping (I'm still on XI, so I can't validate this assumption)
    Chris

  • Problems with building custom worklist application

    I'am trying to build a custom worklist application using this: http://download.oracle.com/docs/cd/E15523_01/integration.1111/e10224/bp_worklistcust.htm
    Here is the code I've built so far (it si quite simple but, for now, I'm just trying to get hold of the concepts involved):
    public class Test {
    public static void main(String[] args) {
    IWorkflowServiceClient wfsc = WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.REMOTE_CLIENT);
    ITaskQueryService queryService = wfsc.getTaskQueryService();
    IWorkflowContext context;
    try {
    context = queryService.authenticate("jstein", "welcome1".toCharArray(), null);
    } catch (WorkflowException e) {
    e.printStackTrace();
    When I run this I get the following exception trace:
    Exception in thread "main" oracle.bpel.services.workflow.client.WorkflowServiceClientException: javax.naming.NameNotFoundException: Unable to resolve 'TaskQueryService'. Resolved '' [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'TaskQueryService'. Resolved '']; remaining name 'TaskQueryService'
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.authenticate(TaskQueryServiceRemoteClient.java:123)
         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.bpel.services.workflow.client.WFClientRetryInvocationHandler.invokeTarget(WFClientRetryInvocationHandler.java:121)
         at oracle.bpel.services.workflow.client.WFClientRetryInvocationHandler.invoke(WFClientRetryInvocationHandler.java:67)
         at $Proxy14.authenticate(Unknown Source)
         at net.aslcom.wlapp.Test.main(Test.java:19)
    Caused by: javax.naming.NameNotFoundException: Unable to resolve 'TaskQueryService'. Resolved '' [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'TaskQueryService'. Resolved '']; remaining name 'TaskQueryService'
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at weblogic.jndi.internal.ServerNamingNode_1032_WLStub.lookup(Unknown Source)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:405)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:393)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.authenticate(TaskQueryServiceRemoteClient.java:118)
         ... 8 more
    Caused by: javax.naming.NameNotFoundException: Unable to resolve 'TaskQueryService'. Resolved ''
         at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
         at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
         at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
         at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
         at weblogic.jndi.internal.RootNamingNode_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
         at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Process exited with exit code 1.
    I would appreciate any help. I'm really stuck with this..
    Thanks! :)

    I've finally found a solution to this problem. The problem was that I was trying to connect to a workflow api on the *7001* port but that wasn't the correct port. The correct port is *8001*.
    I came to this conclusion quite accidental (or out of desperation if you like).
    What I don't understand is that in every single official Oracle document about workflow and worklist the port they were targeting was *7001*. I have to emphasize that I installed SOA 11g suite with all default settings.
    Problem solved, moving on.

  • Building Custom Worklist application in 11g using wlfullclient.jar

    Hi,
    Can anybody mention me the detailed steps to be followed to build a custom Worklist application.
    I have created a Web application jdev 11g
    I placed the following url to create
    http://download.oracle.com/docs/cd/E1552301/integration.1111/e10224/bp_worklistcust.htm_+
    placed the following jars in classpath
    Wsclient_extended.jar
    Bpm-services.jar
    Bpm-infra.jar
    Wlfullclient.jar
    xmlparserv2.jar
    xml.jar
    I did not find this bpm-services-client.jar* anywhere in the SOA stack. I am missing this??
    and also place wf_client_config.xml under src folder the content is as below
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <workflowServicesClientConfiguration xmlns="http://xmlns.oracle.com/bpel/services/client">
    <server name ="default" default="true" >
    <localClient>
    <participateInClientTransaction>false</participateInClientTransaction>
    </localClient>
    <remoteClient>
    <serverURL>t3://localhost:7001</serverURL>
    <userName>weblogic</userName>
    <password>weblogic123</password>
    <initialContextFactory>weblogic.jndi.WLInitialContextFactory
    </initialContextFactory>
    <participateInClientTransaction>false</participateInClientTransaction>
    </remoteClient>
    <soapClient>
    <rootEndPointURL>http://localhost:7001</rootEndPointURL>
    <identityPropagation mode="dynamic" type="saml">
    <policy-references>
    <policy-reference enabled="true" category="security"
    uri="oracle/wss10_saml_token_client_policy"/>
    </policy-references>
    </identityPropagation>
    </soapClient>
    </server>
    </workflowServicesClientConfiguration>
    And I have placed web.xml and weblogic.xml under WEB-INF folder.
    I do not have any compile time error.
    But when I am trying to deploy the application I am getting the following error.
    If i remove the wlfullclient.jar I am not getting this error as it is trying to load something while deployment.
    Please can anybody tell me what exactly I am missing.
    javax.xml.ws.WebServiceException: javax.xml.ws.WebServiceException: java.lang.InstantiationException: weblogic.wsee.jaxws.client.async.AsyncTransportProvider
         at weblogic.wsee.jaxws.WLSInstanceResolver.getSingleton(WLSInstanceResolver.java:36)
         at weblogic.wsee.jaxws.WLSInstanceResolver.start(WLSInstanceResolver.java:55)
         at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.start(WLSInstanceResolver.java:82)
         at com.sun.xml.ws.server.InvokerTube.setEndpoint(InvokerTube.java:85)
         at weblogic.wsee.jaxws.EndpointAwareLateInitTube.postCreateEndpoint(EndpointAwareLateInitTube.java:48)
         at weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:111)
         at weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:61)
         at weblogic.wsee.jaxws.JAXWSDeployedServlet.init(JAXWSDeployedServlet.java:54)
         at javax.servlet.GenericServlet.init(GenericServlet.java:241)
         at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
         at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
         at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1976)
         at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1950)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1869)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
         at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Edited by: c devi on 24 Sep, 2010 8:45 AM

    Hi,
    Can anybody mention me the detailed steps to be followed to build a custom Worklist application.
    I have created a Web application jdev 11g
    I placed the following url to create
    http://download.oracle.com/docs/cd/E1552301/integration.1111/e10224/bp_worklistcust.htm_+
    placed the following jars in classpath
    Wsclient_extended.jar
    Bpm-services.jar
    Bpm-infra.jar
    Wlfullclient.jar
    xmlparserv2.jar
    xml.jar
    I did not find this bpm-services-client.jar* anywhere in the SOA stack. I am missing this??
    and also place wf_client_config.xml under src folder the content is as below
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <workflowServicesClientConfiguration xmlns="http://xmlns.oracle.com/bpel/services/client">
    <server name ="default" default="true" >
    <localClient>
    <participateInClientTransaction>false</participateInClientTransaction>
    </localClient>
    <remoteClient>
    <serverURL>t3://localhost:7001</serverURL>
    <userName>weblogic</userName>
    <password>weblogic123</password>
    <initialContextFactory>weblogic.jndi.WLInitialContextFactory
    </initialContextFactory>
    <participateInClientTransaction>false</participateInClientTransaction>
    </remoteClient>
    <soapClient>
    <rootEndPointURL>http://localhost:7001</rootEndPointURL>
    <identityPropagation mode="dynamic" type="saml">
    <policy-references>
    <policy-reference enabled="true" category="security"
    uri="oracle/wss10_saml_token_client_policy"/>
    </policy-references>
    </identityPropagation>
    </soapClient>
    </server>
    </workflowServicesClientConfiguration>
    And I have placed web.xml and weblogic.xml under WEB-INF folder.
    I do not have any compile time error.
    But when I am trying to deploy the application I am getting the following error.
    If i remove the wlfullclient.jar I am not getting this error as it is trying to load something while deployment.
    Please can anybody tell me what exactly I am missing.
    javax.xml.ws.WebServiceException: javax.xml.ws.WebServiceException: java.lang.InstantiationException: weblogic.wsee.jaxws.client.async.AsyncTransportProvider
         at weblogic.wsee.jaxws.WLSInstanceResolver.getSingleton(WLSInstanceResolver.java:36)
         at weblogic.wsee.jaxws.WLSInstanceResolver.start(WLSInstanceResolver.java:55)
         at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.start(WLSInstanceResolver.java:82)
         at com.sun.xml.ws.server.InvokerTube.setEndpoint(InvokerTube.java:85)
         at weblogic.wsee.jaxws.EndpointAwareLateInitTube.postCreateEndpoint(EndpointAwareLateInitTube.java:48)
         at weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:111)
         at weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:61)
         at weblogic.wsee.jaxws.JAXWSDeployedServlet.init(JAXWSDeployedServlet.java:54)
         at javax.servlet.GenericServlet.init(GenericServlet.java:241)
         at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
         at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
         at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1976)
         at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1950)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1869)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
         at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Edited by: c devi on 24 Sep, 2010 8:45 AM

  • BPM Custom Worklist Implementation

    Hi everyone,
    I am working on BPM custom worklist application. I followed the steps to create a sample page with using TaskList task flow as explained in [BPM User's Guide|http://docs.oracle.com/cd/E23943_01/user.1111/e15175/bpmug_ws_taskflows.htm#BACFBHAE]. But when I browse to the sample page that contains TaskList task flow, it just renendered a blank page and the below exception trace is thrown on SOA console. I guess it's coming from security related issue. Does anyone know what the cause of the problem is? Thanks in advance.
    <Aug 15, 2012 1:45:46 AM EDT> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'soa_server1' has triggered at Aug 15, 2012 1:45:46 AM EDT. Notification details:                                                                                                                                                 
    WatchRuleType: Log                                                                                                                                                              
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))                                                                                                                                                                      
    WatchData: DATE = Aug 15, 2012 1:45:46 AM EDT SERVER = soa_server1 MESSAGE = [ServletContext@8620404[app:bpmUI_application1 module:bpmUI-ViewController-context-root path:/bpmUI-ViewController-context-root spec-version:2.5]] Servlet failed with Exception                                                                                                    
    java.lang.NullPointerException                                                                                                                                                  
            at oracle.adfinternal.view.faces.context.RichPhaseListener.afterPhase(RichPhaseListener.java:352)                                                                       
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)                                                                          
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
            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 oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
            at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
            at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
            at java.security.AccessController.doPrivileged(Native Method)
            at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
            at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
            at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
            at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
            at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
            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)Regards,
    K.Hein

    I started to work on my custom worklist client using this explanation: http://download.oracle.com/docs/cd/E15523_01/integration.1111/e10224/bp_worklistcust.htm#CIHDAABE
    I tried the code from Example 28-1 (I'm calling it from main method of a test class) but I'm stuck with this stack trace:
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/j2ee/ws/common/jaxws/ServiceDelegateImpl
         at oracle.bpel.services.workflow.client.WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.java:144)
         at Execute.main(Execute.java:19)
    Caused by: java.lang.ClassNotFoundException: oracle.j2ee.ws.common.jaxws.ServiceDelegateImpl
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
         ... 2 more
    Web logic and SOA server are up and running.
    I guess there has to be at least some config file but in the link I gave at the beginning I can't find any explanation how to write it.
    Is there any better tutorial or explanation?
    Please help :)

  • Problem deserializing error response in BPEL Custom Worklist

    Hi ,
    I have developed a BPEL custom worklist application using the 11G worklist API.
    Everything is working fine for me if I deploy my application in Tomcat 6.0
    However , if I deploy my application on WebLogic 10x and if any of the API methods get a exception ,
    I am not able to get the exact Exception . It gives me error like
    **java.rmi.UnmarshalException: Problem deserializing error response; nested exception is:**
    **java.io.InvalidClassException: oracle.xml.parser.v2.XMLNode; local class incompatible: stream classdesc**
    **serialVersionUID = -9017926583992508837, local class serialVersionUID = 5247237047346331071**
    I am facing this problem only in Weblogic.
    Jars included in my Application WEB-INF/lib are
    wlfullclient.jar
    xml.jar
    wsclient.jar
    orasaaj.jar
    orabpel-common.jar
    orabpel.jar
    xmlparserv2.jar
    soa-infra-mgmt.jar
    oracle-soa-client-api.jar
    orabpel-thirdparty.jar
    jazncore.jar
    fabric-common.jar
    wlclient.jar
    bpm-services.jar
    bpm-infra.jar
    ejb.jar
    Entire exception is as follows :
    oracle.bpel.services.workflow.client.WorkflowServiceClientException: java.rmi.UnmarshalException: Problem deserializing error response; nested exception is:
         java.io.InvalidClassException: oracle.xml.parser.v2.XMLNode; local class incompatible: stream classdesc serialVersionUID = -9017926583992508837, local class serialVersionUID = 5247237047346331071
         at oracle.bpel.services.workflow.task.client.TaskServiceRemoteClient.acquireTask(TaskServiceRemoteClient.java:1580)
         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.bpel.services.workflow.client.WFClientRetryInvocationHandler.invokeTarget(WFClientRetryInvocationHandler.java:130)
         at oracle.bpel.services.workflow.client.WFClientRetryInvocationHandler.invoke(WFClientRetryInvocationHandler.java:69)
         at $Proxy109.acquireTask(Unknown Source)
         at com.fss.maps.merchantsales.service.referraldetails.ReferralBeanDetServiceImp$2.doInTransaction(ReferralBeanDetServiceImp.java:193)
         at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
         at com.fss.maps.merchantsales.service.referraldetails.ReferralBeanDetServiceImp.updateReferralMast(ReferralBeanDetServiceImp.java:136)
         at com.fss.maps.merchantsales.action.referraldetails.ReferralBeanAction.updateReferralDetails(ReferralBeanAction.java:704)
         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.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:440)
         at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:279)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:242)
         at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:148)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
         at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:163)
         at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
         at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:249)
         at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)
         at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
         at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:122)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
         at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)
         at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
         at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)
         at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
         at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:148)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
         at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:93)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
         at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:235)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
         at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:89)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
         at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:128)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
         at org.apache.struts2.interceptor.ProfilingActivationInterceptor.intercept(ProfilingActivationInterceptor.java:104)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
         at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:267)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
         at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:126)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
         at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:138)
         at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
         at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:148)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
         at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
         at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:128)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
         at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
         at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)
         at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:468)
         at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
         at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
         at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
         at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
         at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
         at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
         at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
         at org.acegisecurity.concurrent.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:95)
         at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
         at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
         at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.fss.maps.common.util.HighRiskTransactionFilter.doFilter(HighRiskTransactionFilter.java:90)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.rmi.UnmarshalException: Problem deserializing error response; nested exception is:
         java.io.InvalidClassException: oracle.xml.parser.v2.XMLNode; local class incompatible: stream classdesc serialVersionUID = -9017926583992508837, local class serialVersionUID = 5247237047346331071
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at oracle.bpel.services.workflow.task.ejb.TaskServiceBean_399vcw_EOImpl_1033_WLStub.acquireTask(Unknown Source)
         at oracle.bpel.services.workflow.task.client.TaskServiceRemoteClient.acquireTask(TaskServiceRemoteClient.java:1574)
         ... 97 more
    Caused by: java.io.InvalidClassException: oracle.xml.parser.v2.XMLNode; local class incompatible: stream classdesc serialVersionUID = -9017926583992508837, local class serialVersionUID = 5247237047346331071
         at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562)
         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)
         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)
         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)
         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
         at java.util.HashMap.readObject(HashMap.java:1030)
         at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
         at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:197)
         at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:564)
         at weblogic.rjvm.ResponseImpl.getThrowable(ResponseImpl.java:190)
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:232)
    Please help if u have come acrross some error like this ..............

    Hi,
    I'm facing the same issue with SOA Suite 11.1.1.3 with weblogic 10.3.3.0.
    I get the following exception:
    Error occurred while updating task outcome. java.rmi.UnmarshalException: cannot unmarshaling return; nested exception is:
    java.io.InvalidClassException: oracle.bpel.services.workflow.task.model.CustomTaskTypeImpl; local class incompatible: stream classdesc serialVersionUID = -5471687046445499096, local class serialVersionUID = -1564179312380198686
    this was working fine with SOA Suite 11.1.1.1.
    Please let me know if you guys have found the solution.
    Thanks,
    Makrand

  • Worklist client webservice deployment problem

    Hi Guys,
    I am very new to BPEL.
    we have custom worklist app client deployed as webservice which returns the tasks and status of the tasks.
    it works ok on my local local environment ( it returns the status of the task).
    I deployed this web service on our server (created connection to the server in Jdeveloper and deployed to the server). and I can see the webservice deployed on the server. when I invoked the server with instance id it does not return anything.
    I tried one of the instances of the Bpel process from my local environment it returned the status of the instance.
    what's happening is even though I deployed it to the server it still looks at the BPEL process instances on my local environment not the server.
    How can fix this? any ideas.
    I hope this make sense.

    Hi Satinder,
    I have changed the <serverURL> in wf_client_config.xml to our server on my local machine. But it is still not working.
    I deployed the web service to the server and it does not return the status of the task.
    When i invoked the web service with one of the instance id on my local machine it returns the status.I think it is still looking at the local machine.
    Please Help.

  • BPEL transaction in custom worklist application

    Hi,
    How can we be sure about transaction while performing actions within worklist client?
    Such an example, we developed an application by using oracle soa suite worklist api's.
    Beside task updating,payload adjustion we need to do some other jobs including business logic in our java client application.
    In such cases, if there is an exception at java code, it doesnt commit to database but bpel integration code performs... Is there any way which you can control all this functions calling within one transaction? I want to rollback all if you come up with an exception.
    I found an xml attribute which you need to configure in wf client config.xml, we use RMI for performing actions...
    participateInClientTransaction true
    How does it work?
    Thanks for help,
    Regards...

    Hi,
    Every release of soa suite may have an updated version of the worklist application. So if you customize the application and upgrade your soa suite installation there may be ar risk you get into problems. However, most of the time the updated version solves existing bug and no more than that. An other issue is that if you are using the bpel libraries to connect to a bpel server the client always needs to be of the same version as the server. What you should do is:
    - get the new 10.1.3.3 version of the libraries or install JDeveloper 10.1.3.3
    - update your orabpel.properties file and make sure the bpel home is pointing to the new version
    - update/verify the build.xml that it is pointing to the new libraries
    - rebuild/compile your customized worklist app against the new libraries
    - redeploy the new worklist application to the 10.1.3.3 server
    Kind Regards,
    Andre

  • DVR w/ FLVPlayback 2.5.0.15 & Custom Publishing Client - Seek Bar Not Working [updated]

    [ UPDATED to include code and modified language after I discovered that everything works when I use Live Encoder.... ]
    Hello.
    So I've got the DVRCast application installed, and I am successfully streaming live-DVR content to the updated FLVPlayback component.  I'm able to access the DVR-specific metadata (e.g. "currLen") without any trouble, and so forth.
    When I record with the Flash Live Encoder, everything works correctly; the seek bar fills in as more content is published, and the playhead advances slowly across the filled-in section of the seek bar.
    But when I do the publishing with a custom client instead of Flash Live Encoder, the seek bar doesn't work right.  Specifically, when I start viewing a stream which is still being broadcast live, the seek bar shows the length of the stream at the moment I started viewing it; however, the seek bar doesn't update correctly as new content continues to be appended to the end of the stream.  What happens instead is that the "playhead" (not sure of the proper terminology here) moves along the seek bar until it reaches the end, and then it just sits at the end -- and the seek bar itself starts expanding to the right, off the edge of the stage!
    So I assume the problem here is that I need to add some code to the publishing client.  Here's the meat of the publishing code (from MyDVRPublish.as, which is the document class for MyDVRPublish.fla):
            public function MyDVRPublish()
                nc = new NetConnection();
                nc.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus);
                nc.connect("rtmp://localhost/DVRCast");
                dvrFlag = true;
                isVideoReady = false;
                streamID = null;
                vid = new Video(640, 480);
                vid.x = 0;
                vid.y = 0;
                vidMonitor.addChild(vid);
                cam = Camera.getCamera();
                cam.setQuality(0,90);
                cam.setMode(640, 480, 30);
                vid.attachCamera(cam);
            private function onNetStatus(event:NetStatusEvent):void{
                trace(event.info.code);
                if(event.info.code == "NetConnection.Connect.Success"){
                    doRecording("mystream");
            private function doRecording(sID:String) {
                isRecording = true;
                streamID = sID;
                publishCamera();
            private function stopRecording() {
                ns.close();
                isRecording = false;
                trace("Finished recording " + streamID);
            private function onAsyncError(event:AsyncErrorEvent):void{
                    trace(event.text);
            private function publishCamera() {
                ns = new NetStream(nc);
                ns.client = new CustomClient();
                ns.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus);
                ns.addEventListener(AsyncErrorEvent.ASYNC_ERROR, onAsyncError);
                ns.attachCamera(cam);
                trace("Publishing Stream...");
                ns.publish(streamID, "record");
    ...What am I missing?
    Thanks,
    -dan
    Message was edited by DanMITRE.

    Hi Dan,
    Unfortunately, I don't know of a tutorial that builds a custom client that publishes to DVRCast, but Graeme Bull created a great video tutorial that should help:
    http://fmsguru.com/showtutorial.cfm?tutorialID=25
    Before Adobe published the DVRCast app, Graeme played around with FMLE3 and figured out what calls it was making to the server and built his own DVRCast app. I know this is the inverse of what you want to do, but watching him reverse engineer FMLE's calls to the server will show you how to make your own publishing client.
    Also, you check out the DVRCast code at rootinstall\applications\dvrcast_origin\scripts to see exactly what the DVRCast app expects the publishing client to call (and what it expects the subscribing client to call).
    Roughly:
    The DVRCast docs have a code example on page 11 that calls DVRSetStreamInfo. After the publisher calls DVRSetStreamInfo with the name of the DVR stream and calls NetStream.publish("streamname", "record"|"append"), the subscribing client calls DVRGetStreamInfo to get the name of the DVRStream. The subscribing client then passes the name of the DVRStream in a call to DVRSubscribe. Finally, the subscribing client calls NetStream.play("streamname", 0, -1) to play the stream.
    I'll get a tutorial up as soon as I can (unless someone beats me to it), but unfortunately I have to hit some deadlines today on other projects.
    HTH,
    Jody

  • Deploying the Custom Worklist Application When run ant script Fail

    Hi
    I have tried to deploy worklist application on Oracle SOA Suite to custom it and I have follow the BPEL Process Manager Developer's Guide (10.1.3.1.0) in chapter 16 topic 16.5.1.5. Deploy the Custom Worklist Application but whenI tried to run ant script to deploy custom worklist application, the error has occur "Unexpected element "echo" ". I access to build.xml file to comment element echo out and run ant again but the new error has occured "The <fail> task doesn't support the nested "condition" element." . How should I do for deploy custom application ?
    I use ant -version to check ant version and message has show "Apache Ant version 1.5.2-23 compiled on November 12 2003"
    Please help me!
    Thanks
    Message was edited by:
    user520932

    Hi ,
    I am facing the same issue. Were u able to solve this ?

  • Building a custom Domain Template??

    I have started using the 'Doamin template builder' on Weblogic 11g to build a custom domain template base on my currently DEV domain env. Since, i would like to capture all the necessary domain setup information into a template, and then replicate this similar domain setup to other environment, eg: TEST, PROD. I'm trying to create a DEV domain template with what I currently configure, Admin, Managed servers, NM, Application, MDS, RAC, JMS, and application deployed.
    How do I create a domain template (eg: DEV-template.jar) to be used by other environment TEST, PROD? My concerns with my Domain template is with the dependency on things such as environment settings for host names, RAC DB, JMS, etc. Since these env settings are different from ENV to ENV. How can I over come this problem and come up w/ simplify solution? Is it possible to do this in Domain Template Builder or I'm better off by using WLST to build this type of domain?
    Example or approaches on this type of work would be greatly appreciated Thanks Much!
    Edited by: fang on Dec 10, 2010 8:56 AM

    I would start with the 'Basic' template, then as one example of a child's book, crafting a chapter-less book is possible, but a minimum of one section is required. Remove the chapter label, leave the TOC blank and you'll then have a basic/generic point from which to work with.
    Use iBA's 'File/Save As Template...' menu and then you have something you can reuse later if you like.
    Ken

  • Custom jmx client and jconole

    hi,
    i have a problem with a custom jmx client. i am connecting to activemq running under camel.
    this is the business part of the client :
    url = new JMXServiceURL("service:jmx:rmi:///jndi/rmi://sandbox:1099/jmxrmi");
    jmxc = JMXConnectorFactory.connect(url, null);
    mbsc = jmxc.getMBeanServerConnection();
    Set<ObjectName> beanNames = mbsc.queryNames(new ObjectName(
    "org.apache.activemq:BrokerName=localhost,Type=Topic,Destination=ActiveMQ.Advisory.Consumer.Queue.a"), null);
    MBeanAttributeInfo[] mBeanAttrInfo = mbsc
                                  .getMBeanInfo(beanName).getAttributes();
    MBeanOperationInfo[] mBeanOpInfo = mbsc.getMBeanInfo(beanName)
                                  .getOperations();
                        for (int i = 0; i < mBeanAttrInfo.length; i++) {
                             MBeanAttributeInfo attInfo = mBeanAttrInfo;
                             echo("Attribute : " + attInfo.getName() + " Value : "
                                       +mbsc.getAttribute(beanName, attInfo.getName()));
    so, i make the connection, retrieve the attributes and display them.
    the problem is that, for the same address "service:jmx:rmi:///jndi/rmi://sandbox:1099/jmxrmi"
    jconsole shows me attributes with a different value then my client. Not to mention that
    the operations don't return anything.
    any ideas on why the value of the attributes will be different between jconsole and my custom client ?
    thanks

    hi,
    i have a problem with a custom jmx client. i am connecting to activemq running under camel.
    this is the business part of the client :
    url = new JMXServiceURL("service:jmx:rmi:///jndi/rmi://sandbox:1099/jmxrmi");
    jmxc = JMXConnectorFactory.connect(url, null);
    mbsc = jmxc.getMBeanServerConnection();
    Set<ObjectName> beanNames = mbsc.queryNames(new ObjectName(
    "org.apache.activemq:BrokerName=localhost,Type=Topic,Destination=ActiveMQ.Advisory.Consumer.Queue.a"), null);
    MBeanAttributeInfo[] mBeanAttrInfo = mbsc
                                  .getMBeanInfo(beanName).getAttributes();
    MBeanOperationInfo[] mBeanOpInfo = mbsc.getMBeanInfo(beanName)
                                  .getOperations();
                        for (int i = 0; i < mBeanAttrInfo.length; i++) {
                             MBeanAttributeInfo attInfo = mBeanAttrInfo;
                             echo("Attribute : " + attInfo.getName() + " Value : "
                                       +mbsc.getAttribute(beanName, attInfo.getName()));
    so, i make the connection, retrieve the attributes and display them.
    the problem is that, for the same address "service:jmx:rmi:///jndi/rmi://sandbox:1099/jmxrmi"
    jconsole shows me attributes with a different value then my client. Not to mention that
    the operations don't return anything.
    any ideas on why the value of the attributes will be different between jconsole and my custom client ?
    thanks

  • Custom worklist  application integration with BPEL cluster

    Hi all,
    I've setup a BPEL cluster using the Enterprise installation guide for 10.1.3.3.0. Currently we have a custom worklist application which is works when deployed on an installation SOA suite (10.1.3.1.0). The integration of claiming or setting an outcome works fine. We use the remote EJB to integrate with the workflow services.
    However when testing the application on a cluster, we are getting the following log message in the log file for the custom application:
    Questions:
    1) What should be the value of the host name in the server URL since in a cluster a remote HTTP server. The HTTP server uses a virtual URL via the loadbalancer.
    2) What should be the port number? Should it be the opmn request port from the $ORACLE_HOME/opmn/conf/opmn.xml
    Anything else that i'm missing, please let me knoe.
    Thanks in advance.
    Log message:
    08/03/31 23:11:05 at java.lang.Thread.run(Thread.java:595)
    08/03/31 23:11:05 Caused by: ORABPEL-30509
    Error in invoking task query service.
    A client side error occured in invoking the task query service.
    Please check the exception error stack to identify the error. Contact oracle support if error is not fixable.
    08/03/31 23:11:05 at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.authenticate(TaskQueryServiceRemoteClient.java:118)
    08/03/31 23:11:05 at ca.bell.rcss.services.taskmanagement.client.RemoteTaskServiceClient.getWorkflowContext(Unknown Source)
    08/03/31 23:11:05 ... 38 more
    08/03/31 23:11:05 Caused by: java.rmi.UnmarshalException: Error deserializing return-value: java.io.InvalidClassException: oracle.bpel.services.workflow.verification.impl.WorkflowContext; local class incompatible: stream classdesc serialVersionUID = 6104875137687627481, local class serialVersionUID = 4086410548907188559
    08/03/31 23:11:05 at com.evermind.server.rmi.RMICall.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMICall.java:109)
    08/03/31 23:11:05 at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:125)
    08/03/31 23:11:05 at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:517)
    08/03/31 23:11:05 at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:461)
    08/03/31 23:11:05 at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
    08/03/31 23:11:05 at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
    08/03/31 23:11:05 at com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(StatelessSessionRemoteInvocationHandler.java:43)
    08/03/31 23:11:05 at __Proxy1.authenticate(Unknown Source)

    Some more information:
    1) The integration from the integration/worklistapp works fine for the custom workflows.
    2) I've tried using both the machine name and the http server name in the server url.
    3) Snapshot of the wf_client_config.xml:
    <servicesClientConfigurations xmlns="http://xmlns.oracle.com/bpel/services/client">
    <ejb>
    <serverURL>opmn:ormi://bangrcssdevsoa.sapient.com:6004:OC4J_SOA/hw_services</serverURL> <!-- for opmn managed instance -->
    <user>oc4jadmin</user>
    <password>iasadmin1</password>
    <initialContextFactory>oracle.j2ee.rmi.RMIInitialContextFactory</initialContextFactory>
    </ejb>

  • Hey guys i was wondering if i could downgrade my iphone 5 from ios 7.1.1 to 7.0.6 or .0.4 i have 7.0.6 and .0.4 shsh blobs but when i try to build a custom ipsw using ifaith it loads and never stop loading is there any way to downgrade to older ios 7 ?

    Hey guys i was wondering if i could downgrade my iphone 5 from ios 7.1.1 to 7.0.6 or .0.4 i have 7.0.6 and .0.4 shsh blobs but when i try to build a custom ipsw using ifaith it loads and never stop loading is there any way to downgrade to older ios 7 ?

    No, you cannot downgrade your iOS device. That's not supported by Apple.

Maybe you are looking for

  • Satellite A100-847 - upgrade advice

    Hello, I'm using Satellite A100-847 (PSAA9E) for almost two years now. 2 year warranty period be over in month, so I guees it is good time for an upgrade. I could use more RAM and a faster HDD (for CAD purposes mostly when I'm on the run) so I would

  • Sometimes when using the Google search engine, after using the Back button in the Firefox 4.0.1 browser, I am no longer able to click in the Google search box.

    Sometimes when using the Google search engine, after using the Back button in the Firefox 4.0.1 browser, I am no longer able to click in the Google search box. This problems has been occurring on two different machines over the last two days.

  • Swished import

    I imported video from my iphone 3gs via iphoto and again through image capture and the video appears in imovie flatted out (the bride and her father look fat!) What I am doing wrong? GH

  • Error in Replication of SRM PO change to SUS

    Hello Everyone, We are using SRM 5.0 with extended classic scenario. We create the PO in SRM and then we transfer this PO to SUS. For the first time it is working fine but anytime you make a change to it the change does not transmit to the SUS portal

  • Setting dock apps in guest account

    I created a guest account with the specific apps that I wanted to make available to a "guest user".  When I restarted the mac and clicked on Guest,  the dock had reverted back to factory default.   Is this a glitch or is there a specific method of sa