You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by William Williams <ww...@masslight.com> on 2024/06/13 12:49:14 UTC
Cayenne Server 3.1.1
Hello,
We are using an old version of Cayenne Server 3.1.1. We cannot upgrade
at this time. We are required to move to the latest Velocity version. Is
there a way to turn off Velocity logging in Cayenne?
Thanks,
Bill
Re: Cayenne Server 3.1.1
Posted by William Williams <ww...@masslight.com>.
Hi Andrus,
Sorry. I upgraded to the latest Velocity version. I'm getting a
NullLogsystem error from Velocity, so I was going to try to disable the
Velocity logging but could not find the Velocity properties file. As you
suggested, my next step was to not use the SQLTemplate, the issue is only
happening in a couple places.
Thanks,
Bill
On Thu, Jun 13, 2024, 9:13 AM Andrus Adamchik <aa...@gmail.com> wrote:
> Hi Bill,
>
> While I can't say without investigation whether the latest Velocity is
> fully compatible with Cayenne 3.1.1, you can definitely try to upgrade
> Velocity and see if it works. And BTW, if you are not using SQLTemplate in
> the code, you can even completely exclude Velocity from dependencies.
>
> I didn't understand your question about turning off Velocity logging.
> Could you explain what the problem is?
>
> Thanks,
> Andrus
>
> > On Jun 13, 2024, at 6:49 AM, William Williams <ww...@masslight.com>
> wrote:
> >
> > Hello,
> >
> > We are using an old version of Cayenne Server 3.1.1. We cannot upgrade
> > at this time. We are required to move to the latest Velocity version. Is
> > there a way to turn off Velocity logging in Cayenne?
> >
> > Thanks,
> > Bill
>
>
Re: Cayenne Server 3.1.1
Posted by Andrus Adamchik <aa...@gmail.com>.
Hi Bill,
While I can't say without investigation whether the latest Velocity is fully compatible with Cayenne 3.1.1, you can definitely try to upgrade Velocity and see if it works. And BTW, if you are not using SQLTemplate in the code, you can even completely exclude Velocity from dependencies.
I didn't understand your question about turning off Velocity logging. Could you explain what the problem is?
Thanks,
Andrus
> On Jun 13, 2024, at 6:49 AM, William Williams <ww...@masslight.com> wrote:
>
> Hello,
>
> We are using an old version of Cayenne Server 3.1.1. We cannot upgrade
> at this time. We are required to move to the latest Velocity version. Is
> there a way to turn off Velocity logging in Cayenne?
>
> Thanks,
> Bill
Re: Cayenne Server 3.1.1
Posted by William Williams <ww...@masslight.com>.
Cool, thanks!
On Thu, Jun 13, 2024, 10:17 AM John Huss <jo...@gmail.com> wrote:
> If you’re running Java 17 or later you could use multiline strings literals
> as a feature-less replacement of SQLTemplate.
>
> On Thu, Jun 13, 2024 at 8:23 AM William Williams <ww...@masslight.com>
> wrote:
>
> > Hey Mike,
> >
> > How's it going? This is related to a Velocity version vulnerability. I
> > upgraded to the latest version but getting logging errors. It's only
> > happening in 2 places. I'm looking into not using SQLTemplate.
> >
> > Thanks,
> > Bill
> >
> > On Thu, Jun 13, 2024, 9:17 AM Michael Gentry <bl...@gmail.com>
> wrote:
> >
> > > Hi Bill,
> > >
> > > Is this related to a security vulnerability or do you need a newer
> > version
> > > of Velocity for features you are using in your own templates?
> > >
> > > Thanks,
> > > mrg
> > >
> > >
> > > On Thu, Jun 13, 2024 at 6:49 AM William Williams <
> > wwilliams@masslight.com>
> > > wrote:
> > >
> > > > Hello,
> > > >
> > > > We are using an old version of Cayenne Server 3.1.1. We cannot
> > upgrade
> > > > at this time. We are required to move to the latest Velocity version.
> > Is
> > > > there a way to turn off Velocity logging in Cayenne?
> > > >
> > > > Thanks,
> > > > Bill
> > > >
> > >
> >
>
Re: Cayenne Server 3.1.1
Posted by John Huss <jo...@gmail.com>.
If you’re running Java 17 or later you could use multiline strings literals
as a feature-less replacement of SQLTemplate.
On Thu, Jun 13, 2024 at 8:23 AM William Williams <ww...@masslight.com>
wrote:
> Hey Mike,
>
> How's it going? This is related to a Velocity version vulnerability. I
> upgraded to the latest version but getting logging errors. It's only
> happening in 2 places. I'm looking into not using SQLTemplate.
>
> Thanks,
> Bill
>
> On Thu, Jun 13, 2024, 9:17 AM Michael Gentry <bl...@gmail.com> wrote:
>
> > Hi Bill,
> >
> > Is this related to a security vulnerability or do you need a newer
> version
> > of Velocity for features you are using in your own templates?
> >
> > Thanks,
> > mrg
> >
> >
> > On Thu, Jun 13, 2024 at 6:49 AM William Williams <
> wwilliams@masslight.com>
> > wrote:
> >
> > > Hello,
> > >
> > > We are using an old version of Cayenne Server 3.1.1. We cannot
> upgrade
> > > at this time. We are required to move to the latest Velocity version.
> Is
> > > there a way to turn off Velocity logging in Cayenne?
> > >
> > > Thanks,
> > > Bill
> > >
> >
>
Re: Cayenne Server 3.1.1
Posted by William Williams <ww...@masslight.com>.
Hey Mike,
How's it going? This is related to a Velocity version vulnerability. I
upgraded to the latest version but getting logging errors. It's only
happening in 2 places. I'm looking into not using SQLTemplate.
Thanks,
Bill
On Thu, Jun 13, 2024, 9:17 AM Michael Gentry <bl...@gmail.com> wrote:
> Hi Bill,
>
> Is this related to a security vulnerability or do you need a newer version
> of Velocity for features you are using in your own templates?
>
> Thanks,
> mrg
>
>
> On Thu, Jun 13, 2024 at 6:49 AM William Williams <ww...@masslight.com>
> wrote:
>
> > Hello,
> >
> > We are using an old version of Cayenne Server 3.1.1. We cannot upgrade
> > at this time. We are required to move to the latest Velocity version. Is
> > there a way to turn off Velocity logging in Cayenne?
> >
> > Thanks,
> > Bill
> >
>
Re: Cayenne Server 3.1.1
Posted by Michael Gentry <bl...@gmail.com>.
Hi Bill,
Is this related to a security vulnerability or do you need a newer version
of Velocity for features you are using in your own templates?
Thanks,
mrg
On Thu, Jun 13, 2024 at 6:49 AM William Williams <ww...@masslight.com>
wrote:
> Hello,
>
> We are using an old version of Cayenne Server 3.1.1. We cannot upgrade
> at this time. We are required to move to the latest Velocity version. Is
> there a way to turn off Velocity logging in Cayenne?
>
> Thanks,
> Bill
>