Worklight - Persistency data access issue com.worklight.core.exceptions.PersistentDataAccessException: Persistency data access [closed] - db2

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
We have seen some error logs on the worklight messages.logs we are not able to understand or replicate the scenario, Interestingly all the issues recorded are with respected to WKUHB database, Can anyone please share more information how can we understand the impact of this error on Mobile Apps.
Worklight version used :- 6.1.0.2, DB2 Version :- v9.7.0.7

The error log states:
A communication error occurred during operations on the connection's underl ying socket, socket input stream, or socket output stream. ... A remote host did not respond within the timeout period.
You need to check in your network setup why the timeout was reached.
You may also look in your underlying application server for the management of stale connections.

Related

How to implement errors handling in custom kafka connector [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 days ago.
Improve this question
I have created some custom kafka sink connector i want to use error handling capability in it but when I am trying erros.tolerance=all still my connector is failing I am throwing ConnectException.
My connector is failing regardless of error configuration.
Can someone please guide me do I have to use any interface to add error handling capability in my custom kafka connector
errors.tolerance is not a pluggable interface for Connect Framework. It is an enum with only a few options.
You need to throw RetriableException for transient errors, but the connector will still fail when retries are exhausted.

Handling Dependency 4XX in REST [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I am wondering what would be the appropriate error code to bubble upto my clients when I get 4XX from my dependencies. Say for example, one of my downstream services returns to me a 401 code. This means my own server was not authorised for this request. How should I bubble this information to my clients? Would 424 be the appropriate code to bubble up? I read that it was added to HTTP as an extension, so is it recommended to use it?
Status codes from extensions can be used when properly registered and sufficiently defined.
That said, a 4xx seems to be incorrect here. If your server is not configured properly to access a back end, that's a server error, thus a 5xx.

matlab fopen tcpip does not work [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I am trying to follow the example in the link here:
https://blogs.mathworks.com/loren/2011/05/27/transferring-data-between-two-computers-using-matlab/
for transferring data between 2 computers using matlab.
However I am very very !! new to networking so have got stuck.
When I attempt the first part of the example, and open the server socket, using
fopen(tcpipServer);
MATLAB just sits there forever, in a Busy state. I've tried different port numbers but still get the same problem...
Please help, and many thanks!
In networking you have 2 sides to a connection: server side and client side. Server side usually just sit there, waiting till a client asks it to do something.
The same is going on here. You don't have 2 parts in the example, as you suggest, there is a server part and a client part, which must be run in parallel. It first describes the server part, that is wait till the client connects. That's why it 'sits there forever', because that's its job. (fopen waits for the client to connect)
To run this example, I suggest you open 2 MATLAB windows, one with the code for the server, and one with the code for the client. Then you run the server code. That way you enter the state where the server just waits. Afterwards you run the client code. The client makes contact to the server (fopen notices the connection) and the code can continue to the next statement, which is writing the data to the client. Then the connections are closed.

WSO2 BAM: howto send log event via REST endpoint [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I want to send log events to BAM 2.4.1 via client REST but I dont find any example about it so I need to know what is the endpoint url and some example about building of the json message to send.
Thanks in advance for any help
Currently, it doesn't have a REST API to publish events. Current options are listed here.
In addition you can use Analytics JavaScript (JS) API as well. It has this limitation.
Currently due to a limitation, client applications should be deployed
in the same domain as the Dashboard server. i.e -
DAS_HOME/repository/deployment/server/webapps

LOG MONITORING/ALERTING APPS [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Hey guys
Our application runs on Jboss/Apache Tomcat and the app is build on Java.
I was wondering if theres a free app out there that let us monitor our log files which are in text format whenever a Jboss exceptions shows up in the log???
At the moment we are using a tail (called BareTail) application that highlights the errors for us and someone has to keep an eye on it.
Any help appreciated thanks.
Since you're using JBoss you also want to take a look at monitoring with JBoss Operations Network (JON) or RHQ the community equivalent to JON.
Some other log monitoring tools/solutions are Chainsaw, Graylog2, Scribe, Lilith, Syslog-ng and Clarity.
Check this free opensource monitoring tool Hyperic.
Among many things it does, log monitoring is one thing.
You can install agents on the servers and configure them and this Log server will collect the information and the logs can be viewed using a webbrowser.
Other tools are Splunk, Tivoli Log Monitoring