Anyone else getting a lot of Server Errors

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
BLOMASKY
Posts: 1471
Joined: Wed Sep 30, 2015 10:08 pm
Location: Ocala FL

Anyone else getting a lot of Server Errors

Post by BLOMASKY »

My system seems to work fine, but when viewing the server output I keep getting 100's of exception with SuspendProcessExceptions. Am I the only one getting a ton of these?

com.bas.basserver.executionengine.SuspendProcessException
at com.bas.basserver.executionengine.rliproc.H.B(Unknown Source)
at com.bas.basserver.executionengine.rliproc.H.A(Unknown Source)
at com.bas.basserver.executionengine.rliproc.F.M(Unknown Source)
at com.bas.basserver.executionengine.rliproc.F.S(Unknown Source)
at com.bas.basserver.executionengine.rliproc.F.P(Unknown Source)
at com.bas.basserver.executionengine.rliproc.G.A(Unknown Source)
at com.bas.basserver.executionengine.rliproc.G.C(Unknown Source)
at com.bas.basserver.executionengine.rliproc.G.T(Unknown Source)
at com.bas.basserver.executionengine.rliproc.G.B(Unknown Source)
at com.bas.basserver.executionengine.rliproc.G.A(Unknown Source)
at com.bas.basserver.executionengine.rliproc.G.execute(Unknown Source)
at com.bas.basserver.executionengine.ExecutionEngine.A(Unknown Source)
at com.bas.basserver.executionengine.ExecutionEngine.A(Unknown Source)
at com.bas.basserver.executionengine.ExecutionEngine.A(Unknown Source)
at com.bas.basserver.executionengine.ExecutionEngine.executeProcess(Unknown Source)
at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.bas.basserver.bsmanager.E.B(Unknown Source)
at com.bas.basserver.bsmanager.E.A(Unknown Source)
at com.bas.basserver.bsmanager.E.A(Unknown Source)
at com.bas.basserver.iopipes.ComponentSink.processMessage(Unknown Source)
at org.openadaptor.adaptor.STPipelineController.processMessage(STPipelineController.java:68)
at com.bas.openadaptor.NonTransactionalController.processMessage(NonTransactionalController.java:136)
at org.openadaptor.adaptor.AbstractSimplePipe.processMessage(AbstractSimplePipe.java:222)
at org.openadaptor.adaptor.STPipelineController.processMessage(STPipelineController.java:68)
at com.bas.openadaptor.NonTransactionalController.processMessage(NonTransactionalController.java:136)
at org.openadaptor.adaptor.AbstractSimpleSource.processMessage(AbstractSimpleSource.java:403)
at org.openadaptor.adaptor.AbstractSimpleSource.sourceProcess(AbstractSimpleSource.java:1049)
at org.openadaptor.adaptor.AbstractSimpleSource.sourceProcess(AbstractSimpleSource.java:1012)
at com.bas.openadaptor.MTJMSListener$JMSMessageHandler.run(MTJMSListener.java:275)
at java.lang.Thread.run(Thread.java:745)
INFO: OutputAdaptor1.Controller has commited 700 transactions
INFO: InputAdaptor1.Controller has commited 700 transactions
com.bas.basserver.executionengine.SuspendProcessException
at com.bas.basserver.executionengine.rliproc.H.B(Unknown Source)
at com.bas.basserver.executionengine.rliproc.H.A(Unknown Source)
at com.bas.basserver.executionengine.rliproc.F.M(Unknown Source)
at com.bas.basserver.executionengine.rliproc.F.S(Unknown Source)
at com.bas.basserver.executionengine.rliproc.F.P(Unknown Source)
at com.bas.basserver.executionengine.rliproc.G.A(Unknown Source)
at com.bas.basserver.executionengine.rliproc.G.C(Unknown Source)
at com.bas.basserver.executionengine.rliproc.G.T(Unknown Source)
at com.bas.basserver.executionengine.rliproc.G.B(Unknown Source)
at com.bas.basserver.executionengine.rliproc.G.A(Unknown Source)
at com.bas.basserver.executionengine.rliproc.G.execute(Unknown Source)
at com.bas.basserver.executionengine.ExecutionEngine.A(Unknown Source)
at com.bas.basserver.executionengine.ExecutionEngine.startChildProcess(Unknown Source)
at com.bas.basserver.executionengine.ExecutionEngine.A(Unknown Source)
at com.bas.basserver.executionengine.ExecutionEngine.executeChildProcess(Unknown Source)
at com.bas.basserver.executionengine.rliproc.A.A(Unknown Source)
at com.bas.basserver.executionengine.rliproc.F.B(Unknown Source)
at com.bas.basserver.executionengine.rliproc.F.S(Unknown Source)
at com.bas.basserver.executionengine.rliproc.F.P(Unknown Source)
at com.bas.basserver.executionengine.rliproc.G.A(Unknown Source)
at com.bas.basserver.executionengine.rliproc.G.C(Unknown Source)
at com.bas.basserver.executionengine.rliproc.G.T(Unknown Source)
at com.bas.basserver.executionengine.rliproc.G.B(Unknown Source)
at com.bas.basserver.executionengine.rliproc.G.A(Unknown Source)
at com.bas.basserver.executionengine.rliproc.G.execute(Unknown Source)
at com.bas.basserver.executionengine.ExecutionEngine.A(Unknown Source)
at com.bas.basserver.executionengine.ExecutionEngine.A(Unknown Source)
at com.bas.basserver.executionengine.ExecutionEngine.A(Unknown Source)
at com.bas.basserver.executionengine.ExecutionEngine.executeProcess(Unknown Source)
at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.bas.basserver.bsmanager.E.B(Unknown Source)
at com.bas.basserver.bsmanager.E.A(Unknown Source)
at com.bas.basserver.bsmanager.E.A(Unknown Source)
at com.bas.basserver.iopipes.ComponentSink.processMessage(Unknown Source)
at org.openadaptor.adaptor.STPipelineController.processMessage(STPipelineController.java:68)
at com.bas.openadaptor.NonTransactionalController.processMessage(NonTransactionalController.java:136)
at org.openadaptor.adaptor.AbstractSimplePipe.processMessage(AbstractSimplePipe.java:222)
at org.openadaptor.adaptor.STPipelineController.processMessage(STPipelineController.java:68)
at com.bas.openadaptor.NonTransactionalController.processMessage(NonTransactionalController.java:136)
at org.openadaptor.adaptor.AbstractSimpleSource.processMessage(AbstractSimpleSource.java:403)
at org.openadaptor.adaptor.AbstractSimpleSource.sourceProcess(AbstractSimpleSource.java:1049)
at org.openadaptor.adaptor.AbstractSimpleSource.sourceProcess(AbstractSimpleSource.java:1012)
at com.bas.openadaptor.MTJMSListener$JMSMessageHandler.run(MTJMSListener.java:275)
at java.lang.Thread.run(Thread.java:745)
com.bas.basserver.executionengine.SuspendProcessException
at com.bas.basserver.executionengine.rliproc.G.A(Unknown Source)
at com.bas.basserver.executionengine.rliproc.G.C(Unknown Source)
at com.bas.basserver.executionengine.rliproc.G.T(Unknown Source)
at com.bas.basserver.executionengine.rliproc.G.B(Unknown Source)
at com.bas.basserver.executionengine.rliproc.G.A(Unknown Source)
at com.bas.basserver.executionengine.rliproc.G.execute(Unknown Source)
at com.bas.basserver.executionengine.ExecutionEngine.A(Unknown Source)
at com.bas.basserver.executionengine.ExecutionEngine.A(Unknown Source)
at com.bas.basserver.executionengine.ExecutionEngine.A(Unknown Source)
at com.bas.basserver.executionengine.ExecutionEngine.executeProcess(Unknown Source)
at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.bas.basserver.bsmanager.E.B(Unknown Source)
at com.bas.basserver.bsmanager.E.A(Unknown Source)
at com.bas.basserver.bsmanager.E.A(Unknown Source)
at com.bas.basserver.iopipes.ComponentSink.processMessage(Unknown Source)
at org.openadaptor.adaptor.STPipelineController.processMessage(STPipelineController.java:68)
at com.bas.openadaptor.NonTransactionalController.processMessage(NonTransactionalController.java:136)
at org.openadaptor.adaptor.AbstractSimplePipe.processMessage(AbstractSimplePipe.java:222)
at org.openadaptor.adaptor.STPipelineController.processMessage(STPipelineController.java:68)
at com.bas.openadaptor.NonTransactionalController.processMessage(NonTransactionalController.java:136)
at org.openadaptor.adaptor.AbstractSimpleSource.processMessage(AbstractSimpleSource.java:403)
at org.openadaptor.adaptor.AbstractSimpleSource.sourceProcess(AbstractSimpleSource.java:1049)
at org.openadaptor.adaptor.AbstractSimpleSource.sourceProcess(AbstractSimpleSource.java:1012)
at com.bas.openadaptor.MTJMSListener$JMSMessageHandler.run(MTJMSListener.java:275)
at java.lang.Thread.run(Thread.java:745)
Jaymer
Posts: 2450
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: Anyone else getting a lot of Server Errors

Post by Jaymer »

Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
PointsWell
Posts: 1457
Joined: Tue Jan 24, 2017 5:51 am
Location: 'Stralya

Re: Anyone else getting a lot of Server Errors

Post by PointsWell »

BLOMASKY wrote:Am I the only one getting a ton of these?
No.
BLOMASKY
Posts: 1471
Joined: Wed Sep 30, 2015 10:08 pm
Location: Ocala FL

Re: Anyone else getting a lot of Server Errors

Post by BLOMASKY »

The big problem is that I can not EASILY find errors in my logic. For instance I had a 2 line rule
1) FIND BO1 where ....
2) FIND BO2 where BO2.attr = BO1.ps_attr.field

Of course, I need to condition the 2nd query for when there is no match on the 1st one. The server console shows that to me, but with a ton of error messages it is difficult to find these.

Any chance this can be fixed Mr. Developer Man???

Bruce
hpl123
Posts: 2594
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: Anyone else getting a lot of Server Errors

Post by hpl123 »

BLOMASKY wrote:Any chance this can be fixed Mr. Developer Man???
10000+ (or preferably make a separate logger window for Java errors)
Henrik (V8 Developer Ed. - Windows)
weblike
Posts: 1165
Joined: Sun Dec 02, 2012 12:00 pm
Location: Europe

Re: Anyone else getting a lot of Server Errors

Post by weblike »

Lots of errors still in 8.5 latest build:

INFO: OutputAdaptor1.Controller has commited 2500 transactions
INFO: InputAdaptor1.Controller has commited 2500 transactions

These are increasing in number and server becomes slow....I have to restart at least once a day.

Has anyone managed to debug these kind of errors?
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
BLOMASKY
Posts: 1471
Joined: Wed Sep 30, 2015 10:08 pm
Location: Ocala FL

Re: Anyone else getting a lot of Server Errors

Post by BLOMASKY »

Not sure if this helps any, but I have found 2 issues that have caused me to restart the server.

1). Running out of memory. I have 64G on my windows server and am running MSSQL on same server. MSSQL was configured to use whatever memory is available and sometimes I would find over 95% of server memory used. That used to upset Aware (I assume during some request for more memory).

2). Rules that were NOT ticked do not check referred were triggered and caused massive slowdowns when saving a record. An example, I would bring up inventory maintenance form, and click save (not making any changes) and there would be a 10 second delay. Looking at the log, there are a lot of "child" tables to inventory (order lines, purchase lines, etc. ) and some of the rules would be triggered which caused aware to read a LOT of related rows.

Bruce

p.s. I now find I have to restart about once a week. It is not uncommon for my customer to call me and tell me the system is not responsive and I can't even log onto my app. Restarting the app does fix the issue.
nhofkes
Posts: 94
Joined: Mon Sep 07, 2020 6:03 am
Location: Netherlands

Re: Anyone else getting a lot of Server Errors

Post by nhofkes »

weblike wrote: Wed Oct 21, 2020 5:01 am Lots of errors still in 8.5 latest build:

INFO: OutputAdaptor1.Controller has commited 2500 transactions
INFO: InputAdaptor1.Controller has commited 2500 transactions

These are increasing in number and server becomes slow....I have to restart at least once a day.

Has anyone managed to debug these kind of errors?
Is this indeed an error message? The 'INFO' does not suggest that it is. So far I assumed this is merely for information purposes, although I wonder why the numbers always increase. It starts with 100 and then keeps increasing each time with (exactly) 100. Initially I was slightly concerned about this steady increase especially since it also occurs when I don't do anything with the server - there does not seem to be correlation between the number of transactions and the interaction by me. Anyway, it would be good to understand what this log entry actually means.

BTW, I am not a native speaker but I think that the message should be 'committed' instead of 'commited' ?
Niels
(V9.0 build 3241 - MariaDB - Windows)
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: Anyone else getting a lot of Server Errors

Post by aware_support »

There are two types of messages mentioned in this thread:
1) An error stack trace with SuspendProcessException at the top (see the first post)
2) INFO: messages

Both types of messages are benign. The first one was displayed when a user cancels an operation. I believe that the latest build of 8.5 should not display them at all.

The second type of messages indicates that the system is doing some work. If you see lots of them with no user activity, then your app is probably doing lots of things in the background.

Unresponsive systems. If you want to get to the bottom of these (and you should) run the system as a Windows service (for Windows users). When running as a service everything is captured in two files both named wrapper.log. There is one file for Tomcat and one file for the Aware IM server. Each record in these files carries a timestamp. You should notice when the system became unresponsive and copy the two log files. Then either investigate them yourselves around the time the problem occurred or send both logs to us (you will need to purchase support time from us)
Aware IM Support Team
nhofkes
Posts: 94
Joined: Mon Sep 07, 2020 6:03 am
Location: Netherlands

Re: Anyone else getting a lot of Server Errors

Post by nhofkes »

The first one was displayed when a user cancels an operation. I believe that the latest build of 8.5 should not display them at all
I just installed the latest build (2828) and it seems that the Server Log still shows an error when a user cancels an operation. After clicking 'Cancel' on a form displayed by a process, I had this error message in my Server Log:
2020-10-30 15:56:21,042 ERROR Reply#1#Nieuweroord#e4c274ac230be5495a1a4530d5741af9 -18 Resumed process Item_overdracht_aan_Woning has failed. Message is Operation error. Sending failure reply
Niels
(V9.0 build 3241 - MariaDB - Windows)
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: Anyone else getting a lot of Server Errors

Post by aware_support »

Yes, these messages are still there, but they are short. The most annoying was the long exception stack trace and this one should be gone by now.
Aware IM Support Team
Post Reply