Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot load DocumentFactory

Đư_c Linman
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 17, 2022

Hello,

We install Jira 8.17.1 on Centos Stream 8 with port 8989 and use HTTPS.

Sometimes, We can't connect to this and can't ping to that.

We also have that warning on the log:

WARNING: Cannot load DocumentFactory: com.atlassian.core.xml.InterningDocumentFactory
Security framework of XStream not explicitly initialized, using predefined black list on your own risk.

Can anybody help me?

1 answer

0 votes
Radek Dostál
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 18, 2022

Can't say I came across this and most search engines find Confluence/Bamboo related things. 

https://jira.atlassian.com/browse/JRASERVER-72669 this one points to affected 8.17, claiming that 8.18 contains a fix.

Couple more on the topic, but mostly haven't really found much except a potential JVM argument workaround.

https://community.atlassian.com/t5/Jira-questions/How-to-fix-warning-quot-Security-framework-of-XStream-quot-in/qaq-p/1502753

https://jira.atlassian.com/browse/JRASERVER-71181

https://jira.atlassian.com/browse/CONFSERVER-65577

https://community.atlassian.com/t5/Jira-Core-Server-questions/Jira-Upgrade-from-8-5-1-to-8-13-14/qaq-p/1647993

 

Again, never had this error, so I don't know exactly where this is coming from, but I would probably try to install 8.20 (which is a long-term support release) and confirm if the problem goes away.

Do you need specifically 8.17.1? It's a bit odd version. If upgrading is not an option then maybe adding a JVM arg 'xstream.allowlist.enable' to workaround it could work - but it seems that it could break some 3rd party apps according to a few of those posts.

Suggest an answer

Log in or Sign up to answer