Failed to access resource /WEB-INF/lib/mysql.jar

Atlassian JIRA | Shahriyar Imanov | 3 years ago
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 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: : Failed to access resource /WEB-INF/lib/mysql.jar at org.apache.catalina.loader.WebappLoader.start( at org.apache.catalina.core.StandardContext.start( at org.apache.catalina.core.ContainerBase.start( at org.apache.catalina.core.StandardHost.start( at org.apache.catalina.core.ContainerBase.start( at org.apache.catalina.core.StandardEngine.start( at org.apache.catalina.core.StandardService.start( at org.apache.catalina.core.StandardServer.start( at org.apache.catalina.startup.Catalina.start( 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( at org.apache.catalina.startup.Bootstrap.main({code} Is there any way to fix this behaviour?

    Atlassian JIRA | 3 years ago | Shahriyar Imanov Failed to access resource /WEB-INF/lib/mysql.jar
  2. 0

    can I generate a keystore to use with someone else's workspace?

    Stack Overflow | 4 years ago | sharcfinz Keystore was tampered with, or password was incorrect
  3. 0

    Why is tomcat having trouble loading a self signed SSL certificate?

    Stack Overflow | 6 years ago | Dark Star1 Exception trying to load keystore /usr/share/tomcat5/webapps/.keystore: JKS
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Facing deployment issue with tomcat

    Stack Overflow | 5 years ago | ndongo Failed to create destination directory to copy resources
  6. 0

    VMware KB: Generating custom or default SSL certificates | 1 year ago failed to decrypt safe contents entry: javax.crypto.BadPaddingException: Given final block not properly padded

    1 unregistered visitors
    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


      Failed to access resource /WEB-INF/lib/mysql.jar

      at org.apache.catalina.loader.WebappLoader.start()
    2. Glassfish Core
      1. org.apache.catalina.loader.WebappLoader.start(
      2. org.apache.catalina.core.StandardContext.start(
      3. org.apache.catalina.core.ContainerBase.start(
      4. org.apache.catalina.core.StandardHost.start(
      5. org.apache.catalina.core.ContainerBase.start(
      6. org.apache.catalina.core.StandardEngine.start(
      7. org.apache.catalina.core.StandardService.start(
      8. org.apache.catalina.core.StandardServer.start(
      9. org.apache.catalina.startup.Catalina.start(
      9 frames
    3. Java RT
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    4. Glassfish Core
      1. org.apache.catalina.startup.Bootstrap.start(
      1 frame