IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#TechXchangePresenter
 View Only
Expand all | Collapse all

Can't view process instance in MWS monitor (7.1.2)

webMethods Community Member

webMethods Community MemberFri December 18, 2009 08:42 PM

  • 1.  Can't view process instance in MWS monitor (7.1.2)

    Posted Wed August 05, 2009 04:31 PM

    I have created a simple process model with the only activity is to send out an email to me (plus a receive and a terminate step).
    I have built and uploaded the process to IS server.
    I could login My webMethods home page and saw my uploaded process in Administration | Process | Business Process tab. I have enabled the process there.

    Then I triggered the process by sending the document to the process and I actually got the email sent to me.
    So I knew the process was run, but when I went to MWS | Monitor | Process | Process Instance tab, I saw nothing. I searched for all the instances, but still got nothing other than some failed process instances of some other process model I built earlier.

    I went back to the Administration |Process | Business Process to view the details of my process model, I noticed its “used” field is No.
    I don’t know whether the problem is in my process model, my deployment of the process, or with WMS configuration. I am using 7.1.2.

    Any suggestion or help will be very appreciated.


    #webMethods
    #webMethods-BPMS
    #MWS-CAF-Task-Engine


  • 2.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Wed August 05, 2009 05:06 PM

    Hi Eric,

    Have you give fuctional and access privilages for the user (e.g. Administrator) for the process ?

    Cheers,
    Samrit


    #MWS-CAF-Task-Engine
    #webMethods-BPMS
    #webMethods


  • 3.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Wed August 05, 2009 05:17 PM

    Thanks for the quick response.
    I certainly did not set fuctional and access privilages of the process to the user, which is Administrator.
    I must have missed that in the documentation.
    I will go back and look for that piece of information.


    #webMethods-BPMS
    #MWS-CAF-Task-Engine
    #webMethods


  • 4.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Wed August 05, 2009 07:28 PM

    It seems that access and functional Privilages are not the causes of my problem.

    I found out the “Administrator” user has a default role of “My webMethods Administrators” and that role already has the default Access and Functional previliges to all the pages (not changable either).
    However in the Administration | Roles | Data Level Security | Business Porcess tab, I could associate processes to this role. So I added the selection of “Access to All processes”.

    However, with this change and re-logined Administrator to MWS page, I still could not view or search any completed Process Instance. All I could see was some failed and stopped process instance.

    Currently, this process is the only one that is enabled in webMethod server, but why this one is not “used” even though I still could receive emails sent out by this process.


    #MWS-CAF-Task-Engine
    #webMethods
    #webMethods-BPMS


  • 5.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Thu August 06, 2009 09:37 AM

    hey …did u enabled the IS extended setting to store data to database,watt.auditstore=database.

    This should resolve your issue…

    Cheers,
    Samrit


    #webMethods
    #webMethods-BPMS
    #MWS-CAF-Task-Engine


  • 6.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Mon August 10, 2009 07:23 PM

    Samrit,
    Thanks again for your tips.
    I’ve added the IS extedned setting as you instructed, restarted IS server, but still saw nothing in the Process Instance tab.
    I probably still missed something else in the configurations.
    I will go back to the Logging and Monitor documentation and hopefully I will figure out what I missed.


    #MWS-CAF-Task-Engine
    #webMethods-BPMS
    #webMethods


  • 7.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Tue August 11, 2009 09:06 AM

    Have u configured the jdbc pool setting to the proper database ?


    #MWS-CAF-Task-Engine
    #webMethods
    #webMethods-BPMS


  • 8.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Tue August 11, 2009 01:20 PM

    Hi Eric,
    Make sure, you have set the audit store setting as below in Extended settings.

    watt.server.auditStore=database


    #webMethods
    #webMethods-BPMS
    #MWS-CAF-Task-Engine


  • 9.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Wed October 07, 2009 01:03 PM

    Hi Eric,

    Did this issue resolved ? I am also facing same problem .


    #webMethods
    #MWS-CAF-Task-Engine
    #webMethods-BPMS


  • 10.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Fri October 09, 2009 10:18 AM

    Hi

    Go to the IS-> Packages->Management->WmMonitor
    Click on the home page of WmMonitor package and check the your MWS details are provided correctly or not.

    I hope this will help you.

    Regards,
    Pranith


    #MWS-CAF-Task-Engine
    #webMethods-BPMS
    #webMethods


  • 11.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Tue October 13, 2009 03:06 PM

    Thanks for all the suggestions. I was re-assigned to other higher priority project a couple of weeks ago so I did not have the chance to resolve the problem. I have made sure my jdbc pools setting are configured properly and the WMS details looks ok to me. Still no luck. I will continue to try on my spare time and post here if I got it working.


    #webMethods
    #webMethods-BPMS
    #MWS-CAF-Task-Engine


  • 12.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Tue December 15, 2009 08:56 PM

    Hi Eric

    Any luck? I am facing the same issue


    #webMethods
    #webMethods-BPMS
    #MWS-CAF-Task-Engine


  • 13.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Tue December 15, 2009 11:38 PM

    Well watt.server.auditStore=database is deprecated as per 7.1.2.

    Now this is simply configured from JDBC pool aliases definitions.

    There is a double communication to check if the user is entitled to display processes.

    MWS communicates with the configured IntegrationServer monitor services, and this services comunicates to the configured MWS in the Monitor package to check user privleges , so as Pranith explained you need to check MWS host:port and user/password defined on IN in IS-> Packages->Management->WmMonitor which by default points to localhost:8585 Administrator/manage.

    If youe MWS is on a different host, that explain why is not working.

    Also if you enable Monitor logging facilities on IS you will get additional information for the error.

    Regards.


    #MWS-CAF-Task-Engine
    #webMethods-BPMS
    #webMethods


  • 14.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Wed December 16, 2009 12:12 AM

    Hi
    Thanks for your reply. However I have done and verified all the steps mentioned in this thread. It does not help. I am able to see in the server logs that the process instance is getting created and completed successfully.
    eg:
    [PRT.0101.0202I] (T3) completed process successfully PID 0985bb60e9c211de8705e4c4a83e5ef1:1, MID <modelid --removed to maintain confidentiality>However in MWS in Monitoring on searching for this process model it says no Matches Found.

    Few important observations:

    1) I have upgraded the model from 6.1 to 7.1.2 using the import facility of Designer
    2) In MWS Administration: When i goto Business–>Business Process and click on the process model it shows Used: No.
    3) Also when I was trying to enable it for execution from this page and trying to save it, it would not show as Enabled for execution, I used service wm.prt.monitor:setModelEnabled to enable the model
    4) I read in an unanswerd wmusers post : [URL=“wmusers.com”]wmusers.com that webMethods inserts duplicates in the table WmProcessDefinition. And this may cause MWS to get confused and not display the process instance??

    If any of these observations ring a bell, please post your reply.

    Regards


    #webMethods
    #MWS-CAF-Task-Engine
    #webMethods-BPMS


  • 15.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Wed December 16, 2009 12:33 AM

    When a process run, in order to be monitored you need:

    1- Been able writing to database.
    2- Been able to read and display information from database.

    We guided you thru the steps to been able to read and display information from database, however maybe the first step is to check if you are been able to WRITE this information to database.

    Now in order to WRITE to database you must make sure of the following:

    1- In 7.1.2 I faced with an anoying issue, if a JDBC pool is configured to “database” instead of “none” (File), then all pools must be configured to DATABASE. Looks like it does not support to send some to file, and others to database, must be ALL to file, or ALL to database.

    Therefore ensure you have all configured pools pointing to database, and of course ProcessAudit and ProcessEngine ( but also ISInternal and ISCore audit ).

    2- Edit your process in Designer and , under Runtime tab (QoS) you have NOT selected logging level to “1-None”.

    Restart IS as required, or re-deploy process if you need to change any setting.

    If this still does not work, go to IS settins → Logging → and enable Monitor and Monitor(Database) facilities. This should give you more detailed information from what is happening.

    However my bet is you have some JDBC pools to file and others to database, hitting the anoying “defect”.


    #MWS-CAF-Task-Engine
    #webMethods
    #webMethods-BPMS


  • 16.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Wed December 16, 2009 02:28 AM

    No respite!
    I checked that all stores were set to DB pool. I verified in the backend database in WMProcessdefinition table, it indeed had duplicate entries for the same model.
    I deleted one entry but still to no avail…


    #MWS-CAF-Task-Engine
    #webMethods-BPMS
    #webMethods


  • 17.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Thu December 17, 2009 09:12 PM

    Weird… execute from developer this services:

    WmMonitor/pub.monitor.process.model:getModelNames
    WmMonitor/ws.monitor.process.model:getAllProcessModels

    Do you get any data?


    #webMethods-BPMS
    #MWS-CAF-Task-Engine
    #webMethods


  • 18.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Thu December 17, 2009 09:15 PM

    Yes I can see list of all my models by running these services.


    #webMethods-BPMS
    #webMethods
    #MWS-CAF-Task-Engine


  • 19.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Thu December 17, 2009 09:19 PM

    You have data inside database then :smiley:

    MWS executes service WmMonitor/ws.monitor.process.model:getAllProcessModels so… you must have some communication issue between both.

    Long ago I used a porlet called SoapMonitor to display request/responses between MWS and IS, but it had to be manually installed and I do not remember how.

    Raise a ticket with support to get additional traces on this.


    #MWS-CAF-Task-Engine
    #webMethods
    #webMethods-BPMS


  • 20.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Thu December 17, 2009 09:21 PM

    thanks… but this still doesnot explain why MWS wouldnt let me enable the model for execution from the Administration page.


    #MWS-CAF-Task-Engine
    #webMethods-BPMS
    #webMethods


  • 21.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Thu December 17, 2009 09:54 PM

    I thought problem was not been able to view/display process instances… so if you display them and problem is enable a process, the history is another…

    Maybe would be better if you explain your current situation?


    #webMethods
    #MWS-CAF-Task-Engine
    #webMethods-BPMS


  • 22.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Thu December 17, 2009 09:55 PM

    My problem is a two fold problem, i had mentioned the issue with enabling the process previously.

    Regards


    #webMethods-BPMS
    #webMethods
    #MWS-CAF-Task-Engine


  • 23.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Fri December 18, 2009 07:05 PM

    Hello ,

    We experienced similar kind of problem when we migrated process models from 6.5 to 7.1.2,models were showing as not used in MWS.

    you can resolve this issue by performing following steps.

    In Designer
    1.create new process project.
    2.create new empty process.
    3.copy and paste the model that you imported from6.5 to 7.1.2 previously in to the above empty process.new process key will be created and step ids also get changed from N1,N2,N3… to S1,S2…etc.
    4.Now enable the process and execute the model.

    /Mallik


    #webMethods-BPMS
    #webMethods
    #MWS-CAF-Task-Engine


  • 24.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Fri December 18, 2009 08:42 PM


  • 25.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Mon January 18, 2010 11:13 PM

    I have a similar problem… I have 8 models… 7 out of the 8 models are displaying in monitor except for one… .I’ve deleted the model… and re uploaded etc in 7.1.2 The process is actually working because its inserting data into tables etc but just not displaying… .any ideas? The model says its enabled etc but it says that its not used. any ideas?


    #webMethods-BPMS
    #webMethods
    #MWS-CAF-Task-Engine


  • 26.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Tue January 19, 2010 09:51 PM

    Hi
    Did you upgrade the models from 61?
    If yes, then that is the problem. To resolve recreate a new process model and deploy it afresh.


    #MWS-CAF-Task-Engine
    #webMethods
    #webMethods-BPMS


  • 27.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Tue January 19, 2010 11:34 PM

    Your MWS must be configured to use one IntegrationServer.

    This IS must have a JDBC pool pointing to ProcessSchema.

    If you have several IS’s all must point to same schema and same broker.

    If not, when IS selects data from database, you might be extracting data from a schema not containing the process.

    Hope I explained :slight_smile:


    #webMethods
    #MWS-CAF-Task-Engine
    #webMethods-BPMS


  • 28.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Wed January 20, 2010 12:32 AM

    Nope completely new models using designer 7.1.2

    created all 8 models using the same process and only this one is not showing in monitor


    #webMethods
    #MWS-CAF-Task-Engine
    #webMethods-BPMS


  • 29.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Wed January 20, 2010 12:35 AM

    Thanks but I dont have multiple IS… this is all running on my local PC … in the jdbc pools its only pointing to the one pool alias


    #MWS-CAF-Task-Engine
    #webMethods
    #webMethods-BPMS


  • 30.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Wed January 20, 2010 09:34 AM

    If the used status is ‘NO’ in MWS , make sure that process is getting triggered…In which tables does it insert the data? do u have any adapter service that inserts data when process executes ?


    #MWS-CAF-Task-Engine
    #webMethods-BPMS
    #webMethods


  • 31.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Wed January 20, 2010 10:44 PM

    Yes it definately does invoke all the services because it does insert data into the table I’m expecting it to do. No other processes is running as well because its on my local pc and I’m not running anything else.


    #webMethods-BPMS
    #webMethods
    #MWS-CAF-Task-Engine


  • 32.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Wed March 24, 2010 08:49 AM

    I also faced the same issue yesterday. After a long struggle finally found the solution. Thought might be helpful to someone.

    This issue is the bug with wM 7.1.2 if processID of the model is more then 64 characters. This is because column length in the process table is only 64.

    SAG have released below fixes to solve this problem.

    MWS_7.1.2_CL_Fix9
    MWS_7.1.2_Fix8
    TE_7-1-2_Fix2
    DES_7.1.2_CAD_Fix7
    TC_7-1-2_Fix1

    Follow the below steps after applying the fixes. These steps are not documented in the fix read me. But without these still the issue will not be resolved. ( Source : [URL]https://advantage.webmethods.com/advantage?targChanId=kb_home&oid=1614327745[/URL])

    1.- Shut down IS
    2.- Modify IntegrationServer/audit/schemas/WmProcess.xml
    PROCESSKEY
    VARCHAR
    255

    3.- Delete the content of the WmRepository4 folder
    (there used to be a “auditLoadSchema” option in 7.0 and earlier but that is no longer available in 7.1)

    4.- Restart IS

    Jiten


    #webMethods-BPMS
    #webMethods
    #MWS-CAF-Task-Engine


  • 33.  RE: Can't view process instance in MWS monitor (7.1.2)

    Posted Tue August 10, 2010 05:35 PM

    hey guys!

    Looks like i messed up some simple thing on monitor/mws config’s.
    I can see the process instances under monitoring but can’t see business process under administration menu on MWS … running on wm 8.0.2… every configuration looks okay and was kinda wondering if i missed some thing :frowning:

    suggest me if you got any ideas!


    #MWS-CAF-Task-Engine
    #webMethods
    #webMethods-BPMS