You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by chasee <ja...@yahoo.com> on 2002/11/16 21:12:43 UTC
A long classpath list
Hello all,
the class loader of my tomcat stand-alone server (jakarta4.0.4) has problems finding classes. it gives a java.lang.NoClassDefFoundError.
I checked the classpath environment variable using echo %classpath%. It is properly set. The only thing I have doubt about is my "classpath" is way too long with 20 lines also. (in the command window of a width of 80 chars). Would that affect the behavior of the server in any way?
thanks, Chasee
---------------------------------
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
Re: A long classpath list
Posted by chasee <ja...@yahoo.com>.
Would you please expand your answer? Are you referring to the ms v-j++ project by mentioning a "project"?
Thanks,
Chasee
Nicholas Pappas <pa...@cs.nyu.edu> wrote:As an aside, if you have a development environment that allows you to set a
project's class path individually (i.e. just for the project) you can spare your
classpath environmental variable...
Torsten Fohrer wrote:
> if i remember right, tomcat 4 ignores the classpath.
>
> place classes simply in the (common or shared)/classes
>
> read more under:
>
> http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html
>
> On Saturday 16 November 2002 21:12, chasee wrote:
> >
> > Hello all,
> >
> > the class loader of my tomcat stand-alone server (jakarta4.0.4) has
> > problems finding classes. it gives a java.lang.NoClassDefFoundError.
> >
> > I checked the classpath environment variable using echo %classpath%. It is
> > properly set. The only thing I have doubt about is my "classpath" is way
> > too long with 20 lines also. (in the command window of a width of 80
> > chars). Would that affect the behavior of the server in any way?
> >
> > thanks, Chasee
> >
> >
> >
> > ---------------------------------
> > Do you Yahoo!?
> > Yahoo! Web Hosting - Let the expert host your site
>
> --
> To unsubscribe, e-mail:
> For additional commands, e-mail:
--
Nicholas Pappas
--
To unsubscribe, e-mail:
For additional commands, e-mail:
---------------------------------
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
Re: A long classpath list
Posted by Nicholas Pappas <pa...@cs.nyu.edu>.
As an aside, if you have a development environment that allows you to set a
project's class path individually (i.e. just for the project) you can spare your
classpath environmental variable...
Torsten Fohrer wrote:
> if i remember right, tomcat 4 ignores the classpath.
>
> place classes simply in the (common or shared)/classes
>
> read more under:
>
> http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html
>
> On Saturday 16 November 2002 21:12, chasee wrote:
> >
> > Hello all,
> >
> > the class loader of my tomcat stand-alone server (jakarta4.0.4) has
> > problems finding classes. it gives a java.lang.NoClassDefFoundError.
> >
> > I checked the classpath environment variable using echo %classpath%. It is
> > properly set. The only thing I have doubt about is my "classpath" is way
> > too long with 20 lines also. (in the command window of a width of 80
> > chars). Would that affect the behavior of the server in any way?
> >
> > thanks, Chasee
> >
> >
> >
> > ---------------------------------
> > Do you Yahoo!?
> > Yahoo! Web Hosting - Let the expert host your site
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
Nicholas Pappas
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: A long classpath list
Posted by chasee <ja...@yahoo.com>.
Got you. Thanks, Torsten.
Torsten Fohrer <TF...@t-online.de> wrote:
if i remember right, tomcat 4 ignores the classpath.
place classes simply in the (common or shared)/classes
read more under:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html
On Saturday 16 November 2002 21:12, chasee wrote:
>
> Hello all,
>
> the class loader of my tomcat stand-alone server (jakarta4.0.4) has
> problems finding classes. it gives a java.lang.NoClassDefFoundError.
>
> I checked the classpath environment variable using echo %classpath%. It is
> properly set. The only thing I have doubt about is my "classpath" is way
> too long with 20 lines also. (in the command window of a width of 80
> chars). Would that affect the behavior of the server in any way?
>
> thanks, Chasee
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Web Hosting - Let the expert host your site
--
To unsubscribe, e-mail:
For additional commands, e-mail:
---------------------------------
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
RE: tomcat redirects to default page
Posted by neal <ne...@yahoo.com>.
Yeah, I mean the default page is what you specify it to be right? Ok,
here's what I mean:
I was using BCentral.com and they have a tool for scoring your website
ranking on the major search engines. I typed in my URL (www.myurl.com) and
bCentral came back with a message to the effect of
"Your default page is a redirect page which redirects to
www.myurl.com/index.jsp. Redirects confuse search engines and can hurt your
rankings."
I don't know a great deal about search engines but this was a concern upon
reading it.
That said, I looked through the goole listings for a common topic and saw
that most sites listed the root url without the default page name. With a
lot of web servers such as MS IIS, this is not a problem and so I presume it
to not be a problem with a lot of other servers as well. So I then presume
there must be a way to get Tomcat to behave in line with this preferred
expectation.
Any thoughts?
Thanks!
Neal
-----Original Message-----
From: Carsten Ziegert [mailto:Carsten.Ziegert@ik.fh-hannover.de]
Sent: Monday, November 18, 2002 2:40 AM
To: Tomcat Users List
Subject: Re: tomcat redirects to default page
Neal,
I suppose index.jsp *is* the default page. Welcome pages are
defined in conf/web.xml:
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
But I dont' know if there is a priority specification. You could
either rename the file index.jsp or delete the line from web.xml,
but you'll keep in mind that web.xml is valid for *all* web
applications.
Carsten
Am Montag, 18.11.02, um 11:17 Uhr (Europe/Berlin) schrieb neal:
> Tomcat autmatically redirects from the root url to the defualt page of
> the
> URL:
>
> www.myurl.com -> www.myurl.com/index.jsp
>
> Does anyone know how to prevent it from doing this? I would rather
> that it
> show the default page but not redirect the url to
> www.myurl.com/index.jsp.
>
> Is this possible?
>
> Thanks.
> Neal
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
>
--
Carsten Ziegert
Hannover Medical School, Dept. of Hematology and Oncology
Carl-Neuberg-Straße 1, 30625 Hannover
University of Applied Sciences, Faculty of Information Sciences
Ricklinger Stadtweg 120, 30459 Hannover
http://summit-bmt.fh-hannover.de
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: tomcat redirects to default page
Posted by Carsten Ziegert <Ca...@ik.fh-hannover.de>.
Neal,
I suppose index.jsp *is* the default page. Welcome pages are
defined in conf/web.xml:
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
But I dont' know if there is a priority specification. You could
either rename the file index.jsp or delete the line from web.xml,
but you'll keep in mind that web.xml is valid for *all* web
applications.
Carsten
Am Montag, 18.11.02, um 11:17 Uhr (Europe/Berlin) schrieb neal:
> Tomcat autmatically redirects from the root url to the defualt page of
> the
> URL:
>
> www.myurl.com -> www.myurl.com/index.jsp
>
> Does anyone know how to prevent it from doing this? I would rather
> that it
> show the default page but not redirect the url to
> www.myurl.com/index.jsp.
>
> Is this possible?
>
> Thanks.
> Neal
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
>
--
Carsten Ziegert
Hannover Medical School, Dept. of Hematology and Oncology
Carl-Neuberg-Straße 1, 30625 Hannover
University of Applied Sciences, Faculty of Information Sciences
Ricklinger Stadtweg 120, 30459 Hannover
http://summit-bmt.fh-hannover.de
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
tomcat redirects to default page
Posted by neal <ne...@yahoo.com>.
Tomcat autmatically redirects from the root url to the defualt page of the
URL:
www.myurl.com -> www.myurl.com/index.jsp
Does anyone know how to prevent it from doing this? I would rather that it
show the default page but not redirect the url to www.myurl.com/index.jsp.
Is this possible?
Thanks.
Neal
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: A long classpath list
Posted by Torsten Fohrer <TF...@t-online.de>.
if i remember right, tomcat 4 ignores the classpath.
place classes simply in the (common or shared)/classes
read more under:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html
On Saturday 16 November 2002 21:12, chasee wrote:
>
> Hello all,
>
> the class loader of my tomcat stand-alone server (jakarta4.0.4) has
> problems finding classes. it gives a java.lang.NoClassDefFoundError.
>
> I checked the classpath environment variable using echo %classpath%. It is
> properly set. The only thing I have doubt about is my "classpath" is way
> too long with 20 lines also. (in the command window of a width of 80
> chars). Would that affect the behavior of the server in any way?
>
> thanks, Chasee
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Web Hosting - Let the expert host your site
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>