• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in setting classpath for Tomcat 5.0.28

 
Naren Chivukula
Ranch Hand
Posts: 577
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a problem when setting the classpath for Tomcat 5.0.28. When I set classpath, I'm getting message like

C:\Documents and Settings\narendc echo The BASEDIR environment variable is not defined
The BASEDIR environment variable is not defined BASEDIR environment variable is not defined

C:\Documents and Settings\narendc echo This environment variable is needed to run this program
This environment variable is needed to run this program

My Tomcat server is running smoothly and even I can run example programs. But when I try to compile, I can't. Show me some light in this issue

Thanks and Regards,
Narendranath
[ April 28, 2005: Message edited by: Naren Chivukula ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65120
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What OS are you running? The path C:\Documents and Settings\ is a Windows path, yet this is the Mac OS forum...
 
Naren Chivukula
Ranch Hand
Posts: 577
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ooops!
Can somebody reflect my question in concerned forum?

Thanks and Regards,
Narendranath
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
moving this to the Tomcat forum, please post your replies there.... thanks!
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat doesn't use your classpath.
It uses JAVA_HOME and CATALINA_HOME.
If you're running more than one instance from the same codebase, then it uses CATALINA_BASE as well.

If you've installed it as a windows service, which it appears that you haven't then it uses registry settings.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read the class-loader-howto.html under webapps/tomcat-docs of your Tomcat installation for all the details of where tomcat looks for classes.
Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic