Confluence not starting in Tomcat

The following error is being thrown in catalina.out when I try starting confluence (this is a fresh install):

Nov 6, 2012 10:55:51 a.m. org.apache.catalina.startup.TldConfig lifecycleEvent

SEVERE: Error processing TLD files for context path /confluence

java.lang.IllegalArgumentException: URI file:./ is not hierarchical

I Google this and the closest I could find to this error was https://confluence.atlassian.com/pages/viewpage.action?pageId=193299658 ... however, the content was different enough that before I tried this fix, I wanted to verify that this was the problem I was encountering. Also, if this is the fix, then could you please give me the syntax for how this should be set up for Confluence:

grant codeBase file:${catalina.home}/webapps/jira/- { permission java.security.AllPermission; };

I am ssh'ing remotely to the host (RHEL) on which Tomcat6 is running, so I am not accessing the Tomcat manager through localhost, but remotely.

Thanks very much in advance!

Greg--

3 answers

1 accepted

This widget could not be displayed.

Done! Solution was that I installed Tomacat from source code.

This widget could not be displayed.

Hi Greg,

It sounds like this might be a question for our support team so we can look more in depth at the issue you're having.

The error states Tomcat is having a problem processing the files that contain your context path, which by default would be the server.xml.

I would check that the account you're using to start confluence has r/w permissions on the confluence-installation directory and the confluence.home directory. If you used one of our installers, then there will be a user created to run the confluence service which owns those two directories. If you're not starting Tomcat with that user, you may be running into this permissions error.

If this is not the case, please log a support request at http://support.atlassian.com under the confluence project so we can further assist you.

Best Regards,

Ryan Goodwin

Confluence/Crowd Support

Atlassian - San Francisco

Hi Ryan,

I did log a support request for this. I did not use the installer. Should root be the owner? In any case, root has rwx permissions to the isntall directory...

Thanks!

Greg--

Hi Greg,

Found your ticket here https://support.atlassian.com/browse/CSP-91135.

We'll sync up via that channel.

Best Regards,

Ryan Goodwin

Confluence/Crowd Support

Atlassian - San Francisco

This widget could not be displayed.

Just wanted to add for any others out there experiencing this issue that we found Tomcat was installed via a package manager for that particular system. Downloading a distribution from the Apache website cleared up the issues Confluence was experiencing.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

569 views 7 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you