Lucee 5, OSGI and JNDI datasources

146 views
Skip to first unread message

Jochem van Dieten

unread,
Apr 8, 2015, 3:03:47 AM4/8/15
to lu...@googlegroups.com
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

--

Michael Offner

unread,
Apr 8, 2015, 6:02:43 AM4/8/15
to lu...@googlegroups.com
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
--
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+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CABPCP-0p6zOyR1NRgWX%3DPw1SJ6mjjFjs8J5i87qFp%2BgE53tWmQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Arthur

unread,
Jun 17, 2016, 2:55:59 PM6/17/16
to Lucee
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.


Thank you very much in advance!

Arthur


On 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."
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

--

--
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.
Reply all
Reply to author
Forward
0 new messages