Martin Kouba
unread,Dec 17, 2019, 4:23:56 AM12/17/19Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sdou...@redhat.com, Guillaume Smet, werner.g...@gmail.com, Quarkus Development mailing list
Dne 16. 12. 19 v 21:35 Stuart Douglas napsal(a):
> Maybe we should create a simple JNDI extension to allow for this sort of
> case, although I am not sure how hard it would be to get it working in
> native. I think there will be a lot of 3rd party libraries that expect
> to be able to look up datasources from JNDI, so a simple read only
> quarkus-jndi extension could be useful.
>
> I would tie it to CDI @Named, so you can just look up named beans and
> nothing else.
Be careful with @Named, its primary purpose is to give a bean a name and
a bean with a name may be referred in templates (in general it's
accessible outside the java code).
> <mailto:
quark...@googlegroups.com>> wrote:
>
> Hello,
>
> I'm using the workflow engine Activiti in a project and just
> migrated from Thorntail to Quarkus 1.0.1. I'm having some
> difficulties in defining the database access:
>
> - Quarkus doesn't support JNDI, so that's a nogo.
> - Quarkus delivers Agroal as connection pool, but Activiti needs
> a default (no args) constructor of the Datasource which Agroal
> doesn't provide.
> - just configure Activiti with jdbcUrl, user and password
> doesn't work too well. Sometimes IBatis (standard in Activiti)
> won't connect
>
> Currently I'm using Apache DBCP2 from the commons project (and
> it works), but I would clearly prefer using Agroal, cause it's a
> standard extension. Is thera a way to circumvent the problems?
> One possibility would surely be overriding the DataSource
> implementation of Agroal. Has anyone had similar problems?
>
> Best regards
> Werner
>
> --
> You received this message because you are subscribed to the
> Google Groups "Quarkus Development mailing list" group.
> To unsubscribe from this group and stop receiving emails from
> it, send an email to
quarkus-dev...@googlegroups.com
> <mailto:
quarkus-dev...@googlegroups.com>.
> <
https://groups.google.com/d/msgid/quarkus-dev/9c5ac608-2087-49b7-9216-49e77f3e4d86%40googlegroups.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Quarkus Development mailing list" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to
quarkus-dev...@googlegroups.com
> <mailto:
quarkus-dev...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/quarkus-dev/CALt0%2Bo8L%3DW9R48P497dm1jfptZqvC6Hsg%3DW4nWWDX%3DG58iv8%2BA%40mail.gmail.com
> <
https://groups.google.com/d/msgid/quarkus-dev/CALt0%2Bo8L%3DW9R48P497dm1jfptZqvC6Hsg%3DW4nWWDX%3DG58iv8%2BA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Quarkus Development mailing list" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
quarkus-dev...@googlegroups.com
> <mailto:
quarkus-dev...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/quarkus-dev/CAD%2BL2cw9kza94oxZ2HLLsW4_%3D0JJwcko-F5T0HKVaFShao1cgg%40mail.gmail.com
> <
https://groups.google.com/d/msgid/quarkus-dev/CAD%2BL2cw9kza94oxZ2HLLsW4_%3D0JJwcko-F5T0HKVaFShao1cgg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
Martin Kouba
Senior Software Engineer
Red Hat, Czech Republic