Lucee 5, OSGI and JNDI datasources

The Lucee update information says:
“With Lucee 5 the JARs used by Lucee (except lucee.jar and
org-apache-felix-main-x-x-x.jar) are handled by Lucee and no longer by the
servlet engine. It is therefore important that the servlet engine does not
load the jars you added in point 6.”
https://bitbucket.org/lucee/lucee/wiki/Lucee_5_Upgrading_Railo

But what if I need the servlet engine to see the jars because one of them
is the JDBC driver used for a JNDI datasource? Should I just put that jar
in tomcat/lib in addition to WEB-INF/lib/lucee-server/bundles so I have it
twice, or should I move it to just /WEB-INF/lib so I have it just once but
it is not in the Lucee bundles folder anymore?

Jochem–
Jochem van Dieten
http://jochem.vandieten.net/

Hi Jochem

Adding jdbc drivers to Lucee (including jndi) is not complicated but it
need to happen as an extension, we will publish a documentation for it at a
later point.

MichaAm Mittwoch, 8. April 2015 schrieb Jochem van Dieten :

The Lucee update information says:
“With Lucee 5 the JARs used by Lucee (except lucee.jar and
org-apache-felix-main-x-x-x.jar) are handled by Lucee and no longer by the
servlet engine. It is therefore important that the servlet engine does not
load the jars you added in point 6.”
lucee / Lucee / wiki / Lucee 5 Upgrading Railo — Bitbucket

But what if I need the servlet engine to see the jars because one of them
is the JDBC driver used for a JNDI datasource? Should I just put that jar
in tomcat/lib in addition to WEB-INF/lib/lucee-server/bundles so I have it
twice, or should I move it to just /WEB-INF/lib so I have it just once but
it is not in the Lucee bundles folder anymore?

Jochem


Jochem van Dieten
http://jochem.vandieten.net/


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com
<javascript:_e(%7B%7D,‘cvml’,‘lucee%2Bunsubscribe@googlegroups.com’);>.
To post to this group, send email to lucee@googlegroups.com
<javascript:_e(%7B%7D,‘cvml’,‘lucee@googlegroups.com’);>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/CABPCP-0p6zOyR1NRgWX%3DPw1SJ6mjjFjs8J5i87qFp%2BgE53tWmQ%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CABPCP-0p6zOyR1NRgWX%3DPw1SJ6mjjFjs8J5i87qFp%2BgE53tWmQ%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

Hi Micha,
do you know what I need to do to setup a JINDI datasource programmatically
in lucee 5? Here is the link to the original post.

https://groups.google.com/forum/#!topic/lucee/cpE6dC6xzeI

Thank you very much in advance!

ArthurOn Wednesday, April 8, 2015 at 6:02:43 AM UTC-4, Micha wrote:

Hi Jochem

Adding jdbc drivers to Lucee (including jndi) is not complicated but it
need to happen as an extension, we will publish a documentation for it at a
later point.

Micha

Am Mittwoch, 8. April 2015 schrieb Jochem van Dieten :

The Lucee update information says:
“With Lucee 5 the JARs used by Lucee (except lucee.jar and
org-apache-felix-main-x-x-x.jar) are handled by Lucee and no longer by the
servlet engine. It is therefore important that the servlet engine does not
load the jars you added in point 6.”
lucee / Lucee / wiki / Lucee 5 Upgrading Railo — Bitbucket

But what if I need the servlet engine to see the jars because one of them
is the JDBC driver used for a JNDI datasource? Should I just put that jar
in tomcat/lib in addition to WEB-INF/lib/lucee-server/bundles so I have it
twice, or should I move it to just /WEB-INF/lib so I have it just once but
it is not in the Lucee bundles folder anymore?

Jochem


Jochem van Dieten
http://jochem.vandieten.net/


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/CABPCP-0p6zOyR1NRgWX%3DPw1SJ6mjjFjs8J5i87qFp%2BgE53tWmQ%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CABPCP-0p6zOyR1NRgWX%3DPw1SJ6mjjFjs8J5i87qFp%2BgE53tWmQ%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.