Fisheye running with the same JIRA hostname

Hi Community:

I was applying the following:

In Jira (War Installation) I was setting the proxy with its proxyName=jiradev.example.comat the server.xml file (also with the scheme and port). And at apache I was using the following

<VirtualHost *:80>

#SSLProxyEngine On
ProxyRequests   Off
ProxyPreserveHost       On
ProxyPass       /       http://server_url:8080/jira
ProxyPassReverse /  http://server_url:8080/jira

#ProxyPass /crucible
#ProxyPassReverse /crucible

 <Proxy *>
    Order deny,allow
    Allow from all

<Location /jira>
 Order allow,deny
 Allow from all


Now, I want to add Fishsye (with the /curcible context), under the same apache server. So I performed the following at fisheye's config.xml file

<web-server site-url="" context="/crucible">
        <http bind=":8060" proxy-port="443" proxy-scheme="https" proxy-host=""/>
      <ssl keystore-password="OBF:1bw21y7z1wui1gfp1gg91wtw1y7z1bws" bind=":6443" truststore-password="OBF:1bw21y7z1wui1gfp1gg91wtw1y7z1bws" truststore="/crucible/fis_keystore.kst" keystore="/crucible/fis_keystore.kst"><proxy-info proxy-host="" proxy-port="443" proxy-scheme="https"/></ssl>  </web-server>

And I added the following line under JIRA's VirtualHost at apache

#ProxyPass /crucible
#ProxyPassReverse /crucible

Stopped JIRA and Fisheye and reloaded apache. Started JIRA, then Crucible. Acceesed JIRA with cannonical URL, it works. However, looking for crucible with, it throws me a 404 error from tomcat.

What did I do wrong and how to resolve that.

PS: Also, I want to add the same cannonical URL to git and svn as well


1 answer

1 accepted

0 votes
Accepted answer
Lukasz Pater Atlassian Team Mar 03, 2014

Hi Darly,

seeing a 404 error from tomcat seems to indicate that apache directs the request to /crucible to JIRA instead of Crucible (which uses Jetty internally).

Looking at seems that the order of the ProxyPass directives matters, and that the first matching one is applied (in your case that would be the 'ProxyPass /' one). The docs mention that you should generally order them from the longest url to the shortest.

Could you try putting the 'ProxyPass /crucible' rules first and see if that helps you resolve your issue?

Thanks Lukasz. I realized that my server was mimicked by a load balancing system. One of my sysadmin made the proper change and now it's working. Thanks again

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in Jira

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,081 views 0 8
Read article

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