No process instances in MWS

Hi.

I just installed and configured BPMS 9.9 Free Trail.
The installation, the configuration and the start opetration seemed to be successfully.

http://techcommunity.softwareag.com/web/guest/pwiki/-/wiki/Main/Guide+to+Downloading+and+Installing+the+webMethods+BPMS+Free+Trial+Version

I confirmed that Triggering Instances of the “LuxuryOrderLine” Process in the URL above is OK.
But I cannot find any data at,
Applications > Monitoring > Business > Process Instances
Applications > Administration > Business > Business Processes

There seems to no error in IS, MWS, AE, etc.

Please sincerely help me to solve.

Best regards,
Shogo Tatsuzawa

Dear member,

I attached the diagnostics files which I divided because of the file size.

This is the first one.

Best regards,
Shogo Tatsuzawa

Dear member,

I could not attach the install log because of the file size.
If install log is needed for you support, please sincrely let me know.

Best regards,
Shogo Tatsuzawa

Dear member,

I restarted the BpmsTrial and tried Triggering Instances of the “LuxuryOrderLine” Process using event generator.
But I could not find any data at
Applications > Monitoring > Business > Process Instances
Applications > Administration > Business > Business Processes

I attach the Event Generator log.
If you have any idea to solve this problem, please sincerely let me know.

Best regards,
Shogo Tatsuzawa
EventGenerator.zip (56.2 KB)

Hi Shogo,

what type of database are you using (embedded or external)?

Did you assign all the functions in IS-Admin correctly?

Did you configure the Server and Process Auditing in Designer?

Regards,
Holger

Dear Holger-san,

Thanks for the reply very much.

what type of database are you using (embedded or external)?
I’m using SQL Server Express 2014

Did you assign all the functions in IS-Admin correctly?
This trial automatically set up IS-Admin.
I conformed the functions in IS-Admin are correct.

Did you configure the Server and Process Auditing in Designer?
This trial basically does not need to use SAG Designer because it uses Event Generator.
http://localhost:8006
But just in case, I configured IS and Process Auditing in SAG Desinger correctly.
I could deploy and debug the process model from SAG Designer.
But Event Generator does not work to initiate the process.

Best regards,
Shogo Tatsuzawa

Hi Shogo,

Is the model now visible under “Applications > Administration > Business > Business Processes”?

If so, please enable it.

You should have received a “No enabled Models” in the server log or similar.

Regards,
Holger

Hi Shogo,

as of the log files

  • you have installed the BpmsTrial package on a Windows machine
  • your installation folder is C:\SoftwareAG-BpmsTrial

EventGenerator.log contains the following line

Based on that error message, it seems like some automated adaptations of file
C:\BpmsTrial99\EventGenerator\conf\nerv\com.softwareag.eda.nerv.properties
were not carried out as expected.
Unfortunately, the log files in the ZIP archive do not cover the setup phase of BpmsTrial, probably because the log files were deleted inbetween.
Hence, I have no clue regarding the root cause.

The default content of the above file looks as follows:

[01] com.softwareag.eda.nerv.redelivery.delay.ms=3000
[02] com.softwareag.eda.nerv.eventtypestore.location=C:/SoftwareAG/common/EventTypeStore
[03] com.softwareag.eda.nerv.dead.letter.channel.uri=file://C:/SoftwareAG/common/nerv/dlc
[04] com.softwareag.eda.nerv.maximum.redelivery.attempts=100
[05] com.softwareag.eda.nerv.jms.asynch.subscription=false
[06] #com.softwareag.eda.nerv.default.jms.provider=wmjmsnaming://Broker #1@localhost:6849
[07] com.softwareag.eda.nerv.default.jms.provider=nsp://localhost:9000
[08] com.softwareag.eda.nerv.configbundles.location=C:/SoftwareAG/common/nerv/bundles
[09] com.softwareag.eda.nerv.in.memory.channel.size=1000
[10] com.softwareag.eda.nerv.guaranteed.delivery.level=NONE
[11] com.softwareag.eda.nerv.cache.configuration.location=./conf/nerv/cache

Please replace the string “C:/SoftwareAG” occurring 3 times (lines 2, 3, and 8 ) by “C:/SoftwareAG-BpmsTrial” and restart Event Generator.

As a shortcut to running

C:\BpmsTrial99\bin\setenv
grexec BpmsTrial -shutdown
grexec BpmsTrial -start

you may try

C:\BpmsTrial99\bin\setenv
grexec EventGenerator -dir C:\BpmsTrial99\EventGenerator -stop
grexec EventGenerator -dir C:\BpmsTrial99\EventGenerator -start

Best regards
Uli

Dear Ulrich-san,

Thanks for the relpy very much.

  1. I just installed this BpmsTrial into the different new environment where the installation
    directory is “C:\SoftwareAg”.
    But the problem with Event Generator is same.

On the other hand, I could make the process instances by debug the process model
“LuxuryLineOrder” in SAG Designer after exporting rule project “Logistics” to IS.

  1. When exporting rule project “Logistics” to MWS repository, I encounter the following error.
    “MWS returned an error, please see MWS error log for more information”
    But there is no error in MWS error.log.
    I already set “SAG Designer -> Software AG -> Business Rules MWS Repositories” correctly.
    And I already set the correct permission at “MWS -> SysAdmin ->
    Folders > My webMethods Applications > webMethods Application Data > Rule Projects”

If you have any idea about 1 & 2 above, please sincerely provide.

Best regards,
Shogo Tatsuzawa

Dear Shogo-san,

  • Regarding (1):
    (a) It is still to be proven whether new installation below C:\SoftwareAg really is failing due to the same issue as before.
    Symptoms may be identical, but the cause may still vary. Please provide new diagnostics file, now hopefully covering
    the logs for “grexec BpmsTrial -setup”. Also, pls add EventGenerator log file again.

    (b) Did you uninstall before the new setup using “grexec BpmsTrial -cleanup” ?
    Or: did you check my previous hint regarding change of properties file before?

    © What do you mean by “I could make the process instances …”: did you see instances of “LuxuryLineOrder” in
    MWS > … > Process Instances ?

  • Regarding (2):
    I am not an expert on the Rules part, but afaik there are Rules projects for MWS and IS, and this oneis intended for
    execution in IS.

  • General remark:
    The Bpms Trial package is intended for an out of the box success (ideally!) experience.
    This works well in most environments - in your environment there seems to be some issue which we should find out.
    Best means for that are diagnostic ZIP files created via “grexec BpmsTrial -diagnostics”.
    Unfortunately, we missed to add EventGenerator.log automatically.

Many thanks for your patience
Uli

Dear Ulrich-san,

Thanks for the reply very much.

  • Regarding (1):
    (a) It is still to be proven whether new installation below C:\SoftwareAg really is failing due to the same
    issue as before.
    Symptoms may be identical, but the cause may still vary. Please provide new diagnostics file,
    now hopefully covering the logs for “grexec BpmsTrial -setup”. Also, pls add EventGenerator log
    file again.

I attached new diagnostics zip file and EventGenerator log.

(b) Did you uninstall before the new setup using “grexec BpmsTrial -cleanup” ?
Or: did you check my previous hint regarding change of properties file before?

I checked your previous hint regarding change of properties file before.
And I installed BpmsTrial into new computer which is different from previous computer,
so I thought there is no need to uninstall BpmsTrial in previous computer.

© What do you mean by “I could make the process instances …”: did you see instances of
“LuxuryLineOrder” in MWS > … > Process Instances ?

Yes, but this was NOT by executing Process Generator http://localhost:8006/.

This was by executing process debug of process model “LuxuryLineOrder” in SAG Designer
after I imported “Assets\Designer-Projects” as project in SAG Designer
and copied the 3 IS packages under “Assets\Designer-Projects<Packages>” to C:\SoftwareAG\IntegrationServer\instances\default\packages\

  • Regarding (2):
    I am not an expert on the Rules part, but afaik there are Rules projects for MWS and IS, and this
    one is intended for execution in IS.

I might suppose there is no difference between for IS and for MWS regarding Rules project.
I am re-investigating this problem using Empower. When I find any solution, I will sincerely
let you know.

  • General remark:
    The Bpms Trial package is intended for an out of the box success (ideally!) experience.
    This works well in most environments - in your environment there seems to be some issue which
    we should find out.
    Best means for that are diagnostic ZIP files created via “grexec BpmsTrial -diagnostics”.
    Unfortunately, we missed to add EventGenerator.log automatically.

Thanks for this remarks very much.

Best regards,
Shogo Tatsuzawa

EventGenerator.zip (20.6 KB)

Dear Ulrich-san,

This is the diagnostics log without install log.

Best regards,
Shogo Tatsuzawa
BpmsTrial_Diagnostics_2015-11-20_14-39_without_install_log.zip (871 KB)

Dear Ulrich-san,

Sorry, I cannot upload install log in the diagnostics log because of the file size.
How should I do?

Best regards,
Shogo Tatsuzawa

Dear Shogo-san,

for some strange reason, the file “testautomation.log” attached in the latest diagnostic ZIP file created by executing

(D) grexec BpmsTrial -diagnostics

does not contain the logging due to execution of

(S) grexec BpmsTrial -setup

This might be e.g. due to one of the following reasons:

  • The temp folder “C:\Users\ADMINI~1\AppData\Local\Temp\2” has been cleaned up between running (S) and (D)
  • Setting of temp folder has been changed between (S) and (D): the trailing folder “\2” in the path above
    suggests that you might have changed setting of environment variable %TMP% between both steps.
    Typically, the log file in question is located at “%TMP%\groovylogs\testautomation.log”.

The correct log file should be much bigger (at least several 100 kB, but even a few MB) and e.g. contain a header like

05:30:55,535 INFO  [Demo] ==========================
05:30:55,535 INFO  [Demo] | Check prerequisites...
05:30:55,536 INFO  [Demo] ==========================

Any issues when testing when using Designer and triggering process instances via Designer cannot be supported via this forum, sorry.

I suggest you start once more with a fresh setup (see (S)). If anything goes wrong pls run (D) immediately and provide
(a) the diagnostic ZIP file
(b) EventGenerator.log
© the approximate time when you started (S)

If (a) is too big you can use the Software AG FTP server:
pls connect via FTP to ftp.softwareag.com, login using user “anonymous” and provide your email address as password.
Then switch to folder incoming (“cd incoming”) and binary mode (“bin”).
Then upload your ZIP file using "put " and provide the file name to us via this community.

I hope we’ll finally get the root cause of your problem.
Unfortunately, that is hard for us without complete log files!

Best regards
Uli

Dear Ulrich-san,

Thanks for your repy & advice very much.

Any issues when testing when using Designer and triggering process
instances via Designer cannot be supported via this forum, sorry.

I understood, thank you.

I suggest you start once more with a fresh setup (see (S)).
If anything goes wrong pls run (D) immediately and provide
(a) the diagnostic ZIP file

Via SAG FTP server, I failed to send the the diagnostic ZIP file (BpmsTrial_logs.zip) as the following message.
“550 Requested action not permitted.”

(b) EventGenerator.log

I start with a fresh fresh up but exit “11:50:26,225 ERROR [Exit] Exit with exitCode=1”
which I can surely confirmed in testautomation.log

Current status of the following service is as below.
(1) IS http://localhost:5555 : OK
(2) Process Generator http://localhost:8006 : Not Available
(3) MWS http://localhost:5555 : OK

I think Process Generator will start by shutdown and restart BmpsTrail.
Might I use the following commands to check the operation of Process Generator?
grexec BpmsTrial -shutdown
grexec BpmsTrial -start

If there is simple command to start Process Generator only, please sincerely tell.

© the approximate time when you started (S)
Start: 2015-11-24 9:50
End: 2015-11-24 11:50

Best regards,
Shogo Tatsuzawa

Dear Shogo-san,

  • Regarding FTP upload of diagnostic files:
    pls provide a screeen shot or at least a more detailed protocol of steps you carried out until “550 Requested action not permitted.” occurred

  • Please check which operating system process is using port 8006. You can do that using the following steps:
    netstat -ao | find “8006”
    As a result you may get an output line like
    TCP 0.0.0.0:8168 daevibodata:0 LISTENING 9999
    TCP [::]:8168 daevibodata:0 LISTENING 9999
    where 9999 is replaced by the actual of the listening process.
    Via Task Manager you can obtain the command line of the process (View > Select Columns… > Command Line) via the
    (View > Select Columns… > PID(Process Identifier)).
    If it is an old instance of Event Generator the command line should look similar to
    “C:\Program Files\Java\jdk1.8.0_45\bin\java” “-Dweb.dir=web” com.softwareag.eventgenerator.EventGenerator
    Pls kill that process by clicking the “End Process” button for that process within Task Manager.
    If it is another process, pls check whether it can be stopped and (if required) restarted using another port.

  • You may than give it a try to run
    grexec BpmsTrial -shutdown
    grexec BpmsTrial -start
    and you may check then whether triggering process instances via Event Generator is working, but I am not sure on that:
    due to lack of recent log files I have no real clue about results of your latest attempt of setting up BpmsTrial scenario.

  • Otherwise pls start a new attempt for installation of BpmsTrial setup from scratch.

  • In case of any error pls provide at least testautomation.log (or better ZIP without installLog.txt) and EventGenerator.log
    for analysis of issues during latest setup.

  • There is no such thing in the setup called “Process Generator” - the “Event Generator” takes the role of triggering instances of LuxuryLineOrder processes

Best regards
Uli

Dear Ulrich-san,

Thanks for your repy and advice very much.

  • Regarding FTP upload of diagnostic files:
    pls provide a screeen shot or at least a more detailed protocol of
    steps you carried out until “550 Requested action not permitted.” occurred

Please sincerely check “Sheet1” of the attached “20151125_problem.zip” in next reply.

  • Please check which operating system process is using port 8006.
    You can do that using the following steps:
    netstat -ao | find “8006”
    As a result you may get an output line like
    TCP 0.0.0.0:8168 daevibodata:0 LISTENING 9999
    TCP [::]:8168 daevibodata:0 LISTENING 9999
    where 9999 is replaced by the actual of the listening process.
    Via Task Manager you can obtain the command line of the process
    (View > Select Columns… > Command Line) via the (View > Select Columns… >
    PID(Process Identifier)).
    If it is an old instance of Event Generator the command line should
    look similar to
    “C:\Program Files\Java\jdk1.8.0_45\bin\java” “-Dweb.dir=web” com.softwareag.eventgenerator.EventGenerator
    Pls kill that process by clicking the “End Process” button for that process within Task Manager.
    If it is another process, pls check whether it can be stopped and (if required) restarted using another port.

Before I shutdown/start BpmsDemo, I checked the result of [netstat -ao | find “8006”].
But there is no result. So I shutdowned/started according to your advice.
I just reached to,
(1) IS http://localhost:5555 : OK
(2) Process Generator http://localhost:8006 : OK
(3) MWS http://localhost:8585 : OK

  • You may than give it a try to run
    grexec BpmsTrial -shutdown
    grexec BpmsTrial -start
    and you may check then whether triggering process instances via Event Generator is working,
    but I am not sure on that:
    due to lack of recent log files I have no real clue about results of your latest attempt of
    setting up BpmsTrial scenario.
  • Otherwise pls start a new attempt for installation of BpmsTrial setup from scratch.
  • In case of any error pls provide at least testautomation.log
    (or better ZIP without installLog.txt)
    and EventGenerator.log for analysis of issues during latest setup.

I started and stop the event generator one minute but
there is still no process instance in MWS.
I could not find that instances of the “LuxuryLineOrder” process is created neither at
Applications > Monitoring > Business > Process Instances, nor
Applications > Administration > Business > Business Processes
Please sincerely check Sheet2 of the attached “20151125_problem.zip” in next reply.

I send you the diagnostics zip file without installLog.txt.

Best regards,
Shogo Tatsuzawa
BpmsTrial_Diagnostics_2015-11-25_10-25_wo_install_log.zip (911 KB)

Dear Ulrich-san,

This is “20151125_problem.zip”.

Best regards,
Shogo Tatsuzawa

20151125_problem.zip (211 KB)

Dear Shogo-san,

sorry for the slight delay - here is now the result from analyzing latest log files.
It turned out (and I was not aware of that) that in its current status the BpmsTrial package requires a JDK rather than a JRE.
Your JRE is located at C:\Java\jre1.8.0_65.

However, as BpmsTrial installs a JDK itself you can use the following workaround before again starting “grexec BpmsTrial -setup”:

SET JAVA_HOME=C:\SoftwareAG\jvm\jvm

Also, you may want to clean / remove the file %TMP%\groovylogs\testautomation.log.
In case you experience again a problem pls provide the usual log files / ZIP.

Sorry for the inconvenience
Uli

Dear Ulrich-san,

Thanks for your repy and advice very much.

sorry for the slight delay - here is now the result from analyzing latest log files.
It turned out (and I was not aware of that) that in its current status the BpmsTrial
package requires a JDK rather than a JRE.
Your JRE is located at C:\Java\jre1.8.0_65.

However, as BpmsTrial installs a JDK itself you can use the following workaround before
again starting “grexec BpmsTrial -setup”:

SET JAVA_HOME=C:\SoftwareAG\jvm\jvm

Also, you may want to clean / remove the file %TMP%\groovylogs\testautomation.log.
In case you experience again a problem pls provide the usual log files / ZIP.

I could confirm process instances by ececuting Process Generator.

Setup procedure is as follows.

1)Clean up BPMS Trial and unisntall JRE.
2)Download and install JDK 8u65.
http://www.oracle.com/technetwork/java/javase/downloads/index.html
3)Add “C:\Java\jdk1.8.0_65\bin” into the environment Variable “Path”.
4)Execute “grexec BpmsTrial -setup”

SET JAVA_HOME=C:\SoftwareAG\jvm\jvm
This setting seems to be no need.

I have another problem, sorry.
All process instances fail at the last task “Confirm Delivery”.

Please sincerely check the Sheet1.
If you hava any idea, please sincerely advise.

Best regatds,
Shogo Tatsuzawa
20151126_process_all_failure.zip (408 KB)