youngmon/atlassian-qna huggingface dataset:
Not able to start confluence org.apache.jasper.JasperException: java.lang.ClassNotFoundException: or
Asked by Jan R?rthmans:

Hey guys,

since today we are not able to start our confluence. After restart we just got a 500.

org.apache.jasper.JasperException: java.lang.ClassNotFoundException: org.apache.jsp.errors_jsp "The server encountered an unexpected condition that prevented it from fulfilling the request."

Does anyone know what we have to do to make it start again?

If more logs are needed just ask me.

Thanks in advance

![500-1.png](/t5/image/serverpage/image-id/52275i1956B0110F2A095B/image-size/large?v=v2&px=999 "500-1.png")![500-2.png](/t5/image/serverpage/image-id/52276i6B54A146971AD548/image-size/large?v=v2&px=999 "500-2.png")![500-3.png](/t5/image/serverpage/image-id/52277i80524EBD89868F95/image-size/large?v=v2&px=999 "500-3.png")![atlassian-confluence.log.png](/t5/image/serverpage/image-id/52274iBCC6D40A4E590D1D/image-size/large?v=v2&px=999 "atlassian-confluence.log.png")![catalina.2019-04-23.log.png](/t5/image/serverpage/image-id/52278i76CE1CE36F460D92/image-size/large?v=v2&px=999 "catalina.2019-04-23.log.png")


Answers:
author: Jan R?rthmans
body: I installed on a new vm and just imported all /var files + db-connection.

On the new machine confluence is up and running.


Tags: apache

confluence-server

server
Create a template using the new cloud editor
Asked by Albert Marashi:

Confluence doesn't let me create a template using the new cloud editor. This is a must-have feature, when is the team implementing this:  

**What's expected**

Space Settings \> Content Tools \> Templates \> User Created Templates \> Create New Template  

should give you the option to create a template using the new editing experience, instead of the old


Answers:
author: Avinoam
body: This actually is available, it only depends on the phase your site is from a rollout perspective. The option to opt your site in is something many other customers have done for this reason and can be done by reaching out to our support team.

comments: author: Bemorte
body: YESSSSS!

That is awesome. I will do that.


author: Albert Marashi
body: Great, thanks. I'll contact support


author: Brooke
body: Still not seeing this functionality on our end. Only the legacy editor and other templates are available options.

comments: author: Adan Warren
body: Be thankful, I wish I could still use the old editor to make templates.


author: Davin Studer
body: [@Adan Warren](/t5/user/viewprofilepage/user-id/2496891) There is a legacy editor template that will give you a blank legacy editor page. If you do not have it you can contact Atlassian Support and they can enable it for you. Once you have that as a work around you could create a bunch of pages that work as templates. You would just copy the page and then fill it out. It's not perfect. You would not get the template variables or placeholder text options, but it gets you much of the functionality. Another option if you don't have the legacy editor template but you do still have some legacy editor pages you could copy one of those to create your "templates".


author: Davin Studer
body: There are many things that the new editor doesn't do quite yet. Below is a link to their roadmap of work for the new editor.

<https://confluence.atlassian.com/confcloud/confluence-cloud-editor-roadmap-967314556.html>

comments: author: Bemorte
body: This feature is not on their roadmap. I agree that this is a big deal and should get attention or an answer from Atlassian.
The icons on the front page are missing on confluence public home page
Asked by IT Support:

The icons on the front page have suddenly gone missing on our confluence without making any changing on the theme. Has anyone faced similar issue? Could provide some pointer how to resolve it?

![front page icon missing.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/52264iE0396026F5B202B1/image-size/large?v=v2&px=999 "front page icon missing.JPG")


Answers:
author: Davin Studer
body: Have you tried right clicking on the image(s) and selecting inspect/view source/whatever-your-browser-calls-it? You should be able to see the html behind the image and specifically get the url for the image. Try pasting the url into the location bar of a separate browser window. See if it comes up. If it doesn't then the image is no longer there or at least no longer at that url.
Why is my editor and staff workflow autotransitioning?
Asked by Lynne Randolph:

I have an editor and staff Comala Workflow (server version) setup on pages. Before, when I would edit a page, the page would stay in "Draft" mode until I transitioned it to "Ready". Now, it's auto-transitioning directly to "Ready" whenever an edit is made. I'm not sure what happened to cause this, can anyone help?

If I put "?admin=true" at the end of the URL, I can transition it back to draft, so the state is still there.

Thanks!

Lynne


Answers:
author: Mike Rink
body: Hi [@Lynne Randolph](/t5/user/viewprofilepage/user-id/2657815) , if you open the mark-up editor, it should have the following state:

{state}  
{state:Published\|final=true\|rejected=Reviewed\|updated=Ready\|hideselection=true}  
{state}

If your 'updated' goes to Ready, then you'll want to edit it to be Draft. That should sort out the issue. The 'Ready' is the default that comes pre-loaded into Workflows whenever a page is edited, no matter the state.

Hopefully this resolves your issue!

comments: author: Lynne Randolph
body: Awesome, thanks, that worked! I also changed to rejected=Draft on the Ready and Reviewed state. I'm still trying to decide if it should be that on Published too, but we'll see.

Now if I could only not have to remove and reapply the workflow when it changes in the server configuration settings. At first I thought the change didn't work, I wish the page level workflows would not make their own copies. A global site workflow is also not great since you often have pages where reviewing them doesn't make sense.


author: Mike Rink
body: [@Lynne Randolph](/t5/user/viewprofilepage/user-id/2657815) glad that sorted it.

Some users choose to deploy their Global workflows with labels, so that only the pages with the specified label get that workflow applied it. Might not be a fit for your case, but you can learn more here: <https://wiki.comalatech.com/display/CWL/Space+mode+workflow+application> (it refers to Space labels, but generally the same rules apply to Global workflows).


author: Lynne Randolph
body: Oh, that looks like it would work great for us. Thanks for the added pointer!


Tags: confluence-server

server
Firefox 66.0.3 - sections in Confluence hide some text
Asked by Steven Haworth:

Is anyone else having this problem?

Using cloud, we have a number of documents in Firefox, broken into 'sections' (using the section macro). Within a section, a numbered list and a PPT attachement in the top portion are visible in Chrome, but not in Firefox. The lower portion of the section contains a table, and is visible in both browsers. I can't see any difference (in edit mode) between the upper and lower portions - it's all just text and tables in the Section.

I've checked add-ins, cookie permissions, and a number of other Firefox settings, and haven't found a cause for the text being hidden.

In Firefox, I can see all the text in edit mode, but not in published mode.

Any ideas?


Answers:
author: Jack Brickey
body: Hi [@Steven Haworth](/t5/user/viewprofilepage/user-id/151320) , given the age of this post I suspect/hope that this problem is no longer occurring. Can you please confirm?

comments: author: Steven Haworth
body: Yes, this was resolved with updates to the Confluence pages \& editor in Cloud.


Tags: cloud

confluence-cloud
How to restrict confluence only for entire company employees without license, if it is public enable
Asked by jameer ahamad:

Our confluence data center is enabled for the public. But we need to restrict it within the company and without disabling external access. Is there a possible way to restrict anonymously.


Answers:
author: Davin Studer
body: *"But we need to restrict it within the company..."*

What exactly do you mean by that? Are you saying that no one on you companies network should be able to get to it?

comments: author: jameer ahamad
body: Hi Davin,

Please have a look at my scenarios.

Scenario1: Open for the public ( will enable global permissions for anonymous)

Scenario2: Open for the entire company without a license. But the public has limited access (?)

Scenario3: Only for restricted users. ( Global permissions disable and only provide access for required users)

Thanks in advance!


author: Davin Studer
body: You can place different permissions based on space. So, if you have some parts that everyone should have access to you can give that space anonymous access. Fo content that you don't want to be public you would put that in its own space, disable anonymous access, and apply appropriate viewing/editing permissions.


author: Davin Studer
body: Also, as much as possible avoid giving permissions to people. Instead give permissions to groups and then add people to the groups. You will save yourself so many troubles doing it this way.


author: jameer ahamad
body: Thank you Davin


author: Vasiliy Zverev
body: You can restrict view for group or groups you use for licensed users.

Here is documentation how to get licensed users: <https://confluence.atlassian.com/doc/managing-your-confluence-license-313467774.html>

comments: author: jameer ahamad
body: Thank you for your information


Tags: confluence-data-center

confluence-server

server
How to get last authenticated in confluence using rest api?
Asked by Jan Nylund:

In a try to do some automatic cleanup of licenses, I'm investigating the api's on JIRA, Bitbucket and Confluence to find out when a user was last authenticated to an application.

I managed to pull the info from JIRA over the crowd api, and from bitbucket over it's rest api, but on confluence I can't seem to find this information exposed anywhere.

The confluence user information doesn't provide it, and JIRA crowd doesn't tell me when someone authenticated through the integration.


Answers:
author: Navam Rajput
body: [@Jan Nylund](/t5/user/viewprofilepage/user-id/18236) Any update on this ? . I am also doing the auditing on the last logged in user details


author: Daniel Eads
body: Hey Jan,

Doing some cleanup is great admin works! Unfortunately as far as I'm aware, Confluence doesn't have an API endpoint for that information.

There are a couple ways to go about this without the API. First is via SQL - the embedded Crowd database does keep track of the last login time for users. [We have some sample queries here for retrieving this info from the database](https://confluence.atlassian.com/confkb/how-to-identify-inactive-users-in-confluence-214335880.html).

Secondly, there are marketplace apps that can identify these users for you (and some can automatically disable the users after a certain amount of time to recover the seat). You can [take a look at a few of those here](https://marketplace.atlassian.com/search?hosting=server&product=confluence&query=user%20logged%20in) and see if any fit your needs.

It would be interesting to see if you have some other system doing the cleanup and come up with a way to expose the results via API. Let us know how it goes!

Cheers,  
Daniel


Tags: confluence-server

server
Access third party plugin data from confluence database
Asked by xhowl:

I am building a custom plugin that requires data from another confluence plugin. Will it be possible to grab this data from the confluence database? I am looking at the database and I can't seem to find it.


Answers:
author: Stephen Sifers
body: Hello Chris and welcome to the Community!

While it may be possible to grab data from the database from a table created by another plugin, it may not be very straight forward how to do this based on how the other plugin developer has structured or encrypted any data within the database.

To understand a bit more about this, which plugin are you attempting to access from the database?

We look forward to your response to help on your path of plugin creation.

Regards,  
Stephen Sifers

comments: author: Tim Draeger
body: Hi Stephen,  

Incidentally, I am facing the exact same issue as Chris. I'm writing a plugin which needs to access the data from another plugin. I've already looked into the structure the other plugin uses and tested what I want to do by manually running queries against the other plugin's DB tables. I am aware of the risk that directly accessing other plugins' data brings, but I see no other way to move forward. Note that the queries I wish to run will not be user-defined but be a relatively static set run by the plugin itself via scheduler.  

So, the question now is how would one gain access to arbitrary tables in Confluence's DB from within a plugin I'm developing?  
I'm assuming AOs won't do the job. Would the solution detailed in [this question](https://community.atlassian.com/t5/Answers-Developer-Questions/How-to-connect-to-confluence-database-from-plugin-via-an/qaq-p/524341) do?


Tags: atl-adm

atl-dev

confluence-server

server
Confluence - View all comments on a page
Asked by Alexandra Wiechers:

Hello,

We use Confluence for documentation reviews and collaboration. We need to be able to see all comments on a page as their are multiple editors/reviewers etc... that all provide comments and feedback. Sometimes overlapping each other bc they do not see the comment rather than responding to someone's comment.

How can you view all comments at once on a page so when scrolling you can quickly review and respond/resolve?


Answers:
author: Irina_Bel_Stiltsoft_
body: Hi [@Alexandra Wiechers](/t5/user/viewprofilepage/user-id/2557559)

We can suggest a workaround with the help of the [Talk Report](https://docs.stiltsoft.com/display/public/Talk/Talk+Report) feature in our [Talk - Advanced Inline Comments for Confluence](https://marketplace.atlassian.com/apps/978531/talk-advanced-inline-comments?hosting=datacenter&tab=overview) app.

Talk Report allows overviewing comments made on a specific page and/or space and see in it the following data:

* Name of a page where an inline comment/suggestion was created
* Link to an inline comment/suggestion
* Initial comment/suggestion
* Priority of an inline comment/suggestion
* Status (open, resolved, archived)
* Discussion/suggestion author
* Users mentioned in a discussion
* Date when a talk was started
* Date of talk resolution

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

A good case is to use this app with the [Table Filter and Charts](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview) app. With the combination of these apps, you can filter comments by a certain user, the priority of a comment (low, medium, or high), and its status(open, archived, or resolved). These filters can help you to see which comments may take your immediate reaction.

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


author: Andrii Tkachenko [BeastieHut]
body: Hello!

You can use <https://marketplace.atlassian.com/1219786> plugin to form the table of comments (simple comments or inline (resolved/unresolved)) (if needed, from other pages and descendents). Also you can display attachments' comments.

You can add the macro to home page and see the comments for all pages in space (simple comments, inline (all or just resolved/unresolved)).

Hope this can help.

Thank you


Tags: comment

confluence-server

server
Can I have different context path for development and production instances of confluence?
Asked by michael_giroux:

I'm preparing to stage an update of Confluence. We will copy the existing confluence-data and oracle database to a dev box, and perform the upgrade in development instance. If successful, we will perform the upgrade in production.

There is no context path for our production server, but the dev box is running other apps so we need to configure context path as described in <https://confluence.atlassian.com/conf67/configuring-the-server-base-url-945103616.html> to allow the apache httpd proxy to route messages to the dev confluence instance.

It seems that this should work, but I wanted to confirm that I'm not overlooking something. Beyond the change to server.xml and the Server Base URL described in the reference link, is there anything else I need to be aware of?


Answers:
author: Nic Brough -Adaptavist-
body: No, you're not missing anything. Add the context path to server.xml and change the base url in the development system, and you're done
Can I make Confluence essentially 'read-only'
Asked by Frank Hannaford:

We want to make Confluence essentially 'read-only', in that people are not able to update existing or add new entries.

Kicker is that we would like them to be able to still print / export info.

Just not sure how to set permissions for this - if can be done globally, great, but even if needs to be done individually, that is okay as well.


Answers:
author: Tyler Brown
body: Hey Frank,

Yeah, you can absolutely set all of your spaces as read-only.

You can then select specific users to be able to update content, however all other users will be able to view, print or export all of the pages.

This guide should help out: <https://confluence.atlassian.com/confkb/how-to-make-confluence-read-only-311920317.html>

Tyler


Tags: confluence-server

server
Confluence Restore Error Invocation of method 'isShowSignUp'
Asked by Kristin Lyons:

I have Confluence 6.15.2 installed on a server with Postgres. I have a backup of a Confluence Cloud instance that I am trying to restore into the server instance. During the restore (less than five minutes in) I get an error message:

![Untitled 2.png](/t5/image/serverpage/image-id/52213i548A7F2F06B59596/image-size/large?v=v2&px=999 "Untitled 2.png")Then if I try to do anything in Confluence I am just brought to an error screen:

![Screen Shot 2019-04-22 at 12.38.46 PM.png](/t5/image/serverpage/image-id/52214i7AB4C85EE99599C0/image-size/large?v=v2&px=999 "Screen Shot 2019-04-22 at 12.38.46 PM.png")

In the database if I run the query

    SELECT * FROM cwd_app_dir_mapping

I get 0 rows returned.


Answers:
author: Shannon S
body: Hello Kristin,

Thank you for reaching out!

I've done some investigation here and I discovered that a few other users are having he same issue. We're looking through error logs right now to determine the cause.

If you'd like to assist, please enable [Detailed SQL Logging](https://confluence.atlassian.com/doc/enabling-detailed-sql-logging-179030.html) and review the [Confluence server logs](https://confluence.atlassian.com/doc/working-with-confluence-logs-108364721.html) while replicating the error again.

You can send the error messages you see there. If needed, you can send via Dropbox or something like [Pastebin](https://pastebin.com/), since sometimes pasting logs can cause Lithium (the software Community runs on) a bit of trouble.

Regards,

Shannon

comments: author: Kristin Lyons
body: Hi Shannon, thanks for the update. I have since restarted Confluence from scratch and instead of doing a full site restore I imported spaces individually. I am not sure that the error logs have any relevant data anymore but I would be happy to send you the support zip if there is a way I can send it directly to Atlassian.


author: Shannon S
body: Hi Kristin,

Thank you for letting me know that. Keep in mind that when you restore from each space at a time you will lose some data and settings outside of the space content. I just wanted to point it out in case you run into any issues like this in the future.

As for the error, no worries about sending us the logs. What I'll do is watch the support cases that we're working on, and once a resolution or bug is confirmed, I will update it here. At least it can help other users in the future.

Take care,

Shannon


author: Shannon S
body: Hello Kristin,

We have confirmed that this behavior you were experiencing is a bug. Have a look below:

* [CONFSERVER-58196](https://jira.atlassian.com/browse/CONFSERVER-58196) *Confluence Cloud export into Server fails due to com.atlassian.confluence.api.model.people*

This is caused to recent changes for GDPR.

Should you need to re-attempt the import, you can apply the workaround as listed on the bug report.

Let me know if you have any questions about that!

Regards,

Shannon


Tags: confluence-server

server
After upgrading from 5.1.1 tp 6.15 and restarting, getting error in com.zenfoundation.theme.ZenTheme
Asked by Tom McCobb:

### Cause {#toc-hId-1058581778}

java.lang.RuntimeException: javax.servlet.ServletException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isLicensed' in class com.zenfoundation.theme.ZenTheme threw exception java.lang.NoClassDefFoundError: Could not initialize class com.atlassian.upm.osgi.impl.Versions at theme/html/zen-javascript-bridge.html\[line 47, column 32\]  
at com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator.render(BaseWebAppDecorator.java:37)

caused by: javax.servlet.ServletException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isLicensed' in class com.zenfoundation.theme.ZenTheme threw exception java.lang.NoClassDefFoundError: Could not initialize class com.atlassian.upm.osgi.impl.Versions at theme/html/zen-javascript-bridge.html\[line 47, column 32\]  
at com.atlassian.confluence.util.profiling.ConfluenceSitemeshDecorator$ErrorSendingErrorHandlingStrategy.handleException(ConfluenceSitemeshDecorator.java:244)

caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isLicensed' in class com.zenfoundation.theme.ZenTheme threw exception java.lang.NoClassDefFoundError: Could not initialize class com.atlassian.upm.osgi.impl.Versions at theme/html/zen-javascript-bridge.html\[line 47, column 32\]  
at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:237)

caused by: java.lang.NoClassDefFoundError: Could not initialize class com.atlassian.upm.osgi.impl.Versions  
at com.atlassian.upm.license.storage.lib.VersionChecker.isUpm201OrLaterInstalled(VersionChecker.java:50)


Answers:
author: Shannon S
body: Hello Tom,

Thank your for reaching out! Happy to help.

From what I see, you are likely running an add-on called [Zen Foundation](https://marketplace.atlassian.com/apps/32965/zen-foundation?hosting=server&tab=overview) which has reached end-of-life with the vendor.

According to their listing, Zen Foundation will only work up to Confluence version 6.14.3.

You'll want to disable your add-ons first before restarting Confluence. Have a look at [How to manually remove malfunctioning add-ons](https://confluence.atlassian.com/confkb/how-to-manually-remove-malfunctioning-add-ons-113705118.html) for details on that.

Let me know if you have any trouble.

Regards,

Shannon

comments: author: Tom McCobb
body: After disabling the plug-in and restarting the migration process, the upgrade completed successfully.


author: Shannon S
body: Hi Tom!

Thank you for confirming that removing the add-on resolved the issue. Glad you were able to upgrade successfully.

Do let us know if you have any other trouble, otherwise have a pleasant weekend.

Regards,

Shannon


Tags: confluence-server

server