java.io.IOException: Failed to access resource /WEB-INF/lib/container_customizer-1.0.0_RELEASE.jar [2016-09-29 23:14:57.232] boot - 29 ERROR [localhost-startStop-1] --- WebappLoader: LifecycleException

GitHub | timeapen | 2 months ago
  1. 0

    Tomcat fails to start due to unaccessible container_customizer jar

    GitHub | 2 months ago | timeapen
    java.io.IOException: Failed to access resource /WEB-INF/lib/container_customizer-1.0.0_RELEASE.jar [2016-09-29 23:14:57.232] boot - 29 ERROR [localhost-startStop-1] --- WebappLoader: LifecycleException
  2. 0

    Not able to deploy ROOT.war in tomcat 7 | DigitalOcean

    digitalocean.com | 5 months ago
    java.io.IOException: Unable to create the directory [/usr/share/tomcat7/webapps/ROOT/META-INF]
  3. 0

    Re: [Spacewalk-list] Postgresql 9.2.5

    redhat.com | 11 months ago
    java.io.IOException: Failed to access resource /WEB-INF/lib/postgresql-jdbc.jar at org.apache.catalina.loader.WebappLoader.setRepositories(WebappLoader.java:1 022)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Working on Ubuntu Server latest, I generally install Atlassian applications on home directories of their dedicated users. In this case, I install Confluence under following folder hierarchy: {code}/home/confluence |_ current/ = INST_DIR |_ .home/ = HOME_DIR |_ backups/ = Location where old backups are held, everytime I upgrade{code} It all works good. When using MySQL as the production RDBMS, I first install {{libmysql-java}} library which fetches JDBC drivers: {code}sudo apt-get install libmysql-java{code} The latest driver is generally linked through {{/usr/share/java/mysql.jar}} file. In all my Atlassian product installations, I just link to that file. For example, in the case of Confluence, I link to that location from {{INST_DIR/confluence/WEB-INF/lib/mysql.jar}}. Generally it works with other Atlassian software, but for some reasons Confluence doesn't like this method. The error in log file is evidently permission related, although I have target file on 0777: {code}Dec 09, 2013 8:34:55 PM org.apache.catalina.startup.Catalina start SEVERE: Catalina.start: LifecycleException: start: : java.io.IOException: Failed to access resource /WEB-INF/lib/mysql.jar at org.apache.catalina.loader.WebappLoader.start(WebappLoader.java:709) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4575) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414){code} Is there any way to fix this behaviour?

    Atlassian JIRA | 3 years ago | Shahriyar Imanov
    java.io.IOException: Failed to access resource /WEB-INF/lib/mysql.jar
  6. 0

    Re: [Spacewalk-list] Postgresql 9.2.5

    redhat.com | 11 months ago
    java.io.IOException: Failed to access resource /WEB-INF/lib/antlr.jar at org.apache.catalina.loader.WebappLoader.setRepositories(WebappLoader.java:1 022)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Failed to access resource /WEB-INF/lib/container_customizer-1.0.0_RELEASE.jar [2016-09-29 23:14:57.232] boot - 29 ERROR [localhost-startStop-1] --- WebappLoader: LifecycleException

      at org.apache.catalina.core.ContainerBase$StartChild.call()
    2. Glassfish Core
      LifecycleBase.start
      1. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1574)
      2. org.apache.catalina.loader.WebappLoader.setRepositories(WebappLoader.java:981)
      3. org.apache.catalina.loader.WebappLoader.startInternal(WebappLoader.java:604)
      4. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      5. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      5 frames
    3. Web Container Naming Utilities
      BaseDirContext.lookup
      1. org.apache.naming.resources.BaseDirContext.lookup(BaseDirContext.java:481)
      1 frame
    4. Java RT
      ThreadPoolExecutor.runWorker
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2 frames