You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Siebenmann, Joe" <jo...@inciscent.com> on 2000/12/20 16:49:36 UTC
problems running Tomcat 3.2.1 as Service..
We are running the latest Tomcat 3.2.1 and, using "NT-Service-howto.html",
installed it as a Service. AJP12 support
is enabled using the default port 8007. We are using Windows 2000. After
the service is started and you LogOff
the Service does not start back up ( with "Startup Type" set to "Automatic"
). Any suggestions on how we can fix this?
Thanks,
Joe Siebenmann
Inciscent
Re: Libs and classes are missing in 3.2.1 continue
Posted by Mauricio Nuñez <mn...@maxmedia.cl>.
Ok!
Tomcat no work with classes under the web application lib directory. You
must to compress in a jar your classes
----- Original Message -----
From: "Andrew" <as...@ezan.ac.ru>
To: <to...@jakarta.apache.org>
Sent: Wednesday, December 20, 2000 3:04 PM
Subject: Re: Libs and classes are missing in 3.2.1 continue
> This doesn't work I'm talking about libs/classes in web applications
but
> not tomcat lib dir.Tomcat must take these libs/classes from predefined
> places in .WAR dir structure
> as Servlet WebApp conformant and 3.1 did it but 3.2- not.
> Thanks anywhere...
>
> P.S. I'm using W2K platform(tomcat.BAT I mean though that's no
difference;)
>
>
> ----- Original Message -----
> From: "Mauricio Nuñez" <mn...@maxmedia.cl>
> To: <to...@jakarta.apache.org>
> Sent: Wednesday, December 20, 2000 8:06 PM
> Subject: Re: Libs and classes are missing in 3.2.1
>
>
> > I modified the tomcat.sh to solve this problem.
> >
> > search for unset CLASSPATH, and after this, add
> > CLASSPATH=${TOMCAT_HOME}/lib
> >
> >
> > this solve your problem !
> >
> >
> > ----- Original Message -----
> > From: "Andrew" <as...@ezan.ac.ru>
> > To: <to...@jakarta.apache.org>
> > Sent: Wednesday, December 20, 2000 1:18 PM
> > Subject: Libs and classes are missing in 3.2.1
> >
> >
> > > Hello, I've the following problem. I've set up my context in
c:\a\b
> > and
> > > place my libs in c:\a\b\WEB-INF\lib dir;classes is in
> > > c:\a\b\WEB-INF\classes.
> > > So there is the problem not libs not classes not detected in web-app
> > > runtime( Root exception: ClassNotFoundException).In case of classes I
> mean
> > > bean classes used
> > > on JSP etc.- supply classes(not jar'ed) ,defined in different
packages.
> > For
> > > example c:\a\b\WEB-INF\classes\package1\class1.class.
> > > class1.class couldn't be found... all the same with packaged lib
> classes.
> > > Anybody help!!!
> > > P.S. With tomcat 3.1 all was OK.
> > >
> >
> >
>
Re: Libs and classes are missing in 3.2.1 continue
Posted by Andrew <as...@ezan.ac.ru>.
This doesn't work I'm talking about libs/classes in web applications but
not tomcat lib dir.Tomcat must take these libs/classes from predefined
places in .WAR dir structure
as Servlet WebApp conformant and 3.1 did it but 3.2- not.
Thanks anywhere...
P.S. I'm using W2K platform(tomcat.BAT I mean though that's no difference;)
----- Original Message -----
From: "Mauricio Nuñez" <mn...@maxmedia.cl>
To: <to...@jakarta.apache.org>
Sent: Wednesday, December 20, 2000 8:06 PM
Subject: Re: Libs and classes are missing in 3.2.1
> I modified the tomcat.sh to solve this problem.
>
> search for unset CLASSPATH, and after this, add
> CLASSPATH=${TOMCAT_HOME}/lib
>
>
> this solve your problem !
>
>
> ----- Original Message -----
> From: "Andrew" <as...@ezan.ac.ru>
> To: <to...@jakarta.apache.org>
> Sent: Wednesday, December 20, 2000 1:18 PM
> Subject: Libs and classes are missing in 3.2.1
>
>
> > Hello, I've the following problem. I've set up my context in c:\a\b
> and
> > place my libs in c:\a\b\WEB-INF\lib dir;classes is in
> > c:\a\b\WEB-INF\classes.
> > So there is the problem not libs not classes not detected in web-app
> > runtime( Root exception: ClassNotFoundException).In case of classes I
mean
> > bean classes used
> > on JSP etc.- supply classes(not jar'ed) ,defined in different packages.
> For
> > example c:\a\b\WEB-INF\classes\package1\class1.class.
> > class1.class couldn't be found... all the same with packaged lib
classes.
> > Anybody help!!!
> > P.S. With tomcat 3.1 all was OK.
> >
>
>
Re: Libs and classes are missing in 3.2.1
Posted by Mauricio Nuñez <mn...@maxmedia.cl>.
I modified the tomcat.sh to solve this problem.
search for unset CLASSPATH, and after this, add
CLASSPATH=${TOMCAT_HOME}/lib
this solve your problem !
----- Original Message -----
From: "Andrew" <as...@ezan.ac.ru>
To: <to...@jakarta.apache.org>
Sent: Wednesday, December 20, 2000 1:18 PM
Subject: Libs and classes are missing in 3.2.1
> Hello, I've the following problem. I've set up my context in c:\a\b
and
> place my libs in c:\a\b\WEB-INF\lib dir;classes is in
> c:\a\b\WEB-INF\classes.
> So there is the problem not libs not classes not detected in web-app
> runtime( Root exception: ClassNotFoundException).In case of classes I mean
> bean classes used
> on JSP etc.- supply classes(not jar'ed) ,defined in different packages.
For
> example c:\a\b\WEB-INF\classes\package1\class1.class.
> class1.class couldn't be found... all the same with packaged lib classes.
> Anybody help!!!
> P.S. With tomcat 3.1 all was OK.
>
Libs and classes are missing in 3.2.1
Posted by Andrew <as...@ezan.ac.ru>.
Hello, I've the following problem. I've set up my context in c:\a\b and
place my libs in c:\a\b\WEB-INF\lib dir;classes is in
c:\a\b\WEB-INF\classes.
So there is the problem not libs not classes not detected in web-app
runtime( Root exception: ClassNotFoundException).In case of classes I mean
bean classes used
on JSP etc.- supply classes(not jar'ed) ,defined in different packages. For
example c:\a\b\WEB-INF\classes\package1\class1.class.
class1.class couldn't be found... all the same with packaged lib classes.
Anybody help!!!
P.S. With tomcat 3.1 all was OK.
Re: problems running Tomcat 3.2.1 as Service..
Posted by Jacob Kjome <ja...@syntegra.com>.
Check the archives of this list. it's been said a thousand times, but here
goes once more.
This is a known bug in JDK 1.3. You can avoid this by using JDK 1.2 or by
using another NT Service manager such as:
Logoff bug fixed for next iteration of JDK 1.3
http://developer.java.sun.com/developer/bugParade/bugs/4323062.html
ALSO, another alternative Sun recommends in the meantime
http://www.kcmultimedia.com/javaserv/
http://www.alexandriasc.com/software/JavaService/
Jake
At 10:49 AM 12/20/2000 -0500, you wrote:
>We are running the latest Tomcat 3.2.1 and, using "NT-Service-howto.html",
>installed it as a Service. AJP12 support
>is enabled using the default port 8007. We are using Windows 2000. After
>the service is started and you LogOff
>the Service does not start back up ( with "Startup Type" set to "Automatic"
>). Any suggestions on how we can fix this?
>
>Thanks,
>
>Joe Siebenmann
>Inciscent
>