java - Tomcat Manager Deploying WAR file located on server -
i have linux server installed centos , tomcat6. , trying deploy jsf application , created war file of project. using tomcat manager using deploy directory or war file located on server parameters given below
my war file located in wepapps directory suggested. giving context path app name /myapp , giving war or directory url url of application /var/lib/tomcat6/webapps/myapp.war , last leaving empty value of xml configuration. , when press deploy button message says failed deploy application @ context path /myapp
since first experience me deploy app located on server im not sure if doing right. i've searched lots of documents still cant find usefull explanation start application. realy stucked , need help?
here catalina log file
sep 5, 2013 1:38:37 p.m. org.apache.tomcat.util.digester.digester startelement severe: begin event threw error java.lang.noclassdeffounderror: org.apache.tomcat.util.modeler.managedbean @ java.lang.class.initializeclass(libgcj.so.10) @ java.lang.class.newinstance(libgcj.so.10) @ org.apache.tomcat.util.digester.objectcreaterule.begin(objectcreaterule.java:145) @ org.apache.tomcat.util.digester.digester.startelement(digester.java:1276) @ gnu.xml.stream.saxparser.parse(libgcj.so.10) @ org.apache.tomcat.util.digester.digester.parse(digester.java:1556) @ org.apache.tomcat.util.modeler.modules.mbeansdescriptorsdigestersource.execute(mbeansdescriptorsdigestersource.java:238) @ org.apache.tomcat.util.modeler.modules.mbeansdescriptorsdigestersource.loaddescriptors(mbeansdescriptorsdigestersource.java:216) @ org.apache.tomcat.util.modeler.registry.load(registry.java:689) @ org.apache.tomcat.util.modeler.registry.loaddescriptors(registry.java:800) @ org.apache.tomcat.util.modeler.registry.loaddescriptors(registry.java:780) @ org.apache.catalina.mbeans.mbeanutils.createregistry(mbeanutils.java:1066) @ org.apache.catalina.mbeans.mbeanutils.<clinit>(mbeanutils.java:95) @ java.lang.class.initializeclass(libgcj.so.10) @ org.apache.catalina.mbeans.globalresourceslifecyclelistener.<clinit>(globalresourceslifecyclelistener.java:68) @ java.lang.class.initializeclass(libgcj.so.10) @ java.lang.class.newinstance(libgcj.so.10) @ org.apache.tomcat.util.digester.objectcreaterule.begin(objectcreaterule.java:145) @ org.apache.tomcat.util.digester.digester.startelement(digester.java:1276) @ gnu.xml.stream.saxparser.parse(libgcj.so.10) @ org.apache.tomcat.util.digester.digester.parse(digester.java:1537) @ org.apache.catalina.startup.catalina.load(catalina.java:617) @ org.apache.catalina.startup.catalina.load(catalina.java:665) @ java.lang.reflect.method.invoke(libgcj.so.10) @ org.apache.catalina.startup.bootstrap.load(bootstrap.java:281) @ org.apache.catalina.startup.bootstrap.main(bootstrap.java:455) sep 5, 2013 1:47:15 p.m. org.apache.tomcat.util.digester.digester startelement severe: begin event threw error java.lang.noclassdeffounderror: org.apache.tomcat.util.modeler.managedbean @ java.lang.class.initializeclass(libgcj.so.10) @ java.lang.class.newinstance(libgcj.so.10) @ org.apache.tomcat.util.digester.objectcreaterule.begin(objectcreaterule.java:145) @ org.apache.tomcat.util.digester.digester.startelement(digester.java:1276) @ gnu.xml.stream.saxparser.parse(libgcj.so.10) @ org.apache.tomcat.util.digester.digester.parse(digester.java:1556) @ org.apache.tomcat.util.modeler.modules.mbeansdescriptorsdigestersource.execute(mbeansdescriptorsdigestersource.java:238) @ org.apache.tomcat.util.modeler.modules.mbeansdescriptorsdigestersource.loaddescriptors(mbeansdescriptorsdigestersource.java:216) @ org.apache.tomcat.util.modeler.registry.load(registry.java:689) @ org.apache.tomcat.util.modeler.registry.loaddescriptors(registry.java:800) @ org.apache.tomcat.util.modeler.registry.loaddescriptors(registry.java:780) @ org.apache.catalina.mbeans.mbeanutils.createregistry(mbeanutils.java:1066) @ org.apache.catalina.mbeans.mbeanutils.<clinit>(mbeanutils.java:95) @ java.lang.class.initializeclass(libgcj.so.10) @ org.apache.catalina.mbeans.globalresourceslifecyclelistener.<clinit>(globalresourceslifecyclelistener.java:68) @ java.lang.class.initializeclass(libgcj.so.10) @ java.lang.class.newinstance(libgcj.so.10) @ org.apache.tomcat.util.digester.objectcreaterule.begin(objectcreaterule.java:145) @ org.apache.tomcat.util.digester.digester.startelement(digester.java:1276) @ gnu.xml.stream.saxparser.parse(libgcj.so.10) @ org.apache.tomcat.util.digester.digester.parse(digester.java:1537) @ org.apache.catalina.startup.catalina.load(catalina.java:617) @ org.apache.catalina.startup.catalina.load(catalina.java:665) @ java.lang.reflect.method.invoke(libgcj.so.10) @ org.apache.catalina.startup.bootstrap.load(bootstrap.java:281) @ org.apache.catalina.startup.bootstrap.main(bootstrap.java:455) caused by: java.lang.classnotfoundexception: javax.management.modelmbean.modelmbeannotificationbroadcaster not found in org.apache.catalina.loader.standardclassloader{urls=[file:/usr/share/apache-tomcat-7.0.42/lib/,file:/usr/share/apache-tomcat-7.0.42/lib/catalina-tribes.jar,file:/usr/share/apache-tomcat-7.0.42/lib/tomcat-coyote.jar,file:/usr/share/apache-tomcat-7.0.42/lib/tomcat-dbcp.jar,file:/usr/share/apache-tomcat-7.0.42/lib/tomcat-util.jar,file:/usr/share/apache-tomcat-7.0.42/lib/tomcat-jdbc.jar,file:/usr/share/apache-tomcat-7.0.42/lib/tomcat-i18n-ja.jar,file:/usr/share/apache-tomcat-7.0.42/lib/tomcat-i18n-fr.jar,file:/usr/share/apache-tomcat-7.0.42/lib/tomcat-api.jar,file:/usr/share/apache-tomcat-7.0.42/lib/ecj-4.2.2.jar,file:/usr/share/apache-tomcat-7.0.42/lib/catalina-ha.jar,file:/usr/share/apache-tomcat-7.0.42/lib/catalina-ant.jar,file:/usr/share/apache-tomcat-7.0.42/lib/jsp-api.jar,file:/usr/share/apache-tomcat-7.0.42/lib/jasper.jar,file:/usr/share/apache-tomcat-7.0.42/lib/catalina.jar,file:/usr/share/apache-tomcat-7.0.42/lib/tomcat-i18n-es.jar,file:/usr/share/apache-tomcat-7.0.42/lib/annotations-api.jar,file:/usr/share/apache-tomcat-7.0.42/lib/el-api.jar,file:/usr/share/apache-tomcat-7.0.42/lib/jasper-el.jar,file:/usr/share/apache-tomcat-7.0.42/lib/servlet-api.jar], parent=gnu.gcj.runtime.systemclassloader{urls=[file:/usr/share/apache-tomcat-7.0.42/bin/bootstrap.jar,file:/usr/share/apache-tomcat-7.0.42/bin/tomcat-juli.jar], parent=gnu.gcj.runtime.extensionclassloader{urls=[], parent=null}}} @ java.net.urlclassloader.findclass(libgcj.so.10) @ java.lang.classloader.loadclass(libgcj.so.10) @ java.lang.classloader.loadclass(libgcj.so.10) @ java.lang.vmclassloader.defineclass(libgcj.so.10) @ java.lang.classloader.defineclass(libgcj.so.10) @ java.security.secureclassloader.defineclass(libgcj.so.10) @ java.net.urlclassloader.findclass(libgcj.so.10) @ java.lang.classloader.loadclass(libgcj.so.10) @ java.lang.classloader.loadclass(libgcj.so.10) @ java.lang.class.forname(libgcj.so.10) @ java.lang.class.initializeclass(libgcj.so.10) ...25 more
thanks , regards
i solved problem @ last. reason error simple actually. configured our project , created war file using tomcat7. when try deploy , run @ server has previous version of tomcat (tomcat6) doesnt work. installed tomcat7 server , works now. , because tomcat6 doesnt support servlet3 , of jsf feauters. again.
Comments
Post a Comment