LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   tomcat install (https://www.linuxquestions.org/questions/linux-software-2/tomcat-install-928578/)

cheltz 02-09-2012 09:21 PM

tomcat install
 
Anyone know how or what to set the $BASEDIR to so that tomcat will startup?
TOMCAT 6.x btw.

Thanks for your help

ghostshell 02-09-2012 09:28 PM

Quote:

Originally Posted by cheltz (Post 4598615)
Anyone know how or what to set the $BASEDIR to so that tomcat will startup?
TOMCAT 6.x btw.

Thanks for your help

i think shld b
export CATALINA_HOME=/*directory where ur tomcat install*

hope it will help and correct me if i was wrong :)

cheltz 02-09-2012 09:48 PM

yes i had /bin in the env variables path ... copy paste error.

thanks

cheltz 02-10-2012 07:05 AM

another snag
 
Catalina.out says this:
/opt/tomcat/apache-tomcat-7.0.25/bin/catalina.sh: line 389: /usr/bin//bin/java: No such file or directory
http://localhost:8080 fails also therefore i would assume tomcat is not running.

Thanks for the help folks ...

cheltz 02-10-2012 07:27 AM

one more step ...
 
I was able to resolve the previous problem yet still cannot et tomcat splash screen on http://localhost:8080

Latest catalina.out error:
SEVERE: Begin event threw error
java.lang.NoClassDefFoundError: org.apache.tomcat.util.modeler.ManagedBean
at this
at that

then:
Caused by: java.lang.ClassNotFoundException: javax.management.modelmbean.ModelMBeanNotificationBroadcaster not found in org.apache.catalina.loader.StandardClassLoader{urls=[file
:/opt/tomcat/apache-tomcat-7.0.25/lib/,file:/opt/tomcat/apache-tomcat-7.0.25/lib/tomcat-coyote.jar,file:/opt/tomcat/apache-tomcat-7.0.25/lib/tomcat-util.jar,file:/opt/tomcat/apa
che-tomcat-7.0.25/lib/tomcat-i18n-ja.jar,file:/opt/tomcat/apache-tomcat-7.0.25/lib/tomcat-api.jar,file:/opt/tomcat/apache-tomcat-7.0.25/lib/catalina-ant.jar,file:/opt/tomcat/apa
che-tomcat-7.0.25/lib/ecj-3.7.1.jar,file:/opt/tomcat/apache-tomcat-7.0.25/lib/jasper.jar,file:/opt/tomcat/apache-tomcat-7.0.25/lib/jsp-api.jar,file:/opt/tomcat/apache-tomcat-7.0


Thanks for any help

ghostshell 02-11-2012 10:36 AM

Quote:

Originally Posted by cheltz (Post 4598932)
I was able to resolve the previous problem yet still cannot et tomcat splash screen on http://localhost:8080

Latest catalina.out error:
SEVERE: Begin event threw error
java.lang.NoClassDefFoundError: org.apache.tomcat.util.modeler.ManagedBean
at this
at that

then:
Caused by: java.lang.ClassNotFoundException: javax.management.modelmbean.ModelMBeanNotificationBroadcaster not found in org.apache.catalina.loader.StandardClassLoader{urls=[file
:/opt/tomcat/apache-tomcat-7.0.25/lib/,file:/opt/tomcat/apache-tomcat-7.0.25/lib/tomcat-coyote.jar,file:/opt/tomcat/apache-tomcat-7.0.25/lib/tomcat-util.jar,file:/opt/tomcat/apa
che-tomcat-7.0.25/lib/tomcat-i18n-ja.jar,file:/opt/tomcat/apache-tomcat-7.0.25/lib/tomcat-api.jar,file:/opt/tomcat/apache-tomcat-7.0.25/lib/catalina-ant.jar,file:/opt/tomcat/apa
che-tomcat-7.0.25/lib/ecj-3.7.1.jar,file:/opt/tomcat/apache-tomcat-7.0.25/lib/jasper.jar,file:/opt/tomcat/apache-tomcat-7.0.25/lib/jsp-api.jar,file:/opt/tomcat/apache-tomcat-7.0


Thanks for any help

the class loader cant find this >>> javax.management.modelmbean.ModelMBeanNotificationBroadcaster
could it be some .jar file needed is missing ? guess u need link or import that jar file or download it if u dun hav it

cheltz 02-12-2012 07:46 AM

Got it! Thanks folks for the help.
Actually all I did was point to a different java version which apparently had the jar files it was looking for.
I have so many version of java maybe I pointed to the wrong path in JAVA_HOME.
Not really sure but it works now.

Thanks a ton ..

ghostshell 02-12-2012 08:03 AM

Quote:

Originally Posted by cheltz (Post 4600432)
Got it! Thanks folks for the help.
Actually all I did was point to a different java version which apparently had the jar files it was looking for.
I have so many version of java maybe I pointed to the wrong path in JAVA_HOME.
Not really sure but it works now.

Thanks a ton ..

welcome :)


All times are GMT -5. The time now is 10:38 PM.