Re: Cocoon 2.1.11 problem with JDK release versions above 255

Vincent Neyt <[email protected]> Wed, 30 Jun 2021 17:24:27 +0200
Newsgroups gmane.text.xml.cocoon.user
Message-ID <CAGbLPfZWspjnhj+r56fiNYxcMkkvDsfPKpQwOkHUe3Chi+_tPA@mail.gmail.com>
--00000000000022f28105c5fd5281
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi all,

thank you very much for all your reactions. I just found time to try Nico
Verwer's suggestion, and that worked perfectly! It seems it was the very
old version of icu4j.jar that caused the problem. As Nico suggested I
exchanged it for icu4j-69.1.jar in the lib directory, and was able to start
up cocoon without errors.

thanks again!
Vincent

On Wed, Jun 30, 2021 at 5:20 PM C=C3=A9dric Damioli <cedric.damioli@ametys.=
org>
wrote:

> 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 i=
f
> so in which version ?
>
> Regards,
> C=C3=A9dric
>
>
> Le 30/06/2021 =C3=A0 17:11, Francesco Chicchiricc=C3=B2 a =C3=A9crit :
>
> 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 t=
o
> 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=C3=A9dric Damioli
>
> Directeur associ=C3=A9
> +33 (0)5 62 19 19 07 / +33 (0)6 87 03 61 63     |      +33 (0)5 61 75 84
> 12
> [email protected]
> 40 Rue du Village d'entreprises 31670 Lab=C3=A8ge
> Inscrivez-vous =C3=A0 notre newsletter
> <http://anyware-services.us2.list-manage2.com/subscribe?u=3D1cf1cbf2891b6=
13e90fd95eb2&id=3D01c7bdfce3>
>
>

--00000000000022f28105c5fd5281
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi all,<div><br></div><div>thank you very much for all you=
r reactions. I just found time to try Nico Verwer&#39;s suggestion, and tha=
t worked perfectly! It seems it was the very old version of icu4j.jar that=
=C2=A0caused the=C2=A0problem. As Nico suggested I exchanged it for icu4j-6=
9.1.jar in the lib directory, and was able to start up cocoon without error=
s.</div><div><br></div><div>thanks again!</div><div>Vincent</div></div><br>=
<div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Ju=
n 30, 2021 at 5:20 PM C=C3=A9dric Damioli &lt;<a href=3D"mailto:cedric.dami=
[email protected]">[email protected]</a>&gt; wrote:<br></div><blockquo=
te class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px =
solid rgb(204,204,204);padding-left:1ex">
 =20
   =20
 =20
  <div>
    Hi Vincent,<br>
    <br>
    Do you have any stack trace to help finding the actual issue ?<br>
    <br>
    I know there&#39;s a similar issue with the ICU library. Do you use it,
    and if so in which version ?<br>
    <br>
    Regards,<br>
    C=C3=A9dric<br>
    <br>
    <br>
    <div>Le 30/06/2021 =C3=A0 17:11, Francesco
      Chicchiricc=C3=B2 a =C3=A9crit=C2=A0:<br>
    </div>
    <blockquote type=3D"cite">On
      28/06/21 09:48, Vincent Neyt wrote:
      <br>
      <blockquote type=3D"cite">Hi list,
        <br>
        <br>
        I did a stupid thing, I posted to the user list without first
        subscribing, so I&#39;m sending my query again now that I am
        subscribed to the list. Sorry for the inconvenience!
        <br>
        <br>
        Since 2011 I&#39;ve been using a build of Cocoon 2.1.11 (inside
        Tomcat 8) as the publishing framework for my website. I&#39;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=C2=A0Java SE Development Kit 8u255 an=
d
        lower, but fail to start up with=C2=A0Java 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 &#39;Cocoon&#39; alread=
y
        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>-- <br>
     =20
      <table style=3D"border-collapse:collapse" width=3D"170" cellspacing=
=3D"0" cellpadding=3D"0" border=3D"0" align=3D"left">
        <tbody>
          <tr>
            <td style=3D"margin:0px 20px 10px 0px" width=3D"100%" align=3D"=
left">
              <table style=3D"border-collapse:collapse" width=3D"100%" cell=
spacing=3D"0" cellpadding=3D"0" border=3D"0" align=3D"left">
                <tbody>
                  <tr>
                    <td> <a href=3D"http://www.ametys.org" target=3D"_blank=
"><img src=3D"http://media.anyware-services.com/signature/ametys-logo1.png"=
 alt=3D""></a><br>
                      <a href=3D"http://www.facebook.com/ametysCMS" target=
=3D"_blank"><img src=3D"http://media.anyware-services.com/signature/faceboo=
k2.png" style=3D"margin-left: 10px; margin-right: 5px;"></a>
                      <a href=3D"http://twitter.com/ametysCMS" target=3D"_b=
lank"><img src=3D"http://media.anyware-services.com/signature/twitter2.png"=
 style=3D"margin-right: 5px;"></a> <a href=3D"http://plus.google.com/+amety=
sOrg/posts" target=3D"_blank"><img src=3D"http://media.anyware-services.com=
/signature/google+.png" style=3D"margin-right: 5px;"></a> <a href=3D"http:/=
/www.youtube.com/user/ametysWebCMS" target=3D"_blank"><img src=3D"http://me=
dia.anyware-services.com/signature/youtube.png" style=3D"margin-right: 5px;=
"></a> </td>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr>
        </tbody>
      </table>
      <table>
        <tbody>
          <tr>
            <td width=3D"100%" align=3D"left">
              <table style=3D"border-collapse:collapse" width=3D"100%" cell=
spacing=3D"0" cellpadding=3D"0" border=3D"0" align=3D"left">
                <tbody>
                  <tr>
                    <td> <span>
                        <p style=3D"font-size:16px;font-weight:600;line-hei=
ght:1.5;font-family:Raleway,sans-serif;color:rgb(68,68,68);margin:0px">C=C3=
=A9dric
                          Damioli</p>
                        <p style=3D"font-size:14px;font-weight:600;line-hei=
ght:1.5;font-family:Raleway,sans-serif;color:rgb(119,119,119);margin:0px">D=
irecteur
                          associ=C3=A9</p>
                      </span>
                      <table style=3D"margin-top:5px">
                        <tbody>
                          <tr>
                            <td rowspan=3D"4"> <img src=3D"http://media.any=
ware-services.com/signature/pictos.png">
                            </td>
                            <td style=3D"font-size:12px;font-family:Raleway=
,sans-serif;color:rgb(68,68,68)">+33 (0)5 62 19 19
                              07 / +33 (0)6 87 03 61 63=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0|=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <img src=3D"http://media.anywar=
e-services.com/signature/fax.png" style=3D"margin: 7px 10px 0px 0px;">+33 (=
0)5 61
                              75 84 12</td>
                          </tr>
                          <tr>
                            <td style=3D"font-size:12px;font-family:Raleway=
,sans-serif;color:rgb(68,68,68)"><a href=3D"mailto:[email protected]=
g" target=3D"_blank">[email protected]</a></td>
                          </tr>
                          <tr>
                            <td style=3D"font-size:12px;font-family:Raleway=
,sans-serif;color:rgb(68,68,68)">40 Rue du Village
                              d&#39;entreprises 31670 Lab=C3=A8ge</td>
                          </tr>
                          <tr>
                            <td style=3D"font-size:12px;font-family:Raleway=
,sans-serif;color:rgb(68,68,68)"><a href=3D"http://anyware-services.us2.lis=
t-manage2.com/subscribe?u=3D1cf1cbf2891b613e90fd95eb2&amp;id=3D01c7bdfce3" =
target=3D"_blank">Inscrivez-vous =C3=A0 notre
                                newsletter</a></td>
                          </tr>
                        </tbody>
                      </table>
                    </td>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr>
        </tbody>
      </table>
      <span>=C2=A0</span> </div>
  </div>

</blockquote></div>

--00000000000022f28105c5fd5281--