You have to define TOMCAT_HOME in /etc/profile

TOMCAT_HOME="$TOMCAT_HOME:/var/jakarta-tomcat-3.2.3/bin"

Where /var/jakarta-tomcat-3.2.3/bin is the location of your installation of Tomcat.

/Lars Nielsen Lind


----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 14, 2001 1:23 PM
Subject: Re: error under Linux


> 
> Hi,
> 
> I think Tomcat will get all necessary CLASSPATH entries himself (the
> install doc said so)?
> What has to be set here before starting Tomcat?
> 
> Thanks,
> 
> Michael Brohl
> 
> 
> 
> 
> 
>                                                                                      
>                              
>                     <agd@vandemata                                                   
>                              
>                     ram.com>             To:     [EMAIL PROTECTED]      
>                              
>                                          cc:                                         
>                              
>                     14.09.2001           Subject:     Re: error under Linux          
>                              
>                     21:03                                                            
>                              
>                     Please respond                                                   
>                              
>                     to tomcat-user                                                   
>                              
>                                                                                      
>                              
>                                                                                      
>                              
> 
> 
> 
> 
> Set the CLASSPATH properly, it will work!
> 
> AGD
> > Hi all,
> >
> > I have installed Tomcat under Linux and set JAVA_HOME, TOMCAT_HOME and
> PATH
> > .
> > When running the examples, I get the following error :
> >
> > Location: /examples/jsp/num/numguess.jsp
> >
> > Internal Servlet Error:
> >
> > java.lang.NoSuchMethodError
> >         at
> >
> org.apache.tomcat.context.ExceptionHandler.doService(DefaultCMSetter.java:289)
> 
> >         at org.apache.tomcat.core.Handler.service(Handler.java:287)
> 
> 
> 
> 
> 
> 

Reply via email to