You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by rajini maski <ra...@gmail.com> on 2011/02/22 12:15:37 UTC

Configure 2 or more Tomcat instances.

                   I have a tomcat6.0 instance running in my system, with
connector port-8090, shutdown port -8005 ,AJP/1.3  port-8009 and redirect
port-8443  in server.xml (path = C:\Program Files\Apache Software
Foundation\Tomcat 6.0\conf\server.xml)

                   How do I configure one more independent tomcat instance
in the same system..? I went through many sites.. but couldn't fix
this. If anyone one know the proper configuration steps please reply..

Regards,
Rajani Maski

Re: Configure 2 or more Tomcat instances.

Posted by Jonathan DeMello <jo...@itp.com>.
Hey Rajani,

>From what I've seen, you just need to copy the Tomcat folder and change the
following ports in server.xml: shutdown, connector,ajp. Then you can start
them up independently.

Regards,

Jonathan


On Tue, Feb 22, 2011 at 3:15 PM, rajini maski <ra...@gmail.com> wrote:

>                   I have a tomcat6.0 instance running in my system, with
> connector port-8090, shutdown port -8005 ,AJP/1.3  port-8009 and redirect
> port-8443  in server.xml (path = C:\Program Files\Apache Software
> Foundation\Tomcat 6.0\conf\server.xml)
>
>                   How do I configure one more independent tomcat instance
> in the same system..? I went through many sites.. but couldn't fix
> this. If anyone one know the proper configuration steps please reply..
>
> Regards,
> Rajani Maski
>

Re: Configure 2 or more Tomcat instances.

Posted by rajini maski <ra...@gmail.com>.
          I created 2 tomcat instances. With respective folders tomcat0
tomcat1
And server xml edited with the different port numbers respecitvely(all the 3
ports).
Now when I am tryin to connect .. http://localhost:8090/   or
http://localhost:8091/
webpage failed to open in both the cases.  Is there something else that i
need to do?

          While I am trying to run the bootstrap.jar (present in
//tomcat/bin/) through command prompt. I am getting an error -

Run command:
C:\Program Files\Apache Software Foundation\tomcat6.0\bin>java -jar
bootstrap.ja
r
Exception in thread "main" java.lang.UnsupportedClassVersionError:
org/apache/ca
talina/startup/Bootstrap (Unsupported major.minor version 49.0)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)

Any idea why this error ?  I have jdk1.6.0_02  and tomcat 6 version set up..


Regards
Rajani Maski




On Tue, Feb 22, 2011 at 7:53 PM, Paul Libbrecht <pa...@hoplahup.net> wrote:

> Rajini,
>
> you need to make the (~3) ports defined in conf/server.xml different.
>
> paul
>
>
> Le 22 févr. 2011 à 12:15, rajini maski a écrit :
>
> >                   I have a tomcat6.0 instance running in my system, with
> > connector port-8090, shutdown port -8005 ,AJP/1.3  port-8009 and redirect
> > port-8443  in server.xml (path = C:\Program Files\Apache Software
> > Foundation\Tomcat 6.0\conf\server.xml)
> >
> >                   How do I configure one more independent tomcat instance
> > in the same system..? I went through many sites.. but couldn't fix
> > this. If anyone one know the proper configuration steps please reply..
> >
> > Regards,
> > Rajani Maski
>
>

Re: Configure 2 or more Tomcat instances.

Posted by Paul Libbrecht <pa...@hoplahup.net>.
Rajini,

you need to make the (~3) ports defined in conf/server.xml different.

paul


Le 22 févr. 2011 à 12:15, rajini maski a écrit :

>                   I have a tomcat6.0 instance running in my system, with
> connector port-8090, shutdown port -8005 ,AJP/1.3  port-8009 and redirect
> port-8443  in server.xml (path = C:\Program Files\Apache Software
> Foundation\Tomcat 6.0\conf\server.xml)
> 
>                   How do I configure one more independent tomcat instance
> in the same system..? I went through many sites.. but couldn't fix
> this. If anyone one know the proper configuration steps please reply..
> 
> Regards,
> Rajani Maski