An error occurred: possible nonthreadsafe access to session

espanae's Avatar

espanae

30 Oct, 2014 03:36 PM

A page, in our Cascade Server 7.8 production instance, is not allowing us to activate previous versions. Instead we get the following error message:
An error occurred: possible nonthreadsafe access to session

We're able to activate previous versions of other pages, templates and formats. Here's the published version of the page:
http://www.union.edu/offices/international/index.php

Where should I start troubleshooting this?

  1. Support Staff 1 Posted by Tim on 30 Oct, 2014 07:12 PM

    Tim's Avatar

    Hi,

    When you have the chance, can you please replicate that error and then immediately attach your most recent cascade.log file?

    Thanks!

  2. 2 Posted by espanae on 31 Oct, 2014 01:33 PM

    espanae's Avatar

    Hi Tim,
    I got the error again this morning and immediately downloaded the cascade.log file.

    Thanks,
    Erik

  3. Support Staff 3 Posted by Tim on 31 Oct, 2014 01:45 PM

    Tim's Avatar

    Thanks for attaching that log file, Erik. It looks like this message is coinciding with the following error:

    2014-10-31 09:23:08,312 ERROR [JDBCExceptionReporter] Cannot delete or update a parent row: a foreign key constraint fails (cascade.cxml_structureddata, CONSTRAINT FK_SDATA_NEXT FOREIGN KEY (structuredDataId) REFERENCES cxml_structureddata (id))
    
    This was a known issue that was fixed for 7.8.2. Do you have an upgrade of the software planned any time soon? Let me know.

    Thanks!

  4. 4 Posted by espanae on 31 Oct, 2014 02:35 PM

    espanae's Avatar

    Hi Tim,
    Our next upgrade (to 7.12.2) is planned for December. In the meantime, is there a way to temporarily fix this through MySQL?

  5. Support Staff 5 Posted by Tim on 31 Oct, 2014 03:10 PM

    Tim's Avatar

    Hmm, I looked around but I'm not seeing any explicit steps that will fix this. You could try the following:

    • Create a backup of your database (to be safe!)
    • Run the Optimize Database tool (System Menu -> Utilities -> Database Tools) with the following options selected:
      • Remove orphaned records
      • Repair Structured Data

    If that doesn't correct the issue, an upgrade will be the only way to resolve this problem. Perhaps you all could upgrade to the latest 7.8.x version now and then 7.12.x in December? Let me know how things go.

    Thanks

  6. 6 Posted by espanae on 31 Oct, 2014 04:04 PM

    espanae's Avatar

    Okay, the problem may be manageable until our planned upgrade in December. I'll let you know how it goes.

    Thanks,
    Erik

  7. espanae closed this discussion on 31 Oct, 2014 04:04 PM.

Discussions are closed to public comments.
If you need help with Cascade CMS please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

 

26 Aug, 2016 01:19 PM
25 Aug, 2016 03:02 PM
25 Aug, 2016 12:50 PM
24 Aug, 2016 08:43 PM
24 Aug, 2016 07:20 PM
21 Aug, 2016 01:20 PM