problems installing app on tomcat v.7.0.26
Greetings — I'm running into errors installing a Java app called GeoServer (latest stable v2.1.4) on my Tomcat server at sge.lclark.edu:8080 (Tomcat v.7.0.26, JVM v.1.6.0_20-b20). I downloaded the .war.zip file, expanded it, and uploaded the .war file into a root-level directory (/geoserver) in Tomcat's webapps folder. Then, using the Tomcat manager, I tried both clicking Start for this directory, and used the Deploy menu below. The Deploy option results in Tomcat error Application already exists at path, and the Start option results in Tomcat error Application at context path /geoserver could not be started. A full catalina.log output for the latter error is below. I'm no Tomcat expert, but I have successfully installed one other app on this Tomcat server so don't expect the below to be purely a Tomcat issue…maybe it is? Would sure appreciate help; thanks. Jim P. *** Jul 23, 2012 12:22:18 PM org.apache.tomcat.util.scan.StandardJarScanner scan WARNING: Failed to scan [file:/usr/lib/jvm/java-6-openjdk/jre/lib/ext/gnome-java-bridge.jar] from classloader hierarchy java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:131) at java.util.jar.JarFile.init(JarFile.java:150) at java.util.jar.JarFile.init(JarFile.java:87) at sun.net.www.protocol.jar.URLJarFile.init(URLJarFile.java:90) at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:66) at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:86) at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122) at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89) at org.apache.tomcat.util.scan.FileUrlJar.init(FileUrlJar.java:40) at org.apache.tomcat.util.scan.JarFactory.newInstance(JarFactory.java:34) at org.apache.catalina.startup.ContextConfig$FragmentJarScannerCallback.scan(ContextConfig.java:2566) at org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:241) at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:204) at org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(ContextConfig.java:1864) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1211) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:855) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:345) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5161) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1247) at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:747) at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:222) at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:187) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
Re: problems installing app on tomcat v.7.0.26
On Mon, 2012-07-23 at 14:39 -0700, Jim Proctor wrote: Greetings — I'm running into errors installing a Java app called GeoServer (latest stable v2.1.4) on my Tomcat server at sge.lclark.edu:8080 (Tomcat v.7.0.26, JVM v.1.6.0_20-b20). I downloaded the .war.zip file, expanded it, and uploaded the .war file into a root-level directory (/geoserver) in Tomcat's webapps folder. Then, using the Tomcat manager, I tried both clicking Start for this directory, and used the Deploy menu below. The Deploy option results in Tomcat error Application already exists at path, and the Start option results in Tomcat error Application at context path /geoserver could not be started. Huh? Are you saying you uploaded geoserver.war to the directory TC_HOME/webapps/geoserver/ and tried to deploy it from there using the Manager? If so, don't do that. Stop Tomcat, move the .war file to webapps/, remove the webapps/geoserver/ directory and restart. Unless autodeploy is disabled it should deploy automatically. signature.asc Description: This is a digitally signed message part
Re: problems installing app on tomcat v.7.0.26
Tim, thanks…I was going on the basis of other apps (all of which have root folders), but apparently GeoServer creates its own root folder upon installation. All seems to work now. Regards, Jim P. On Jul 23, 2012, at 4:17 PM, Tim Watts wrote: On Mon, 2012-07-23 at 14:39 -0700, Jim Proctor wrote: Greetings — I'm running into errors installing a Java app called GeoServer (latest stable v2.1.4) on my Tomcat server at sge.lclark.edu:8080 (Tomcat v.7.0.26, JVM v.1.6.0_20-b20). I downloaded the .war.zip file, expanded it, and uploaded the .war file into a root-level directory (/geoserver) in Tomcat's webapps folder. Then, using the Tomcat manager, I tried both clicking Start for this directory, and used the Deploy menu below. The Deploy option results in Tomcat error Application already exists at path, and the Start option results in Tomcat error Application at context path /geoserver could not be started. Huh? Are you saying you uploaded geoserver.war to the directory TC_HOME/webapps/geoserver/ and tried to deploy it from there using the Manager? If so, don't do that. Stop Tomcat, move the .war file to webapps/, remove the webapps/geoserver/ directory and restart. Unless autodeploy is disabled it should deploy automatically. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org