youngmon/atlassian-qna huggingface dataset:
Deploy Confluence on Glassfish
Asked by Lukas Jancek:

Hello.

I would like to ask about deploy Counfluence 5.5.7 on my existing Glassfish server. I downloaded confluence war/ear file and I have changed ivariable confluence.home in /confluence/WEB/INF/classes/confluence-init.properties on /var/confluence. Then I did ./build.sh and in output is everything OK. Then I deploy war on the glassfish server and when I open the site for installation I got error :

Type : bootastrap

Description : Could not load bootstrap from environment

Exception :

```
IllegalStateException: Setup context has already been initialised

and in log I have Multiple JSF applications found on same ClassLoader. Unable to safely determine which FactoryManager instance to Use. Defaulting to first match.

But I dont know if this error message from server.log has something common with error from confluence.


Thanks 
```


Answers:
author: AnnWorley
body: Hi Lukas,

I am not an expert on [Glassfish](https://javaee.github.io/glassfish/), hopefully someone else in the Community knows more.

Please let me know more about your requirements. Confluence 5.5.7 has been [end of life](https://confluence.atlassian.com/support/atlassian-support-end-of-life-policy-201851003.html) for several years and lacks recent features and bugfixes. It's a bad bet for Production because end of life versions are not eligible for support outside the Community forum.

If you upgrade to a supported version in the future you will have to migrate off the EAR WAR distribution. It was last available in Confluence 5.6 (EOL):[Deprecated distribution for Confluence (2 September 2014)](https://confluence.atlassian.com/doc/end-of-support-announcements-for-confluence-210239673.html#EndofSupportAnnouncementsforConfluence-DeprecateddistributionforConfluence(2September2014)) The current Confluence version is 6.6.1.

If you need step by step instructions to install the Confluence 5.5.7 EAR/WAR distribution we have this guide:[Installing the Confluence EAR-WAR Edition](https://confluence.atlassian.com/display/CONF55/Installing+the+Confluence+EAR-WAR+Edition)

Please consider using the Tomcat application server bundled with Confluence rather than the EAR/WAR version.

Please make sure you have the supported platforms in place for Confluence 5.5.x if you do instal it: [Supported Platforms](https://confluence.atlassian.com/display/CONF55/Supported+Platforms)

Thanks,

Ann

comments: author: Lukas Jancek
body: Hi Ann

I have already gave up with Glassfish because the latest EAR/WAR is really old. Now I try to install confluence on Tomcat.

Thanks for your reply


Tags: glassfish
No content found from a nested page of my space in Confluence
Asked by zheyangi:

I own and maintain one space in Confluence while having met a problem recently. Firstly let us check picture named as "left nested page right primary page"on attachment, the left part titled as Process Index is a screen of a nested page of my space and the right part titled as CONTEXT is a primary page of my space (The picture named as "page tree" on attachment shows pages layer relation).

We can clearly see that in **Page Index** no content was found to display in Desc while content displayed normally in Desc of **CONTEXT** . Meanwhile the function that content can be displayed in Desc was implemented by **Page Properties Report (Page Properties Report** is an Atlassian buid-in macro**)** both in Page Index and CONTEXT. What is more is that content was displayed in Desc when you edited both in **Page Index** and**CONTEXT.**

I tried on several web browsers like Chrome, IE, Firefox while ending up getting the same problem.

Therefore I have no idea what went wrong with my space in Confluence and how to solve this tough problem.

Hope to get solution from you ASAP and thank you in advance!

![left nested page right primary page.gif](/t5/image/serverpage/image-id/12498iB059F2F23822A514/image-size/large?v=v2&px=999 "left nested page right primary page.gif")![page tree.png](/t5/image/serverpage/image-id/12499i8ADED8DCFDD4B727/image-size/large?v=v2&px=999 "page tree.png")


Answers:
author: AnnWorley
body: I understand pages are not rendering as expected in display mode. I opened a support ticket in your name so I could examine the storage format of the pages. You should get an email from support shortly.

When we figure it out we can let the Community know.


Tags: page-property
How to create confluence space automatically with blueprints?
Asked by Vaasanthi:

We want to create confluence space automatically and the below code works fine. How to specify blueprint (Documentation space/knowledge space/Team space) type here so that space is created based on the blueprint type?

def UserAccessor userAccessor = (UserAccessor) ContainerManager.getComponent("userAccessor")

SpaceManager spaceManager = (SpaceManager) ContainerManager.getComponent("spaceManager")

List\<Space\> allSpaces = spaceManager.getAllSpaces();

spaceManager.createSpace("AAA","Example space","This is an example",tmp_id)


Answers:
author: Usman Khalid
body: Hi [@Vaasanthi](/t5/user/viewprofilepage/user-id/1175754), There's an option of "Space Blueprints" within the Create space dialog. It creates a space with a customized homepage and sometimes include sample pages too.


author: Bryan Lim
body: Hi Vaasanthi,

I am not a developer in nature and I am also trying to figure out if i can create a page where users can request/create new spaces automatically. Can you please help and give some direction if that is what you did?

Thanks!

Bryan


Tags: blueprint
Firefox????????????????
Asked by miki:

Firefox 57.0.4(64??????confluence??????????????????????????????????JIRA????????????JIRA ?????????????????????????????

Firefox??????????????????????????????

???????????????????????????????????


Answers:
author: Ai Hirama
body: ???????????????????????????????

Firefox??????????????????????????????????????????????????????????????????  
<https://yuzuyu3.com/faviconcache/>

comments: author: miki
body: ???????????????????


author: Ai Hirama
body: ???????????????????????

???????????????????


Tags: confluence-cloud

language-ja
Access rights to confluence-users for new spaces
Asked by Steven Yong:

I am new to Confluence and stumble a question how to structure spaces on Confluence.

My default group confluence-users has view access right.

Whenever I create a new space, are all the users in confluence-users able to see this new page?

The reason I ask this is that if I have my spaces according to departments, IT and Finance, I do not want people who can see IT be able to see the Finance space.

I can of course 2 groups IT and Finance but how about confluence-users?

What is the best practice?


Answers:
author: Shannon S
body: Hi Steven,

It's likely they can see the new space, but you should double-check the Default Space Permissions.

Have a look at this article:

* [Assign Space Permissions](https://confluence.atlassian.com/doc/assign-space-permissions-139460.html)

**To set the default space permissions:**

1. Go to

   ![](https://confluence.atlassian.com/doc/files/590259974/590058056/1/1398739558493/Cog.png) \> **General Configuration**
   \> **Space Permissions** .  
2. Choose **Edit Permissions**.

Default permissions are configurable for groups only, not for individual or anonymous users.

You also mentioned if they could see the "new page" but I think here you were referring to the new space, correct me if I'm wrong.

If you create new *pages* in an existing space, it will follow the Space Permissions (as reviewed in the link above), but if you want to edit individual page permissions, you can set [Page Restrictions](https://confluence.atlassian.com/doc/page-restrictions-139414.html) individually.

I hope that helps but do let us know if you have any questions.

Regards,

Shannon

comments: author: Steven Yong
body: Thanks Shanon for the quick response.

"You also mentioned if they could see the "new page" but I think here you were referring to the new space, correct me if I'm wrong." - You are right, I am referring to the new page, sorry.

I think editing the default space permissions is the way to go.

Thank you.


author: Shannon S
body: Thank you, Steven! Just wanted to be sure.

Give that a try and if you get stuck please let me know.

Regards,

Shannon


Tags: permission

space
How to enable the page-edited-notification module in the Confluence Content Notifications Plugin
Asked by SBGGroup:

Hi All,

I disabled the page-edited-notification module in the Confluence Content Notifications Plugin Add-On, and now I am unable to enable it. You click on enable but nothing happens.

Thanks,

Barry


Answers:
author: Mark Hitt
body: [Resolution found here](https://confluence.atlassian.com/confkb/cannot-enable-or-disable-bundled-system-apps-or-modules-1035241968.html)


author: Shannon S
body: Hi Barry,

Can you have a look at the Confluence Server Application Logs and tell us what error messages occur when you try to enable the add-on?

You can also [clear the plugins cache](https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html) and see if that helps.

Regards,  
Shannon
Can't edit template
Asked by Qingfen Lin:

I created a template, but am not able to edit it. The template is created, the title can be modified, but the body can't be edited at all.

Another strange thing I am not sure if it is related, when creating a new page and typing in the title. The text in the title is not visible and the body cannot be edited. I would need to save the page, and edit it again, then everything becomes normal again.

We have Confluence 6.4.0 server version.


Answers:
author: AnnWorley
body: Hi! I understand you cannot edit a page template you created and other pages have to be saved and re-opened before they can be edited. This article lists "Page editor does not show the content" as a symptom: [Editor Does Not Work Properly](https://confluence.atlassian.com/confkb/editor-does-not-work-properly-315326472.html)

To first of all eliminate the known issues in the article please try the resolutions suggested and let us know anything you find along the way - error messages, etc.

comments: author: Qingfen Lin
body: Yeah, it works now. Thanks. Enable Jira plugin seems to solve this.


author: AnnWorley
body: Thanks for letting us know. I am relieved to hear you resolved it. Have a great weekend.
Contributors Summary Macro not working for Space?
Asked by boardtc:

According to the [Contributors Summary Macro](https://confluence.atlassian.com/doc/contributors-summary-macro-183470224.html) "If no Page Name and Label(s) are specified, all pages from the specified set of spaces are included."

however, when I add the Macro and specify my Space the resulting table is empty:

![2018-01-11 18_04_56-Clipboard.png](/t5/image/serverpage/image-id/12465iEA9EA0D4984A3171/image-size/large?v=v2&px=999 "2018-01-11 18_04_56-Clipboard.png")


Answers:
author: AnnWorley
body: I typed in a space key with the wrong casing and got an empty list like that, so please double check that you are using space keys rather than space names, and you are using the right case.

Please let me know what version of Confluence you are using in case I need to reproduce on the same version.

comments: author: boardtc
body: Thanks! I was using the space name, not the space key, duh!


author: Matth?as P?tursson
body: I was using a space which no longer exists. Removing that fixed the error.


Tags: contributor

macro
How do I indent a line of pain text?
Asked by Jeevaka Dassanayake:

I have text like below. The first two lines are existing lines and I have indented the second line couple of months ago. But now I cannot indent the 3rd line. The indent button is disabled. If I go to the start of the second line only the outdent button is enabled.

This Confluence could.

![Screenshot from 2018-01-11 16-09-36.png](/t5/image/serverpage/image-id/12480i028D42971D6CE244/image-size/large?v=v2&px=999 "Screenshot from 2018-01-11 16-09-36.png")


Answers:
author: Shannon S
body: Hi Jeevaka,

This was recently removed from Confluence Cloud in the new editor, but you can vote for the feature to return below:

* [CONFCLOUD-58664](https://jira.atlassian.com/browse/CONFCLOUD-58664)

There are a few suggestions listed there for alternatives:

* Lists continue to support indentation
* Block quotes provides a good way to differentiate your text (and indent slightly)
* The info, tip, and panel macros also let you differentiate text
* Tables can be sized to achieve similar indentation / differentiation.

I hope that helps! Let us know if you have any questions about it.

Regards,  
Shannon

comments: author: Jeevaka Dassanayake
body: Thanks ... yeah, just voted.


author: spud
body: Good news [@Jeevaka Dassanayake](/t5/user/viewprofilepage/user-id/1160679) - it's coming back :)


author: Dominic Lagger
body: Hi [@Shannon S](/t5/user/viewprofilepage/user-id/510046)

The buttons aren't available anymore. I can use "tab", but the buttons aren't there.

Were they deleted?

Thanks

Regards, Dominic


author: Shannon S
body: Hi [@Dominic Lagger](/t5/user/viewprofilepage/user-id/601600),

Thanks for pointing that out! Looks like a new request was created recently in order to return the buttons, since the original request only brought back the functionality:

* [CONFCLOUD-69265](https://jira.atlassian.com/browse/CONFCLOUD-69265) *Bring back the indent/outdent button to the new editor*

I've linked it to the original request so others should be able to find it and vote on it in the future.

Let me know if you're able to vote on that and if you have any trouble.

Regards,

Shannon


author: Dominic Lagger
body: Thanks a lot. I voted for that.


author: Jason Tolotta
body: EDIT: This has been resolved in <https://jira.atlassian.com/browse/CONFCLOUD-58664>

I created a Greasemonkey/Tampermonkey/Violentmonkey script.  
It re-enables the indent and outdent buttons while editing.  
[confluence-indent-enable.js](https://gist.github.com/jtolotta/2627ce00324ceacaedadeeff5f4bfbe0)  

I big thank you to Ricky Vincent that provided the solution for the script loading issue in CONFCLOUD-58656

comments: author: Adnan Siddiqui
body: How do u incorporate this script in a cloud instance?
OKTA and Atlassian Cloud (provisioning failing) - Java type class and MIME media type
Asked by Igor Kovacevic:

I've been trying for days to connect OKTA and Atlassian cloud.

On Atlassian we are using Jira and Confluence.

On OKTA I am adding 2 applications. One for SAML (Atlassian Cloud) to login users, and another one for provisioning (Atlassian (Confluence) it's called).

Second one, for provisioning keeps failing with the error which is attached in the screenshot to this post.

Basically, SAML works (if I create user manually in Atlassian users, I can log them in via OKTA SSO - but if I create new User in OKTA it fails on provisioning the user to Atlassian.![Screen Shot 2018-01-09 at 23.55.37.png](/t5/image/serverpage/image-id/12459i587AB672C0867F66/image-size/large?v=v2&px=999 "Screen Shot 2018-01-09 at 23.55.37.png")


Answers:
author: AnnWorley
body: I regret to report you are running into a limitation we are working to eliminate - the users cannot be provisioned from OKTA (or any IDP) at present. Please see: [Enable user auto-provisioning and sync when SAML enabled](https://jira.atlassian.com/browse/IM-33)

I hope you will vote and comment on the ticket to emphasize your use case. Doing so will also add you to notifications so you will know when there is progress,

comments: author: Igor Kovacevic
body: Thanks for getting back, Anna.

I feel like I am missing something here - this should not be something extraordinary and I would expect this to be part of your service. I understand issues like this show up to all of us - but I do not understand how and why would you leave this breaking issues ("limitation" as you call it) without fixing it.

I will comment on the ticket and hopefully you can fix this soon.


Tags: okta
Exporting Profile Pictures from JIRA/Confluence
Asked by Wendy Cotter:

Is there an easy way to export a group of profile pictures from JIRA/Confluence? We are on the cloud instance.


Answers:
author: Timothy
body: You could try raising a support request with Atlassian to get it for you.

The other only way would be to web scrape the pages to get it.

comments: author: Wendy Cotter
body: Thanks Timothy. We went with security badge pictures :) .


Tags: avatar

cloud

confluence-cloud

profile

user-management
Cookie issue
Asked by atsflex:

Has anyone seen the following error? Any feedback is helpful:

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)  
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1539)  
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1495)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)  
at java.lang.Thread.run(Unknown Source)

10-Jan-2018 10:05:49.230 INFO \[http-nio-8090-exec-2\] org.apache.tomcat.util.http.LegacyCookieProcessor.processCookieHeader Cookies: Invalid cookie. Value not a token or quoted value  
Note: further occurrences of Cookie errors will be logged at DEBUG level.

I don't know if it has something to do with cookie settting. I don't want to change the setting and then this impact user logins.


Answers:
author: Will Masters
body: Hi Nik, this issue is commonly caused by a client that is sending invalid cookie data. This means that either the cookie is incorrect or that the clients browser has a fault in the way it is setting the cookie.

It will continue sending it until the cookie expires or the cookies are cleared by the user, or the server sends a set-cookie header that clears that cookie.

The log information you have shown is at the level of INFO so unless you have a specific issue that connects it to an error in Confluence it's merely informative of the first scenario.

It's possible to change Tomcat's CookieProcessor settings, to relax or adjust the interpretation of the cookie specifications, in this case however I would first try to track or log which user or client is causing this message, identify if there is an issue with the cookie or with Confluence to avoid disrupting existing users by making any server-side changes.

Kind regards,

Will.


Tags: cookie

error

login

user
User management for Confluence Cloud
Asked by Monika Spelters:

I found this article regarding how to manage Password security for JIRA (Server solution), but I did found nothing how to manage Passwords for Confluence Cloud solution

<https://confluence.atlassian.com/adminjiraserver073/manage-password-security-861253177.html>

How can Confluence (Cloud solution) Password security be configured by customers for their Projects?

Is there documentation available (maybe for customer Administrators of Confluence Cloud tool)? Is it maybe the same process as described in above mentioned article for JIRA?

Did I understand it correctly that you there are no possiblities to set an experation date for Passwords (e. g. Password is only valid for 3 months)?

Thank you very much for a short answer.


Answers:
author: Nic Brough -Adaptavist-
body: If you are using the standard off-the-shelf Atlassian accounts, then no, you can't configure the passwords.

This is because the accounts do not belong to your organisation, they belong to the users, and are used for all Cloud systems. I use one Atlassian account for access to around 30 Atlassian stacks my clients have.

comments: author: Monika Spelters
body: Hello Nic,

thanks for the answer.  
I agree with you because normally a user is a "personal user".

I was just wondering because I found a remark regarding "managed Users" in an article and for them it seems to be possible to set a Password policy (also in the Cloud).  
<https://confluence.atlassian.com/cloud/atlassian-account-for-users-873871199.html>

Do you know something about how to create "managed User" for Atlassian Cloud?

Minika


Tags: atlassian-support

confluence-cloud

user-management
Are users able to draw on Confluence pages?
Asked by Rachael Huston:

Users would like the ability to draw on Confluence pages. For example, add a circle and an arrow over a picture or text to point out certain information. I have found many plug ins for the ability to draw diagrams but my users would like to have the ability to free draw. Does anyone know if this is possible?


Answers:
author: Nic Brough -Adaptavist-
body: Not natively, but you can use in-line comments to get close, or edit the page and format the content to highlight what they're looking at.

comments: author: Rachael Huston
body: Thank you for your help Nic.
How do you place a page revision on a Confluence page export?
Asked by Jeremy Jenkins:

I am using Confluence to create collaborative documents. The confluence entry is multiple pages and I do a pdf export of all the pages to create a release document that can archived in another system. When I export the pdf, how can I make a template to attach the page revision to the pdf export automatically?

Thanks


Answers:
author: Evangelos Mantadakis
body: Hi [@Jeremy Jenkins](/t5/user/viewprofilepage/user-id/1176797),

Not sure if this could help you we have released a plugin namely '[QC Documents for Confluence Cloud](https://marketplace.atlassian.com/apps/1218839/qc-documents-for-confluence-cloud)' that enables to create revision numbers for your pages

You can find a tutorial [here](https://pdfanalytics.wordpress.com/revision-for-confluence-cloud/) .

More information you may find [here](https://pdfanalytics.wordpress.com/qc-documents-for-confluence-cloud-macros-markup-syntax/) . The plugin is only available for the **Confluence Cloud.**
Where is this macro? Is it an Add-on?
Asked by Jose Augusto de Jesus Germano:

Hello guys. I have deployed Confluence in my environment, and after checking another site, I found this functionality. Can you tell me if it's default? I did not find the default macros

![image.png](/t5/image/serverpage/image-id/12441i7661DA7A6DC78851/image-dimensions/501x313?v=v2 "image.png")


Answers:
author: Shannon S
body: Jose,

Are you referring to the tabs? It's not built-in, so an add-on was likely used. I cannot tell from the shot which one it is, but it's likely one of these:

* [Tabs add-ons for Confluence](https://marketplace.atlassian.com/search?product=confluence&query=tabs)

Give that a look over and let us know if you have any questions.

Regards,

Shannon

comments: author: Jose Augusto de Jesus Germano
body: Thank you for clarifying my doubt. That's really what I was looking for.


author: Shannon S
body: You're welcome, Jose!

<br />

Take care.

<br />

Regards,

Shannon