Workflows remain in starting state

There is a production sharepoint site and qa sharepoint site. The workflows were made and tested in the qa site. I then made templates of all the list associated and added them to the production sharepoint site. After that I recreated all the workflows because
they were list workflows, and set them to go off when an item is created. However when ever an item is created all the workflows remain in a starting state and no amount of time changes it, for I still have a workflow starting from 2 days ago. What do I do
to resolve this problem? As well this will all made using SPD 2010 and sharepoint 2010

Hi,
see whether these links helps you -
http://blogs.msdn.com/b/chaun/archive/2013/05/16/if-your-sp2010-workflows-are-stuck-in-the-starting-state.aspx
http://social.technet.microsoft.com/Forums/sharepoint/en-US/5a6e6e83-b59f-4099-a86f-a07723ff2b98/workflow-stuck-in-starting-state-after-applying-sharepoint-2010-cu-december-2012?forum=sharepointadminprevious
Hope this helps!
Ram - SharePoint Architect
Blog - SharePointDeveloper.in
Please vote or mark your question answered, if my reply helps you

Similar Messages

  • Workflows stuck in "Starting" state.

    Workflows have been running fine for awhile.  All workflows are currently stuck in a "Starting" state.  Was finally able to capture this in ULS
    03/20/2014 11:58:23.46  w3wp.exe (0x15AC)                        0x2A98 SharePoint Foundation        
     Workflow Infrastructure        72fv Unexpected AutoStart Workflow: System.ArgumentException: Value does not fall within the expected range.     at Microsoft.SharePoint.Workflow.SPWorkflowActivationProperties..ctor(SPWorkflow
    workflow, String initiationData, Object context)     at Microsoft.SharePoint.Workflow.SPWorkflowManager.StartWorkflowElev(Object context, SPWorkflowAssociation association, DateTime elevationTimeUtc, SPWorkflowEvent startEvent, SPWorkflowRunOptions
    runOptions)     at Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver.<>c__DisplayClass1.<AutoStartWorkflow>b__0(SPSite superUserSite, SPWeb superUserWeb) 
    Any ideas?
    TIA

    Hi Milo,
    Please check whether you have installed any CUs for SharePoint 2010.
    Please install June 2013 CU or higher for SharePoint 2010, compare the result.
    Here are some similar posts for you to take a look at:
    http://blogs.msdn.com/b/chaun/archive/2013/05/16/if-your-sp2010-workflows-are-stuck-in-the-starting-state.aspx
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/5a6e6e83-b59f-4099-a86f-a07723ff2b98/workflow-stuck-in-starting-state-after-applying-sharepoint-2010-cu-december-2012?forum=sharepointadminprevious
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Workflow stuck in starting state after applying SharePoint 2010 CU December 2012

    I have custom visual studio workflow which are associated with Custom content type. workflow gets triggered automatically when a file is uploaded to SharePoint. Everything was working fine till when i apply the following CU
    http://blogs.msdn.com/b/joerg_sinemus/archive/2012/12/27/sharepoint-2010-and-december-2012-cu.aspx
    After applying this my workflow get stuck in "Starting" state.
    No error were logged in 14 hive logs.
    Thanks in Advance!

    It took me a while but I came up with a work around.  There is a PowerShell script below that can be used to trigger the workflow.  Hopefully this will hold all of us over until the official fix arrives.
    First remove the auto start on change or new from the affected workflow
    Edit the script below to match your environment
    Add the script to Windows task scheduler with the PowerShell.exe in the command line
    This assumes PowerShell.exe is in the path
    Then add the full path and script name in the add arguements text box
    Script:
    #The purpose of this script is to start the SPD workflow with the windows task scheduler for a trigger
    #This should avoid the check in-out issue caused by the December 2012 SP CU patch
    #This needs to be run on an account with membership in the farm administration group for SharePoint and Shell in SQL
    #You can use a find and replace to replace the server and other names with your actual names
    #There are no status messages being used since this will be a scheduled task in the Windows task scheduler
    #Add SharePoint modules and create variable space
    add-pssnapin microsoft.sharepoint.powershell
    start-spassignment -global
    #Open the web site, list and the workflow
    $site=get-spsite %site url%"
    $web=get-spweb %Web url%
    #Open the %affected% library or list and workflow association
    $%affected%=$web.getlist("%affected%")
    $manager=$site.workflowmanager
    $culture=[system.globalization.cultureinfo]::currentculture
    $wfname="%affected workflow name"
    $association=$%affected%.workflowassociations.getassociationbyname($wfname,$culture)
    $data=$association.associationdata
    $wfrunoption=[microsoft.sharepoint.workflow.spworkflowrunoptions]::synchronous
    #Start workflow
    foreach ($item in $%affected%.items) {
    $site.workflowmanager.startworkflow($item,$association,$data,$wfrunoption)
    stop-spassignment -global

  • Sharepoint Designer 2010 Workflows Struck in "starting" status after Sharepoint 2010 SP2 upgrade(KB2687453 - June 2013)

    We have SPD workflows and Nintex workflows which are configured to start automatically on a Document Library which have content type. After we have been installed KB2687453
    (sp2) , all the workfows running on documnet library with content type got strucked and always saying" starting".  Please help us.,... highly apprciated as it's urgnet. Thanks in advance.

    Hi  nart ,
    It is a known issue. Please install  the June 2013 CU to solve the problem.
    June 2013 CU:
    http://blogs.technet.com/b/stefan_gossner/archive/2013/06/12/june-2013-cu-for-sharepoint-2010-has-been-released.aspx
    For more information, you can refer to the thread:
    http://blogs.msdn.com/b/chaun/archive/2013/05/16/if-your-sp2010-workflows-are-stuck-in-the-starting-state.aspx
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/5a6e6e83-b59f-4099-a86f-a07723ff2b98/workflow-stuck-in-starting-state-after-applying-sharepoint-2010-cu-december-2012?forum=sharepointadminprevious
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Stuck in a starting state

    Hi,
    I'm using WebLogic 9.2.2. I have a single server in my cluster. The server is perpetually stuck in a "STARTING" state (http://screencast.com/t/GMDTihmVYD). I'm not sure how it got there, but when I visit the Shutdown -> Force Shutdown Now option, although I'm told the request was sent to the server, the server remains in this ambiguous "STARTING" state.
    How do I break out of this state and restart my server?
    Thanks, - Dave

    On your advice, logged in as etsbea, I ran the command, filtered with java and got:
    etsbea 9948 49.1 2.9562912464808 ? O Oct 13 58:22 /export/third-party/etsbea/product/wls_9.2.2/jdk1.5.0_12/jre/bin/java -Dweblogic.Name=btsgui-ms-1 -Djava.security.policy=/export/third-party/etsbea/product/wls_9.2.2/weblogic92/server/lib/weblogic.policy -Dweblogic.management.server=http://rhonti:17001 -Djava.library.path=/export/third-party/etsbea/product/wls_9.2.2/jdk1.5.0_12/jre/lib/sparc/client:/export/third-party/etsbea/product/wls_9.2.2/jdk1.5.0_12/jre/lib/sparc:/export/third-party/etsbea/product/wls_9.2.2/jdk1.5.0_12/jre/../lib/sparc:/export/third-party/etsbea/product/wls_9.2.2/patch_weblogic922/profiles/default/native:/export/third-party/etsbea/oracle/product/10.2.0/lib:/export/third-party/etsbea/home/etsbea/netegrity/sdk/bin:/opt/GCC3.3.2/lib/:/opt/GCC3.3.2/lib/sparcv9/:/usr/lib/:/export/third-party/etsbea/product/wls_9.2.2/weblogic92/server/native/solaris/sparc:/export/third-party/etsbea/product/wls_9.2.2/weblogic92/server/native/solaris/sparc/oci920_8:/export/third-party/etsbea/product/netegrity_6.0.2/sdk/bin:/usr/lib -Djava.class.path=/export/third-party/etsbea/application_conf/wls_9.2.2/btsgui_conf:/export/third-party/etsbea/product/wls_9.2.2/weblogic92/server/lib/weblogic.jar:/export/third-party/etsbea/product/wls_9.2.2/weblogic92/platform/lib/p13n/p13n-schemas.jar:/export/third-party/etsbea/product/wls_9.2.2/weblogic92/platform/lib/p13n/p13n_common.jar:/export/third-party/etsbea/product/wls_9.2.2/weblogic92/platform/lib/p13n/p13n_system.jar:/export/third-party/etsbea/product/wls_9.2.2/weblogic92/platform/lib/wlp/netuix_common.jar:/export/third-party/etsbea/product/wls_9.2.2/weblogic92/platform/lib/wlp/netuix_schemas.jar:/export/third-party/etsbea/product/wls_9.2.2/weblogic92/platform/lib/wlp/netuix_system.jar:.:/export/third-party/etsbea/product/wls_9.2.2/jdk1.5.0_12/lib/tools.jar -Dweblogic.system.BootIdentityFile=/export/third-party/etsbea/product/wls_9.2.2/user_projects/domains/nps_pt_92/servers/btsgui-ms-1/data/nodemanager/boot.properties -Dweblogic.nodemanager.ServiceEnabled=true -Dweblogic.security.SSL.ignoreHostnameVerification=false -Dweblogic.ReverseDNSAllowed=false -Xms256m -Xmx256m -XX:NewSize=64m -XX:MaxNewSize=64m -XX:SurvivorRatio=4 -Dweblogic.wsee.useRequestHost=true weblogic.Server
    etsbea 9171 1.3 4.0821424652216 ? S Oct 13 46:17 /export/third-party/etsbea/product/wls_9.2.2/jdk1.5.0_12/bin/java -server -Xms256m -Xmx512m -XX:MaxPermSize=128m -da -Dplatform.home=/export/third-party/etsbea/product/wls_9.2.2/weblogic92 -Dwls.home=/export/third-party/etsbea/product/wls_9.2.2/weblogic92/server -Dwli.home=/export/third-party/etsbea/product/wls_9.2.2/weblogic92/integration -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/export/third-party/etsbea/product/wls_9.2.2/patch_weblogic922/profiles/default/sysext_manifest_classpath -D_Offline_FileDataArchive=true -Dweblogic.Name=npsadmin -Djava.security.policy=/export/third-party/etsbea/product/wls_9.2.2/weblogic92/server/lib/weblogic.policy weblogic.Server
    etsbea 18855 0.3 2.5579448398064 ? S Oct 14 7:00 /export/third-party/etsbea/product/wls_9.2.2/jdk1.5.0_12/jre/bin/java -Dweblogic.Name=npsgui-ms-1 -Djava.security.policy=/export/third-party/etsbea/product/wls_9.2.2/weblogic92/server/lib/weblogic.policy -Dweblogic.management.server=http://rhonti:17001 -Djava.library.path=/export/third-party/etsbea/product/wls_9.2.2/jdk1.5.0_12/jre/lib/sparc/client:/export/third-party/etsbea/product/wls_9.2.2/jdk1.5.0_12/jre/lib/sparc:/export/third-party/etsbea/product/wls_9.2.2/jdk1.5.0_12/jre/../lib/sparc:/export/third-party/etsbea/product/wls_9.2.2/patch_weblogic922/profiles/default/native:/export/third-party/etsbea/oracle/product/10.2.0/lib:/export/third-party/etsbea/home/etsbea/netegrity/sdk/bin:/opt/GCC3.3.2/lib/:/opt/GCC3.3.2/lib/sparcv9/:/usr/lib/:/export/third-party/etsbea/product/wls_9.2.2/weblogic92/server/native/solaris/sparc:/export/third-party/etsbea/product/wls_9.2.2/weblogic92/server/native/solaris/sparc/oci920_8:/export/third-party/etsbea/product/netegrity_6.0.2/sdk/bin:/usr/lib -Djava.class.path=/export/third-party/etsbea/application_conf/wls_9.2.2/nps_gui_conf:/export/third-party/etsbea/product/wls_9.2.2/weblogic92/server/lib/weblogic.jar:/export/third-party/etsbea/product/wls_9.2.2/weblogic92/platform/lib/p13n/p13n-schemas.jar:/export/third-party/etsbea/product/wls_9.2.2/weblogic92/platform/lib/p13n/p13n_common.jar:/export/third-party/etsbea/product/wls_9.2.2/weblogic92/platform/lib/p13n/p13n_system.jar:/export/third-party/etsbea/product/wls_9.2.2/weblogic92/platform/lib/wlp/netuix_common.jar:/export/third-party/etsbea/product/wls_9.2.2/weblogic92/platform/lib/wlp/netuix_schemas.jar:/export/third-party/etsbea/product/wls_9.2.2/weblogic92/platform/lib/wlp/netuix_system.jar:.:/export/third-party/etsbea/product/wls_9.2.2/jdk1.5.0_12/lib/tools.jar -Dweblogic.system.BootIdentityFile=/export/third-party/etsbea/product/wls_9.2.2/user_projects/domains/nps_pt_92/servers/npsgui-ms-1/data/nodemanager/boot.properties -Dweblogic.nodemanager.ServiceEnabled=true -Dweblogic.security.SSL.ignoreHostnameVerification=false -Dweblogic.ReverseDNSAllowed=false -Xms256m -Xmx256m -XX:NewSize=128m -XX:MaxNewSize=128m -XX:SurvivorRatio=4 -Dweblogic.wsee.useRequestHost=true -XX:+HeapDumpOnOutOfMemoryError -D_Offline_FileDataArchive=true -Dweblogic.connector.ConnectionPoolProfilingEnabled=false -Dcom.bea.wlw.netui.disableInstrumentation=true weblogic.Server
    etsbea 9474 0.3 0.622793689408 ? S Oct 13 8:51 /export/third-party/etsbea/product/wls_9.2.2/jdk1.5.0_12/bin/java -client -Xms32m -Xmx200m -XX:MaxPermSize=128m -Xverify:none -Djava.security.policy=/export/third-party/etsbea/product/wls_9.2.2/weblogic92/server/lib/weblogic.policy -Dweblogic.nodemanager.javaHome=/export/third-party/etsbea/product/wls_9.2.2/jdk1.5.0_12 -DListenPort=11555 weblogic.NodeManager -v
    etsbea 16582 0.2 2.5641048413024 ? S Oct 14 6:04 /export/third-party/etsbea/product/wls_9.2.2/jdk1.5.0_12/jre/bin/java -Dweblogic.Name=nps-prov-ws-ms-1 -Djava.security.policy=/export/third-party/etsbea/product/wls_9.2.2/weblogic92/server/lib/weblogic.policy -Dweblogic.management.server=http://rhonti:17001 -Djava.library.path=/export/third-party/etsbea/product/wls_9.2.2/jdk1.5.0_12/jre/lib/sparc/client:/export/third-party/etsbea/product/wls_9.2.2/jdk1.5.0_12/jre/lib/sparc:/export/third-party/etsbea/product/wls_9.2.2/jdk1.5.0_12/jre/../lib/sparc:/export/third-party/etsbea/product/wls_9.2.2/patch_weblogic922/profiles/default/native:/export/third-party/etsbea/oracle/product/10.2.0/lib:/export/third-party/etsbea/home/etsbea/netegrity/sdk/bin:/opt/GCC3.3.2/lib/:/opt/GCC3.3.2/lib/sparcv9/:/usr/lib/:/export/third-party/etsbea/product/wls_9.2.2/weblogic92/server/native/solaris/sparc:/export/third-party/etsbea/product/wls_9.2.2/weblogic92/server/native/solaris/sparc/oci920_8:/export/third-party/etsbea/product/netegrity_6.0.2/sdk/bin:/usr/lib -Djava.class.path=/export/third-party/etsbea/application_conf/wls_9.2.2/nps_provisioning_ws_conf:/export/third-party/etsbea/product/wls_9.2.2/patch_weblogic922/patch_jars/CR359539_920MP2.jar:/export/third-party/etsbea/product/wls_9.2.2/weblogic92/server/lib/weblogic.jar:/export/third-party/etsbea/product/wls_9.2.2/weblogic92/platform/lib/p13n/p13n-schemas.jar:/export/third-party/etsbea/product/wls_9.2.2/weblogic92/platform/lib/p13n/p13n_common.jar:/export/third-party/etsbea/product/wls_9.2.2/weblogic92/platform/lib/p13n/p13n_system.jar:/export/third-party/etsbea/product/wls_9.2.2/weblogic92/platform/lib/wlp/netuix_common.jar:/export/third-party/etsbea/product/wls_9.2.2/weblogic92/platform/lib/wlp/netuix_schemas.jar:/export/third-party/etsbea/product/wls_9.2.2/weblogic92/platform/lib/wlp/netuix_system.jar:.:/export/third-party/etsbea/product/wls_9.2.2/jdk1.5.0_12/lib/tools.jar -Dweblogic.system.BootIdentityFile=/export/third-party/etsbea/product/wls_9.2.2/user_projects/domains/nps_pt_92/servers/nps-prov-ws-ms-1/data/nodemanager/boot.properties -Dweblogic.nodemanager.ServiceEnabled=true -Dweblogic.security.SSL.ignoreHostnameVerification=false -Dweblogic.ReverseDNSAllowed=false -Xms256m -Xmx256m -XX:NewSize=128m -XX:MaxNewSize=128m -XX:SurvivorRatio=2 -XX:MaxPermSize=128m -XX:PermSize=128m -verbose:gc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -XX:+PrintHeapAtGC -XX:+HeapDumpOnOutOfMemoryError -D_Offline_FileDataArchive=true -Dweblogic.connector.ConnectionPoolProfilingEnabled=false -Dcom.bea.wlw.netui.disableInstrumentation=true -Dweblogic.wsee.useRequestHost=true -Dweblogic.wsee.security.clock.skew=28800000 -Dweblogic.wsee.security.delay.max=28800000 weblogic.Server
    etsbea 9255 0.1 0.414619251752 ? S Oct 13 1:18 /export/third-party/etsbea/bea/jdk142_05/bin/java -client -Xms32m -Xmx200m -Xverify:none -Djava.security.policy=/export/third-party/etsbea/bea/weblogic81/server/lib/weblogic.policy -Dweblogic.nodemanager.javaHome=/export/third-party/etsbea/bea/jdk142_05 weblogic.NodeManager
    etsbea 9540 0.1 0.422755263480 ? S Oct 13 1:06 /export/third-party/etsbea/product/wls_9.2.2/jdk1.5.0_12/bin/java -client -Xms32m -Xmx200m -XX:MaxPermSize=128m -Xverify:none -Djava.security.policy=/export/third-party/etsbea/product/wls_9.2.2/weblogic92/server/lib/weblogic.policy -Dweblogic.nodemanager.javaHome=/export/third-party/etsbea/product/wls_9.2.2/jdk1.5.0_12 -DListenPort=5566 weblogic.NodeManager -v
    etsbea 26464 0.0 0.0 1280 1032 pts/2 S 12:40:21 0:00 grep java
    etsbea 18608 0.0 0.1227296 9480 ? S Oct 14 0:00 /export/third-party/etsbea/product/wls_9.2.2/jdk1.5.0_12/bin/java -client -Xms32m -Xmx200m -XX:MaxPermSize=128m -Xverify:none -Djava.security.policy=/export/third-party/etsbea/product/wls_9.2.2/weblogic92/server/lib/weblogic.policy -Dweblogic.nodemanager.javaHome=/export/third-party/etsbea/product/wls_9.2.2/jdk1.5.0_12 -DListenPort=11555 weblogic.NodeManager -v
    etsbea 25011 0.0 0.1227296 9648 ? S 09:04:31 0:00 /export/third-party/etsbea/product/wls_9.2.2/jdk1.5.0_12/bin/java -client -Xms32m -Xmx200m -XX:MaxPermSize=128m -Xverify:none -Djava.security.policy=/export/third-party/etsbea/product/wls_9.2.2/weblogic92/server/lib/weblogic.policy -Dweblogic.nodemanager.javaHome=/export/third-party/etsbea/product/wls_9.2.2/jdk1.5.0_12 -DListenPort=11555 weblogic.NodeManager -v
    Hard for me to figure out what is going on with the above. I definitely appreciate any further info, - Dave

  • Task remain in Ready state

    Hi Experts,
    When in am triggering my workflow, its task remains in Ready state. I always have to execute it manually. Could anyone of you please let me know what could be the reason?
    Thanks and Regards,
    Pritam Kunal

    Hi,
    Step is not executing its first step only. Sub workflow step is the alst step.
    Also, There is no need of any action by user. so no one will have to receive the workitem. this task is there to get some data by executing a method. This itself is not getting executing automatically.
    Workflow is active ans task is background task only.
    Thanks and Regards,
    Pritam Kunal

  • Background step in workflow remains in process: Workflow gets stuck up

    Hi Gurus,
    I have custom workflow for organization management. The workflow takes information from e-forms(notifications) and updates the infotypes.
    The step which updates infotypes is run as background step.However in some cases the workflow gets stuck up in this step.
    This happens irregularly (once or twice in a month).
    On processing these workflow instances using SWPC , nothing happens and the workflow remains stuck up in the same step.
    Also checked for dumps but nothing available under WF-BATCH.There is no regular pattern for occurance of these instances.
    Can you please suggest what can be the possible cause of them getting stuck up in the background task.
    Regards,
    Rohit

    Check ST22 shortdumps again. Look not only for WF-BATCH but also look for the intitator or the last processor's ID. Sometimes they would be the assigned the user to execute the step ecven if it's a background task.
    Also, I would suggest looking through the code of the method that is being executed carefully. Make sure there are no 'EXIT' or LEAVE' statements. This could also 'sometimes' cause the background process not to return correctly. In addition, check that you are not executing an ever lasting loop.
    If you have access in PRODUCTION, try to execute the method in debug mode to see where the program is inappropriately stopping (t-code SWO1).
    Derrick
    Banks & Company, LLC

  • Travel Expense Tool - Workflow doesn't start

    Hi,
    I need some demo data of Travel Expenses for development but when I create a new Travel Expense Report there's no work item created.
    I checked that the "Change" and "Create" Events (Object Type BUS2089) are triggered  (I also checked the Event Linkage).
    In Event Trace I can see them but "Change" has no Receiver entered. In the "Create" Event the Receiver is right but if I open the Event there's the RFC Status "Syntax error in program CL_SWF_RUN_WIM_LOCAL======". The same error Message appears in Transaction SM58.
    I also checked that in transaction SWU3 everything has a green flag.
    In transaction PE03 --> Feature TRVPA--> I changed the Attribute WRP but it still won't work.
    I think the workflow is not starting correctly because of this syntax error.
    Any help is appreciated.
    Thank you
    Christopher

    Hi Modak,
    I get the error: Class CL_SWF_RUN_WIM_LOCAL,Method IF_SWF_RUN_WIM_INTERNAL~MERGE_ATTACH_OBJECTS
    Field "IM_COMMENT_SEMANTIC" is unknown. It is neither in one of the
    specified tables nor defined by a "DATA" statement. .
    This error is also listed in ST22 when the event is triggered. Do you know the cause for this error?
    If not I'll raise an OSS suport ticket.
    Thanks!
    Christopher

  • Weblogic managed server shutdown immediately after going to STARTING state

    Our configuration has 3 managed servers M1, M2, M3. M2 and M3 are in a cluster to share JNDI name for JMS servers. Are M3 server often shutdown on starting up just after the server goes to the STARTING state. I have 2 log traces. The first shows when the server shuts down, the 2nd is when the server initializes correctly. No configuration changes, just a timing race condition. Any help is greatly appreciated.....
    Bad startup log trace....
    Starting WLS with line:
    /Oracle/Middleware/jdk1.6.0_25/bin/java -server -Xms2048m -Xmx2048m -XX:NewSizeThreadIncrease=200 -Dweblogic.ThreadPoolPercentSocketReaders=50 -XX:MaxPermSize=512m -Dweblogic.Name=staAdapter -Djava.security.policy=/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.ProductionModeEnabled=true -Dweblogic.security.SSL.trustedCAKeyStore=/Oracle/Middleware/wlserver_10.3/server/lib/cacerts -da -Dplatform.home=/Oracle/Middleware/wlserver_10.3 -Dwls.home=/Oracle/Middleware/wlserver_10.3/server -Dweblogic.home=/Oracle/Middleware/wlserver_10.3/server -Ddomain.home=/Oracle/Middleware/user_projects/domains/TBI -Dcommon.components.home=/Oracle/Middleware/oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=/Oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrocket_optfile.txt -Doracle.domain.config.dir=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig -Doracle.server.config.dir=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig/servers/staAdapter -Doracle.security.jps.config=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig/jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig/carml -Digf.arisidstack.home=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig/arisidprovider -Dweblogic.alternateTypesDirectory=/Oracle/Middleware/oracle_common/modules/oracle.ossoiap_11.1.1,/Oracle/Middleware/oracle_common/modules/oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dweblogic.management.discover=false -Dweblogic.management.server=t3://localhost:7001 -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Duser.timezone=UTC -Xrs -Dweblogic.MaxMessageSize=100000000 -Dweblogic.ext.dirs=/Oracle/Middleware/patch_wls1035/profiles/default/sysext_manifest_classpath:/Oracle/Middleware/patch_jdev1112/profiles/default/sysext_manifest_classpath -Djps.app.credential.overwrite.allowed=true weblogic.Server
    <Jan 24, 2013 9:29:16 PM UTC> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <Jan 24, 2013 9:29:17 PM UTC> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <Jan 24, 2013 9:29:17 PM UTC> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.0-b11 from Sun Microsystems Inc.>
    <Jan 24, 2013 9:29:23 PM UTC> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 >
    <Jan 24, 2013 9:29:24 PM UTC> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Jan 24, 2013 9:29:24 PM UTC> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Jan 24, 2013 9:29:24 PM UTC> <Notice> <Log Management> <BEA-170019> <The server log file /Oracle/Middleware/user_projects/domains/TBI/servers/staAdapter/logs/staAdapter.log is opened. All server side log events will be written to this file.>
    <Jan 24, 2013 9:29:25 PM UTC> <Error> <Socket> <BEA-000438> <Unable to load performance pack. Using Java I/O instead. Please ensure that libmuxer library is in :'/Oracle/Middleware/jdk1.6.0_25/jre/lib/amd64/server:/Oracle/Middleware/jdk1.6.0_25/jre/lib/amd64:/Oracle/Middleware/jdk1.6.0_25/jre/../lib/amd64:/Oracle/Middleware/patch_wls1035/profiles/default/native:/Oracle/Middleware/patch_jdev1112/profiles/default/native:/Oracle/Middleware/wlserver_10.3/server/native/linux/i686:/Oracle/Middleware/wlserver_10.3/server/native/linux/i686/oci920_8:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib'
    >
    <Jan 24, 2013 9:29:28 PM UTC> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Jan 24, 2013 9:29:30 PM UTC> <Warning> <Store> <BEA-280101> <The persistent file store "_WLS_staAdapter" is forced to use buffered I/O and so may have significantly degraded performance. Either the OS/hardware environment does not support the chosen write policy or the native wlfileio library is missing. See store open log messages for the requested and final write policies. See the documentation on store synchronous write policy configuration for advice.>
    <Jan 24, 2013 9:29:31 PM UTC> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddi was not deployed. Error: [Deployer:149158]No application files exist at '/Oracle/Middleware/wlserver_10.3/server/lib/uddi.war'.>
    <Jan 24, 2013 9:29:31 PM UTC> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158]No application files exist at '/Oracle/Middleware/wlserver_10.3/server/lib/uddiexplorer.war'.>
    <Jan 24, 2013 9:29:31 PM UTC> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Jan 24, 2013 9:29:31 PM UTC> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    *<Jan 24, 2013 9:29:51 PM UTC> <Notice> <WebLogicServer> <BEA-000388> <JVM called WLS shutdown hook. The server will force shutdown now>*
    *<Jan 24, 2013 9:29:51 PM UTC> <Alert> <WebLogicServer> <BEA-000396> <Server shutdown has been requested by <WLS Kernel>>*
    *<Jan 24, 2013 9:29:51 PM UTC> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>*
    Good startup trace.....
    Starting WLS with line:
    /Oracle/Middleware/jdk1.6.0_25/bin/java -server -Xms2048m -Xmx2048m -XX:NewSizeThreadIncrease=200 -Dweblogic.ThreadPoolPercentSocketReaders=50 -XX:MaxPermSize=512m -Dweblogic.Name=staAdapter -Djava.security.policy=/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.ProductionModeEnabled=true -Dweblogic.security.SSL.trustedCAKeyStore=/Oracle/Middleware/wlserver_10.3/server/lib/cacerts -da -Dplatform.home=/Oracle/Middleware/wlserver_10.3 -Dwls.home=/Oracle/Middleware/wlserver_10.3/server -Dweblogic.home=/Oracle/Middleware/wlserver_10.3/server -Ddomain.home=/Oracle/Middleware/user_projects/domains/TBI -Dcommon.components.home=/Oracle/Middleware/oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=/Oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrocket_optfile.txt -Doracle.domain.config.dir=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig -Doracle.server.config.dir=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig/servers/staAdapter -Doracle.security.jps.config=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig/jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig/carml -Digf.arisidstack.home=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig/arisidprovider -Dweblogic.alternateTypesDirectory=/Oracle/Middleware/oracle_common/modules/oracle.ossoiap_11.1.1,/Oracle/Middleware/oracle_common/modules/oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dweblogic.management.discover=false -Dweblogic.management.server=t3://localhost:7001 -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Duser.timezone=UTC -Xrs -Dweblogic.MaxMessageSize=100000000 -Dweblogic.ext.dirs=/Oracle/Middleware/patch_wls1035/profiles/default/sysext_manifest_classpath:/Oracle/Middleware/patch_jdev1112/profiles/default/sysext_manifest_classpath -Djps.app.credential.overwrite.allowed=true weblogic.Server
    <Jan 24, 2013 5:31:06 PM UTC> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <Jan 24, 2013 5:31:06 PM UTC> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <Jan 24, 2013 5:31:06 PM UTC> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.0-b11 from Sun Microsystems Inc.>
    <Jan 24, 2013 5:31:07 PM UTC> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 >
    <Jan 24, 2013 5:31:08 PM UTC> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Jan 24, 2013 5:31:08 PM UTC> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Jan 24, 2013 5:31:08 PM UTC> <Notice> <Log Management> <BEA-170019> <The server log file /Oracle/Middleware/user_projects/domains/TBI/servers/staAdapter/logs/staAdapter.log is opened. All server side log events will be written to this file.>
    <Jan 24, 2013 5:31:09 PM UTC> <Error> <Socket> <BEA-000438> <Unable to load performance pack. Using Java I/O instead. Please ensure that libmuxer library is in :'/Oracle/Middleware/jdk1.6.0_25/jre/lib/amd64/server:/Oracle/Middleware/jdk1.6.0_25/jre/lib/amd64:/Oracle/Middleware/jdk1.6.0_25/jre/../lib/amd64:/Oracle/Middleware/patch_wls1035/profiles/default/native:/Oracle/Middleware/patch_jdev1112/profiles/default/native:/Oracle/Middleware/wlserver_10.3/server/native/linux/i686:/Oracle/Middleware/wlserver_10.3/server/native/linux/i686/oci920_8:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib'
    >
    <Jan 24, 2013 5:31:13 PM UTC> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Jan 24, 2013 5:31:14 PM UTC> <Warning> <Store> <BEA-280101> <The persistent file store "_WLS_staAdapter" is forced to use buffered I/O and so may have significantly degraded performance. Either the OS/hardware environment does not support the chosen write policy or the native wlfileio library is missing. See store open log messages for the requested and final write policies. See the documentation on store synchronous write policy configuration for advice.>
    <Jan 24, 2013 5:31:15 PM UTC> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddi was not deployed. Error: [Deployer:149158]No application files exist at '/Oracle/Middleware/wlserver_10.3/server/lib/uddi.war'.>
    <Jan 24, 2013 5:31:15 PM UTC> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158]No application files exist at '/Oracle/Middleware/wlserver_10.3/server/lib/uddiexplorer.war'.>
    <Jan 24, 2013 5:31:16 PM UTC> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Jan 24, 2013 5:31:16 PM UTC> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    **<Jan 24, 2013 5:31:30 PM UTC> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>**
    **<Jan 24, 2013 5:31:30 PM UTC> <Notice> <Cluster> <BEA-000197> <Listening for announcements from cluster using unicast cluster messaging>**
    **<Jan 24, 2013 5:31:30 PM UTC> <Notice> <Cluster> <BEA-000133> <Waiting to synchronize with other running members of STA_cluster.>**
    **<Jan 24, 2013 5:31:38 PM UTC> <Notice> <Cluster> <BEA-000142> <Trying to download cluster JNDI tree from server staEngine.>**
    **<Jan 24, 2013 5:31:38 PM UTC> <Notice> <Cluster> <BEA-000164> <Synchronized cluster JNDI tree from server staEngine.>**
    **<Jan 24, 2013 5:31:38 PM UTC> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>**
    **<Jan 24, 2013 5:31:38 PM UTC> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>**

    Thanks. Unfortunately I've already done that and it doesn't work. I've included the -Xrs option in the managed server java command line arguments, see below. However, either it is in the wrong location on the java argument list or something else is going on, because it is not working. See the JVM command line below of the managed server.....
    /Oracle/Middleware/jdk1.6.0_25/bin/java -server -Xms2048m -Xmx2048m -XX:NewSizeThreadIncrease=200 -Dweblogic.ThreadPoolPercentSocketReaders=50 -XX:MaxPermSize=512m -Dweblogic.Name=staAdapter -Djava.security.policy=/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.ProductionModeEnabled=true -Dweblogic.security.SSL.trustedCAKeyStore=/Oracle/Middleware/wlserver_10.3/server/lib/cacerts -da -Dplatform.home=/Oracle/Middleware/wlserver_10.3 -Dwls.home=/Oracle/Middleware/wlserver_10.3/server -Dweblogic.home=/Oracle/Middleware/wlserver_10.3/server -Ddomain.home=/Oracle/Middleware/user_projects/domains/TBI -Dcommon.components.home=/Oracle/Middleware/oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=/Oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrocket_optfile.txt -Doracle.domain.config.dir=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig -Doracle.server.config.dir=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig/servers/staAdapter -Doracle.security.jps.config=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig/jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig/carml -Digf.arisidstack.home=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig/arisidprovider -Dweblogic.alternateTypesDirectory=/Oracle/Middleware/oracle_common/modules/oracle.ossoiap_11.1.1,/Oracle/Middleware/oracle_common/modules/oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dweblogic.management.discover=false -Dweblogic.management.server=t3://localhost:7001 -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Duser.timezone=UTC -Xrs -Dweblogic.MaxMessageSize=100000000 -Dweblogic.ext.dirs=/Oracle/Middleware/patch_wls1035/profiles/default/sysext_manifest_classpath:/Oracle/Middleware/patch_jdev1112/profiles/default/sysext_manifest_classpath -Djps.app.credential.overwrite.allowed=true weblogic.Serve

  • Workflow could not start in HCM process and Forms

    Hi All
    It would be really helpful if you can suggest possible solution regarding case management case in HCM forms and process.
    I have set up a simple custom HCM process and Form regarding Infotype 2 updation. I have checked the process and form consistency and it seems fine. Now when I run the process from HRASR_DT it generates a process number but it also gives an error workflow could not start.I get following error (SWIA log - Step history)
    Executing flow work item - Transaction brackets of the workflow has been damaged
    Exception occurred - Error when starting work item 000000007031
    PROCESS_NODE - Error when processing node '0000000014' (ParForEach index 000000)
    CREATE - Error when creating a component of type 'Step'
    CREATE_WIM_HANDLE - Error when creating a work item
    CREATE_VIA_WFM - Exit CL_HRASR00_POBJ_WF_EXIT triggered exeception for event CREATED and (target) status
    EVENT_RAISED - Error updating the process object
    Executing flow work item - Exit CL_HRASR00_POBJ_WF_EXIT triggered exeception for event STATE_CHG and (target) status READY->ERROR
    EVENT_RAISED - Error updating the process object
    Executing flow work item - Transaction brackets of the workflow has been damaged
    Executing flow work item - Work item 000000007031: Object FLOWITEM method EXECUTE cannot be executed
    Executing flow work item - Error when processing node '0000000014' (ParForEach index 000000)
    I have searched few SAP notes such as 1384961 which talks about same error but it is implemented in our system (EA-HR 604 , Patch 27, )
    Appreciate any help.
    Thanks
    Umang

    Hi Swati
    One of the similar (not exact) issues were resolved by correcting the event linkage....please refer thread:
    http://scn.sap.com/message/14848795#14848795
    Not sure of the details of the the resolution, maybe Ragavendran Kanagaraj can throw more light.
    Just some high level checks (if not done already):
    Check event linkage errors in SWEQADM if anything is related to your WF
    Check in SWEL if it's showing any more details (not sure if it will)
    Any warnings in syntax check of WF template (PFTC) or WF definition (SWDD)
    Any error sin binding
    regards,
    Modak

  • Most of the time queries remain in suspended state in our production environment.

    Most of the time queries remain in suspended state in our production environment.
    Not getting any solution.
    Thanks

    Wait typeS : PAGEIOLATCH_SH,PAGELATCH_EX is when requested page is in buffer and some other process/request
    is holding the lock in buffer.
    SQL will manage it internally , Have you faced in performance issue if yes the need to check
    1) Fragmentation of indexes. if fragmented the defrag it so that time of execution will less and will also reduce wait time. 
    2) Any missing indexes is there then create it
    3) Update statistics  status of tables.
    4) Check if any table scan is there the create appropriate indexes on that...etc ....

  • SharePoint Retention Policy workflow does not start

    Hi,
    Using Nintex workflows I have created a workflow and attached it to a content type and tested that it runs manually ok.  I want it to run according to a retention policy, and so I created a policy based on one of the content type's date fields to start
    my workflow automatically.  When I manually run the timer jobs I see the following error in ULS logs and the workflow does not start.  Interestingly if I amend the policy to do something simple like move the item to the recycle bin, that works fine.
    Can anyone suggest what is wrong and where I can go from here to find the issue?
    Thanks
    Error running the expiration action on item <document url> .  Error:  System.InvalidOperationException:
    The workflow with id=<workflow id > is no longer available.    
     at Microsoft.Office.RecordsManagement.PolicyFeatures.WorkflowExpirationAction.RunExpirationWithPostActions(SPListItem
    item, XmlNode parametersData, DateTime expireDate)    
     at Microsoft.Office.RecordsManagement.PolicyFeatures.BaseExpirationAction.Microsoft.Office.RecordsManagement.PolicyFeatures.IExpirationActionWithPostActions.OnExpirationWithPostActions(SPListItem
    item, XmlNode parametersData, DateTime expireDate)    
     at Microsoft.Office.RecordsManagement.PolicyFeatures.ExpirationTask.ExpirationActionData.RunExpirationAction(SPListItem
    item, DateTime expireDate)    
     at Microsoft.Office.RecordsManagement.PolicyFeatures.ExpirationTask.<>c__DisplayClass19.<ProcessExpiredItems>b__17(SPListItem
    item)    
     at Microsoft.Office.Server.Utilities.MonitoredScopeWrapper.RunWithMonitoredScope(Action code)  
     at Microsoft.Office.Server.Utilities.ContentIterator.ProcessItem(SPListItem item, Boolean fIncludeFolderItems,
    MonitoredScopeWrapper monitoredScopeWrapper, ItemProcessor itemProcessor, ItemProcessorErrorCallout errorCallout)

    Hi,
    Based on your description, my understanding is that the Retention Policy cannot start the Nintex workflow.
    To narrow the issue scope, I recommend to check the things below:
    Create a SharePoint 2010 Reusable workflow for the same content type or 2013 list workflow and modify the Retention Policy to start this workflow, and then check how it works.
    Create Retention Policy with the Nintex workflow in another list and then compare the results.
    Thanks,
    Victoria
    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]
    Victoria Xia
    TechNet Community Support

  • Sharepoint 2013 workflow does not start when item is created by another workflow

    Hi I am having the next problem, I have a workflow on list B that starts when a new item is created. If I created the item manually the workflow works. Now I have a list A that has a workflow that creates a new item in List B. The problem is that when
    de workflow in list A creates the list item in list B the workflow does not start.
    I've used an account that is collection owner, an account that only has contribute permision and nothing works.
    Any ideas?
    0down
    votefavorite
    Hi I am having the next problem, I have a workflow on list B that starts when a new item is created. If I created the item manually the workflow works. Now I have a list A that has a workflow that creates a new item in List B. The problem is that when de workflow
    in list A creates the list item in list B the workflow does not start.
    I've used an account that is collection owner, an account that only has contribute permision and nothing works.
    Any ideas?
    0down
    votefavorite
    Hi I am having the next problem, I have a workflow on list B that starts when a new item is created. If I created the item manually the workflow works. Now I have a list A that has a workflow that
    creates a new item in List B. The problem is that when de workflow in list A creates the list item in list B the workflow does not start.
    I've used an account that is collection owner, an account that only has contribute permision and nothing works.
    Any ideas?

    Hi Courfeyrak,
    Here is another similar post with a workaround, you can try using the event receiver on listB item to start the workflow, when the listB item is created or updated by the workflow associated with listA.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/19f71e38-7c04-430e-aa6b-764cbbf18c1c/2013-workflow-does-not-start-on-item-created-by-a-different-worklow?forum=sharepointcustomization
    Thanks,
    Daniel Yang
    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]
    Daniel Yang
    TechNet Community Support

  • Workflow Does not Start If Created by Another Workflow

    Hi,
    Hope someone can help me here.
    I am using SharePoint 2013 Server and have created two workflows running on two separate lists (workflow 1 runs on list 1 and workflow 2 runs on list 2).
    Workflow 1 creates an item in List 2. The workflow on list 2 does not kick off when the item is created.
    I have tried both SharePoint Designer 2013 workflow and Visual Studio 2013 no code solutions (I have elevated privileges for the workflow app).
    The link below is what I am experiencing, although there doesn't seem to be a solution.
    https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/cb7c2537-ec54-4128-abea-aa5a11cddb54/sharepoint-2013-workflow-does-not-start-when-item-is-created-by-another-workflow?forum=sharepointcustomization
    I am in the process of installing the latest CUs too see if this has been rectified.
    Thanks,
    Nigel

    Hi Nigel,
    Yes, this is the default SharePoint behavior that SharePoint 2013 workflow does not start when item is created by another workflow.
    For a workaround, you can create a event receiver on the List 2 to start the workflow 2 when an item is created.
    Reference:https://social.technet.microsoft.com/Forums/sharepoint/en-US/19f71e38-7c04-430e-aa6b-764cbbf18c1c/2013-workflow-does-not-start-on-item-created-by-a-different-worklow?forum=sharepointcustomization
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/6ee7d704-34c0-4bda-8f2d-8a9ba17c2367/sharepoint-2013-workflow-using-create-item-to-add-an-item-to-another-list-and-have-the-workflow?forum=sharepointcustomization
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Socket remains in "established"  state

    In the following code, my program listens for input from port 1505. there are 3 PCs to connect to this port. if there is a data from the port there is no problem with thw connection and the sockets are closed and program continues. but when i see one of the computers goes to established state with no data from the port, it does not release the port. although i close sockets and streams in the code, it remains in established state. other computers trying to connect automatically goes to close_wait state and they remain in this state. Please help me solve this problem.
    private void makeConnection() throws IOException, ClassNotFoundException, SQLException {
              ServerSocket serverSocket = null;
              Socket clientSocket = null;      
            try {
                 serverSocket = new ServerSocket(1505);
            catch(IOException e){
                      System.out.println(" IOException");
                      serverSocket.close();
                      makeConnection();
            try {
                  clientSocket = serverSocket.accept();
            } catch (IOException e) {
                 System.out.println(" IOException : Accept");
                System.out.println("Accept failed.");
                //System.exit(1);
            BufferedReader in = new BufferedReader(new InputStreamReader(clientSocket.getInputStream()));
            String inputline;
            if((inputline=in.readLine()).equalsIgnoreCase(null)){
         System.out.println(" No Data");
         in.close();
         clientSocket.shutdownInput();
         clientSocket.setTcpNoDelay(true);
         serverSocket.close();
         clientSocket.close();             
                 makeConnection();
            else{
                 System.out.println(inputline);
                 newAnaliz=new AnalizTokenizer2(inputline);
                 inputsAndResults.setText(inputline+"\n");
                 inputsAndResults.append(newAnaliz.getAnaliz());
                 repaint();
                 analiz=inputline;
                 System.out.println(inputline);
                 String analizType=newAnaliz.getAnalizType();
                 newSend=new SendAnaliz(analizType, newAnaliz.getUnformattedText(), newAnaliz.getAnaliz());
                 int len=newSend.getConnectionStatus().length;
                 String[] constat=new String[len];
                 constat=newSend.getConnectionStatus();
                 setTextArea(constat);           
                 in.close();
         //clientSocket.shutdownInput();
         serverSocket.close();
         //clientSocket.setTcpNoDelay(true);
         clientSocket.close();             
                 System.out.println("Server Socket Closed"+serverSocket.isClosed());
                 //System.gc();
                 //new ListenAnaliz();
                 //this.dispose();
                 makeConnection();
         }

    In the following code, my program listens for input
    from port 1505. there are 3 PCs to connect to this
    port. if there is a data from the port there is no
    problem with thw connection and the sockets are
    closed and program continues. but when i see one of
    the computers goes to established state with no data
    from the port, it does not release the port. although
    i close sockets and streams in the code, it remains
    in established state.You have this back to front. Clearly if the socket is ESTABLISHED nobody has closed it, and it will remain in that state, and your readLine() method will remain blocked, until the client closes the socket.
    Other problems:
    (a) makeConnection() calls itself endlessly and will eventually run out of stack.
    (b) It also closes and reopens the ServerSocket unnecessarily, introducing timing windows during which clients will be unable to connect.
    try {
         clientSocket = serverSocket.accept();
    } catch (IOException e) {
    System.out.println(" IOException :
    ception : Accept");
    System.out.println("Accept failed.");
    //System.exit(1);
    }(c) is this really meant to fall through? If you get an IOException here you will get an NPE below.
    if((inputline=in.readLine()).equalsIgnoreCase(null)){
    (d) How can a null string reference have case?
         in.close();
         clientSocket.shutdownInput();(e) This will do nothing as the socket is already closed by the previous line.
         clientSocket.setTcpNoDelay(true);(f) After the close this throws a SocketException. Clearly you have never executed this line of code.
         serverSocket.close();(g) Bad practice, see above.
         clientSocket.close();(h) Redundant but harmless.
         makeConnection();(i) Infinite recursion, see above.
         in.close();
         //clientSocket.shutdownInput();(j) You were correct to comment this out, it does nothing after the close.
         serverSocket.close();(k) Bad practice, see above.
         //clientSocket.setTcpNoDelay(true);(l) You were correct to comment this out: after the close it throws a SocketException.
         clientSocket.close();(m) Redundant but harmless.
    System.out.println("Server Socket Closed"+serverSocket.isClosed());
         //System.gc();
         //new ListenAnaliz();
         //this.dispose();
         makeConnection();(n) Infinite recursion, see above.
    Basically you seem to be expecting null from readLine() under the wrong conditions. See what the documentation actually says.
    You should also look at some socket coding examples: this is weird.

Maybe you are looking for