Multiple instance in tomcat


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Multiple instance in tomcat
# 1  
Old 07-21-2011
Multiple instance in tomcat

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 server.xml for each instance.I didn't get the mod_jk1.2 bin file.

Can anyone please instruct the step by step procedure to install multiple instances of tomcat in a server?

Last edited by tuxslonik; 07-21-2011 at 09:41 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

Configuring mysql for multiple instance only

Hello. I plan to use mysql with only instance database so I can stop one database for maintenance without stopping every thing. When one reads through the my.cnf config file, it is not clear if we must use at the same time a single database mysql plus any instances mysqld2 (for app1), mysqld3... (1 Reply)
Discussion started by: jcdole
1 Replies

2. Solaris

Tomcat..Unable to deploy application remotely in tomcat

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. Shell Programming and Scripting

A script that spawns multiple instance of itself.

Hi all,I have some questions of forking new process,the code is below.Any help will be appreciated. 1 #! /bin/bash 2 3 PIDS=$(pidof sh $0) 4 P_array=( $PIDS ) 5 echo $PIDS 6 let "instances = ${#P_array}-1" 7 8 echo "$instances instance(s)" of this script running." 9... (4 Replies)
Discussion started by: homeboy
4 Replies

4. UNIX for Advanced & Expert Users

Multiple Instance of Unix Shell Script

Hi All, I have a problem mentioned below. I have a script which performs line by line operations on several files. I have a temp_file storing the list of names of the file to be validated. Right not in while loop i validate these files one by one. Is there anyway that i can modify... (1 Reply)
Discussion started by: amitaryans
1 Replies

5. Shell Programming and Scripting

Monitoring Tomcat Instance using shell script

Hello Forum, I have prepared script to monitor the tomcat status. Following is the script which will monitor tomcat instance.I need little modifcation in the script. My script will grep for java,the output of grep command will analyze by if condition under for loop and will send following echo... (7 Replies)
Discussion started by: coolguyamy
7 Replies

6. Shell Programming and Scripting

Help with multiple instance script checking

I am trying to debug the following script. It appears that when the check for script running occurs, it's finding the actual grep statement and causing the script believe the script is already running. This is deployed on two different servers where one works fine, the other doesn't. Any ideas? ... (2 Replies)
Discussion started by: DaddyMoose
2 Replies

7. Web Development

Allow multiple users to start/stop tomcat

Hi, I have the user who runs tomcat: tomcat:tomcats I want to have another user who will be able to start and stop tomcat process. Is this possible? Thanks, Bianca (1 Reply)
Discussion started by: potro
1 Replies

8. UNIX for Advanced & Expert Users

Multiple Instance Of Same Process

Hi Everyone, I am using solaris 5.10. I have a java process running in server mode in unix. The problem is that it automatically forks i.e creates a child process. I mean suddenly two instances of that process start running , in which the process-id of first instance is the parent... (5 Replies)
Discussion started by: glamo_2312
5 Replies

9. UNIX for Dummies Questions & Answers

Multiple instance of same process

;)Hi Everyone, I am using solaris 5.10. I have a java process running in server mode in unix. The problem is that it automatically forks i.e creates a child process. I mean suddenly two instances of that process start running , in which the process-id of first instance is the parent... (0 Replies)
Discussion started by: glamo_2312
0 Replies

10. Shell Programming and Scripting

Multiple PHP sessions within the same browser instance

Dear all..... I am currently writing a Help-Desk / Knowledge Base application using PHP/PostGreSQL. I authenticate the user using a quite elaborate mechanism of cookies. The problem is that using cookies (I also have a version using sessions with the same problem), I can only seem to get one... (4 Replies)
Discussion started by: zazzybob
4 Replies
Login or Register to Ask a Question
DH_INSTALLZOPEINSTANCE(1)					     Debhelper						 DH_INSTALLZOPEINSTANCE(1)

NAME
dh_installzopeinstance - install a zope instance into package build directories SYNOPSIS
dh_installzopeinstance [debhelper options] [-n] [instance name] DESCRIPTION
dh_installzopeinstance is a debhelper program that is responsible for installing zope instances into package build directories. The argument is interpreted as zope instance and will be created within the first package dh_installzopeinstance is told to act on. By default, this is the first binary package in debian/control, but if you use -p, -i, or -a flags, it will be the first package specified by those flags. dh_installzopeinstance automatically install debian/dzinstance if it exists. If dh_installzopeinstance is acting on multiple packages, debian/dzinstance file will be installed into the first package. Use debian/package.dzinstance for different binary packages. The substitution variable zope:Depends is replaced by a list of the available zope versions. OPTIONS
-n, --noscripts Do not modify postinst/prerm scripts. instance name This parameter will be considered as an instance name which will be installed into the first package acted on. EXAMPLES
This is an example of a debian/package.dzinstance file: Package: plone-site ZopeVersion: 2.9 Name: plone-site Addon-Mode: manual Addon-Technique: tree-linked Restart-Policy: end Products: CMFPlone Skeleton: /usr/lib/zope2.9/skel-with-magic The Products field specify a list of comma separated products that will be automatically installed into the instance. Obviously, it has no sense if the Addon-Mode field contains 'all'. The optional Skeleton field specifies a path which is used as skeleton for the new zope instance. NOTES
Note that this command is not idempotent. "dh_clean -k" should be called between invocations of this command. Otherwise, it may cause multiple instances of the same text to be added to maintainer scripts. SEE ALSO
debhelper(7) This program is a part of zope-debhelper. AUTHOR
Fabio Tranchitella <kobold@debian.org> Bernd Zeimetz <bernd@bzed.de> 0.3.15 2011-06-21 DH_INSTALLZOPEINSTANCE(1)