Other page images blocked by JIRA's tomcat

Darly Senecal-Baptiste
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 27, 2014

Hi Community:

I had installed JIRA as WAR installation. Alongside, I have couple of webpages stored at the same server as JIRA's

I made the JIRA url configuration, through the server.xml

The problem I have is when JIRA either up or down, user cannot see images for the abc or xyz pages. Is there is a way to fix this?

Thanks

3 answers

1 accepted

0 votes
Answer accepted
Darly Senecal-Baptiste
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 21, 2014

I made the following workaround:

Since jira and the other pages are running behind of a SSL Offloader. Also, this issue doesn't have anything to do with JIRA's tomcat.

The only workaround that I made is at the non-jira pages code, I nded just to set the absolute URL of the image (http://jira/.server.name/path/to/the/image.png).

Thanks

0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 28, 2014

Did you change the base URL of the JIRA instance under Administration > General Configuration?

Darly Senecal-Baptiste
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 29, 2014

Jobin, I didn't change the Base URL.

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 29, 2014

You have to change it to match what you are using the to access the instance. Maybe you can give it a try?

0 votes
Andris Grinbergs
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 27, 2014

What do you mean with "cannot see"? Error 404?

Darly Senecal-Baptiste
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 28, 2014

Hi Andris:

When I mean "cannot see", I mean about the images (logos, pictures). If I access to the server URL through http. I can see the images correctly. However, throught https, those images cannot be viewed.

Andris Grinbergs
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 28, 2014

Most likely you have image on HTTP(instead of HTTPS).

If you made link in Jira to Image : http://jira.example.com/abc/abc.jpg, and open https://jira.example.com/jira you will not see abc.jpg because browser blocks it. (All the links should be HTTPS.)

Darly Senecal-Baptiste
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 29, 2014

What if if the image is saved at the server (does not have url). What I mean, that the image is located at the server directory (like src=/path/to/image.jpg)

Suggest an answer

Log in or Sign up to answer