KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
While running my tomcat the following error is coming . The BASEDIR environment variable is not defined correctly This environment variable is needed to run this program Dec 23, 2009 1:03:22 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=1/41 config=null This is how I set my JAVA_PATH in my bashrc file export JAVA6_HOME=/home/asharma/Softwares/jdk1.6.0_12 export JAVA_HOME=$JAVA6_HOME export JPDA_TRANSPORT=dt_socket export JPDA_ADDRESS=9000 export RESIN_HOME=/home/asharma/Softwares/resin export PATH JAVA_HOME export GDK_NATIVE_WINDOWS=1 export CATALINA_HOME=/home/asharma/Softwares/apache-tomcat-6.0.20 export CATALINA_OPTS="-Dcom.sun.management.jmxremote Dcom.sun.management.jmxremote.port=19000 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false" export CATALINA_OPTS="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9998 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false" alias tstart="$CATALINA_HOME/bin/catalina.sh jpda start -Xmx2000m -Dcom.sun.management.jmxremote.port=9998 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false ; tail -f $CATALINA_HOME/logs/catalina.out" alias tstop="sh $CATALINA_HOME/bin/shutdown.sh" alias minstall='mvn clean install -Dhttps.proxyHost=monitoring01.hyd.int.untd.com -Dhttps.proxyPort=3128' alias resin='sh $RESIN_HOME/bin/httpd.sh -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=12345 -Dcom.sun.management.jmxremote.port=9999 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -verbose -DVPS_HOME=/home/asharma/vps -Xms2000m -Xmx2000m'
Tags (comma-separated)
Save Edits
Cancel