Issue Details (XML | Word | Printable)

Key: JRA-14187
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Anton Mazkovoi [Atlassian]
Reporter: Gili
Votes: 0
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
JIRA

Tomcat documentation should indicate PersistenceManager has to be disabled

Created: 27/Dec/07 05:47 AM   Updated: 27/Mar/08 01:59 PM
Component/s: Documentation
Affects Version/s: 3.12.1
Fix Version/s: 3.12.2

Time Tracking:
Issue & Sub-Tasks
Issue Only
Not Specified

Environment:
Issue Links:
Reference
 

Participants: Andrew Lui [Atlassian], Anton Mazkovoi [Atlassian], Gili, Ian Daniel [Atlassian] and Peter White [Atlassian]
Since last comment: 38 weeks, 6 days ago
Resolution Date: 15/Jan/08 08:32 PM
Labels:

Sub-Tasks  All   Open   

 Description  « Hide
The documentation component of http://jira.atlassian.com/browse/JRA-7755 was never fixed. The online documentation still incorrectly leaves the Persistence Manager enabled giving a SEVERE warning on startup.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Ian Daniel [Atlassian] added a comment - 03/Jan/08 12:49 AM
Hi Rosie,

Actually, it looks like it is more than just a doco problem, as <Manager className="org.apache.catalina.session.PersistentManager" saveOnRestart="false"/> is still in the jira.xml files for Tomcat 5.5 and Tomcat 6 in our EAR/WAR version.

I am going to test tomorrow whether the problem still actually occurs (I imagine that it does but we should be certain), and that making the change works and doesn't cause any other problems. I'll update the issue when I've done that.

Cheers,
Ian


Ian Daniel [Atlassian] added a comment - 03/Jan/08 12:55 AM
Hi Gili,

Thank you very much for nagging us about this.

Kind regards,
Ian


Ian Daniel
JIRA Support Lead
ATLASSIAN - http://www.atlassian.com
Our products help over 8,500 customers in more than 95 countries to collaborate


Ian Daniel [Atlassian] added a comment - 03/Jan/08 11:21 PM
Hi Peter,

While I'm away next week, could you please do this testing. That is, for JIRA EAR running in both Tomcat 5.5 and Tomcat 6:

  • Is the error message still displayed?
  • Does it go away if you make the change as suggested in JRA-7755?
  • Are there any other side-effects?

If the issue is fixed by the suggested change, can you please:

  • assign the issue to Anton so that he can organise getting the files fixed for the next release of JIRA
  • let Andrew and Rosie know so that Andrew can make the change in the JIRA documentation

Thanks.

Kind regards,
Ian


Peter White [Atlassian] added a comment - 13/Jan/08 05:34 PM
Tomcat 5.5.23 and Tomcat 6.0.14 running JIRA as a EAR/WAR installation both exhibit this behavior. From the initial logs:

Jan 14, 2008 10:18:44 AM org.apache.catalina.session.PersistentManagerBase start
SEVERE: No Store configured, persistence disabled

When the WAR is built from the 3.12.1 distribution the jira.xml for both 5.5 and 6.0 includes the following line:

<Manager className="org.apache.catalina.session.PersistentManager" saveOnRestart="false"/>

Which as Jeff has indicated should be changed to

<Manager pathname=""/>

There are no observable side-effects from this change.


Anton Mazkovoi [Atlassian] added a comment - 13/Jan/08 05:53 PM
Can we also see what the story is with the Tomcat 6 sample config file? We might need to fix that one as well.

Peter White [Atlassian] added a comment - 13/Jan/08 06:30 PM
Anton,

The jira.xml generated by EAR/WAR 3.12.1 distribution (to be placed in $tomcat/conf/Catalina/localhost/jira.xml) includes the same config setting


Ian Daniel [Atlassian] added a comment - 13/Jan/08 06:33 PM
Hi Andrew,

This means that two changes need to be made:

1. The developers need to modify the Tomcat 5.5 and Tomcat 6 jira.xml files. (That is why the issue is now assigned to Anton, so that he can schedule this.)

2. The Tomcat 5.5 and Tomcat 6 documentation needs to be updated so that the sample files match the new ones we ship. Could you please make this change. You could get in before the developers and make the change. It is simply that:

<Manager className="org.apache.catalina.session.PersistentManager" saveOnRestart="false"/>

needs to be changed to:

<Manager pathname=""/>

Thanks.

Cheers,
Ian


Andrew Lui [Atlassian] added a comment - 14/Jan/08 03:53 PM
Documentation has been updated (see subtask).

Cheers,
Andrew