java.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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?
    via by Shahriyar Imanov,
  • Facing deployment issue with tomcat
    via Stack Overflow by ndongo
    ,
  • GitHub comment 28#143743579
    via GitHub by lals1
    ,
  • Tomcat - User - RE Tomcat and SSL
    via by Unknown author,
    • 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)

    Users with the same issue

    Unknown visitor1 times, last one,