Here is a walk through on setting tomcat and Apache HTTP with catalina base
instances.
http://buzzterrier.blogspot.com/2008/08/apache-tomcat-apache-webserver.html
edponce wrote:
I know this question has been asked a lot but I've read different
solutions depending on the needs of the
that is on windows... I am working on linux via ssh! I dont have anything
installed on my PC...
David Smith-2 wrote:
If you installed tomcat using the .exe installer, go get the .zip
download and grab the service.bat file from it's bin directory. If you
installed .zip version of
ive created this start script in the /usr/bin/ folder...what i did is
modified the previous path of the original tomcat instance to the new one...
wich was /etc/tomcat5 (where i have the catalina policies and jkproperties,
etc) for /etc/tomcat5-testbut that raised other questions should i be
[EMAIL PROTECTED] rc5.d]# tomcat5-test start
-bash: /usr/bin/tomcat5-test: Permission denied
You need to add the execute privilege to your tomcat5-test script. Take
a look at the man page for chmod.
...
wich was /etc/tomcat5 (where i have the catalina policies and jkproperties,
etc) for
is that something like this...
ln -s /etc/tomcat5-test S71tomcat5-test?
David Smith-2 wrote:
[EMAIL PROTECTED] rc5.d]# tomcat5-test start
-bash: /usr/bin/tomcat5-test: Permission denied
You need to add the execute privilege to your tomcat5-test script. Take
a look at the man page
david...
my only problem now is
[EMAIL PROTECTED] ~]# tomcat5-test start
In the config file
Starting tomcat5-test: [ FAILED ]
i cant find what is the problem in the config file? any ideas?
David Smith-2 wrote:
[EMAIL PROTECTED] rc5.d]#
ive duplicated my folder...modified the specif files created a script for
starting up the 2nd instance and when i start it i get this error, but cant
debut it... any ideas anybody?
[EMAIL PROTECTED] ~]# tomcat5-test start
In the config file
Starting tomcat5-test:
Tom, ive done everything as youve indicated and when i run my script i get
this error that cant debug, any ideas?
[EMAIL PROTECTED] ~]# tomcat5-test start
In the config file
Starting tomcat5-test: [ FAILED ]
this is my script
Anything in catalina.out related to the failed startup?
--David
edponce wrote:
david...
my only problem now is
[EMAIL PROTECTED] ~]# tomcat5-test start
In the config file
Starting tomcat5-test: [ FAILED ]
i cant find what is the problem in the
just that
-sh: line 0: export: `In the config file': not a valid identifier
/bin/bash: /usr/bin/tomcat5-test: Permission denied
-sh: line 0: export: `In the config file': not a valid identifier
/bin/bash: /usr/bin/tomcat5-test: Permission denied
David Smith-2 wrote:
Anything in
This error looks like an error in your shell script. Maybe someone else
can offer up some help with this. I use jsvc in my environment.
--David
edponce wrote:
just that
-sh: line 0: export: `In the config file': not a valid identifier
/bin/bash: /usr/bin/tomcat5-test: Permission denied
make sure you have the full path for bash on the first line
you have
#!/bin/bash
i have
#!/usr/bin/bash
also..
set -vset -o verbosePrints shell input lines as they are read.set -xset -o
xtracePrint command traces before executing command.
take every opportunity to debug your bash script with
DAvid
I am on windows, but i connect to the server via ssh so all the commands are
just like in Linux.
I've tried tomcat5 start, but i think that just works for the original
tomcat, also, how can i check that when i start the 2nd instsance of tomcat
it start with no errors.
Thank you
Eduardo
If you installed tomcat using the .exe installer, go get the .zip
download and grab the service.bat file from it's bin directory. If you
installed .zip version of tomcat, you should have a file in the bin
directory named service.bat. Service.bat can help you create new tomcat
services in the
Tom,
ive created this start script...what i did is modified the previous path of
the original tomcat instance to the new one... wich was /etc/tomcat5 (where
i have the catalina policies and jkproperties, etc) for /etc/tomcat5but
that raised other questions should i be duplicating that folder
Tom,
Thanks for the aclarations and I just have one last question. How do I start
the second instance withough affecting the 1st one? becuase if i do tomcat5
start/stop that will kill both instances right?
Thank you,
Eduardo
Thomas Haines-2 wrote:
Hi edponce
so if i understood everything
one last question tom, do i need to rename the other tomcat5 archives to
whatever name I choose for my 2nd instance.
Eduardo
edponce wrote:
Tom,
Thanks for the aclarations and I just have one last question. How do I
start the second instance withough affecting the 1st one? becuase if i do
David,
Thanks for replying. I've duplicated my tomcat folder and renamed it and ive
changed the 2 connector and the server shut down port. But i dunno how
to start the duplicate instance. how can i do that!
Thank you,
Eduardo
David Smith-2 wrote:
Can any one please guide me on the correct
Ok ... forgive me if this was posted already, but what OS do you have
and how are you starting the production instance? Windows systems
starting the production tomcat as a service is different than Linux/Unix
systems starting tomcat with jsvc or a service script.
--David
edponce wrote:
Hi edponce
so if i understood everything i just need to duplicate the tomcat
folder, do i need to rename it or something?
Yes, you just need to duplicate it. You can call the duplicate folder
whatever you like.
Then On the duplicated tomcat
directory, you need to edit the server.xml
Thank you Tom, I think the other repliers were going to far on what they
wanted to do. this exactly why i want 2 different sessions, It can also be
useful for evaluating a new
version before you unleash it to production. so if i understood everything
i just need to duplicate the tomcat folder,
Can any one please guide me on the correct direction so that i don't
mess up
anything! I've never worked with Tomcat that is why i have no idea on
how to
do it.
Yes. Just open the server.xml file in tomcat's conf directory and look
for the Connector ... / elements that aren't wrapped in xml
On Thu, Aug 21, 2008 at 02:31:41AM +0200, André Warnier wrote:
Markus Schönhaber wrote:
[snip]
Furthermore, if I understand the OP's statement above correctly, he wants
to be able to restart the development Tomcat without affecting the
production Tomcat. That's not possible with either of
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ed,
edponce wrote:
I know this question has been asked a lot but I've read different solutions
depending on the needs of the problem. I need to have 2 instances of tomcat
on the same server for the same application. One would be for production and
I know this question has been asked a lot but I've read different solutions
depending on the needs of the problem. I need to have 2 instances of tomcat
on the same server for the same application. One would be for production and
the other for development (which can be start and stopped whenever
edponce wrote:
I know this question has been asked a lot but I've read different solutions
depending on the needs of the problem. I need to have 2 instances of tomcat
on the same server for the same application. One would be for production and
the other for development (which can be start and
André Warnier wrote:
edponce wrote:
I know this question has been asked a lot but I've read different
solutions
depending on the needs of the problem. I need to have 2 instances of
tomcat
on the same server for the same application. One would be for
production and
the other for development
André Warnier wrote:
edponce wrote:
depending on the needs of the problem. I need to have 2 instances of
tomcat
on the same server for the same application. One would be for
production and
the other for development (which can be start and stopped whenever
without
affecting the production
Markus Schönhaber wrote:
André Warnier wrote:
edponce wrote:
depending on the needs of the problem. I need to have 2 instances of
tomcat
on the same server for the same application. One would be for
production and
the other for development (which can be start and stopped whenever
without
edponce wrote:
I know this question has been asked a lot but I've read different
solutions
depending on the needs of the problem. I need to have 2 instances
of tomcat
on the same server for the same application. One would be for
production and
the other for development (which can be start
30 matches
Mail list logo