10 More Discussions You Might Find Interesting
1. 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
2. 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
3. Solaris
Hi Friends,
I have a upgrade task of tomcat from 5.5.20 to latest 7.0.32 stable release on solaris 10 sparc 64 bit..
Is tomcat package same for solaris 10 x86 and sparc 64bit..??
Can we upgrade directly from 5 to 7?
Please help me.. (1 Reply)
Discussion started by: phani4u
1 Replies
4. Shell Programming and Scripting
I need to install a tomcat6 with multiple instances like instance1,instance2 and instance3 in a server.
I came to know that for that we need to install tomcat6,apache2.0,mod_jk1.2 and jre with tools.jar installed.And we need to create multiple instances with same web.xml and difference... (0 Replies)
Discussion started by: tuxslonik
0 Replies
5. Linux
Dear All:)
We want to send log message from Tomcat Log to Syslog. So we have configured as follows:
Our environment: Tomcat 5.5 with CentOS 5.6 Final version (32Bit)
log4j.properties file location:
/usr/share/tomcat5/common/classes
log4j-1.2.16.jar and commons-logging-1.1.1.jar... (2 Replies)
Discussion started by: ziosnim
2 Replies
6. Solaris
hi..
i need to install tomcat on my solaris 10 x86 OS..
can u please guide me ..
i know that tomcat is already present in solaris 10 x86..
tell me how to enable it..
tel me as soon as possible..
i tried but its throwing me the following error..
The JAVA_HOME environment variable is not... (5 Replies)
Discussion started by: senkerth
5 Replies
7. Cybersecurity
Hi,
my server is running a tomcat servlet container.
yesterday a bought a ssl-certificate from geotrust.com.
i got a private-key file and a cert-file (PKCS10).
i followed the instructions on Apache Tomcat 6.0 - SSL Configuration HOW-TO
first, i created a keystore:
... (0 Replies)
Discussion started by: mcW
0 Replies
8. Solaris
Current platform: Sun OS 5.9 Solaris
isainfo -v
64-bit sparcv9 applications
32-bit sparc applications
Problem: Fail to start tomcat server
ps -ef | grep tomcat
nothing displays...
Steps:
Installed jakarta-tomcat-5.0.30
Installed jdk 1.6 and set path in profile... (11 Replies)
Discussion started by: sbox
11 Replies
9. AIX
I am trying to upgrade JDK to 1.5 on AIX 5.3 TL 02, but get an error to upgrade AIX to TL 07. Tomcat 4.1.24 is installed. Just wondering if the the AIX upgrade to TL 07 will have any effect to Tomcat?
Help is appreciated (1 Reply)
Discussion started by: aajmani
1 Replies
10. UNIX for Dummies Questions & Answers
i want to use jsp and servlets on my fedora core 6 system.So,I want to run tomcat.i dont how to configure tomcat in linux.
the command:service tomcat5 start is working
but
http://localhost/8180 or http://localhost:8080 are not working
plzzzz help (1 Reply)
Discussion started by: preeti chouhan
1 Replies
Net::Server::Log::Sys::Syslog(3) User Contributed Perl Documentation Net::Server::Log::Sys::Syslog(3)
NAME
Net::Server::Log::Sys::Syslog - log via Syslog
SYNOPSIS
use base qw(Net::Server::PreFork);
__PACKAGE__->run(
log_file => 'Sys::Syslog',
syslog_ident => 'myapp',
);
DESCRIPTION
This module provides Sys::Syslog logging to the Net::Server system.
CONFIGURATION
log_file
To begin using Sys::Syslog logging, simply set the Net::Server log_file configuration parameter to "Sys::Syslog".
If the magic name "Sys::Syslog" is used, all logging will take place via the Sys::Syslog module. If syslog is used the parameters
"syslog_logsock", "syslog_ident", and "syslog_logopt",and "syslog_facility" may also be defined.
syslog_logsock
Only available if "log_file" is equal to "Sys::Syslog". May be either unix, inet, native, console, stream, udp, or tcp, or an arrayref
of the types to try. Default is "unix" if the version of Sys::Syslog < 0.15 - otherwise the default is to not call setlogsock.
See Sys::Syslog.
syslog_ident
Only available if "log_file" is equal to "Sys::Syslog". Id to prepend on syslog entries. Default is "net_server". See Sys::Syslog.
syslog_logopt
Only available if "log_file" is equal to "Sys::Syslog". May be either zero or more of "pid","cons","ndelay","nowait". Default is
"pid". See Sys::Syslog.
syslog_facility
Only available if "log_file" is equal to "Sys::Syslog". See Sys::Syslog and syslog. Default is "daemon".
DEFAULT ARGUMENTS FOR Net::Server
The following arguments are available in the default "Net::Server" or "Net::Server::Single" modules. (Other personalities may use
additional parameters and may optionally not use parameters from the base class.)
Key Value Default
## syslog parameters (if log_file eq Sys::Syslog)
syslog_logsock (native|unix|inet|udp
|tcp|stream|console) unix (on Sys::Syslog < 0.15)
syslog_ident "identity" "net_server"
syslog_logopt (cons|ndelay|nowait|pid) pid
syslog_facility w+ daemon
METHODS
"initialize"
This method is called during the initilize_logging method of Net::Server. It returns a single code ref that will be stored under the
log_function property of the Net::Server object. That code ref takes log_level and message as arguments and calls the initialized
log4perl system.
"handle_log_error"
This method is called if the log_function fails for some reason. It is passed the Net::Server object, the error that occurred while
logging and an arrayref containing the log level and the message. In turn, this calls the legacy Net::Server::handle_syslog_error
method.
LICENCE
Distributed under the same terms as Net::Server
POD ERRORS
Hey! The above document had some coding errors, which are explained below:
Around line 104:
You forgot a '=back' before '=head1'
Around line 114:
'=item' outside of any '=over'
perl v5.16.2 2012-06-05 Net::Server::Log::Sys::Syslog(3)