youngmon/atlassian-qna huggingface dataset:
In Bob Swift SQL for Confluence, how do you resolve errors around Client Connection Id?
Asked by ZJ:

I receive the error below: *(user hidden)*

![e.png](/t5/image/serverpage/image-id/31036iA9EFAFF4418F023F/image-size/large?v=v2&px=999 "e.png")

Here are the connection details:

* **Connection string:** jdbc:sqlserver://xxxx:xxxx;database=xxxx
* **Driver class:** com.microsoft.sqlserver.jdbc.SQLServerDriver
* **Driver JAR Location:** x:\\Confluence\\jre\\lib\\odbc\\sqljdbc_4.2\\enu\\jre8\\sqljdbc42.jar

Any help would be appreciated.

#sql-server

#jdbc

#bobswift

One more thing, this is express edition, I do not know if that will impact the answer.

![33.png](https://community.atlassian.com/t5/image/serverpage/image-id/31046i63212B92DD65955E/image-size/large?v=v2&px=999 "33.png")


Answers:
author: Shannon S
body: ZJ,

I'm not too familiar with Bob's add-on, but can you confirm that you're using the method at [Configure Application Server-based Data Sources - v9](https://bobswift.atlassian.net/wiki/spaces/SQL/pages/392658948/Configure+Application+Server-based+Data+Sources+-+v9) and not [Configure Data Source Profiles - 9.x](https://bobswift.atlassian.net/wiki/spaces/SQL/pages/392691736/Configure+Data+Source+Profiles+-+9.x)? It appears only the Application server-based data sources are possible in the express edition.

If so, you'll need to show us your configuration in Tomcat.

Thank you!

Regards,

Shannon

comments: author: ZJ
body: Hello Shannon,

Thank you for response! I will get back to you ASAP!


author: ZJ
body: I can confirm I was using the second method. Will start researching first, thank you for the heads up!


author: Shannon S
body: You're welcome, ZJ.

Just let us know if you have any trouble.

Regards,

Shannon


Tags: atlassian-marketplace
limiting search box to a space by default
Asked by Ron Boeth:

Using Confluence 6.11 Server - How do we constrain the results of a search to a specific space versus returning matching results from multiple spaces? We understand the use of filters.


Answers:
author: Sattesh M
body: Hello Ron, not sure if you can change the quick search in the top right corner to default to the Space, but you can add search boxes in any page in Confluence, and limit it to search that particular Space alone.  

To do this, we will need to use the HTML macro. (This macro will be disabled by default, but you can enable it from the **Manage add-on** page.

```
<form method="POST" action="/dosearchsite.action" name="searchForm" style="padding: 1px; margin: 1px">
<input type="hidden" name="quickSearch" value="true" /> 
<input type="hidden" name="searchQuery.spaceKey" value="spacekey" />
<input type="text" accessKey="s" name="searchQuery.queryString" size="25"/>
<input type="submit" value="Search Space Name"/>
</form>
```

Once you've inserted the HTML macro, paste the code above, and change the "spacekey" value, to the spacekey of the space you want to limit the search for.

This will add a search box into any page you use the HTML macro with the code above, like below, and limit the search to that space alone.

![search_box1.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/31950iEDFF86ED234C9A13/image-dimensions/571x116?v=v2 "search_box1.PNG")

![search_box.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/31952iB5638F5522CCE2C2/image-dimensions/535x223?v=v2 "search_box.PNG")

The original solution above was posted in the community question below, and you will find other solutions there as well.

* [limiting search box to a space by default](https://community.atlassian.com/t5/Confluence-questions/limiting-search-box-to-a-space-by-default/qaq-p/100755)  

Do let me know if you have any question.  

Cheers,  
Sattesh


Tags: confluence-server

server
A way to append a template to the bottom of a page, rather than a new page?
Asked by Kari Stiller:

I have a template that I created. When used, it creates a new page.

I'd like, instead to put the "create from template" button on a page, and always have the new additions to the template appended to the bottom of that page, like a running log, rather than make new pages. After a while, new pages becomes unwieldy when you are posting 3-4 of them a day.

How can I do this?


Answers:
author: Kari Stiller
body: Not really.

Whenever a template is used, it creates a new page. This gets quickly unwieldy if you use that template 6 times a day, because you rapidly end up with a bunch of pages. After a month, that's 180 pages.

Instead of creating so many pages, I'd like to just create a running log, so that information is always appended to the bottom of a single page until I decide to make a new page. That way, instead of 6 pages in one day made from the template, I could make just one.

comments: author: Robert Reiner _smartics_
body: Ah, okay, I see.

As far as I know there is no out-of-the-box feature that will support your use case. If you are using a blueprint or template then always a new page is created.

What you can achieve with tools is to use some [multi-excerpt](https://marketplace.atlassian.com/search?query=multi-excerpt) feature. With this solution you would still have a new page whenever you click on the create button, but you can list the contents of these pages on one single page.

Maybe you can implement this feature using a [user macro](https://confluence.atlassian.com/doc/writing-user-macros-4485.html). Our you would need to write an a [plugin](https://developer.atlassian.com/server/confluence/writing-confluence-plugins/) (aka add-on). See for example [How can I append a string to a wiki page on confluence?](https://community.atlassian.com/t5/Confluence-questions/How-can-I-append-a-string-to-a-wiki-page-on-confluence/qaq-p/422910)

Unfortunately I don't know such a tool since my favorite approach is to have each piece of information on a separate page to make it referable. Hopefully there is someone in the community who can recommend a third-party tool that would do what you need for your task.


author: Kari Stiller
body: Okay! Thanks for your suggestions.


author: Robert Reiner _smartics_
body: You're welcome. Thank you for your feedback!


author: Robert Reiner _smartics_
body: I'm not sure if I understand your question correctly. I would assume that the pages are listed by a macro like the Content By Label Macro. With this macro you can control whether the listing is reversed or not.

To do this show the options in the macro and select 'creation' for the 'Sort By' parameter. Then click the checkbox for 'Reverse Sort'.

Does this solve your problem?


Tags: confluence-server

server
Any way to create a popup window in confluence?
Asked by arjunsudhas:

Any way to create a popup window in confluence? i am looking for it to add a chatbot in my confluence page.


Answers:
author: Suren Raj
body: Hello Arjun

Jodie Miners wrote a blog post, in which she describes a user macro that she wrote to display a popup that displays text from a glossary and then links to the glossary item:

* <http://jodiem.com.au/2011/08/13/building-a-glossary-in-confluence/>

I hope her post answers your question. :)

Cheers,  
Suren Raj

comments: author: Kim Wallace
body: Note that this approach requires an install of the MultiExcerpt plugin.


Tags: confluence-server

server
Configuring Confluence fresh instalation
Asked by ?ukasz:

Hello,

I'd like to ask for help in two topics. I've got already installed and configured PostgreSQL and already installed and connected to database Confluence. It's available under URL http://localhost:8090 only on installed PC. How to enable LAN users to access Confluence via their browsers? Do I need additional tools like web server or something? And how to create friendly URL instead of http://localhost:8090, ie. <http://confluence.mydomain.com/confluence> (without put port number)?

Second is Confluence by default ask me to log in. How to disable it and allow all visitors to browse Confluence contents without log in? In mind I need to log in account only to create new content. For view all content should be allowed for everyone without logi in.

Many thanks in advance for any help!


Answers:
author: Alexis Robert
body: Hi [@?ukasz](/t5/user/viewprofilepage/user-id/1896877),

for your first question, you can read the [documentation](https://confluence.atlassian.com/kb/proxying-atlassian-server-applications-with-apache-http-server-mod_proxy_http-806032611.html) to setup Apache, you will basically need to do the following:

1. Ask your internal IT team to add a DNS record for confluence.mydomain.com that will point to the server IP where you installed Confluence/Apache
2. Setup an Apache webserver and configure it to have your DNS confluence.mydomain.com to direct traffic to your Confluence instance (localhost:8090 in your case)

for your second question, you will need to enable Public access to Confluence. [This page](https://confluence.atlassian.com/doc/setting-up-public-access-156.html) describes how to do this.

Let me know if you have any questions,

--Alexis
mass import of documents into confluence cloud
Asked by James Underdown:

Hi,

I'm looking to migrate from multiple document libraries to confluence cloud.

For example I know I can import documents one at a time, but assume there is a tool that enables me to mass import based on folders or something?

All i've found has been confluence server specific, not cloud.


Answers:
author: Tobias Anstett _K15t_
body: Hi James,

When talking about migrating multiple document libraries

* are you talking about a whole bunch of Microsoft Word files which should be converted into regular Confluence pages
* or about documents which should be attached to certain pages/spaces to get indexed and searchable?

Can you explain your use case by an example?

Best,  
Tobias

comments: author: James Underdown
body: Hey Tobias,

Thanks for the reply!

I'd like to import a bunch of Word files which would then be converted into Confluence pages.

We're moving from document library in Sharepoint to Confluence.

James


author: Tobias Anstett _K15t_
body: Unfortunately I am not aware of any automated way to do this for cloud...

If you have some experience scripting you could inspect the network requests of the 'Import Word Document' actions and script the export -- however this is not ideal.

Another workaround -- if you found solutions for Confluence server -- is to setup an evaluation installation of the latest Confluence server version, install the corresponding apps and import everything into a single space. Afterwards you can create an XML space export which can be imported into Cloud.

Sorry not being a real help here,

Best,  
Tobias


Tags: cloud

confluence-cloud
How to export the Confluence User's Guide to a Server
Asked by johnsonsegun_bankole:

I have a server running on Confluence 6.11. My question is, how can I easily copy this confluence documantation: <https://confluence.atlassian.com/doc/get-started-777010817.html> to our internal confluence server. I don't want to provide the user with any external links and I want to be able to exit the document to meet our internal needs. Why didn't confluence make this art of "copy" available in the first place.


Answers:
author: Tobias Anstett _K15t_
body: Hi,

Since Confluence 5.5 Atlassian is not longer providing XML exports of the complete Confluence documentation.

However Atlassian is still providing PDF versions of their documentation. You can find these and the official statement [here](https://confluence.atlassian.com/alldoc/confluence-documentation-directory-12877996.html).

Best,  
Tobias


Tags: confluence-server

documentation

server
Confluence error log : Unable to load class for component importation purposes
Asked by Daniel G.:

Setup: Confluence **6.1.3** is running in OpenShift container with the following versions:

```
? oc version
oc v3.4.1.12
kubernetes v1.4.0+776c994
features: Basic-Auth
Server https://atlassian.testserver.testgroup.net:8443
openshift v3.9.40
kubernetes v1.9.1+a0ce1bc657
```

error:

```
2018-08-31 10:56:52,313 ERROR [ThreadPoolAsyncTaskExecutor::Thread 8] [spring.scanner.extension.ComponentImportBeanFactoryPostProcessor] postProcessBeanFactory Unable to load class 'com.atlassian.bitbucket.auth.RememberMeService' for component importation purposes.? Skipping...
2018-08-31 10:56:52,316 ERROR [ThreadPoolAsyncTaskExecutor::Thread 8] [spring.scanner.extension.ComponentImportBeanFactoryPostProcessor] postProcessBeanFactory Unable to load class 'com.atlassian.jira.config.properties.ApplicationProperties' for component importation purposes. Skipping...
```

So far I did not found real solution online. It is more likely to be a bug?  
Is this error harmless?  
Anyone managed to solve this error in the log file?


Answers:
author: Tobias Anstett _K15t_
body: Hi Daniel,

This is a known bug in Confluence -- it is caused by apps which still bundle old releases of Spring Scanner.

Referring to <https://jira.atlassian.com/browse/CONFSERVER-52328> these messages should not have any impact on the functionality of Confluence.

Best,  
Tobias

comments: author: Daniel G.
body: Thanks for confirming that Tobias.  
I thought that is the case because no real fix or workaround cannot be found online.


author: Tobias Anstett _K15t_
body: Yes - and at some point in time, whenever all apps updated to the latest scanner this should be fine :-)


author: Vesa Koivisto
body: Looks like that day has not come yet, still same error in version 7.19.5


Tags: confluence-server

server
How to delete a Confluence page with an error ?
Asked by Mayane:

Hello dear Community,

Our customers created documentation pages on Confluence and few of them are not accessible anymore due to an error :

caused by: java.net.URISyntaxException: Illegal character in path at index 17: /display/PRODIGY/\[EZ\]\[GDPR\]+Ajouter+un+lien+vers+le+bandeau+privacy  
at java.net.URI$Parser.fail(URI.java:2848)

In the meantime of correcting the error, we wish to delete the pages, and yet we can't proceed for the pages don't display the classical page menu.

Is it possible to delete page from another interface in the Confluence admin for instance?

Thx for your help fellow Confluencians !

Mayane


Answers:
author: Tobias Anstett _K15t_
body: Hi Mayane,

As the page contains special characters -- accessing the page should display the URL similar than this:

YOUR_CONFLUENCE/pages/viewpage.action?pageId=THE_PAGE_ID

If you have access to the page id you can delete it by changing the URL to:

YOUR_CONFLUENCE/pages/removepage.action?pageId=THE_PAGE_ID

assuming your user has delete page permissions on a space level and edit permissions on the page itself.

Best,  
Tobias

comments: author: Mayane
body: Hello Tobias,

Thanks a lot for your help !

I tried your solution, though our URL structure is a bit different so we ended up with 404 not found.

Anyway, if i sort out our URL structure, i believe this can solve the problem.

Thanks a lot and have a nice day.

Mayane


author: Manon Soubies-Camy
body: Hello [@Mayane](/t5/user/viewprofilepage/user-id/1196227) and welcome to Community!

Have you tried accessing these pages from different browsers?

Would restrict these pages be enough? Meaning, would it be OK if you just restricted viewing of these pages instead of deleting them? You could create a new page, apply [view restriction](https://confluence.atlassian.com/doc/page-restrictions-139414.html) on it, and then [move the error pages under it](https://confluence.atlassian.com/doc/move-and-reorder-pages-146407727.html#MoveandReorderPages-Reorderpageswithinaspace) - since view restrictions are inherited, no one could see the error pages.

If you still want to delete pages, you can use WebDAV instead of the usual menu:

* [Use a WebDAV Client to Work with Pages](https://confluence.atlassian.com/doc/use-a-webdav-client-to-work-with-pages-200704169.html)
* [Configuring a WebDAV client for Confluence](https://confluence.atlassian.com/doc/configuring-a-webdav-client-for-confluence-148044.html)

Hope this helps!

- Manon

comments: author: Mayane
body: Hello Manon,

Thanks a lot for your help !

Indeed, the problem still occurs whichever browser i use.

Anyway, hidding the pages and playing with restricitions was just what we needed for the moment.

Thanks again and have a great day !

Mayane


author: Manon Soubies-Camy
body: Glad it helped! :)


Tags: confluence-server

server
How to retrieve Attachment Maximum Size value from Global Configuration ?
Asked by Dmytro Slobodenyuk:

Hello, I am developing plugin for Confluence, and plugin has own page where we have a form for uploading images and I would like to retrieve Attachment Maximum Size value from Global Configuration and check. How can I do this within my plugin code ?


Answers:
author: Tobias Anstett _K15t_
body: Hi Dmytro,

Have you already tried to load it using the com.atlassian.confluence.setup.settings.DefaultSettingsManager? This manager provides a getGlobalSettings() method which returns a Settings object allowing you to ask for getAttachmentMaxSize().

You need to inject it as any other manager.

Best,  
Tobias

comments: author: Dmytro Slobodenyuk
body: Hi,

Yes already :), Thank you, it works for me.


author: Victor Mutambuki
body: ![Screen Shot 2018-08-31 at 8.34.10 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/31021i6A9E6B5543D714B0/image-dimensions/294x171?v=v2 "Screen Shot 2018-08-31 at 8.34.10 AM.png")

Dmytro,

Go to Systems --\> Advanced --\> Attachements --\> Edit Settings

victor


Tags: confluence-development

confluence-server

server
Cant login to confluence
Asked by Gerald MURIEL:

Once I click login the error below shows up:

$skin.docType $themebuilder.getCacheTags($req)$themebuilder.setElement($req, "page.title-text-span", $sitemeshPage.getProperty("page.pageTitle")) $themebuilder.setElement($req, "page.footer", "#parse ('engine/theme/includes/footer.vm')")$themebuilder.setElement($req, "page.globalmessages", "#displayGlobalMessages()")$themebuilder.setElement($req, "page.appswitcher", $soyTemplateRendererHelper.getRenderedTemplateHtml("com.atlassian.plugins.atlassian-nav-links-plugin:rotp-menu", "navlinks.templates.appswitcher.switcher.soy", {})) $themebuilder.getRenderedPanel($req,"main", true)


Answers:
author: Tobias Anstett _K15t_
body: Hi,

Looks like an issue with the velocity code being rendered - you should contact the [Adaptavist ThemeBuilder support](https://marketplace.atlassian.com/apps/274/themebuilder-for-confluence?hosting=server&tab=support).

Best,  
Tobias


Tags: confluence-server

server
Error message in log file: Connect to marketplace.atlassian.com failed: Connection refused
Asked by Daniel G.:

Dear Atlassian comunity.  
I know that this question has been asked many times, and I have spent couple of days already tried to solve this problem with the help of other users from this forum, but without success.  

Error:

```

2018-08-31 08:06:44,000 ERROR [HealthCheck:thread-8] [plugins.healthcheck.eol.EolSupportHealthCheck] check An error occurred when performing the EOL check, see the exceptions for more info
org.apache.http.conn.HttpHostConnectException: Connect to marketplace.atlassian.com:443 [marketplace.atlassian.com/54.236.84.244, marketplace.atlassian.com/18.211.173.218, marketplace.atlassian.com/52.72.197.136] failed:
Connection refused (Connection refused)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:151)
.
.
.
Caused by: java.net.ConnectException: Connection refused (Connection refused)
at java.net.PlainSocketImpl.socketConnect(Native Method)
.
.
.
... 20 more
```

Setup: Confluence **6.1.3** is running in OpenShift container with the following versions:

```
? oc version
oc v3.4.1.12
kubernetes v1.4.0+776c994
features: Basic-Auth
Server https://atlassian.testserver.testgroup.net:8443
openshift v3.9.40
kubernetes v1.9.1+a0ce1bc657
```

I have used this (and similar) solutions as reference:  
<https://confluence.atlassian.com/confkb/confluence-is-unable-to-startup-due-to-marketplace-connectivity-issues-939939190.html>  

and as suggested the following is set: **-Dupm.pac.disable=true** and it can be found in Confluence \> Systeminfo settings

![CatalinaOpts.jpg](/t5/image/serverpage/image-id/30983iCD3FCCDEE09F75BB/image-size/large?v=v2&px=999 "CatalinaOpts.jpg")

We have similar Jira setup, and we have same error there as well.  

Any fresh ideas are very welcome!


Answers:
author: Daniel G.
body: After some time, we figured out that above error is saying ++"An error occurred when performing the EOL check"++ which means it has to do something with the eol health check which can be found in \<CONFLUENCE_HOME\>/shared-home/confluence-healthcheck-eol.json

Solution:  
Add the version of Confluence you are using to this file and restart Confluence.  
We are using Confluence 6.1.3 so to or our json file we added that version and it looks like this:

```
?{"versions":[{"name":"6.10","releaseDate":"2020-08-26"},{"name":"6.9","releaseDate":"2020-05-08"},{"name":"6.8","releaseDate":"2020-03-20"},{"name":"6.7","releaseDate":"2020-01-30"},{"name":"6.6","releaseDate":"2019-12-12"},{"name":"6.5","releaseDate":"2019-11-01"},{"name":"6.4","releaseDate":"2019-09-06"},{"name":"6.3","releaseDate":"2019-07-12"},{"name":"6.2","releaseDate":"2019-05-15"},{"name":"6.1.3","releaseDate":"2019-03-20"},{"name":"6.1","releaseDate":"2019-03-20"},{"name":"6.0","releaseDate":"2018-11-02"}]}
```

and error is gone...  

reference: <https://confluence.atlassian.com/confkb/eol-check-causes-health-check-to-fail-when-a-proxy-is-being-used-862622301.html>


Tags: confluence-server

server
How to check whether add-on installed first time or not
Asked by rambabu patina:

I want to check whether my customised add-on installed first time or not in confluence. Any code sample for it would be most appreciated. Thanks.


Answers:
author: Tobias Anstett _K15t_
body: Hi,

If you want to execute certain code when your app is enabled you should:

* create a component which implements org.springframework.beans.factory.InitializingBean
* doing so you will need to implement the afterPropertiesSet() method which is called after the component was initialized
* if you want to execute code only when it was installed the first time and not after each Confluence reboot etc, you will need to store some indicator for it e.g. using Bandana

Best,  
Tobias


Tags: confluence-server

server
Is there an Invite to Confluence link or button
Asked by ????:

I'd like to invite all company's members as users, but cannot find link to invite them.

I only see adding feature to add one each time as attached image.

Can you let me know how I can find link to invite multiple members at once?

Thanks.

![????????? 2018-08-31 14.28.47.png](/t5/image/serverpage/image-id/30972iD6F779023F683580/image-size/large?v=v2&px=999 "????????? 2018-08-31 14.28.47.png")


Answers:
author: Tobias Anstett _K15t_
body: Hi,

To invite multiple users at once you can click on the primary action 'Invite users' displayed at the top right of your screenshot. There you can enter multiple email addresses at ones, but have to separate them with a comma.

Best,  
Tobias


author: Victor Mutambuki
body: Please look at the following documentation on the subject

<https://confluence.atlassian.com/doc/add-and-invite-users-138313.html>

victor