Trouble running Enrollement Enterprise  Approval Workflow Sample

When I try to run the Approval Workflow Sample I get the following error:
Caused by: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean class [com.adobe.solutions.testservice.TestServiceImpl] not found
Offending resource: resource loaded through InputStream
Bean 'testService'; nested exception is java.lang.ClassNotFoundException: JMS SessionPool Worker-56Class name com.adobe.solutions.testservice.TestServiceImpl from package com.adobe.solutions.testservice not found.
Can someone give me some insight as to how I can fix this. I followed the set up instructions exactly.
Thanks in advance.

A-user,
Someone else reported a similar problem. It turned-out to be a problem with the "sdi.xml" within the "ApprovalSample.lca".
You should remove the following line from the "sdi.xml" file:
Stefan
Adobe Systems

Similar Messages

  • Need 2 metadata fields from item I am running a approval workflow on to show up on the task list

    I have document library "A" that contains many documents with 6 columns of metadata. I have a simple approval workflow for the library that works as it should in functionality. My users would like it if 2 fields of metadata from the items in library
    "A" would show up in the Task list so they could track the tasks by the 2 fields. Can anyone point me in the right direction here to make this happen? Working in SP2010 with Designer 2010 and IP 2010.
    Thanks 

    Hi Ross,
    According to your description, my understanding is that you want to display two managed metadata fields in the associated tasks created in the approval workflow.
    I recommend to edit the approval workflow in SharePoint Designer and new two task fields to display the two managed metadata fields.
    Here are the detailed steps:
    Open the approval workflow in SharePoint Designer and click Approval in Start Approval Process step.
    Click New to create two task form fields in single line of text type.
    Click Change the behavior of a single task under Customization.
    In Before a Task is Assigned step, select Set Task Field under Task Behavior Actions and then set the newly created task form fields to get the values in the managed metadata fields of current item.
    Please refer to the picture below(create a task form field called Managed Metadata for example and mm is the managed metadata column in the list):
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • In search of assistance learning how to modify the mail message from an out of the box SP2010 approval workflow.

    So, I have found the article
    http://punaro.com/2012/01/derek/modifying-a-sharepoint-2010-workflow-email/comment-page-1/ which appears to walk through the process of modifying an out of the box workflow's mail message.
    However, there is a basic problem that I run into before I get started.
    I am logged into the system as a regular user (ie not a farm admin, etc.).
    I do, however, have full control on the site on which I am working.
    I create a custom list.
    I create a simple one step approval - sharepoint 2010 out of the box workflow.
    I start SharePoint designer and give it the URL of the list. It opens up and I see the various objects on the left side of the screen.
    I click right on the Workflows object - which is where the article says I will find the ability to copy and modify the workflow.
    All I see is "open", "open in a new tab" and "Pin".
    I selecdt open in a new tab - and I get a blank screen labeled workflows that says "There are no items to show in this view".
    So, I click on Lists and Libraries, then on the name of my custom list.
    When the list displays, the Workflows section of the page has a "Modified Workflow" displayed.
    When I right click on it, no menu is shown. When I click on the modified workflow, I get the workflow settings page for that workflow.
    I am trying to figure out how to create the copy of the workflow so that I can modify one of the mail messages in SharePoint designer.
    Is there someone who has some advice on how to find this copy and modify option?  Or perhaps a web site, web forum, article series, or book covering the topic?
    Thank you! 

    Hi lwvirden,
    According to your description, my understanding is that you want to modify the OOB approval workflow in SharePoint Designer.
    After opening the site in SharePoint Designer, just click Workflows in the left panel and then the workflows in the site will load in the right part.
    If you want to copy and modify the OOB approval workflow, then you need to right the approval workflow
    Approval – SharePoint 2010 under Globally Reusable Workflow. After that you will see the
    Copy and Modify button.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Trying to set up an out of the box SP 2010 approval workflow that doesn't generate warnings or errors

    I have a custom list for which I want an approval workflow.  There is only going to be one stop for the approval - creating an item is a request to a person for a new code to be created. 
    If I do not turn on content approval, then I get the message:
    The workflow could not set content approval status. Enable content moderation for this list and run the workflow again.
    When I turn on content approval, then when the users go to the custom list to create an item, they see this message:
    Items on this list require content approval. Your submission will not appear in public views until approved by someone with proper rights.
    Surely I am missing something obvious. I just want a standard SP 2010 form without warnings to gather info from the user, then to create a workflow task that sends a person an email that they need to approve or reject the request.
    The second message is going to cause questions from the users. The person who has to approve the tasks wants to be able to see what requests are awaiting approval vs approved vs rejected.
    Is this something that is not doable in SP 2010?

    the "Approval Process" step is designed for manipulating the "Moderation Status" (Content Approval status) of a list item... What you are seeing is DESIGNED behavior.
    When Content Approval is enabled, content changes are not made public until they have been approved. The Approval workflow sends the email to a manager, who is supposed to approve or reject the change.
    If Content Approval is DISABLED, there is no point to the workflow.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Error while testing the self registration approval workflow

    Hi all,
    I am getting the following error while testing the self registration approval workflow.
    Here the request level approval is working fine.But the operation level is not working.
    <May 28, 2012 11:25:01 AM IST> <Error> <oracle.iam.request.impl> <IAM-2050126> <Invalid outcome com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}runtimeFault}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    parts: {{
    summary=<summary>oracle/iam/platform/OIMClient</summary>
    ,detail=<detail>java.lang.NoClassDefFoundError: oracle/iam/platform/OIMClient
    at orabpel.approvalprocess.ExecLetBxExe0.execute(ExecLetBxExe0.java:182)
    at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
    at java.lang.Thread.run(Thread.java:662)
    </detail>
    ,code=<code>java.lang.NoClassDefFoundError</code>}
    cause: {oracle/iam/platform/OIMClient}
    received from SOA for the request id 61.>
    <May 28, 2012 11:25:01 AM IST> <Warning> <oracle.iam.callbacks.common> <IAM-2030081> <[CALLBACKMSG] Inside Status Change plugin for request 61 and the status is : Request Failed.>
    er and operation is CREATE.>
    <May 28, 2012 11:25:01 AM IST> <Warning> <oracle.wsm.agent.handler.wls.WLSPropertyUtils> <BEA-000000> <WLSPropertyUtils:getOperationName(),operation name is null>
    How to resolve this issue?
    Please anyone suggest me.Thanks in advance.
    Regards,
    Deena.

    Deena,
    Please make sure the path is correct. also why .zip, why : at the end why blank space? These could be a problem.
    /home/oracle/Oracle/Middleware/Oracle_IDM1/server/client/*oimclient.zip*:/home/oracle/Oracle/*Middleware/ oracle_common*/modules/oracle.jps_11.1.1/jps-manifest.jar:
    Below is correct one.
    $MW_HOME/Oracle_IDM1/server/client/oimclient.jar:$MW_HOME/oracle_common/modules/oracle.jps_11.1.1/jps-manifest.jar
    If you have custom workflow, be sure in task assignment proper outcome approve or reject.
    Thanks,
    Kuldeep

  • After the in place upgrade from SharePoint server 2007 to 2010, the out of the box approval workflow does not prompt for additional information after check in of a major version.

    I think it has to do with the interaction between Word, InfoPath, IIS, and /or SharePoint, but I cannot put my finger on it.  Maybe client integration or authentication settings?  I have looked at it in wireshark
    and have not seen anything glaring.
    Steps to reproduce the (working) behavior:
    Set up a document library in SharePoint 2010.
    Under versioning settings, make the following changes:
    Set Require Content Approval for submitted Items to Yes
    Select Create Major and Minor (draft) versions
    Set require checkout to Yes
    Create an out of the box “approval” workflow with the following settings:
    Start this workflow to approve publishing a major version of an item.
    I then create a new document. Save it.  check it in.  it is now version 0.1.
    I then open it again. check it out.  Make a change. Close and save it.
    Check it in.
    Publish major version:
    At this point a screen is presented to me to enter workflow parameters.  This screen comes up in Enterprise 2013 and MOSS 2007, but not the migrated version of 2010:
    This is what I need help with.  It should come up in 2010.  To fix it in 2013, I had to change the IIS bindings to only have 1 entry for a port.  I did this for 2010 and it did not work.
    Any help or ideas is very appreciated.  Thanks very much in advance.

    Hi Chris,
    According to your description, my understanding is that the approval workflow cannot work when the workflow was set to start to approve publishing a major version of an item after upgrading to SharePoint 2010.
    I recommend to check the approval workflow in Workflow settings of the corresponding library to see if the Start this workflow to approve publishing a major version of an item is checked.
    For test, I recommend to create a new OOB approval workflow and set it to start to approve publishing a major version of an item in the same library to see if the workflow can work.
    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

  • PO Approval workflow error

    I customized POAPPRV (PO Approval Workflow) and uploaded it successfully to DB. Now when I try to view the workflow for a new PO it gives following error
    Failed Activity PO Approval Top Process (Custom)
    Activity Type Process
    Error Name WFENG_ACTID
    Error Message 3121: Activity ID '185096' is invalid as of date '01-JUN-09'.
    Error Stack Wf_Activity.InitCache(185096, 01-JUN-09) Wf_Activity.Info(185096, 01-JUN-09) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 185096, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 185097, ACTIVITY_PERFORMED) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 184483, #NULL) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 184483, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 184483, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 184481, N) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 184481, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 184481, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 184487, #NULL) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 184487, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 184487, 50) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 185097, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 185173, ACTIVITY_PERFORMED) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 185466, #NULL) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 185466, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 185466, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 185470, F) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 185470, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 185470, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 185476, #NULL) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 185476, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 185476, 50) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 185173, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 185112, Y) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 185112, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 185112, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 185171) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 185428, #NULL) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 185428, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 185428, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 185424, N) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 185424, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 185424, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 185426, N) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 185426, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 185426, 50) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 185171, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 185150, ACTIVITY_PERFORMED) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 185150, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 185150, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 185165, #NULL) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 185165, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 185165, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 185138, ACTIVITY_PERFORMED) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 185138, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 185138, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 185103, VALID_ACTION) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 184537, #NULL) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 184537, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 184537, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 184559, ACTIVITY_PERFORMED) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 184559, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 184559, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 184547) Wf_Engine_Util.Execute_Activity(POAPPRV, 27700-85826, 184547, RUN) Wf_Engine_Util.Process_Activity(POAPPRV, 27700-85826, 184547, 50) Wf_Engine_Util.Complete_Activity(POAPPRV, 27700-85826, 184545) Wf_Engine_Util.Execute_Activi
    Any clue why this would happen would be appreciated. Thanks. Ash.

    I faced the same error just now. it has been fixed by re-loading the wf..

  • Upload of PO Approval Workflow Customization showing errors.

    Hi,
    As per the client requirement, I have customized the PO approval Workflow
    For customization i did take care that only those standard workflow processes are customized which are prescribed by Oracle as customizable.
    For ex: PO Approval Top Process (Protection Level 1000)
    1. All other custom processes are defined and then included in the standard processes.
    2. I have done all this activity at an access level of 100 in Workflow Builder.
    3. For every custom object in workflow i have checked the Preserve Customization checkbox
    4. Though Preserve Customization Checkbox is not checked for PO Approval Top Process.
    5. After Verifying the design in Workflow Builder i tried Uploading the Workflow to the instance but it is giving Errors
    First I tried to upload in FORCE mode
    1. Copying the customized poxwfpoa.wft file to PO_TOP/patch/115/import/US directory
    Command execurted
    $FND_TOP/bin/WFLOAD apps/simple4u 0 Y FORCE poxwfpoa.wft
    After running this it was giving errors like
    Display name conflict for ACTIVITY entitiy 'POAPPRV/APPROVE_AND_FORWARD_PO' with APPROVE_AND_FORWARD_THE_PO:D:Bestellung genehmigen und weiterleiten
    and so on ....like this
    Then i tried it in UPGRADE Mode
    $FND_TOP/bin/WFLOAD apps/simple4u 0 Y UPGRADE poxwfpoa.wft
    after this it was giving errors like
    MESSAGE 'POAPPRV/XML_NOT_SET' is protected, no changes were saved.
    MESSAGE 'WFSTD/WFSTD_DEFAULT_VOTE' is protected, no changes were saved.
    MESSAGE 'POAPPRV/EMAIL_PO_PDF_SUPP' is protected, no changes were saved.
    MESSAGE 'POAPPRV/EMAIL_PO_PDF' is protected, no changes were saved.
    MESSAGE 'POAPPRV/PO_PO_APPROVE_PDF' is protected, no changes were saved.
    MESSAGE 'POAPPRV/PO_EMAIL_PO_PDF_WITH_RESPONSE' is protected, no changes were saved.
    MESSAGE 'POAPPRV/NOTIFY_PDF_ERROR' is protected, no changes were saved.
    ACTIVITY 'POAPPRV/ACCEPTANCE_REQUIRED' is protected, no changes were saved.
    ACTIVITY 'POAPPRV/ANY_REQUESTER_CHANGE' is protected, no changes were saved.
    ACTIVITY 'POAPPRV/ANY_SUPPLIER_CHANGE' is protected, no changes were saved.
    Display name conflict for ACTIVITY entitiy 'POAPPRV/APPROVE_AND_FORWARD_PO' with APPROVE_AND_FORWARD_THE_PO:D:Bestellung genehmigen und weiterleiten
    ACTIVITY 'POAPPRV/APPROVE_AND_FORWARD_THE_PO' is protected, no changes were saved.
    ACTIVITY 'POAPPRV/APPROVE_PO' is protected, no changes were saved.
    Display name conflict for ACTIVITY entitiy 'POAPPRV/APPROVE_PO_SUB_PROCESS' with APPROVE_PO:D:Bestellung genehmigen
    ACTIVITY 'POAPPRV/BLANKET_PO_REAPPROVAL' is protected, no changes were saved.
    Though after this i checked, by creating a purchase order, whether the customization have been uploaded or not to my surprise they got uploaded and workflow was working fine
    But my problem is that why is this error is coming and in what all scenarios the workflow can fail because of this?
    Please advice as i m not getting any clue to it !!
    Will request forum members to reply ASAP.
    Thanks,
    Sachin Relan

    Hi,
    I believe the feature is available.
    Oracle Purchasing User's Guide Release 11i/R12
    http://www.oracle.com/technetwork/documentation/applications-167706.html
    Setup Notes for E-mail Purchase Orders [ID 198539.1]
    Release 12: New Features For Purchasing Approvals [ID 429314.1]
    FAQ: Document Approval and Routing [ID 210488.1]
    Thanks,
    Hussein

  • How can I capture the name of the person running a SharePoint Designer workflow?

    I have an InfoPath form that requires the signature of several approvers.  To save time the approvers don't actually go into the form to approve.  Instead they get an email that contains data from the form that pertains to them.  They click
    on a link and start the approval workflow which needs to capture who they are in order to display it as the signature in the form.  
    ...so the questions are...
    How do I get a SharePoint Designer to capture the name of the person running it and write it to a column in the Form Library so that the form can capture it?  
    I've been trying to use Modified By, assuming it captures the name of the person who last ran the workflow (modified the item); but this doesn't seem to work.  It captures the name of the person who modified the form before running the workflow, not
    after.  
    Any help would be greatly appreciated.  Thanks for taking the time to read this!!  

      the below links may help you !
    http://claytoncobb.wordpress.com/2009/06/21/userprofileservice-extended/  
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/64fa2f61-0ff0-4076-810d-fdf209efa551/can-the-from-in-workflow-email-be-set-to-the-person-logged-in?forum=sharepointcustomizationlegacy 
    Sivabalan

  • Approval workflow issue

    Hello Friends,
    I have created a simple approval workflow with 2 stages for a document library. User A will approve and then the approval has to go to User B
    User A is receiving a mail and editing the document and saving it. User A then goes to his mail and approves it.
    Now as per the logic, the User B should get an email. But its not happening so.
    Is it something that I'm missing? Or should I include all the users in a single stage?
    The error that I'm getting on the second stage

    Hi Chandra,
    According to your description, my understanding is that you got an error when you ran an approval workflow with two stages.
    I did a testing as the following workflow, everything worked well:
    Please create a new library, and a new workflow as the above, test again, compare the result.
    In addition, as the message, the Approval WF failed to run when the user ID was system account. And by default, system account cannot run workflow automatically. So, please use other users to test, compare the result.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • GRC 10.0 CUP - Function Approval Workflow - Decision pending?

    Hi, i am customizing the Function Approval Workflow (SAP_GRAC_FUNC_APPR).
    I have one stage with only one agent authorization. The agent approved the request but in Search Request:
    Instance Status:  Running
    Instance Approval Status: Decision Pending
    Audit Log:
    + Request XXXX submitted..
    + Request is pending for approval at path GRAC_DEFAULT_PATH stage GRAC_DEFAULT_STAGE
    Approve ID: zzzz
    +Approved by ZZZZ at path GRAC_DEFAULT_PATH stage GRAC_DEFAULT_STAGE
    I don´t see the function in GRC. I´m in SP07
    Regards
    Ignacio

    Hi, my workflow Function Approval (default) have a wait event and i can´t delete this step succesfully.
    Here are more images about the workflow configuration of Function Approval.
    http://es.zimagez.com/zimage/wf10.php
    http://es.zimagez.com/zimage/wf20.php
    http://es.zimagez.com/zimage/wf30.php
    http://es.zimagez.com/zimage/wf40.php
    http://es.zimagez.com/zimage/wf5.php
    http://es.zimagez.com/zimage/wf6.php
    http://es.zimagez.com/zimage/wf7.php
    http://es.zimagez.com/zimage/wf8.php
    Thanks,
    Regards,
    Ignacio Barrionuevo.

  • Error auto-firing an approval workflow inside a project's workspace

    Hi all,
    I have activated the SS2010 Workflow in PWA site collection features in order to use an approval workflow in one of my project's workspace. I setup the workflow under "Project Documents" and select to auto-start upon an item's creation. However this doesn't happen and I always get an eventreceiver exception in Event log. It works as expected when I fire it manually. I am connected as the system account.
    Is this a known issue or is the log correct stating that a system account cannot trigger a workflow autostart (below)???
    Event log details:
    Error loading and running event receiver Microsoft.Office.Project.PWA.WSSEventReceivers.PSDBUpdater in Microsoft.Office.Project.Server.PWA,Version=14.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c. Additional information is below.
    : Value cannot be null.
    Parameter name: s
    ULS related lines:
    02/28/2010 23:55:04.38  w3wp.exe (0x071C)                        0x15DC SharePoint Foundation          Workflow Infrastructure        b9vu Unexpected Declarative workflows cannot automatically start if the triggering action was performed by System Account. Canceling workflow auto-start. List Id: %s, Item Id: %d, Workflow Association Id: %s 
    02/28/2010 23:55:04.62  w3wp.exe (0x071C)                        0x15DC SharePoint Foundation          General                        6875 Critical Error loading and running event receiver Microsoft.Office.Project.PWA.WSSEventReceivers.PSDBUpdater in Microsoft.Office.Project.Server.PWA,Version=14.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c. Additional information is below.  : Value cannot be null.  Parameter name: s 
    TIA,
    Tassos

    Tassos:
    You might have better response to this question here:
    http://social.technet.microsoft.com/Forums/en-US/project2010custprog/threads
    Gary Chefetz, MCITP, MCP, MVP msProjectExperts
    Project and Project ServerFAQs
    Project Server Help BLOG

  • Trouble running DurableSubscriberExample

    Hi
    I am having trouble running the "DurableSubscriberExample.java" that is in Appendix A of the "Java Message Tutorial" (http://java.sun.com/products/jms/tutorial/1_3_1-fcs/doc/client_samples.html#1002876)
    These are the steps I followed:
    1. I compiled the classes - "DurableSubscriberExample.java" and "SampleUtilities.java".
    2. I stared the j2ee server.
    3. I created a topic called jms/Topic as follows:
    j2eeadmin -addJmsDestination jms/Topic topic
    4. I created a connection factory with a Client ID by copy-pasting the following from the tutorial (section 8.2.3) as instructed:
    j2eeadmin -addJmsFactory jms/DurableTopicCF topic -props clientID=MyID
    5. Then I specified the connection factory name and the topic name on the command line as instructed:
    java -Djms.properties=C:\j2sdkee1.3.1\config\jms_client.properties DurableSubscriberExample DurableTopicCF jms/Topic
    This is the error I get:
    JNDI API lookup failed: javax.naming.NameNotFoundException: DurableTopicCF not found
    Any idea what's wrong?

    I installed J2sdkee1.3.1 to Win98, I can startup the J2ee server. Once I typed j2eeadmin -addJmsDestination MyQueue queue, I got the following message :
    C:\j2sdkee1.3.1\bin>j2eeadmin -addJMSDestination jms/MyQueue queue
    Usage:
    -addJdbcDriver <class name>
    -addJdbcDatasource <jndi name> <url>
    -addJdbcXADatasource <jndi name> <class name> [<xa user name> <xa password>] [-
    rops (<name>=<value>)+]
    -addJmsDestination <jndi name> (queue|topic)
    -addJmsFactory <jndi name> (queue|topic) [-props (<name>=<value>)+]
    -addConnectorFactory <jndi name> [<app name>:]<rar filename> [<xa user name> <x
    password>] [-props (<name>=<value>)+]
    -list<resource type>
    -remove<resource type> <name>
    -removeAll<resource type>
    my j2eeadmin.bat as follow
    @echo off
    REM
    REM Copyright 2002 Sun Microsystems, Inc. All rights reserved.
    REM SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
    REM
    rem
    rem Set JAVA_HOME and J2EE_HOME before running this script.
    rem
    if not "%J2EE_HOME%" == "" goto CONT0
    echo ERROR: Set J2EE_HOME before running this script.
    goto END
    :CONT0
    if EXIST "%J2EE_HOME%\bin\setenv.bat" goto CONT1
    echo ERROR: Set J2EE_HOME to the path of a valid j2sdkee.
    goto END
    :CONT1
    call %J2EE_HOME%\bin\setenv.bat
    if not "%JAVA_HOME%" == "" goto CONT2
    echo ERROR: Set JAVA_HOME before running this script.
    goto END
    :CONT2
    if EXIST "%JAVA_HOME%\bin\java.exe" goto CONT3
    echo ERROR: Set JAVA_HOME to the path of a valid jdk.
    goto END
    :CONT3
    rem @echo on
    %JAVA_HOME%\bin\java -Xmx128m -D%SSL_OPTION1%=%SSL_OPTION2% -D%JAAS_OPTION1%=%JAAS_OPTION2% -Dcom.sun.enterprise.home=%J2EE_HOME% -classpath %CPATH% com.sun.enterprise.tools.admin.AdminTool %*
    :END
    I can start up the server. I can use the deploytool, so that my setenv may be correctly.
    Any expert can help me. thank a lottttttttttt

  • Can i Cannge the WF_INITIATOR for SRM Approval Workflow.

    Hi Experts,
    I am facing issue related to sendor name format.
    Whenever SRM approval workflow gets triggered then corresponding responsible user(Approver) gets a mail in their SAP inbox.
    I checked in the system these workflow runs using RFC_USER user.So approver gets mail with sendor information as RFC_USER i.e.  "Sent: Jun 17, 2011 by RFC_USER, Functional ID "
    My requirement is to replace this RFC_USER with some other generic user.
    Can anybody tell me please how can i achieve this.
    Thanks,
    Rupendra Pandey

    Hello,
    Usually, if I want to do anything unusual with mails from workflow then I create a step which calls a task which calls a new method of my BOR object which calls fm SO_NEW_DOCUMENT_ATT_SEND_API1. In that we can specify Sender name different from WF_BATCH or RFC_USER.
    Check the following Code for sending mail.
    CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
       EXPORTING
         document_data                    = doc_chng
         put_in_outbox                    = 'X'
         sender_address                   = 'SAPSCHED'
         sender_address_type              = 'B'
      IMPORTING
        SENT_TO_ALL                      =
        NEW_OBJECT_ID                    =
       TABLES
         packing_list                     = objpack
         object_header                    = objhead
         contents_bin                     = html_tab
         contents_txt                     = objtxt
        CONTENTS_HEX                     =
        OBJECT_PARA                      =
        OBJECT_PARB                      =
         receivers                        = reclist
       EXCEPTIONS
        too_many_receivers               = 1
        document_not_sent                = 2
        document_type_not_exist          = 3
        operation_no_authorization       = 4
        parameter_error                  = 5
        x_error                          = 6
        enqueue_error                    = 7
        OTHERS                           = 8

  • RFx Parallel approval workflow

    Dear Experts,
    I'm looking for sample code on how to implement the BADI agent determination with multiple areas for header (decision type 1) for RFx (BUS2200).
    I made all the required settings for parallel approval, but it for SC. The BAdI implementation for parallel approval /SAPSRM/BD_WF_SC_RR_PA works only with SC and Decision Type must be 4 — Item-Based Decision for Partial Document.
    Thanks,
    Evgenii.

    Hi,
    The following settings in SharePoint designer for your reference:
    More informaiton is here:
    https://social.technet.microsoft.com/Forums/en-US/2cd81250-1124-4d61-b78d-78e747f7fd64/parallel-approval-workflow-where-one-approval-completes-the-workflow?forum=sharepointcustomizationprevious
    Best Regards
    Dennis Guo
    TechNet Community Support

Maybe you are looking for

  • Error System Copy on cluster using R3load

    Hi currently we are doing a system copy on Cluster using R3load Source System win2003 SP2 32bit, MSSQl2000 SP4 32 bit Target System  win 2003 Sp2 64bit, MSSQL2005 SP2 X64 Server We have successfully installed MSSQL2005 Sp2 64 bit We have successfully

  • How can I transfer apps from iTunes library from one computer to another?

    I have been unsuccessful in transferring my music over to my new MacBook from my PC Windows Vista. I even subscribed to MobileMe, but it wouldn't work! So, I have decided to take the time to copy all my music to CDs & do it that way, but how am I goi

  • Image quality degrades in published swf

    I've built a Flash site for a freind who is a photographer. There are over 100 images on the site that are imported jpegs. Most of them look fine but two of them look very washed out when I publish my swf even though in the Flash project file they ha

  • Storage Foundation Manager

    Hi, Sorry if this is the wrong forum for this question - if so please advise. I've installed Storage Foundation Basic on some of my servers, and Storage Foundation Manager on one Solaris box to manage all the storage. I easily got VEA on the manager

  • Help with setting up time machine ?? Dont know how too.

    Hi guys, My laptop is going away to get fixed tomorrow and i cant seem to back my laptop up onto a dvdr so i was just looking at all my stuff when i saw the time machine application, so i tried to set it up but there doesn't seem to be any options to