Bamboo fails to start after upgrade on Windows - Failed to scan file:/C:/Program%20Files/Bamboo/lib/jcifs.jar from classloader hierarchy

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

Bamboo fails to upgrade after running the windows installer, The logs show this:

29-Sep-2017 07:26:05.411 WARNING [localhost-startStop-1] org.apache.tomcat.util.scan.StandardJarScanner.scan Failed to scan file:/C:/Program%20Files/Bamboo/lib/jcifs.jarfrom classloader hierarchy
java.io.FileNotFoundException: C:\Program Files\Bamboo\lib\jcifs.jar (The system cannot find the file specified)
29-Sep-2017 07:26:24.021 WARNING [localhost-startStop-1] org.apache.tomcat.util.scan.StandardJarScanner.scan Failed to scan file:/C:/Program%20Files/Bamboo/lib/jcifs.jarfrom classloader hierarchy
java.io.FileNotFoundException: C:\Program Files\Bamboo\lib\jcifs.jar (The system cannot find the file specified)
29-Sep-2017 07:26:24.021 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
29-Sep-2017 07:26:31.709 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
29-Sep-2017 07:26:31.709 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
29-Sep-2017 07:26:05.411 WARNING [localhost-startStop-1] org.apache.tomcat.util.scan.StandardJarScanner.scan Failed to scan [file:/C:/Program%20Files/Bamboo/lib/jcifs.jar] from classloader hierarchy
 java.io.FileNotFoundException: C:\Program Files\Bamboo\lib\jcifs.jar (The system cannot find the file specified)
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:225)
	at java.util.zip.ZipFile.<init>(ZipFile.java:155)
	at java.util.jar.JarFile.<init>(JarFile.java:166)
	at java.util.jar.JarFile.<init>(JarFile.java:130)
	at org.apache.tomcat.util.scan.JarFileUrlJar.<init>(JarFileUrlJar.java:60)
	at org.apache.tomcat.util.scan.JarFactory.newInstance(JarFactory.java:43)
	at org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:322)
	at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:272)
	at org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(ContextConfig.java:1887)
	at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1127)
	at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:779)
	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:306)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:95)
	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5202)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1407)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1397)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

Cause

Windows installer fails to delete some files from the previous version.

Resolution

  1. Stop and delete the Bamboo service.
  2. Rename the C:\Program Files\Bamboo folder (Bamboo.old for example).
  3. Run the Windows installer on a new folder and point the bamboo-home to the same used by the previous version.
  4. Copy the personalized configuration from the C:\Program Files\Bamboo.old\conf\server.xml and C:\Program Files\Bamboo.old\bin\setenv.bat files.
  5. Reinstall the service.
  6. Start Bamboo.

 

 

Last modified on Sep 29, 2017

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.