Re: Cocoon 2.1.11 problem with JDK release versions above 255

Cédric Damioli <[email protected]> Wed, 30 Jun 2021 17:20:08 +0200
Newsgroups gmane.text.xml.cocoon.user
Message-ID <[email protected]>
--------------84C5EBE2D86468B9BFFC0706
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit

Hi Vincent,

Do you have any stack trace to help finding the actual issue ?

I know there's a similar issue with the ICU library. Do you use it, and 
if so in which version ?

Regards,
Cédric


Le 30/06/2021 à 17:11, Francesco Chicchiriccò a écrit :
> On 28/06/21 09:48, Vincent Neyt wrote:
>> Hi list,
>>
>> I did a stupid thing, I posted to the user list without first 
>> subscribing, so I'm sending my query again now that I am subscribed 
>> to the list. Sorry for the inconvenience!
>>
>> Since 2011 I've been using a build of Cocoon 2.1.11 (inside Tomcat 8) 
>> as the publishing framework for my website. I've recently found out 
>> that Cocoon fails to start up when the installed java version has an 
>> update number higher than 255. Things start up properly with Java SE 
>> Development Kit 8u255 and lower, but fail to start up with Java SE 
>> Development Kit 8u256 and higher (for instance the current Java SE 
>> Development Kit 8u291).
>>
>> The error I get is
>>
>> Initialization Problem: Scheduler with name 'Cocoon' already exists.
>>
>> but it has cost me blood sweat and tears to find out that the 
>> underlying cause is the Java update version number.
>>
>> Is there a line in a file in my Cocoon 2.1.11 build that I could 
>> change to get rid of this error?
>
> Hi Vincent,
> I am afraid I cannot be of much help here, not using Cocoon 2.1 since 
> quite some time.
>
> Anyway, did you find anything more than just the line reported above? 
> Any stacktrace?
>
> Regards.
>

-- 
<http://www.ametys.org>
<http://www.facebook.com/ametysCMS> <http://twitter.com/ametysCMS> 
<http://plus.google.com/+ametysOrg/posts> 
<http://www.youtube.com/user/ametysWebCMS>

Cédric Damioli

Directeur associé

	+33 (0)5 62 19 19 07 / +33 (0)6 87 03 61 63     | +33 (0)5 61 75 84 12
[email protected] <mailto:[email protected]>
40 Rue du Village d'entreprises 31670 Labège
Inscrivez-vous à notre newsletter 
<http://anyware-services.us2.list-manage2.com/subscribe?u=1cf1cbf2891b613e90fd95eb2&id=01c7bdfce3> 



--------------84C5EBE2D86468B9BFFC0706
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Hi Vincent,<br>
    <br>
    Do you have any stack trace to help finding the actual issue ?<br>
    <br>
    I know there's a similar issue with the ICU library. Do you use it,
    and if so in which version ?<br>
    <br>
    Regards,<br>
    Cédric<br>
    <br>
    <br>
    <div class="moz-cite-prefix">Le 30/06/2021 à 17:11, Francesco
      Chicchiriccò a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:[email protected]">On
      28/06/21 09:48, Vincent Neyt wrote:
      <br>
      <blockquote type="cite">Hi list,
        <br>
        <br>
        I did a stupid thing, I posted to the user list without first
        subscribing, so I'm sending my query again now that I am
        subscribed to the list. Sorry for the inconvenience!
        <br>
        <br>
        Since 2011 I've been using a build of Cocoon 2.1.11 (inside
        Tomcat 8) as the publishing framework for my website. I've
        recently found out that Cocoon fails to start up when the
        installed java version has an update number higher than 255.
        Things start up properly with Java SE Development Kit 8u255 and
        lower, but fail to start up with Java SE Development Kit 8u256
        and higher (for instance the current Java SE Development Kit
        8u291).
        <br>
        <br>
        The error I get is
        <br>
        <br>
        Initialization Problem: Scheduler with name 'Cocoon' already
        exists.
        <br>
        <br>
        but it has cost me blood sweat and tears to find out that the
        underlying cause is the Java update version number.
        <br>
        <br>
        Is there a line in a file in my Cocoon 2.1.11 build that I could
        change to get rid of this error?
        <br>
      </blockquote>
      <br>
      Hi Vincent,
      <br>
      I am afraid I cannot be of much help here, not using Cocoon 2.1
      since quite some time.
      <br>
      <br>
      Anyway, did you find anything more than just the line reported
      above? Any stacktrace?
      <br>
      <br>
      Regards.
      <br>
      <br>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <style type="text/css">
a:link{text-decoration:none;color:#795198;}
a:visited{text-decoration:none;color:#795198;}
a:hover{text-decoration:none;color:#795198;}
.table td {border-collapse:collapse;}
@media (max-width: 480px) {
span, div, p, a, li, td { -webkit-text-size-adjust:none; }
.overflow320 {width:320px !important;max-width:320px !important}
.overflow280 {width:280px !important;max-width:280px !important}
.overflow {max-width:280px !important;overflow:hidden !important;text-overflow:ellipsis}
}
</style>
      <table class="overflow280" style="border-collapse:collapse;"
        width="170" cellspacing="0" cellpadding="0" border="0"
        align="left">
        <tbody>
          <tr>
            <td style="margin: 0 20px 10px 0" width="100%" align="left">
              <table style="border-collapse:collapse;" width="100%"
                cellspacing="0" cellpadding="0" border="0" align="left">
                <tbody>
                  <tr>
                    <td class="overflow"> <a
                        href="http://www.ametys.org"><img
                          src="http://media.anyware-services.com/signature/ametys-logo1.png"
                          alt=""></a><br>
                      <a href="http://www.facebook.com/ametysCMS"
                        target="_blank"><img
                          src="http://media.anyware-services.com/signature/facebook2.png"
                          style="margin-left:10px;margin-right:5px"></a>
                      <a href="http://twitter.com/ametysCMS"
                        target="_blank"><img
                          src="http://media.anyware-services.com/signature/twitter2.png"
                          style="margin-right:5px"></a> <a
                        href="http://plus.google.com/+ametysOrg/posts"
                        target="_blank"><img
                          src="http://media.anyware-services.com/signature/google+.png"
                          style="margin-right:5px"></a> <a
                        href="http://www.youtube.com/user/ametysWebCMS"
                        target="_blank"><img
                          src="http://media.anyware-services.com/signature/youtube.png"
                          style="margin-right:5px"></a> </td>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr>
        </tbody>
      </table>
      <table>
        <tbody>
          <tr>
            <td width="100%" align="left">
              <table style="border-collapse:collapse;" width="100%"
                cellspacing="0" cellpadding="0" border="0" align="left">
                <tbody>
                  <tr>
                    <td> <span>
                        <p style="font-size:16px;
                          font-weight:600;line-height:1.5;font-family:Raleway,
                          sans-serif;color:#444;margin:0 !important;">Cédric
                          Damioli</p>
                        <p style="font-size:14px;
                          font-weight:600;line-height:1.5;font-family:Raleway,
                          sans-serif;color:#777;margin:0 !important;">Directeur
                          associé</p>
                      </span>
                      <table style="margin-top:5px">
                        <tbody>
                          <tr>
                            <td rowspan="4"> <img
                                src="http://media.anyware-services.com/signature/pictos.png">
                            </td>
                            <td
                              style="font-size:12px;font-family:Raleway,
                              sans-serif;color:#444;">+33 (0)5 62 19 19
                              07 / +33 (0)6 87 03 61 63     |      <img
src="http://media.anyware-services.com/signature/fax.png"
                                style="margin:7px 10px 0 0">+33 (0)5 61
                              75 84 12</td>
                          </tr>
                          <tr>
                            <td
                              style="font-size:12px;font-family:Raleway,
                              sans-serif;color:#444;"><a
                                href="mailto:[email protected]">[email protected]</a></td>
                          </tr>
                          <tr>
                            <td
                              style="font-size:12px;font-family:Raleway,
                              sans-serif;color:#444;">40 Rue du Village
                              d'entreprises 31670 Labège</td>
                          </tr>
                          <tr>
                            <td
                              style="font-size:12px;font-family:Raleway,
                              sans-serif;color:#444;"><a
href="http://anyware-services.us2.list-manage2.com/subscribe?u=1cf1cbf2891b613e90fd95eb2&amp;id=01c7bdfce3"
                                target="_blank">Inscrivez-vous à notre
                                newsletter</a></td>
                          </tr>
                        </tbody>
                      </table>
                    </td>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr>
        </tbody>
      </table>
      <span> </span> </div>
  </body>
</html>

--------------84C5EBE2D86468B9BFFC0706--