I’ve recently deployed some web services and I would like to know how to follow and persist their possible raised warnings/errors.
Do you use only the trace servers options accessing the IS admin console, do you use any specific component/product for that need, or did you choose to developp your own component that write data in a database ?
I’m sure ways to do are multiple, but I would be very interested to know your different way to do please.
— Writing to server.log (via debugLog) or any custom log file (via writeToFile) or sending email alerts for critical errors only
— Storing in DB and having a DSP/UI to show the errors/warnings as part of monitoring
— Writing into webMethods Audit DB (via Enable auditing properties in flow services)
As you wan to follow only specific warnings/errors raised by your webServices, better write them to a separate file which you can use for trouble-shooting or reports to check the count of message per error.
MR as173d, I’m would maybe more interested to write them into a DB… to have both the abbility to look for errors with some SQL… and better direct rapid access…
M@he$h, In your option #2 :
the DB would be an external one (my own schema I create myself), or an internal DB owned by webMethods ?
what do you mean by DSP ? (I only know the DSP in music (Digital Signal Processor) :? )
Do the UI you talking is a part of webMethods or do you suggest to create my own UI (or buy a third-party product) ?
In your option #3 : I’m going to test the Audit option :
so to read information, can you confirm me the UI will be MWS please ?
#2 – Use external DB tables. DSP is Dynamic server pages supported by wM but this has become old and now you can use CAF or Open CAF which comes with wM product suite.
If you are looking for third party tool you can use life ray (for eg.) or hire some UI developer who are good at HTML, BootStrap, JS and Ajax, JQuery
#3 – Check the services menu under monitoring in MWS
In My DEV MyWebMethods: Navigate > Applications > Monitoring > Integration > Services
I see this error :
Connection error of the web service. Please verify the Integration Server parameters in Administration -> My webMethods -> system parameters
Details : java.rmi.RemoteException: HTTP error response: <h4>Access Denied</h4>
I read this link, and verified my CommandCentral Pool was correct (SAML well configured too) :
(In my preproduction and production MWS all is fine)
1- Yes
2- You mean in : MWS → Adminisitration → My webMethods → “” System parameters “” → Servers ?
I see a server but when I clik on the button “…”, I have this warning :
“No Integration server has been configured in the central configuration”
Please see the attached files
When I can’t go in Monitoring (Analyse) → Integration → Services,
I have the same error previous error
Connection error of the web service. Please verify the Integration Server parameters in Administration -> My webMethods -> system parameters
java.rmi.RemoteException: HTTP error response: <h4>Access Denied</h4>
and Yes, the entry “system/My webMethods Administrators” is allowed for the ACL “Administrator ACL”.
Oups,
After watching the correct one, yes in “Monitor Administrators ACL”, I have these ones allowed :
local\Administrators
local\MonitorAdministrators
system/My webMethods Administrators
In which menu of MWS do you verify the “Central Users” schema used for monitoring please ?
When I click on menu “My webMethods\system parameters\servers”, all is displayed without any error (please see the picture above).
Reading the webMethods Monitor User guide, I see for CommandCentral that I have to add the following key/value pair in the IS extended settings :
watt.server.auth.samlResolver=http://mws-host:mws-port /services/SAML
I’m perplex since on our PREPROD environment, Auditing work well without this extended settings.
I can try to add it in the DEV environment, to see if the error persists but I’m surprised comparing the PREPROD.
for my services audited, I’ve took a look in the IS at Logs\Service, and the traces are present and fine (but still not any traces in MWS monitoring)
Holger I’ve read the manual and configured all like in the instructions… I’m sadly noticing there is nothing to do
It does not work, I have the same issue :
On my PREPROD and PROD environnment all is fine, but on the DEV one, the error still present.
The only difference I see is in DEV they (IS and MWS) are both in the same server.