11-20-2017
Middleware Documentation and logs
Good evening:
I need your help please, I am new in Unix/Linux apps like middleware
Thare are thousands of documentation about middleware stuff but i would like to have a broader understanding about middleware apps, so i ask you the following questions:
1. In an Enterprise what i am working for there are hundreds of applications and interacting via weblogic, tomcat apache and so on. And in an Unix/Linux environment is there any way i can find any log that stores any event for applicatios interaction or requests?
2. In unix/linux i can reach out logs/events that keeps track about Applications interactions?
3. Is there any good link about middleare or applications interactions events from the basics because frankly i have no idea
I would appreciate your help in advanced
4 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Experts, :confused:
I need help in one of my bit complicated script (for me complicated for experts like you might be simple).
I have 100+ Middleware servers and 200+ DB servers and 200+ application servers in my environment. What I’m looking is I have a script ready sitting on one JUMP... (12 Replies)
Discussion started by: shiv2001in
12 Replies
2. HP-UX
I want to know if a server has J2EE application server installed, a webserver or any other middleware, is there a command to output a list or something like that.
Thak you (1 Reply)
Discussion started by: eponcedeleonc
1 Replies
3. UNIX and Linux Applications
Hi,
We are looking for UNIX and Linux authentication middleware/tools which can replace our existing RSA SecurID - Two-Factor Authentication. Any suggestions or recommendations.
Thanks,
Gabar (2 Replies)
Discussion started by: Gabar Singh
2 Replies
4. Shell Programming and Scripting
Appreciate help for the below issue.
Im using below code.....I dont want to attach the logs when I ran the perl twice...I just want to take backup with today date and generate new logs...What I need to do for the below scirpt..............
1)if logs exist it should move the logs with extention... (1 Reply)
Discussion started by: Sanjeev G
1 Replies
LEARN ABOUT DEBIAN
plack::middleware::deflater
Plack::Middleware::Deflater(3pm) User Contributed Perl Documentation Plack::Middleware::Deflater(3pm)
NAME
Plack::Middleware::Deflater - Compress response body with Gzip or Deflate
SYNOPSIS
use Plack::Builder;
builder {
enable sub {
my $app = shift;
sub {
my $env = shift;
my $ua = $env->{HTTP_USER_AGENT} || '';
# Netscape has some problem
$env->{"psgix.compress-only-text/html"} = 1 if $ua =~ m!^Mozilla/4!;
# Netscape 4.06-4.08 have some more problems
$env->{"psgix.no-compress"} = 1 if $ua =~ m!^Mozilla/4.0[678]!;
# MSIE (7|8) masquerades as Netscape, but it is fine
if ( $ua =~ m!MSIE (?:7|8)! ) {
$env->{"psgix.no-compress"} = 0;
$env->{"psgix.compress-only-text/html"} = 0;
}
$app->($env);
}
};
enable "Deflater",
content_type => ['text/css','text/html','text/javascript','application/javascript'],
vary_user_agent => 1;
sub { [200,['Content-Type','text/html'],["OK"]] }
};
DESCRIPTION
Plack::Middleware::Deflater is a middleware to encode your response body in gzip or deflate, based on "Accept-Encoding" HTTP request
header. It would save the bandwidth a little bit but should increase the Plack server load, so ideally you should handle this on the
frontend reverse proxy servers.
This middleware removes "Content-Length" and streams encoded content, which means the server should support HTTP/1.1 chunked response or
downgrade to HTTP/1.0 and closes the connection.
CONFIGURATIONS
content_type
content_type => 'text/html',
content_type => [ 'text/html', 'text/css', 'text/javascript', 'application/javascript', 'application/x-javascript' ]
Content-Type header to apply deflater. if content-type is not defined, Deflater will try to deflate all contents.
vary_user_agent
vary_user_agent => 1
Add "User-Agent" to Vary header.
ENVIRONMENT VALUE
psgix.no-compress
Do not apply deflater
psgix.compress-only-text/html
Apply deflater only if content_type is "text/html"
LICENSE
This software is licensed under the same terms as Perl itself.
AUTHOR
Tatsuhiko Miyagawa
SEE ALSO
Plack, <http://httpd.apache.org/docs/2.2/en/mod/mod_deflate.html>
perl v5.14.2 2012-06-18 Plack::Middleware::Deflater(3pm)