youngmon/atlassian-qna huggingface dataset:
Media wiki to Confluence migration using UWC
Asked by Paul Xavier:

HI There,

I was planning to migrate mediawiki to confluence using UWC, I followed <https://studio.plugins.atlassian.com/wiki/display/UWC/UWC+Mediawiki+Notes,> After completion of 58% i get error "conversion Status... NONE"

1. Before testing in Production server, i installed Confluence standalone in my testing machine, restored mediawiki DB in that testing machine and changed the confluence config in <http://confluence.atlassian.com/display/DOC/Database+Setup+For+MySQL#DatabaseSetupForMySQL-1.InstallConfluence>

2. I exported mediawiki pages as mentioned <http://www.mediawiki.org/wiki/Manual:DumpBackup.php>

```
                         php dumpBackup.php --full >d:\backup\dump.xml

   3. I took attachement from <wiki path>/attachement

   4. Error i got in UWC

2011-08-02 11:10:35,468 INFO  [Thread-9] - Starting conversion.
2011-08-02 11:10:35,484 INFO  [Thread-9] - Initializing Converters...
2011-08-02 11:10:35,515 INFO  [Thread-9] - Initializing Pages...
2011-08-02 11:10:35,515 INFO  [Thread-9] - Converting pages...
2011-08-02 11:10:35,515 INFO  [Thread-9] - -------------------------------------
2011-08-02 11:10:35,515 INFO  [Thread-9] - converting page file: dump.xml
2011-08-02 11:10:39,984 ERROR [Thread-6] - 
Conversion Status... NONE

2011-08-02 11:19:23,640 INFO  [Thread-10] - Starting conversion.
2011-08-02 11:19:23,750 INFO  [Thread-10] - Initializing Converters...
2011-08-02 11:19:23,750 INFO  [Thread-10] - Initializing Pages...
2011-08-02 11:19:23,750 INFO  [Thread-10] - Converting pages...
2011-08-02 11:19:23,750 INFO  [Thread-10] - -------------------------------------
2011-08-02 11:19:23,750 INFO  [Thread-10] - converting page file: dump.xml
2011-08-02 11:19:24,609 ERROR [Thread-9] - 
Conversion Status... NONE

2011-08-02 11:24:07,156 INFO  [Thread-4] - Starting conversion.
2011-08-02 11:24:07,156 INFO  [Thread-4] - Initializing Converters...
2011-08-02 11:24:07,218 INFO  [Thread-4] - Initializing Pages...
2011-08-02 11:24:07,218 INFO  [Thread-4] - Converting pages...
2011-08-02 11:24:07,218 INFO  [Thread-4] - -------------------------------------
2011-08-02 11:24:07,218 INFO  [Thread-4] - converting page file: dump.xml
2011-08-02 12:26:26,265 INFO  [Thread-4] - Escaping Braces - complete
2011-08-02 12:26:26,281 INFO  [Thread-4] - Converting Windows Newlines -- start
2011-08-02 12:26:28,015 INFO  [Thread-4] - Converting Windows Newlines -- complete
2011-08-02 13:09:57,078 ERROR [Thread-4] - Conversion Status... NONE

Please help me on thie... 

Thank you!!
Paul 
```


Answers:
author: john m
body: There't not enough info here to help you. Turn on debug in the log4j conf file to get some better logs.

change the question to include those logs and your conversion config files and some example files that were exported from the db.


Tags: universal-wiki-converter
Tomcat and confluence - does confluence ship with tomcat, or should I install myself before confluence install?
Asked by Samuel Levin:

This is kind of cheezy, but my host has a guide on how to set up confluence.

In the guide, there was nothing that mentioned installing tomcat beforehand. Does Confluence come with Tomcat by default? Do I need to install Tomcat first, or will the installation of Confluence do that for me?

Do all of the other Atlassian apps (JIRA, FishEye, Confluence, Bamboo) run in a servlet container too? Going to attempt to forge some tricky ProxyPass solution...

Do these apps run in their own JVM's? Or can I have 4 atlassian products run in one JVM?

Let me know. Thanks


Answers:
author: Colin Goudie
body: Atlassian do not support running multiples of their apps in the one servlet container. However, the war distribution (in your own container) and the standalone product are fully supported ways of installing their product.

You will find that the Apache Web server front end to Tomcat container setup is one of the most popular ways of installing their products and you'll find lots of help and documentation around


author: Joe Clark
body: If you download the "standalone" version of Confluence, it comes bundled with a version of Tomcat. We also distribute a "war only" version, in case you want to host Confluence on your own pre-existing AppServer.

Pretty sure all our other apps are servlet-based too (well, I know JIRA and Bamboo are).

I wouldn't recommend running the apps in a shared JVM... unsure on our official policy on that, though.

**edit:**yes, do do indeed ship both a "standalone" (includes tomcat) and "EAR/WAR" (web archive only) distribution for Confluence.

comments: author: Samuel Levin
body: Here's my dilemma. I have a 512mb RAM debian 6 squeeze VPS.

Do you think I'd be ok to spawn 4x 64mb Tomcat Containers, one per Atlassian title, with that amount of RAM? Literally two people will be using each application. I didn't think that I would need a separate JVM for each application, initially.

I wanted to have all of my atlassian tools in one instance of tomcat (9090), and my live application in it's own as well (9191).

I already know how I am going to set up ProxyPass for each, so tomcat will run locally. I just need to know whether I need 5 JVM's, instead of 2.


author: Joe Clark
body: I can't speak definitively for the other products, but Confluence won't run happily in anything below 128MB... 256MB would be better.

It looks like our official support policy is a separate JVM for each product (see <http://confluence.atlassian.com/display/DOC/Deploying+Multiple+Atlassian+Applications+in+a+Single+Tomcat+Container>).


Tags: install

tomcat
Why do pictures not appear when i export to word document?
Asked by jj jj:

When i export to word everything comes out fine but the pictures and gliffy diagrams aren't showing up. How do you fix this?


Answers:
author: Jeremy Largman
body: There's a bug report for this. See [CONF-6246](https://jira.atlassian.com/browse/CONF-6246).


Tags: export

gliffy
Hide sections of page based on permissions?
Asked by Shannon Barnhart:

I thought I remembered seeing this at the Atlassian conference, but is it possible to hide a section of a page so that just users in a particular permission group can see it and everyone else sees the page without that section?


Answers:
author: Jason Skrzypek
body: Hi we use something similar using the macro found here

<https://www.adaptavist.com/display/AtlassianConfluence/hide-from+macro>

hope it helps

comments: author: Shannon Barnhart
body: Thanks! That's what i was looking for.


author: Joey McDaniel
body: I like the hide-from Macro, but sadly the content is still indexed. So they aren't able to used for security purposes.

Does anyone know of a macro that performs the same job, but prevents the indexing of the (hopefully) secure content?


author: Colin Goudie
body: I can't recall such a macro or functionality but you could try use page include macro?

<http://confluence.atlassian.com/display/DOC/Include+Page+Macro>

For users to see the included page they require view permission on it. Only problem would be if they see an error when they don't have the permission as that would look a bit ugly
Tasklist Macro Question
Asked by jj jj:

Hi Guys

Is there a way to disable the drop down menu in the tasklist macro? Also is there a way to remove properties in the macro such as "date created" and "assignee"?


Answers:
author: Nick Manville
body: You may want to follow this action: <https://studio.plugins.atlassian.com/browse/TASK-34>


Tags: date

tasklist
Why does 'Cannot create PoolableConnectionFactory' happen after setting up a datasource?
Asked by David Soldan:

After defining a Datasource and testing it with a sql query i get this:

sql-query: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure Last packet sent to the server was 0 ms ago.)

can anyone tell what i did wrong??

greetings  


Answers:
author: Nic Brough -Adaptavist-
body: Yes. Your configuration is incorrect.

That error could be all sorts of things, you'll need to read the log in detail to find out what it is. It's usually (but not always) that your configuration string doesn't point at a database that the server can see, or it has no access to (the root cause will be above this line in your log for most database servers).

comments: author: David Soldan
body: now im getting org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (null, message from server: "Host '172.16.1.100' is not allowed to connect to this MySQL server")

what do i have to change at the sql server??  


author: Nic Brough -Adaptavist-
body: That's more specific, excellent.

Your server security is incorrect - you need to tell it to allow access from the Confluence serer. I've not used SQL server for a long time, so you'd need to check the documentation for the correct way. (If it were MySQL, there's a "grant access to user@server" SQL statement to run, but you should do the access the way the docs for your database says are best)
When a change is made to a page we are watching we receive two notifications in an email.
Asked by Rayone Moyer:

How do I turn it off so I only get one notification?


Answers:
author: Rayone Moyer
body: Disabling the [Descendant Notifications Plugin from Adaptavist](http://www.adaptavist.com/display/Plugins/Descendant+Notifications) seems to have done the trick! Thanks for the help. Appreciate it.


author: Rayone Moyer
body: Uninstalled the plugin and now its working correctly. Thanks for all the suggestion.


author: epohl
body: We have the same problem. Seems to happen when we watch the whole space.

comments: author: Jo-Anne MacLeod
body: Do you have the plugin installed though? We had the same problem until the plugin was actually removed. But maybe it was coincidental.


author: Rayone Moyer
body: we do have the plug in installed I will try tremoving it and see if that works. Thanks


author: Dennis Benzinger SAP
body: We have the same problem too. Are you using the [Descendant Notifications Plugin from Adaptavist](http://www.adaptavist.com/display/Plugins/Descendant+Notifications)?  
There's a thread about this problem in the Adaptavist forum: [Getting two emails when using the Descendant Notifications plugin](http://www.adaptavist.com/display/community/Getting+two+emails+when+using+the+Descendant+Notifications+plugin)

comments: author: Rayone Moyer
body: We are not using the plugin. Seems to be happening Because we are watching the whole space? I have tried to modify the email settings on what alerts I get but stil getting the same two identical emails. Several others in the company are as well.

Any suggestions would be appreciated.


author: Azwandi Mohd Aris
body: Are these two emails identical i.e. same subject and contents? Did you receive them at the same time?

comments: author: Rayone Moyer
body: They are identical. same subject, time, content, etc.If I stop watching pages then I get none, if I watch my space and te children of the space by default then I get two.


author: Jon Cotter
body: Only for Watchers? or for all notification types (Reporter, Assignee etc...)?
How do I link to the Team Calendar page?
Asked by John Price:

how can I make a wiki-style link to the user calendar page? Not to embed a calendar - it's for a blog post that says "Here is where you can find your Calendars". A


Answers:
author: Adam Laskowski
body: In the navigation menu that appears beneath your name on mouse hover, select "Calendar" to go to your main Team Calendars view. You should have a list of calendars on the right hand side. Click on the Gear icon for the calendar you wish to link to, and click "Share." This will give you a URL that you can then link to using the normal wiki markup style:
>
> ```
> [link text|<Share_URL>]
> ```

If you have trouble locating the "Share" option, there is an example image in the guide for [exporting calendars](http://confluence.atlassian.com/display/TEAMCAL/Exporting+Team+Calendars+Content+to+Other+Calendars) that shows the "Share" option right above the highlighted export option.

comments: author: John Price
body: Thanks. I was hoping for a shorter syntax like "CAL:IT Team Calendar" or something. This helps though.


author: Tatiana Dergay
body: Hi, the short link is not available as I see - I have no idea how to link to calendar, without embedding it on the page. Could you help me?

comments: author: Paul Cummings
body: So is there a way go link (not embed) to a calendar? I'm not seeing one.

THANKS.

(bumping this question as I have similar issue)


author: John Price
body: [@Paul Cummings](/t5/user/viewprofilepage/user-id/1163357) As a workaround, you can specify Web Link and just paste the URL. This will of course break if the link changes (like if the space name changes), but it'll keep Confluence from auto-converting the pasted URL.

Example:

[https://confluence.mycompany.com/display/TG/calendars#](https://confluence.ihsmarkit.com/display/TG/calendars#)


Tags: calendar
Best organisational diagram/skills directory type solution in Confluence
Asked by Mark Nixon:

Hi Everyone,

We are looking at furthuring our confluence deployment by including an internal employee area.

We want to have a) an organisational diagram and b) an internal 'skills directory', where people can search for employees who may have a specific skill i.e. can speak French.

For the Org Diagram i suspect it will need to be done in Photoshop and updaded/reuploaded everytime it changes, and the only solution I can find for the skills directory is for everyone to have a personal space and tag thier relivant skills.... which isn't very elegant....

Is anyone else doing this and how are you doing it? Anybody know of a plugin that may help us out here?

Thanks for your help/ideas!

Mark


Answers:
author: Mark Nixon
body: To all those interested,

I stumbled accross a solution which may help us anyway: <https://appfusions.com/display/EDIRC/Enterprise+Directory+and+Org+Chart+for+Confluence>

Whilst it focuses more on the directory and organisational chart, we will also use Personal Spaces to list individuals skills/competancies - we have set a template for this in Confluence Admin -\> Default Space Content.

Hope this helps anyone else with the same question.

Mark

comments: author: Chris van Hasselt
body: Mark - I'd be interested in learning more about what you've done, as this sounds exactly like a project I am working on. We are using the default people directory, and we've got a lot of issues that have been solved, others that haven't. Have you found any good docs on search, people search in particular? For instance, a basic question: Confluence uses Lucene for search, but is that the same search engine used for people search? If not, what is used?


author: Ellen Feaheny [AppFusions]
body: For more info on this -

<http://blogs.atlassian.com/2012/09/marketplace-monday-enterprise-directory-and-org-chart-for-confluence/>

Video - <http://www.youtube.com/watch?v=iqJ8AS60bds>

Eval Licenses are available from AppFusions direct ([info@appfusions.com](mailto:info@appfusions.com)) and this plugin is going through fast and active feature iteration these days, due to popularity. We just added image support.


author: Mark Nixon
body: Hi Chris,

Sorry for the late reply.

We Didn't end up going for this, as it didnt integrate properly, was cost-prohibitive and also our organisational security policy restricted appfusions creating something custom-built for us.

I actually revisited this today, and we are simply going to have a page with Senior management (C-level and VP's) - with just a picture of them, and their name underneath. By clicking on this it links to their personal space. I will probably then have a list (simple table) of all people directly underneath them, linking again to thier personal space.

In the end, the complexity of any solution became too high - and at the end of the day we couldnt justfy the outlay vs benefit. In the end we will just get the poor student assistant to bash away at this for a few hours ;)
Does the current version of Active Objects support backup/restore?
Asked by David at David Simpson Apps:

@Ben Speakmon's Summit talk [Using ActiveObjects in Atlassian Plugins](http://summit.atlassian.com/archives/plugin-devs/activeobjects-in-atlassian-plugins) suggests that it's supported, but...

The page that was recently here -- <https://studio.atlassian.com/wiki/display/AO> -- suggested that backup/restore was yet to be added, but that was last edited in March or April, so could be out of date documentation.


Answers:
author: BenB
body: Depends on the product. JIRA 4.4 will ship with an ActiveObjects beta, including backup and restore. No word yet on the next version of Confluence, but the Fisheye/Crucible team is working on integrating it.

comments: author: David at David Simpson Apps
body: So, it will be built into future versions of each of the products, but currently only JIRA 4.4 has backup/restore capabilities for AO.

Is that right?


author: Samuel Le Berrigaud
body: @David correct.


Tags: active-objects
Eclipse Connector... is it gone forever or will it come back?
Asked by Reatha Ek:

Hello!

It might be me, but I can't find a downloadable IDE Connector for Eclipse on the [plugins.atlassian.com](http://plugins.atlassian.com) site although the documentation says there should be one.

What am I missing now?

Kind regards, as always

Bernd W Neumann


Answers:
author: Janusz Gorycki
body: Hi Bernd,

The easiest way to install IDE Connector for Eclipse is to follow instructions at <http://confluence.atlassian.com/display/IDEPLUGIN/Installing+the+Eclipse+Connector>

Best Regards,

Janusz Gorycki


Tags: eclipse

ide-connector
Confluence plugin - servlet cannot be cast
Asked by diego diego:

Hi all,

I have registred servlet in atlassian-plugin.xml:

```
<servlet name="xls export servlet" key="xlsExport" class="com.mycomp.confluence.plugin.servlet.XlsExport">
           <description></description>
           <url-pattern>/xlsExport</url-pattern>
</servlet> 
```

Tha class of servlet is following (I only test it):

```
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class XlsExport2 extends HttpServlet {

    protected void processRequest(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {
        response.setContentType("text/html;charset=UTF-8");
        PrintWriter out = response.getWriter();
        try {
            out.println("<html>");
            out.println("<head>");
            out.println("<title>Servlet XlsExport2</title>");  
            out.println("</head>");
            out.println("<body>");
            out.println("<h1>Servlet XlsExport2 at " + request.getContextPath () + "</h1>");
            out.println("</body>");
            out.println("</html>");
        } finally {
            out.close();
        }
    }

    @Override
    protected void doGet(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {
        processRequest(request, response);
    }

    @Override
    protected void doPost(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {
        processRequest(request, response);
    }

    @Override
    public String getServletInfo() {
        return "Short description";
    }
}
```

When I call this servlet in velocity template like this:

```
 /confluence/plugins/servlet/xlsExport
```

, it still throw this exception:

```
getServlet Unable to create servlet
```

```
java.lang.ClassCastException: com.mycomp.confluence.plugin.servlet.XlsExport cannot be cast to javax.servlet.http.HttpServlet 
```

What is wrong? I dont have any idea... Thanks for reply


Answers:
author: Joe Clark
body: In your pom.xml, make sure that your dependency on the java servlet API is set to "Provided":
> \<dependency\>  
> \<groupId\>javax.servlet\</groupId\>  
> \<artifactId\>servlet-api\</artifactId\>  
> \<version\>2.3\</version\>  
> **\<scope\>provided\</scope\>**   
> \</dependency\>


author: Bjarni Thorbjornsson
body: Hi,

Your class is called "XlsExport2" but your definition is using "XlsExport"!

-Bjarni


Tags: class-exception

servlet
More than one Database
Asked by David Soldan:

Hey everyone,

i wanted to ask if it is in general possible to connect more than one database to confluence besides the existing one with wich confluence is connected .

Im asking because i got the problem that there is information on different access-databases in different departments of my firm. I have to display the tables in the wiki .

Can anyone help me ?

greetings


Answers:
author: Nic Brough -Adaptavist-
body: At a very basic level, yes. Just add the database connections to the Tomcat (or other application server), and you'll be able to access the databases.

There is nothing built into Confluence that actually uses them, so you'll need some code that actually uses them.


author: David Soldan
body: And then when the Databases are connected how i can include staff from the databases to confluence pages??? With the sql plugin/macros??

Am i one the right way if i follow <http://confluence.atlassian.com/display/DOC/Configuring+a+MySQL+Datasource+in+Apache+Tomcat> and this <https://studio.plugins.atlassian.com/wiki/display/SQL/SQL+plugin+datasource+configuration> ??

comments: author: Nic Brough -Adaptavist-
body: Yes. the instructions are in the docs for the database plugin as you've already found.
Confluence 3.3 and SiteMinder SSO
Asked by Jean de Laulani?:

Has anyone successfully used the [SiteMinder Custom Seraph Authentication](http://confluence.atlassian.com/display/DEV/SiteMinder+Custom+Seraph+Authenticator+for+Confluence) with version 3.3 of Confluence?

I've managed to compile it but cannot make it to work on my server.

cheers, Jean


Answers:
author: Rodrigo Girardi Adami
body: Hi Jean.

I could only find this documentation which I'm not sure if you are aware of: <https://confluence.atlassian.com/display/DEV/SiteMinder+Custom+Seraph+Authenticator+for+Confluence>

Maybe this can help you to implement the Siteminder :)

regards,

Rodrigo

comments: author: Ryan Goodwin
body: Isn't that the same link as in Jeans question?


author: Jean de Laulani?
body: I have switched to shibboleth instead, easier to integrate with Confluence.
Create Outlook Calendar appointment from Wiki
Asked by Dimitrios Traskas:

Hi

we currently use confluence to document our interaction with clients such as appointments we had, history of each client and we would like to plan new appointments from the wiki too. Our goal is to create Outlook calendar appointments from confluence. Do you know if that is possible with or without the use of a plugin?


Answers:
author: Penny Wyatt (On Leave to July 2021)
body: Looks like Team Calendars might do what you need.

<http://confluence.atlassian.com/display/TEAMCAL/Subscribing+to+Team+Calendars+from+Microsoft+Outlook>

The integration seems to be fairly limited - I'd suggest trying an evaluation and seeing if it meets your use case.

comments: author: Dimitrios Traskas
body: Hi thanks

for the reply. Unfortunatelly at the moment we only have Outlook 2007 so we will need to find a different solution.