10 More Discussions You Might Find Interesting
1. IP Networking
Hello :
I want to make a netfilter conntrack module for myself. So I copy all the source code about netfilter conntrack from kernel source tree to my external directory. It can be insmod after compiled. Then I add some members to the struct nf_conn, and it 's compiled successfully. However, it... (1 Reply)
Discussion started by: 915086731
1 Replies
2. UNIX and Linux Applications
Hello all experts, Im in a situation where Tomcat simply does not want to read this file through the symlink....
I checked permissions..OK
Also checked file & tomcat owner...all OK.
This is what I have my /tomcat/conf/Catalina/local/appname.xml
<Context>
<Resource name="jdbc/black" ... (3 Replies)
Discussion started by: KingaKoopa
3 Replies
3. 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
4. Ubuntu
Unable to set ssh passwordless authentication
I am unable to ssh with passwordless authentication from Windows client onto UBuntu server. The ssh version on UBuntu is OpenSSH_5.8p1 Debian-7ubuntu1, OpenSSL 1.0.0e , while SSH on Windows Client is OpenSSH_5.1p1, OpenSSL 0.9.8k. I turned on ssh... (5 Replies)
Discussion started by: tkota
5 Replies
5. Web Development
Hi Gurus,
Our tomcat server was found hanging and responding to requests although ports 8080 & 8009(AJP) were found in listening state. The catalina.out had the below output:
We have JavaMelody(Monitoring tool) packaged along with our application and it seems that monitoring through... (3 Replies)
Discussion started by: Hari_Ganesh
3 Replies
6. 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
7. 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
8. 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
9. UNIX for Dummies Questions & Answers
Hello experts,
I'm creating a custom man page. I have two unix boxes - one Hp & the other Solaris
On HP, I simply moved the .Z file to /usr/man/man7.Z/ and after that "man myPage" worked.
I then tried to do the same on Solaris. First thing is the relevant directory seemed to be... (1 Reply)
Discussion started by: sridhar_423
1 Replies
10. 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
OCF_HEARTBEAT_TOMCAT(7) OCF resource agents OCF_HEARTBEAT_TOMCAT(7)
NAME
ocf_heartbeat_tomcat - Manages a Tomcat servlet environment instance
SYNOPSIS
tomcat [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION
Resource script for Tomcat. It manages a Tomcat instance as a cluster resource.
SUPPORTED PARAMETERS
tomcat_name
The name of the resource, added as a Java parameter in JAVA_OPTS:
-Dname=<tomcat_name> to Tomcat process on start. Used to ensure process is still running and must be unique.
(unique, optional, string, no default)
script_log
Log file, used during start and stop operations.
(unique, optional, string, no default)
tomcat_stop_timeout
Time-out for stop operation. DEPRECATED
(optional, integer, no default)
tomcat_suspend_trialcount
Maximum number of times to retry stop operation before suspending and killing Tomcat. DEPRECATED. Does not retry.
(optional, integer, no default)
tomcat_user
The user who starts Tomcat.
(optional, string, default "root")
statusurl
URL for state confirmation.
(optional, string, no default)
max_stop_time
Number of seconds to wait during a stop before drastic measures (force kill) are used on the tomcat process. This number MUST be less
than your cluster stop timeout for the resource. The default value is five seconds before the timeout value of stop operation. When it
is over this value, it stops a process in kill commands. This parameter is only effective on Tomcat 6 or later.
(optional, integer, no default)
java_home
Home directory of Java.
(required, string, no default)
java_opts
Java JVM options used on start and stop.
(optional, string, no default)
catalina_home
Home directory of Tomcat.
(required, string, no default)
catalina_base
Instance directory of Tomcat
(unique, optional, string, no default)
catalina_out
Log file name of Tomcat
(unique, optional, string, no default)
catalina_pid
A PID file name for Tomcat.
(unique, optional, string, no default)
tomcat_start_script
Absolute path to the custom tomcat start script to use.
(optional, string, no default)
tomcat_start_opts
Tomcat start options.
(optional, string, no default)
catalina_opts
Catalina options, for the start operation only.
(optional, string, no default)
catalina_tmpdir
Temporary directory of Tomcat
(unique, optional, string, no default)
catalina_rotate_log
Rotate catalina.out flag.
(optional, boolean, default NO)
catalina_rotatetime
catalina.out rotation interval (seconds).
(optional, integer, no default)
java_endorsed_dirs
Java_endorsed_dirs of tomcat
(unique, optional, string, no default)
logging_config
Logging_config of tomcat
(unique, optional, string, no default)
logging_manager
Logging_manager of tomcat
(unique, optional, string, no default)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 60s.
stop
Stops the resource. Suggested minimum timeout: 120s.
status
Performs a status check. Suggested minimum timeout: 60.
monitor
Performs a detailed status check. Suggested minimum timeout: 30s. Suggested interval: 10s.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 5.
EXAMPLE
The following is an example configuration for a tomcat resource using the crm(8) shell:
primitive p_tomcat ocf:heartbeat:tomcat
params
java_home=string
catalina_home=string
op monitor depth="0" timeout="30s" interval="10s"
SEE ALSO
http://www.linux-ha.org/wiki/tomcat_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents UNKNOWN 06/09/2014 OCF_HEARTBEAT_TOMCAT(7)