09-14-2012
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm about 5 months new on an 5 year old unix system. If anyone can help me identify what causing the below errors i'd really appreciate it!
unix: WARNING: /pci@1f,0/pci@1,1/ide@3/dad@1,0 (dad1):
Uncorrectable data Error: Block 57e10
Unix: WARNING: /pci@1f,0/pci@1,1/ide@3/dad@1,0 (dad1):... (1 Reply)
Discussion started by: ByasB
1 Replies
2. HP-UX
Hello, what are the names for the Sistem Error logs of HP-UX?
I have got the error "Volume group has some stale or unavailable physical volumes." Nothing more to the error, except date and time!!
Checked all the Logical Volumes (lvdisplay -v), and all the Physical Volumes (pvdisplay -v)... (4 Replies)
Discussion started by: ErantDutch
4 Replies
3. UNIX for Advanced & Expert Users
Hi,
I have a machine with Unixware 7.1.3 and Apache 2 and Tomcat 4.0.3 it's works, but in the archive log from mod_jk.log
ajp13_process_callback - write failed
: Error
ajp13_process_callback - write failed
: Error
ajp13_process_callback - write failed
: Error... (1 Reply)
Discussion started by: By_Jam
1 Replies
4. UNIX and Linux Applications
Hi people, i have this problem trying to get a custom error page when client authentication fails:
I had configured successfully my tomcat with client authentication using certificates, and now I would like to redirect the user to a custom error page when authentication fails, but I always get a... (0 Replies)
Discussion started by: sebagra
0 Replies
5. Solaris
when I typed path http://localhost:8080/MyFirst/HelloWorld in web-browser ,it came up with error
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception ... (0 Replies)
Discussion started by: srinivas2828
0 Replies
6. Web Development
not sure if this is the right forum but im having problem with tomcat restart.
i have a regular user that when he login it will go directly to a menu options (a. stop tomcat, start tomcat,). if he selects start it would should show that tomcat has been restarted. if the user press X, he will... (2 Replies)
Discussion started by: lhareigh890
2 Replies
7. Shell Programming and Scripting
While tomcat shutting down getting the below error.
Error occurred during initialization of VM
Could not reserve enough space for code cache
CATALINA_OPTS="-verbose:gc -Xloggc:gc.log -XX:+PrintGCDetails -XX:MaxPermSize=24M -Xms256M -Xmx512M -Djava.awt.headless=true -XX:-UseCompressedOops... (2 Replies)
Discussion started by: tuxslonik
2 Replies
8. Solaris
Hi,
We have upgrade tomcat from 5.0.20 to 7.0.33 and made changes to server.xml file according to newer version.. how ever the upgrade went fine and now i am unable to deploy application remotely.. it is giving 403 access denied error.. we have seperate appbase directory mentioned in server.xml..... (0 Replies)
Discussion started by: phani4u
0 Replies
9. Linux
I found a script for automatically push tomcat logs to syslog server which is locate in same server. How do I change it to push logs to remote server?
log4j.rootLogger=INFO, WARN, console, file, SYSLOG
log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.append=true... (2 Replies)
Discussion started by: heshandh
2 Replies
10. 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
moosex::log::log4perl::easy
Easy(3pm) User Contributed Perl Documentation Easy(3pm)
NAME
MooseX::Log::Log4perl::Easy - A role for easy usage of logging in your Moose based modules based on MooseX::Log::Log4perl
SYNOPSIS
package MyApp;
use Moose;
use Log::Log4perl qw(:easy);
with 'MooseX::Log::Log4perl::Easy';
BEGIN {
Log::Log4perl->easy_init();
}
sub foo {
my ($self) = @_;
$self->log_debug("started bar"); ### logs with default class catergory "MyApp"
$self->log_info('bar'); ### logs an info message
$self->log('AlsoPossible')->fatal("croak"); ### log
}
DESCRIPTION
The Easy logging role based on the MooseX::Log::Log4perl logging role for Moose directly adds the logmethods for all available levels to
your class instance. Hence it is possible to use
$self->log_info("blabla");
without having to access a separate log attribute as in MooseX::Log::Log4perl;
In case your app grows and you need more of the super-cow powers of Log4perl or simply don't want the additional methods to clutter up your
class you can simply replace all code "$self->log_LEVEL" with "$self->log->LEVEL".
You can use the following regex substitution to accomplish that:
s/log(_(trace|debug|info|warn|error|fatal))/log->$2/g
ACCESSORS
logger
See MooseX::Log::Log4perl
log
See MooseX::Log::Log4perl
log_fatal ($msg)
Logs a fatal message $msg using the logger attribute. Same as calling
$self->logger->fatal($msg)
log_error ($msg)
Logs an error message using the logger attribute. Same as calling
$self->logger->error($msg)
log_warn ($msg)
Logs a warn message using the logger attribute. Same as calling
$self->logger->warn($msg)
log_info ($msg)
Logs an info message using the logger attribute. Same as calling
$self->logger->info($msg)
log_debug ($msg)
Logs a debug message using the logger attribute. Same as calling
$self->logger->debug($msg)
log_trace ($msg)
Logs a trace message using the logger attribute. Same as calling
$self->logger->trace($msg)
SEE ALSO
MooseX::Log::Log4perl, Log::Log4perl, Moose
BUGS AND LIMITATIONS
Please report any bugs or feature requests to "bug-moosex-log4perl@rt.cpan.org", or through the web interface at <http://rt.cpan.org>.
Or come bother us in "#moose" on "irc.perl.org".
AUTHOR
Roland Lammel "<lammel@cpan.org>"
Inspired by suggestions by Michael Schilli "<m@perlmeister.com>"
Contributions from Tim Bunce "<TIMB@cpan.org>"
LICENSE AND COPYRIGHT
Copyright (c) 2008-2012, Roland Lammel "<lammel@cpan.org>", http://www.quikit.at
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
perl v5.14.2 2012-06-27 Easy(3pm)