You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Carlos de la Flor <li...@lpis.com> on 2001/03/01 22:45:47 UTC

where in tomcat4b1 the general classes?

my all virtual domains are in /home/users
the tomcat home is in /opt/tomcat
in the tomcat 3.2.1 in the TOMCAT_HOME i have a directory (its name is
classes) and i put in this directory the all classes (*.class files) for my
all virtual domains
i try to make this in tomcat 4b1 and the classes (*.class) aren't found.
isn't this method posible with the tomcat 4b1?
how can i put in one only place the classes (*.class files) for reading from
any virtual domain?
thanks
Carlos

Please i need a answer, i have a great problem with this.
thanks
Carlos


Re: where in tomcat4b1 the general classes? and II

Posted by Carlos <li...@lpis.com>.
you say me to put the general classes in the ROOT/WEB-INF/classes
but if i have several virtual domains
/home/virtualdomains/virtualdomain1...virtualdomain2.....
and the tomcat is in /usr/local/tomcat/webapps/ROOT.....
i want to have a place tu put for all virtual domains the general classes,
is this posible?
i must tu go in the webapps/ROOT/WEB-INF/classes?
thanks
i hope you answer
Carlos
----- Original Message -----
From: "Craig R. McClanahan" <Cr...@eng.sun.com>
To: <to...@jakarta.apache.org>
Sent: Tuesday, March 06, 2001 5:06 AM
Subject: Re: where in tomcat4b1 the general classes?


> Carlos de la Flor wrote:
>
> > there is not other method?
> > if i put a new class (once a new jar) i must restart the tomcat.........
> > thanks
> > Carlos
> >
>
> Your other option is to put the class files (unpacked) underneath
> WEB-INF/classes.  If you configure your web application to auto-reload
> (see the
> <Context> for the "/examples" web app in "conf/server.xml"), Tomcat will
> automatically reload your web application when classes are changed.
>
> Craig McClanahan
>
>
> >
> > ----- Original Message -----
> > From: "Craig R. McClanahan" <Cr...@eng.sun.com>
> > To: <to...@jakarta.apache.org>
> > Sent: Friday, March 02, 2001 9:25 PM
> > Subject: Re: where in tomcat4b1 the general classes?
> >
> > > Carlos de la Flor wrote:
> > >
> > > > my all virtual domains are in /home/users
> > > > the tomcat home is in /opt/tomcat
> > > > in the tomcat 3.2.1 in the TOMCAT_HOME i have a directory (its name
is
> > > > classes) and i put in this directory the all classes (*.class files)
for
> > my
> > > > all virtual domains
> > > > i try to make this in tomcat 4b1 and the classes (*.class) aren't
found.
> > > > isn't this method posible with the tomcat 4b1?
> > > > how can i put in one only place the classes (*.class files) for
reading
> > from
> > > > any virtual domain?
> > > > thanks
> > > > Carlos
> > > >
> > >
> > > Put them in a JAR file underneath the "lib" directory.
> > >
> > > >
> > > > Please i need a answer, i have a great problem with this.
> > > > thanks
> > > > Carlos
> > > >
> > >
> > > Craig McClanahan
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, email: tomcat-user-help@jakarta.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, email: tomcat-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
>
>


Re: where in tomcat4b1 the general classes?

Posted by Carlos <li...@lpis.com>.
thanks
several questions:
where you say auto-reloadable do you want to say:
reloadable="true">
??

is posible with the tomcat 4b1 to put several tomcat virtual machines for
several virtual domains? my intention is for several domains to put several
tomcat virtual machines in this way if a tomcat virtual machine crash
(shutdown) the rest of virtual machines continue running.
is this posible?
thanks
Carlos



----- Original Message -----
From: "Craig R. McClanahan" <Cr...@eng.sun.com>
To: <to...@jakarta.apache.org>
Sent: Tuesday, March 06, 2001 5:06 AM
Subject: Re: where in tomcat4b1 the general classes?


> Carlos de la Flor wrote:
>
> > there is not other method?
> > if i put a new class (once a new jar) i must restart the tomcat.........
> > thanks
> > Carlos
> >
>
> Your other option is to put the class files (unpacked) underneath
> WEB-INF/classes.  If you configure your web application to auto-reload
> (see the
> <Context> for the "/examples" web app in "conf/server.xml"), Tomcat will
> automatically reload your web application when classes are changed.
>
> Craig McClanahan
>
>
> >
> > ----- Original Message -----
> > From: "Craig R. McClanahan" <Cr...@eng.sun.com>
> > To: <to...@jakarta.apache.org>
> > Sent: Friday, March 02, 2001 9:25 PM
> > Subject: Re: where in tomcat4b1 the general classes?
> >
> > > Carlos de la Flor wrote:
> > >
> > > > my all virtual domains are in /home/users
> > > > the tomcat home is in /opt/tomcat
> > > > in the tomcat 3.2.1 in the TOMCAT_HOME i have a directory (its name
is
> > > > classes) and i put in this directory the all classes (*.class files)
for
> > my
> > > > all virtual domains
> > > > i try to make this in tomcat 4b1 and the classes (*.class) aren't
found.
> > > > isn't this method posible with the tomcat 4b1?
> > > > how can i put in one only place the classes (*.class files) for
reading
> > from
> > > > any virtual domain?
> > > > thanks
> > > > Carlos
> > > >
> > >
> > > Put them in a JAR file underneath the "lib" directory.
> > >
> > > >
> > > > Please i need a answer, i have a great problem with this.
> > > > thanks
> > > > Carlos
> > > >
> > >
> > > Craig McClanahan
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, email: tomcat-user-help@jakarta.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, email: tomcat-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
>
>


Re: where in tomcat4b1 the general classes?

Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
Carlos de la Flor wrote:

> there is not other method?
> if i put a new class (once a new jar) i must restart the tomcat.........
> thanks
> Carlos
>

Your other option is to put the class files (unpacked) underneath
WEB-INF/classes.  If you configure your web application to auto-reload
(see the
<Context> for the "/examples" web app in "conf/server.xml"), Tomcat will
automatically reload your web application when classes are changed.

Craig McClanahan


>
> ----- Original Message -----
> From: "Craig R. McClanahan" <Cr...@eng.sun.com>
> To: <to...@jakarta.apache.org>
> Sent: Friday, March 02, 2001 9:25 PM
> Subject: Re: where in tomcat4b1 the general classes?
>
> > Carlos de la Flor wrote:
> >
> > > my all virtual domains are in /home/users
> > > the tomcat home is in /opt/tomcat
> > > in the tomcat 3.2.1 in the TOMCAT_HOME i have a directory (its name is
> > > classes) and i put in this directory the all classes (*.class files) for
> my
> > > all virtual domains
> > > i try to make this in tomcat 4b1 and the classes (*.class) aren't found.
> > > isn't this method posible with the tomcat 4b1?
> > > how can i put in one only place the classes (*.class files) for reading
> from
> > > any virtual domain?
> > > thanks
> > > Carlos
> > >
> >
> > Put them in a JAR file underneath the "lib" directory.
> >
> > >
> > > Please i need a answer, i have a great problem with this.
> > > thanks
> > > Carlos
> > >
> >
> > Craig McClanahan
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, email: tomcat-user-help@jakarta.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org

Re: where in tomcat4b1 the general classes?

Posted by Carlos de la Flor <li...@lpis.com>.
there is not other method?
if i put a new class (once a new jar) i must restart the tomcat.........
thanks
Carlos

----- Original Message -----
From: "Craig R. McClanahan" <Cr...@eng.sun.com>
To: <to...@jakarta.apache.org>
Sent: Friday, March 02, 2001 9:25 PM
Subject: Re: where in tomcat4b1 the general classes?


> Carlos de la Flor wrote:
>
> > my all virtual domains are in /home/users
> > the tomcat home is in /opt/tomcat
> > in the tomcat 3.2.1 in the TOMCAT_HOME i have a directory (its name is
> > classes) and i put in this directory the all classes (*.class files) for
my
> > all virtual domains
> > i try to make this in tomcat 4b1 and the classes (*.class) aren't found.
> > isn't this method posible with the tomcat 4b1?
> > how can i put in one only place the classes (*.class files) for reading
from
> > any virtual domain?
> > thanks
> > Carlos
> >
>
> Put them in a JAR file underneath the "lib" directory.
>
> >
> > Please i need a answer, i have a great problem with this.
> > thanks
> > Carlos
> >
>
> Craig McClanahan
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
>
>


Re: where in tomcat4b1 the general classes?

Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
Carlos de la Flor wrote:

> my all virtual domains are in /home/users
> the tomcat home is in /opt/tomcat
> in the tomcat 3.2.1 in the TOMCAT_HOME i have a directory (its name is
> classes) and i put in this directory the all classes (*.class files) for my
> all virtual domains
> i try to make this in tomcat 4b1 and the classes (*.class) aren't found.
> isn't this method posible with the tomcat 4b1?
> how can i put in one only place the classes (*.class files) for reading from
> any virtual domain?
> thanks
> Carlos
>

Put them in a JAR file underneath the "lib" directory.

>
> Please i need a answer, i have a great problem with this.
> thanks
> Carlos
>

Craig McClanahan