Sharepoint Workflow Access Token Error

Whenever run a workflow on the SharePoint site it gets stuck on "Started" and throws this error when inspected in the workflow view:
Retrying last request. Next attempt scheduled after 07/01/2015 10:58. Details of last request: HTTP 
to https://***.sharepoint.emea.microsoftonline.com/support/_api/web/lists(guid'91616358-3515-49a4-8652-08e56a608d7e') Correlation Id: 
Instance Id: dba845fc-941c-499f-9722-0929d85899ec
System.Net.WebException: The request was aborted: The request was canceled. ---> System.InvalidOperationException: Failed to fetch an access token from the token service. The token service returned an error type of 'invalid_request' with the following
description: ACS50000: There was an error issuing a token. ACS50001: Relying party with identifier 
'00000003-0000-0ff1-ce00-000000000000/***.[email protected]f5cb8a2' was not found.
Trace ID: e000a6d4-06d3-499b-95a6-a761150135cf
Correlation ID: c7661e3d-2465-2ecb-9935-b7ba3142478d
Timestamp: 2015-01-07 09:50:09Z ---> System.Net.WebException: The remote server returned an error: (400) Bad Request.
   at System.Net.HttpWebRequest.GetResponse()
   at Microsoft.Activities.Hosting.Security.OAuthS2SSecurityTokenServiceCredential.FetchAccessToken(Uri stsUri, String targetServiceAudience, String authenticatorToken, HttpWebRequest request, TimeSpan timeout, EventTraceActivity
eventTraceActivity, TimeSpan& expirationDuration)
   --- End of inner exception stack trace ---
   at Microsoft.Activities.Hosting.Security.OAuthS2SSecurityTokenServiceCredential.FetchAccessToken(Uri stsUri, String targetServiceAudience, String authenticatorToken, HttpWebRequest request, TimeSpan timeout, EventTraceActivity
eventTraceActivity, TimeSpan& expirationDuration)
   at Microsoft.Activities.Hosting.Security.OAuthS2SSecurityTokenServiceCredential.GetAccessTokenFromTokenService(OAuthS2SPrincipal client, OAuthS2SPrincipal targetServiceAudience, HttpWebRequest originalRequest, EventTraceActivity
eventTraceActivity, TimeSpan& expirationDuration)
   at Microsoft.Activities.Hosting.Security.OAuthS2SSecurityTokenServiceCredential.GetAuthorization(OAuthS2SAuthenticationChallenge[] bearerChallenges, HttpWebRequest request, EventTraceActivity eventTraceActivity)
   at Microsoft.Activities.Hosting.Security.OAuthS2SAuthenticationModule.AuthenticateInternal(String challenge, WebRequest request, OAuthS2SCredential credential, EventTraceActivity eventTraceActivity)
   at Microsoft.Activities.Hosting.Security.OAuthS2SAuthenticationModule.Authenticate(String challenge, WebRequest request, ICredentials credentials)
   at System.Net.AuthenticationManager.Authenticate(String challenge, WebRequest request, ICredentials credentials)
   at System.Net.AuthenticationState.AttemptAuthenticate(HttpWebRequest httpWebRequest, ICredentials authInfo)
   at System.Net.HttpWebRequest.CheckResubmitForAuth()
   at System.Net.HttpWebRequest.CheckResubmit(Exception& e, Boolean& disableUpload)
   at System.Net.HttpWebRequest.DoSubmitRequestProcessing(Exception& exception)
   at System.Net.HttpWebRequest.ProcessResponse()
   at System.Net.HttpWebRequest.SetResponse(CoreResponseData coreResponseData)
   --- End of inner exception stack trace ---
   at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
   at Microsoft.Activities.Hosting.HostedHttpExtension.HttpRequestWorkItem.HttpRequestWorkItemAsyncResult.End(IAsyncResult result, Int32& responseCode)
   at Microsoft.Activities.Hosting.HostedHttpExtension.HttpRequestWorkItem.OnEndComplete(ScheduledWorkItemContext context, IAsyncResult result)
This only occurs on the workflows that have been designer in SharePoint Designer 2013, when the using the template ones (for example the three-state) they run fine. Have searched the internet to no avail on the error but believe it is something to do with
the server settings and permissions. Thanks in advance

Hi,
According to your post, my understanding is that Sharepoint Workflow get the Access Token Error.
I reoconmend that you can properly configure the HTTPS endpoint and then re-register the workflow farm with SharePoint.
The snippet below assumes that you have exported the SSL certificate from the workflow manager IIS web site to c:\wfm.cer.
$cert = Get-PfxCertificate "c:\wfm.cer"
New-SPTrustedRootAuthority -Name "Workflow Manager Farm" -Certificate $cert
Register-SPWorkflowService -SPSite "http://dev.sharepoint.com" -WorkflowHostUri "https://devmachine
In addition, it may caused by
a mismatch between SharePoint and Workflows. You can install a new version workflow manger and sharepoint designer to check whether it works.
Here are some similar threads for your reference:
http://sharepoint.stackexchange.com/questions/71773/sharepoint-2013-workflow-cant-get-them-to-work-again
http://community.office365.com/en-us/f/154/t/276478.aspx?pi14176=2
Best Regards,
Linda Li
Linda Li
TechNet Community Support

Similar Messages

  • SharePoint Workflow Services Communication Error in SharePoint 2013

    I am developing a few workflows using SharePoint Designer 2013. Previously my workflows can be run without any WorkflowCommunication error but after Nintex Workflow is deployed and run in the same server, there were a few times the workflows that were created
    using SharePoint Designer 2013 failed to run due to SharePoint WorkflowCommunication error. Below is the example of the error:
    Microsoft.Workflow.Client.WorkflowCommunicationException: The request was aborted: The request was canceled. Client ActivityId : 3ef6779c-fb54-e0c5-7c03-e24d99e809f1. ---> System.Net.WebException: The request was aborted: The request was canceled. --->
    System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.Configuration.ConfigurationChannelFactory`1[Microsoft.SharePoint.IdentityServices.IApplicationSecurityTokenServiceContract], cannot be used for 
    Currently, to make the workflow run again, we restart the SharePoint Workflow services again or restart the server again. Besides, the workflow can run normally after a few hours without any restart of SharePoint Workflow services or server restart. Is there
    any advice on this?
    wawa87

    I am developing a few workflows using SharePoint Designer 2013. Previously my workflows can be run without any WorkflowCommunication error but after Nintex Workflow is deployed and run in the same server, there were a few times the workflows that were created
    using SharePoint Designer 2013 failed to run due to SharePoint WorkflowCommunication error. Below is the example of the error:
    Microsoft.Workflow.Client.WorkflowCommunicationException: The request was aborted: The request was canceled. Client ActivityId : 3ef6779c-fb54-e0c5-7c03-e24d99e809f1. ---> System.Net.WebException: The request was aborted: The request was canceled. --->
    System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.Configuration.ConfigurationChannelFactory`1[Microsoft.SharePoint.IdentityServices.IApplicationSecurityTokenServiceContract], cannot be used for 
    Currently, to make the workflow run again, we restart the SharePoint Workflow services again or restart the server again. Besides, the workflow can run normally after a few hours without any restart of SharePoint Workflow services or server restart. Is there
    any advice on this?
    wawa87
    Is there any explanation on this?
    wawa87

  • SharePoint 2007 - Invalid Token Error when Generating Excel Worksheet with ItemLevelAudit

    All,
    I have the AuditLevel project located here working on a test site:
    https://msdn.microsoft.com/en-us/library/office/bb397403(v=office.12).aspx#MOSS2007ItemLevelAudit_AuditingwithSharePointServer2007
    Since I'm a site collection admin - I can access a document and go to View Audit History.
    When I click the button to Generate Excel Document - if I've viewed the document I get the following error
    since I have a ' in my name - is this due to AD or can this be fixed in code - I did run a
    Replace ' with '' in each of the page loads on any aspx pages I saw
    string s = "'";
    string escaped = s.Replace("'","''");
    '//s:si[s:t='O'Neill, Kevin']' has an invalid token.   at MS.Internal.Xml.XPath.XPathParser.CheckToken(LexKind t)
       at MS.Internal.Xml.XPath.XPathParser.ParsePredicate(AstNode qyInput)
       at MS.Internal.Xml.XPath.XPathParser.ParseStep(AstNode qyInput)
       at MS.Internal.Xml.XPath.XPathParser.ParseRelativeLocationPath(AstNode qyInput)
       at MS.Internal.Xml.XPath.XPathParser.ParseLocationPath(AstNode qyInput)
       at MS.Internal.Xml.XPath.XPathParser.ParsePathExpr(AstNode qyInput)
       at MS.Internal.Xml.XPath.XPathParser.ParseUnionExpr(AstNode qyInput)
       at MS.Internal.Xml.XPath.XPathParser.ParseUnaryExpr(AstNode qyInput)
       at MS.Internal.Xml.XPath.XPathParser.ParseMultiplicativeExpr(AstNode qyInput)
       at MS.Internal.Xml.XPath.XPathParser.ParseAdditiveExpr(AstNode qyInput)
       at MS.Internal.Xml.XPath.XPathParser.ParseRelationalExpr(AstNode qyInput)
       at MS.Internal.Xml.XPath.XPathParser.ParseEqualityExpr(AstNode qyInput)
       at MS.Internal.Xml.XPath.XPathParser.ParseAndExpr(AstNode qyInput)
       at MS.Internal.Xml.XPath.XPathParser.ParseOrExpr(AstNode qyInput)
       at MS.Internal.Xml.XPath.XPathParser.ParseXPathExpresion(String xpathExpresion)
       at MS.Internal.Xml.XPath.QueryBuilder.Build(String query, Boolean allowVar, Boolean allowKey)
       at MS.Internal.Xml.XPath.QueryBuilder.Build(String query, Boolean& needContext)
       at System.Xml.XPath.XPathExpression.Compile(String xpath, IXmlNamespaceResolver nsResolver)
       at System.Xml.XPath.XPathNavigator.Compile(String xpath)
       at System.Xml.XmlNode.SelectSingleNode(String xpath, XmlNamespaceManager nsmgr)
       at ItemAuditing.AuditLogWorkbook.XLInsertStringIntoCell(String sheetName, String addressName, String value)
       at ItemAuditing.AuditLogWorkbook.WriteCell(String celladdress, String cellvalue)
       at ItemAuditing.AuditLogWorkbook.WriteEntry(String User, String Occurred, String Event, String Version)
       at AuditLogWorkbookHandler.<>c__DisplayClass1.<ProcessRequest>b__0() in c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\AuditLogWorkbook.ashx:line 54
       at Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Object state)
       at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()
       at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
       at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
       at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
       at AuditLogWorkbookHandler.ProcessRequest(HttpContext context) in c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\AuditLogWorkbook.ashx:line 30
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    Hi Alan J Stewart,
    This issue may occur due to the column name in your scenario.
    Would you please change the column name: raised by column to “raised_by”, and export the list with this column, check whether the issue persists.
    I have seen similar issue that caused by the column name.
    Thanks,
    Qiao
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Qiao Wei
    TechNet Community Support

  • SharePoint Workflow HTTP 404 Error

    Hey guys,
    I'm testing the functionality of workflow manager 1.0 on my SP 2013 SP1 environment. Both installed at the same Windows Server 2012 Standard.
    I'm able to create and publish a WF using SP designer but when I tested it I got the following error message and status 'Suspended':
    RequestorId: e3e4be0c-8745-2ea6-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException: HTTP 404 {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["21"],"SPRequestGuid":["e3e4be0c-8745-2ea6-92a6-b85c9ebf4f31"],"request-id":["e3e4be0c-8745-2ea6-92a6-b85c9ebf4f31"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4617"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
    RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Tue, 18 Nov 2014 13:25:49 GMT"],"Server":["Microsoft-IIS\/8.0"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]}
    at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor
    executor, BookmarkManager bookmarkManager, Location resultLocation)
    Although that message makes no sense to me I can see a HTTP 404 error code but I can't identify what cause that problem!
    In SP log file I can't find any information related to my problem mainly because the file also has events from other services of SP as it is a production environment...it's just too complicated. Also I'm not sure of what to look for in there
    Has anyone ever went through this issue and solved it? Or could anyone help me to find a way to solve it?

    try this:
    1- Create normal user account grant it permission to the site where you will create workflow.
    2- Make sure that you have User Profile Synchronization run and all user profiles are imported
    3-when you create workflow, log with different account than the farm account, normal user that you grant access to the site, then recreate the workflow by this account.
    4- log to the site with the user that you created and create the workflow by using this account.
    Kind Regards,
    John Naguib
    Technical Consultant/Architect
    MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation
    Please remember to mark your question as answered if this solves your problem

  • SharePoint: Workflows - Accessing A Pre-existing Site From Visual Studio

    Is there away to create and publish a custom workflow from Visual Studio to an existing SharePoint site which was created using SharePoint Designer? If so, how do I access a pre-existing site from Visual Studio?

    If I've understand you correctly, you have developed a SharePoint Designer (SPD) workflow and now you want to export it in Visual Studio? If so, please take a look at the link:
    http://msdn.microsoft.com/en-us/library/ee231580.aspx . Otherwise can you please explain your requirements elaborately?
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • How do i get a long lived 60 days access token to post messages on facebook ? Getting exception error

    I created just now a new app in the facebook site: https://developers.facebook.com
    I have a new access token but its for short time will expire after 2 hours or so.
    And i also got the app id and app secret code.
    This is how im trying to use it:
    private string PostFacebookWall(string accessToken, string message)
    var responsePost = "";
    try
    //create the facebook account object
    var objFacebookClient = new FacebookClient(accessToken);
    var parameters = new Dictionary<string, object>();
    parameters["message"] = message;
    responsePost = objFacebookClient.Post("feed", parameters).ToString();
    catch (Exception ex)
    responsePost = "Facebook Posting Error Message: " + ex.Message;
    return responsePost;
    In this method PostFacebookWall its working now with the new access token i can post on my wall.
    But since it will expire in few hours i want to make it longer access token for 60 days. So i have this method:
    public static string RenewToken(string existingToken)
    var fb = new FacebookClient();
    dynamic result = fb.Get("oauth/access_token",
    new
    client_id = ,
    client_secret = "",
    grant_type = "fb_exchange_token",
    fb_exchange_token = existingToken
    return result.access_token;
    Si called the method RenewToken in my constructor and used with my current access token code and im getting this exception:
    (OAuthException - #1) The access token does not belong to application 1378943962355167
    Strange since i checked double time and got the app id and secret from the current app.
    This is the full exception error message:
    Facebook.FacebookOAuthException was unhandled
    HResult=-2146233088
    Message=(OAuthException - #1) The access token does not belong to application 1378943962355167
    Source=Facebook
    ErrorCode=1
    ErrorSubcode=0
    ErrorType=OAuthException
    StackTrace:
    at Facebook.FacebookClient.ProcessResponse(HttpHelper httpHelper, String responseString, Type resultType, Boolean containsEtag, IList`1 batchEtags)
    at Facebook.FacebookClient.Api(HttpMethod httpMethod, String path, Object parameters, Type resultType)
    at Facebook.FacebookClient.Get(String path, Object parameters, Type resultType)
    at Facebook.FacebookClient.Get(String path, Object parameters)
    at ScrollLabelTest.Form1.RenewToken(String existingToken) in e:\scrolllabel\ScrollLabel\ScrollLabel\Form1.cs:line 290
    at ScrollLabelTest.Form1..ctor() in e:\scrolllabel\ScrollLabel\ScrollLabel\Form1.cs:line 28
    at ScrollLabelTest.Program.Main() in e:\scrolllabel\ScrollLabel\ScrollLabel\Program.cs:line 18
    at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
    at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
    at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()
    InnerException:

    Questions related to Facebook should be posted on their forums.  These forums are for MS-related technologies.

  • Access denied error for Read user in sharepoint 2010

    Hello,
    In sharepoint 2010 subsite a user with Read permission getting Access Denied error while login.
     Few points:
       1. Master pages are approved not in pending status.
       2. Site permissions are not inherited.
    Please suggest the way to resolve it.
    Thank You,
    Santosh_09

    Check below threads for troubleshooting access denied issue. You can use fiddler to trace what is causing access denied.
    http://sharepoint.stackexchange.com/questions/75263/user-has-correct-permissions-for-subsite-but-access-is-denied
    http://sharepoint.stackexchange.com/questions/41225/user-permissions-access-denied-sharepoint-2010
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • MSI Bundle error message: Access Token cannot be null

    Hi
    I deploy Lotus Notes client to all workstations, but some workstation return the error message "MSI_Unknow_Error{Access Token cannot be null}",What reason will cause the error ?? Anyone seem the similar problem ?
    wyld

    wyld,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • Error email notification sharepoint workflow

    Hi guys,
    i want to ask some errors in my sharepoint notification workflow lookup value, there are some errors word like capture below. please tell me what should i do to fix it ?

    Hi ,
    The "Lookup" type column value format is ID;#value, when we get the field value output from SharePoint workflow, it may display this format if we use look up this "Lookup" type column value as Text instead of String in workflow.
    See more from the similar post below.
    http://social.msdn.microsoft.com/Forums/en-US/49e219c2-696d-4e20-a740-ac7de844063d/sharepoint-2010-lookup-column-value-preceded-by-the-id-semicolon-pound
    Thanks
    Daniel Yang
    TechNet Community Support

  • {"error": {"code": "Unauthorized", "message": "Missing access token"}}

    Hello everyone,
    Is quite frustrating that my las 5 docs ended in the same way.
    I got stuck in this error "{"error": {"code": "Unauthorized", "message": "Missing access token"}}"
    Could you please explain me the situation and if there is any solution to this issue.
    I tried to convert the pdf's in .doc or .docx, but without any luck. I tried it on Firefox, IE and Chrome. I do have the latest updates of Flash Player and I am on W7 64. I think this time is not Microsoft's fault.
    When I download the converted document from the server it has only 1kb.
    I assume this is a server error.
    Please let me know about any possibility in solving this situation!
    Thank you all for your reply!
    Petru

    Hello Mireia Romo ,
    First thing I will like to inform you is no SSO is required for KM with Portal.
    Have you done your SSO with Windows Active Directory?
    Regards,
    Chinmay

  • SharePoint: Workflows - Emailing hyperlink of list item.

    I have a custom SharePoint (2013) list to manage tasks assigned to personnel and keep track of their statuses. I've created a workflow using SP Designer to send out an email to whom the task is assigned on the date for which it's due.
    The workflow is working properly and email alerts are being sent, except for one thing. Inside the email body is a hyperlink to the associated record which the recipient clicks on to view (only view, not edit) the task details.
    I got the record's hyperlink by accessing it's display form and copying the URL from the browser, pasting it into the email body. The URL's format looks something like this:
    http://zeroshiki/sites/SP2010-Main-Site/Lists/Announcements/DispForm.aspx?ID=2&ContentTypeId=0x0104000933421F36DFF740B428FEC15871B493
    Then I modified the URL by formulating a lookup to include the ID of the Current Item. In other words, the ID specified in the URL isn't fixed; it's based on the associated list item.
    I've confirmed that when the recipient recieves an email, the ID in the URL matches the record's ID on the site. However, when they click on the link and are redirected to the record's display page, there's no data displayed. The fields are visible but the
    values are not. Then I noticed that the URL in the browser does not match the one in the email; it's missing an ID value.
    So when the URL in the email is ...DispForm.aspx?ID=2&ContentTypeId... it changes to ...DispForm.aspx?ID=&ContentTypeID...
    Why does this happen? This method may seem strange to use, but I've tried looking up the "Encoded Absolute URL" and I get an error stating that the return type of the lookup is invalid. That's why I manually copied the URL format and formulated
    the record ID.
    Am I doing something wrong here? Is there a more straight-forward approach to retrieving the record's URL?

    Hi,
    According to your post, my understanding is that you wanted to send email with hyperlink.
    In order to solve the problem more efficiently I need to clarify some information.
    Did the hyperlink is the current item URL?
    How did you set the hyperlink?
    Per my knowledge, the "Encoded Absolute URL" result is https://sitename/Lists/listname/Id_.000
    To get the current item URL, I recommend to we can use [%Workflow Context:Current Item URL%] with SharePoint Workflow 2010 platform,
    Here is a similar thread for you to take a look at:
    http://social.technet.microsoft.com/Forums/en-US/7dd2d0cb-97ff-4d9f-9c43-57109bb6bb3d/send-email-of-created-item-to-all-the-staff?forum=sharepointcust
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • OIM-SOA tasks error (Invalid Token Error in Verification Service)

    Hi Guys,
    I have the following environment:
    wls 10.3.3, soa 11.1.13, OIM 11.1..3, OAM 11.1.1.3 with OID and OVD for LDAP store all configured to run in different Hosts according to Entreprise deployement minus the clusters using the latest jrockit.
    However, as soon as everything is up and running in developmetn mode (? jrockit maybe jdk if dev mode?), logged on to the OIM admin page as xelsysadm, click on the Task tab, it fails saying that an error occured while trying to access soa. So i went and check soa under the wls concole deployments, it has a warning as its status but i understand that occurs after you have patched soa from 11.1.1.2 to 11.1.1.3. Then i looked into the soa managed server logs and i found the following stacktrace and wonder if you guys have a clue of whats really going on:
    <Mar 14, 2011 10:04:06 PM WAT> <Error> <oracle.soa.services.common> <BEA-000000> <<oracle.bpel.services.common.util.EncryptionService.getKey> Received null from credential store>
    <Mar 14, 2011 10:04:06 PM WAT> <Error> <oracle.soa.services.workflow.common> <BEA-000000> <<.> Unable to fetch/generate encryption key.
    Unable to fetch/generate encryption key.
    Check installation/post-installation steps for errors. Check for errors during SOA server startup.
    ORABPEL-35012
    Unable to fetch/generate encryption key.
    Unable to fetch/generate encryption key.
    Check installation/post-installation steps for errors. Check for errors during SOA server startup.
    at oracle.bpel.services.common.util.EncryptionService.getKey(EncryptionService.java:139)
    at oracle.bpel.services.common.util.EncryptionService.encrypt(EncryptionService.java:54)
    at oracle.bpel.services.workflow.verification.impl.VerificationService.encryptString(VerificationService.java:2336)
    at oracle.bpel.services.workflow.verification.impl.VerificationService.createTokenFromMap(VerificationService.java:2094)
    at oracle.bpel.services.workflow.verification.impl.VerificationService.createToken(VerificationService.java:2067)
    at oracle.bpel.services.workflow.verification.impl.VerificationService.createContextS(VerificationService.java:904)
    at oracle.bpel.services.workflow.verification.impl.VerificationService.createContext(VerificationService.java:874)
    at oracle.bpel.services.workflow.verification.impl.VerificationService.createContext(VerificationService.java:826)
    at oracle.bpel.services.workflow.verification.impl.VerificationService.authenticateUser(VerificationService.java:666)
    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:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at oracle.bpel.services.workflow.common.WorkflowServiceCacheEventAdvice.invoke(WorkflowServiceCacheEventAdvice.java:89)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at oracle.bpel.services.common.dms.MethodPhaseEventAspect.invoke(MethodPhaseEventAspect.java:82)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at oracle.bpel.services.common.dms.MethodEventAspect.invoke(MethodEventAspect.java:70)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy202.authenticateUser(Unknown Source)
    at oracle.bpel.services.workflow.query.impl.TaskQueryService.authenticate(TaskQueryService.java:457)
    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:307)
    <Mar 14, 2011 8:58:37 PM WAT> <Error> <oracle.soa.services.workflow.query> <BEA-000000> <<.> Invalid Token Error in Verification Service.
    Invalid Token Error in Verification Service. Received invalid token in createContext.
    Verify that correct token is passed.
    ORABPEL-30503
    Invalid Token Error in Verification Service.
    Invalid Token Error in Verification Service. Received invalid token in createContext.
    Verify that correct token is passed.
    at oracle.bpel.services.workflow.verification.impl.VerificationService.createContext(VerificationService.java:879)
    at oracle.bpel.services.workflow.verification.impl.VerificationService.createContext(VerificationService.java:826)
    at oracle.bpel.services.workflow.verification.impl.VerificationService.authenticateUser(VerificationService.java:666)
    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:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at oracle.bpel.services.workflow.common.WorkflowServiceCacheEventAdvice.invoke(WorkflowServiceCacheEventAdvice.java:89)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at oracle.bpel.services.common.dms.MethodPhaseEventAspect.invoke(MethodPhaseEventAspect.java:82)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at oracle.bpel.services.common.dms.MethodEventAspect.invoke(MethodEventAspect.java:70)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy202.authenticateUser(Unknown Source)
    at oracle.bpel.services.workflow.query.impl.TaskQueryService.authenticate(TaskQueryService.java:457)
    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:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at oracle.bpel.services.workflow.common.WorkflowServiceCacheEventAdvice.invoke(WorkflowServiceCacheEventAdvice.java:89)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at oracle.bpel.services.workflow.test.workflow.ExceptionTestCaseBuilder.invoke(ExceptionTestCaseBuilder.java:155)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at oracle.bpel.services.common.dms.MethodEventAspect.invoke(MethodEventAspect.java:70)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at oracle.bpel.services.common.dms.MethodPhaseEventAspect.invoke(MethodPhaseEventAspect.java:82)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy215.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:299)
    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)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: ORABPEL-35012
    Unable to fetch/generate encryption key.
    Unable to fetch/generate encryption key.
    Check installation/post-installation steps for errors. Check for errors during SOA server startup.
    at oracle.bpel.services.common.util.EncryptionService.getKey(EncryptionService.java:139)
    at oracle.bpel.services.common.util.EncryptionService.encrypt(EncryptionService.java:54)
    at oracle.bpel.services.workflow.verification.impl.VerificationService.encryptString(VerificationService.java:2336)
    at oracle.bpel.services.workflow.verification.impl.VerificationService.createTokenFromMap(VerificationService.java:2094)
    at oracle.bpel.services.workflow.verification.impl.VerificationService.createToken(VerificationService.java:2067)
    at oracle.bpel.services.workflow.verification.impl.VerificationService.createContextS(VerificationService.java:904)
    at oracle.bpel.services.workflow.verification.impl.VerificationService.createContext(VerificationService.java:874)
    at oracle.bpel.services.workflow.verification.impl.VerificationService.createContext(VerificationService.java:826)
    at oracle.bpel.services.workflow.verification.impl.VerificationService.authenticateUser(VerificationService.java:666)
    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:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at oracle.bpel.services.workflow.common.WorkflowServiceCacheEventAdvice.invoke(WorkflowServiceCacheEventAdvice.java:89)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at oracle.bpel.services.common.dms.MethodPhaseEventAspect.invoke(MethodPhaseEventAspect.java:82)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at oracle.bpel.services.common.dms.MethodEventAspect.invoke(MethodEventAspect.java:70)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy202.authenticateUser(Unknown Source)
    at oracle.bpel.services.workflow.query.impl.TaskQueryService.authenticate(TaskQueryService.java:457)
    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:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at oracle.bpel.services.workflow.common.WorkflowServiceCacheEventAdvice.invoke(WorkflowServiceCacheEventAdvice.java:89)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at oracle.bpel.services.workflow.test.workflow.ExceptionTestCaseBuilder.invoke(ExceptionTestCaseBuilder.java:155)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at oracle.bpel.services.common.dms.MethodEventAspect.invoke(MethodEventAspect.java:70)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at oracle.bpel.services.common.dms.MethodPhaseEventAspect.invoke(MethodPhaseEventAspect.java:82)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy215.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:299)
    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)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    Thanks in advance guys. We have tried everything from trying to map the keystores to retracing our installation but it just doesnt solve our problem.
    Ta
    Edited by: mocx on Mar 14, 2011 11:31 PM

    Hi regoeng,
    i too am facimg the same issue and using OID .
    Can you please let me know the exact stpes followed to resoilve this issue.
    Components used : UCM , SOA
    Flow :
    1 . User places an file/record in the content server folder in the review state.
    2 . An Workflow will be intiated.
    3 . It will send an mail to the approvers.
    4 . The Approver will click on the link which will be sent in the mail.
    5 . Provide there credentials.
    6 . Approves the file/record.
    7 . The file/record will be released state.
    Now we are facing an issue in step 4 , where a mail is sent to the approver and when approvers click on the link it will keep on trying to open the page and in the back end we are finding the ORABPEL-35012 error.
    Regards,
    Karthik
    Edited by: user13293564 on Aug 11, 2011 12:20 AM

  • XML Parsing error: not well-formed (invalid token) (error code 4) --- Urgent Help Needed!

    Hi all, what im doing now is im trying to create a database connection my my MS SQL 2005 database. I created a data source and went to my Adobe Lifecycle Designer 7.1, i created a new data connection, selected OLEDB and created the connection string using the build function.
    Ok, now the problem is, after creating the new data connection and i click on the preview tab, i will receive the error stated above.
    'XML Parsing error: not well-formed (invalid token) (error code 4), line 444, column 1 of file'
    Does anyone know why am i receiving this error and how do i go about solving this?
    I need this database connection to pre-fill my form when the user downloads the form =(

    I have a vital form that clients fill out, which is passed to many people in the company along the workflow. The form is a Planner and we have in the following PDF, Word Doc..
    Well before, the Planner.pdf was originally created in Word, since most people have access to Word.. but evolved to a PDF form created from the Word Doc via Adobe LiveCycle Designer 8.0 w/ User Rights enabled so that the form could be filled out and saved using Adobe Reader.. which was a step better than Word.. being that it is free. But this needed to be easier and more to the point b/c some clients don't particularly like installing the latest version of Reader, even if you provide them the link. Nor do they like saving the form, filling the form, and attaching the form to send back.
    My goal is to have the client fill an HTML version of the form, submit and be done with it, but everyone in the workflow be able to easily receive the filled Planner as a PDF form.
    So some months ago I ran into this post Chris Trip, "Populate Livecycle PDF from mySQL database using PHP" #8, 22 Sep 2007 4:37 pm
    which uses the command line Win32 pdftk.exe to merge an FDF file into an existing PDF on the remote server, and serve this to whoever.
    My problem was with shared hosting and having the ability to use the Win32 pdftk.exe along with PHP which is predominantly used on Linux boxes. And we used a Linux box.
    so i created the following unorthodox method, which a client fills the HTML version of the Planner, all field values are INSERTED into a table in MySQL DB, I and all filled planners that have been filled by clients to date can be viewed from a repository page where an XML file is served up of the corresponding client, but someone would have to have Acrobat Professional, to import the form data from the XML file into a blank form.. altoughh this is simple for me.. I have the PHP file already created so that when a Planner is filled and client submits. >> the an email is sent to me with a table row from the repository of the client name, #, email, and a link to d-load the XML file,
    But I also have the PHP files created so that the Planner can be sent to by email to various people in the workflow with certain fileds ommitted they they do not need to see, but instead of the XML file beiong served up i need the filled PDF Planner to be served.
    I can do this locally with ease on a testing server, but I am currently trying to use another host that uses cross-platform compatibility so i can use PHP and the pdftk.exe to achieve this, as that is why I am having to serve up an XML file b/c we use a Linux server for our website, and cant execute the exe.
    Now that I am testing the other server (cross-platform host), just to use them to do the PDF handling (and it's only $5 per month) I am having problems with getting READ, WRITE, EXECUTE permissions..
    Si guess a good question to ask is can PHP do the same procedure as the pdftk.exe, and i can eleminate it.
    or how in the heck can i get this data from the DB into a blank PDF form, like i have described??
    here are some link to reference
    Populating a LiveCycle PDF with PHP and MySQL
    http://www.andrewheiss.com/Tutorials?page=LiveCycle_PDFs_and_MySQL
    HTML form that passed data into a PDF
    http://www.mactech.com/articles/mactech/Vol.20/20.11/FillOnlinePDFFormsUsingHTML/index.htm l
    and an example
    http://accesspdf.com/html_pdf_form/

  • Dyanmics CRM integrated with sharepoint 2010 foundation - new created account folder can not trigger sharepoint workflow.

    I integrated MS CRM 2013 with SharePoint foundation 2010 for document management. integration works.
    Now I need to create several subfolders and set proper permission on each folder. So, I created a workflow to do it automatically. It works when I manually create a new folder under SharePoint account, or I manually run it for an account folder. Thus, sharepoint
    workflow works as I expected.
    However, when I access Account's document from CRM (first time), sharepoint would create an folder for this account. In this case, the workflow doesn't work. and it show error: "Failed on Start(retrying)".
    Anyone has experience on similar issues or have clue how to trace this error?

    Hi Justin,
    From your description, the issue might be related to the workflow created by visual studio.
    Could you please try to locate error message in workflow report or ULS log:
    https://technet.microsoft.com/en-in/library/cc298927%28v=office.14%29.aspx?f=255&MSPPError=-2147217396
    also debug the workflow per:
    http://blogs.msdn.com/b/philloth/archive/2009/01/19/how-to-debug-a-workflow-with-visual-studio.aspx
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Provision to secure access token (For OAuth2.0 User Authentication)

    Hi,
    May i check if there are any provision in place to secure an access token ?
    For example, facebook use app secret prof (sha256 hash) to encrypt their access token, but i am able to see any security best practice in the documentation. Please direct me if i might have missed that portion out.
    Reference :
    https://msdn.microsoft.com/en-us/library/hh243647.aspx

    I think that as you are using Azure AD for the OAuth authentication, the fact that the tenant is configured to use ADFS (single sign-on) shouldn't change the OAuth flow from client/caller perspective. What permissions have you configured for SharePoint
    in Azure AD? I guess the error comes from Azure AD, before or after ADFS authentication?
    This seems like a similar issue (with no resolution either).

Maybe you are looking for

  • Time machine local to Network

    I have three macs on a wireless network. all machines have a relatively large amount of data (over 120GB). i have a 2TB USB drive lying around that i wanted to use for time machine backups. what i want to do is to "seed" the backup of the other machi

  • IPhone 5s (new) has terrible reception, 5 PICS included. -115 db reading!?!

    I just got an iPhone 5s. FIRST THING I noticed when I was getting ready to walk out the Verizon store - my iPhone 5s was reading "3 bars of 3G service"  inside the Verzon store. What!? Every other device in the store has bull 5 FULL bars of LTE servi

  • SQL Performance and Hyper-V Generation 2

    Hi Environment - HP DL580 G5 running 2012 R2 Hyper V There are only 2 VM's on this box and the underlying storage is provided by Equalogic. I have created 2 VM's running 2012 R2 Server with SQL 2012 Enterprise SP2 which are identical apart from one b

  • RSS feed out of date

    I'd appreciated if you help me find a solution for an issue related to RSS. I have RSS HTML Widgets on my following pages, created with iWeb app: http://www.spanishonlyspanish.com/English/Home.html http://www.spanishonlyspanish.com/Spanish/Inicio.htm

  • Access the OS from Oracle

    Hi, How do I execute commands on the operating system from the SQL? (run a .sql script or get env variable) Cheers, Amos null