[SOLVED] Standard emoticons not rendered Edited

I have a fresh Confluence 6.3 install (official Docker image) and when I edit a page and want to insert new emoticons, I can't see any pictograms/images. Tried it with three browsers - the images are always missing.








The isssue is solved now. User error :/

Since I am using Docker, I have created a docker-compose.yaml file. The relevant part looks like this:

version: '2'
    image: atlassian/confluence-server:6.3
    restart: always
      - ""
      - postgres
      - confluence-data:/var/atlassian/application-data/confluence
      - /opt/docker/mount/confluence-cfg-mount/server.xml:/opt/atlassian/confluence/conf/server.xml
      - /opt/docker/mount/confluence-cfg-mount/server.xml:/opt/atlassian/confluence/conf/web.xml


As you can see the last line mounts the *contents* of server.xml into the web.xml file. Confluence rightly complains about a directive missing - well the entire web.xml was missing but ok:


23-Aug-2017 16:14:52.643 SEVERE [localhost-startStop-1]org.springframework.web.servlet.DispatcherServlet.initServletBean Context initialization failed
confluence_1 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultServletHandlerMapping' defined in class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.servlet.HandlerMapping]: Factory method 'defaultServletHandlerMapping' threw exception; nested exception is java.lang.IllegalStateException: Unable to locate the default servlet for serving static content. Please set the 'defaultServletName' property explicitly.



The weird thing though is that I did edit the web.xml file before because I changed the session timeout. I don't understand how Confluence was able to change my session timeout even though the web.xml file had the wrong contents...

However, if anybody else stumbles over this - you're welcome. Thank you all for your help. Special thanks to Ann for her dedication and perseverence :)

1 answer

1 accepted

0 votes
Answer accepted
Ann Worley Atlassian Team Aug 17, 2017

The screenshots you linked indicate that your Confluence instance must be integrated with HipChat to make the emoticons available. Here is the guide for linking the two applications: Use HipChat and Confluence together

I just want the standard emoticons, nothing else.

According to Atlassian's reponse via Twitter, this should work without HipChat integration:


Thomas Schlegel Community Champion Aug 17, 2017

Standard Emoticons should be no problem at all.

Could you please add your screenshot in the community, because from my working place, I am not allowed to look at the imgur.com-site.

Thomas Schlegel Community Champion Aug 17, 2017

what happens, if you just type (/) on your confluence page?

It should change immediately to:


It doesn't - that's why I have the slight suspicion that something is broken :)

Right after typing it the following happens:

in Chrome:



in Safari:


thanks for the screenshots. It looks like Confluence can't reach the emoji images on its server. Could you please have a look at the url, where your page tries to load the image?

Maybe a full reindex might also help.

Started a search re-index but it didn't help.

I tried to access a direct image url:


But then I get a Java Nullpointer exception:



As I mentioned, this is a fairly straightforward setup with the default Docker image. I did import some space, but this problem existed even before importing stuff.

Here is my nginx proxy conf:

user nginx;
worker_processes 1;

#error_log /dev/null;
error_log /var/log/nginx/error.log warn;

pid /var/run/nginx.pid;

events {
worker_connections 1024;

http {
include /etc/nginx/mime.types;
default_type application/octet-stream;

log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for" "$proxy_host"';

access_log /dev/null;
#access_log /var/log/nginx/access.log main;

#sendfile on;
#tcp_nopush on;

keepalive_timeout 600;
proxy_connect_timeout 600;
proxy_send_timeout 600;
proxy_read_timeout 600;

gzip on;

include /etc/nginx/conf.d/*.conf;

server {
listen 80 default_server;
server_name myserver;
location /cf {
proxy_set_header X-Forwarded-Host $host:$server_port;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://confluence:8090/cf;
client_max_body_size 500M;

location / {
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://pihole;
Ann Worley Atlassian Team Aug 17, 2017

@Stefan Sorin Nicolin Sorry I misunderstood earlier.

What if you bypass the proxy to access the instance? 

Please also check the permissions on the file system to make sure the user running Confluence can access the images.

Thomas Schlegel Community Champion Aug 17, 2017

I compared your url with an url from my system's thumbs_up.png



What happens, if you remove the "cf" part from the URL? 

But anyway, I think, you have to contact Atlassian Support with this problem.

They can take a deeper look into the problem. You can then refer to this ticket, so you don't have to explain it all again.

Sorry, I couldn't help, good luck :-)

Tried to remove the "cf" part from the URL, now no image can be found.

Sadly I can't contact Atlassian Support because I am on the starter license and they killed official support for that a few weeks ago :(

Help me Atlassian Community, you're my only hope :)

Ann Worley Atlassian Team Aug 17, 2017

Thanks very much for your input, Thomas. Stefan's license makes him eligible for support here in the Community. He cannot open a ticket but I will be happy to take a deeper look here.

@Ann Worley exactly...

Permissions are fine - just checked. As I said this is the default Docker image made by Atlassian. If the permissions were off, then every other Confluence instance powered by that image would have broken standard emoticons.

I accessed the confluence server on port 8090 via an ssh tunnel (server is headless...) and I have the same problem. So it is not related to the nginx proxy server.

Ann Worley Atlassian Team Aug 17, 2017

Though you didn't upgrade, the symptoms are similar to what is described in: Broken avatars/icons in Confluence after an upgrade due to corrupted cache

Please try the resolutions in that article. I look forward to hearing how it goes.

Nope, still no luck. I performed all steps mentioned there and double-checked that I have set the correct context path as detailed here (Notes section at the bottom):


One remark - I am *not* using https though, just plain http.

Ann Worley Atlassian Team Aug 18, 2017

You should receive an email from our support portal shortly; it's me asking for logs. :)

Ann Worley Atlassian Team Aug 23, 2017

@Stefan Sorin Nicolin I am happy the issue was resolved and appreciate your circling back to let the Community know. Also, thanks for the kind words. :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,329 views 2 13
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