hi,

It was typig mistake, here is the original,
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
You have mail.
zone12$ su -zone12
Usage: su [-] [ username [ arg ... ] ]
zone12$ su - zone12

Password:
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
zone12$ cd /home/jug-howrah
zone12$ ls
apache-tomcat-6.0.13  homes                 public_html
cgi-bin               logs
zone12$ cd apache-tomcat-6.0.13
zone12$ cd bin
zone12$ JAVA_HOME=/usr/java
zone12$ export JAVA_HOME
zone12$ ./startup.sh
The BASEDIR environment variable is not defined correctly
This environment variable is needed to run this program
zone12$
zone12$ ls
bootstrap.jar         jsvc.tar.gz           tomcat-juli.jar
catalina-tasks.xml    service.bat           tomcat-native.tar.gz
catalina.bat          setclasspath.bat      tomcat6.exe
catalina.sh           setclasspath.sh       tomcat6w.exe
commons-daemon.jar    shutdown.bat          tool-wrapper.bat
cpappend.bat          shutdown.sh           tool-wrapper.sh
digest.bat            startup.bat           version.bat
digest.sh             startup.sh            version.sh
zone12$ CATALINA_HOME=/home/jug-howrah/ apache-tomcat-6.0.13
-bash: apache-tomcat-6.0.13: command not found
zone12$ CATALINA_HOME=/home/jug-howrah/apache-tomcat-6.0.13
zone12$ export CATALINA_HOME
zone12$ ./startup.sh
The BASEDIR environment variable is not defined correctly
This environment variable is needed to run this program
zone12$


On 8/6/07, reno <[EMAIL PROTECTED]> wrote:
>
> On dim, 2007-08-05 at 17:12 +0530, Partha Goswami wrote:
>
> > Hi,
> >
> > I am going to install/start  Tomcat 6x version in solaris 10. Now,
> >
> > I did,
> >
> > # mkdir < path of tomcat dir > log
> > # JAVA_HOME=/usrjava
>
> you may forget a "/" after usr and JAVA_HOME should point to the jre
>
> > #export JAVA_HOME
> > then
> > # CATALINA_HOME=path of tomcat dir
> >
> > # export CATALINA_HOME
> >
> > then,
> > # cd path of tomcat dir /bin
> > #./startup.sh
> >
> >
> > But I am getting follwing error
> >
> > The BASEDIR environment variable is not defined correctly
> > This environment variable is needed to run this program
> >
> >
> > please help..
> >
> > Thanks
>



-- 
Regards
Partha Goswami
Solaris/Open solaris User Group
www.solaris-user-group.org

Reply via email to