Hi

I copied the entire folder Tomcat 6.0 at C:\Program Files\Apache Software
Foundation (where tomcat is installed) to Tomcat_instance2 .
(I installed tomcat 6.0.20 using apache-tomcat-6.0.20.exe, it does not
create any startup.bat or shutdown.bat file in bin folder. this installation
creates window service. tomcat6w.exe in turn calls tomcat6.exe)

I have set two environment variables as

CATALINA_HOME=C:\Program Files\Apache Software Foundation\Tomcat 6.0  and
CATALINA_BASE= C:\Program Files\Apache Software Foundation\Tomcat_instance2

Am I missing something? I did read RUNNING.txt it says in bin I should have
setenv.bat. Do i need to create this? What should be written in this bat
file?

regards
kapil

On Wed, Apr 21, 2010 at 5:07 PM, Pid <p...@pidster.com> wrote:

> On 21/04/2010 12:02, Kapil Godara wrote:
> > Hi
> >
> > There is no startup.bat in bin folder. following are the 5 files in bin
> > folder
> >
> > 1.bootstrap.jar
> > 2.tomcat-juli.jar
> > 3.tcnative-1.dll
> > 4.tomcat6.exe
> > 5.tomcat6w.exe
> >
> > Regards
> > kapil
>
> I think you didn't copy the entire installation.
>
> You can run two Tomcat instances from the same installed binary by
> setting separate CATALINA_BASE and CATALINA_HOME environment variables.
>
> See the file: path/to/tomcat/RUNNING.txt
>
>
> p
>
>
> > On Wed, Apr 21, 2010 at 4:29 PM, Mercy <techme...@gmail.com> wrote:
> >
> >> Hi,
> >>
> >>   Please try to execute *startup.bat* in bin folder to startup your
> tomcat
> >> instance.
> >>
> >> Kind regards,
> >> Mercy
> >>
> >>
> >>
> >> Kapil Godara wrote:
> >>
> >>> Hi,
> >>> My requirement: To install Opensso and Policy agent on Tomcat 6.0.20 on
> >>> single windows server. I installed Opensso on default tomcat port 8080
> but
> >>> to install the Poilcy agent I need to create a separate instance of
> tomcat
> >>> on different port say 8081.
> >>>
> >>> My procedure:
> >>>
> >>> Step 1 - Installed tomcat 6.0.20 using apache-tomcat-6.0.20.exe at path
> >>> TOMCAT_HOME=C:\Program Files\Apache Software Foundation\Tomcat 6.0. It
> is
> >>> running fine
> >>> Step 2 - Copied the contents of TOMCAT_HOME to new directory i.e.
> >>> C:\Program
> >>> Files\Apache Software Foundation\Tomcat_instance2 (TOMCAT_HOME2)
> >>> Step 3 - Changed the ports (http, shutdown and ajp connecter ports) in
> >>> server.xml in TOMCAT_HOME2\conf
> >>> Step 4 - Set environmental variable CATALINA_BASE=C:\Program
> Files\Apache
> >>> Software Foundation\Tomcat_instance2 (There is no startup.bat in bin
> >>> folder)
> >>>
> >>> I start the tomcat from TOMCAT_HOME\bin tomcat6w.exe  In browser
> >>> http://localhost:8080/ runs fine but when I use http://localhost:8081it
> >>> does not work.
> >>>
> >>> Can you please help me how to run second instance of Tomcat on separate
> >>> port?
> >>>
> >>> regards
> >>> kapil
> >>>
> >>>
> >>>
> >>
> >>
> >
>
>
>

Reply via email to