Using OstermillerUtils in Lucee

While testing an application to be migrated to Lucee I’ve run into an issue
with a bit of existing functionality that works in CF, but not in Lucee.
I’m using Lucee 5 RC and trying to understand how to configure the server
to be able to use a java utility library (http://ostermiller.org/utils/).
In CF, you are able to include the jar in the ColdFusion Class Path in
Servers Java and JVM Settings. How is something like this meant to be done
in Lucee? I’m new to Lucee so I am probably not understanding the
Extension piece, but otherwise I don’t see any facility to including Java
libraries like this. Any pointers would be appreciated.

This is not an “extension” matter. Did you try the same in Lucee? Are
you getting an error? If so, please post it with full stacktrace.

In addition to the standard way, you can also specify the path to the
jar in your function call, i.e.

<cfset object = createObject(“java”, “pkg.name.ClassName”,
“C:\myjars\utils.jar”)>

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/On 3/28/2016 9:49 AM, John Barbic wrote:

While testing an application to be migrated to Lucee I’ve run into an
issue with a bit of existing functionality that works in CF, but not
in Lucee. I’m using Lucee 5 RC and trying to understand how to
configure the server to be able to use a java utility library
(http://ostermiller.org/utils/). In CF, you are able to include the
jar in the ColdFusion Class Path in Servers Java and JVM Settings.
How is something like this meant to be done in Lucee? I’m new to
Lucee so I am probably not understanding the Extension piece, but
otherwise I don’t see any facility to including Java libraries like
this. Any pointers would be appreciated.

Love Lucee? Become a supporter and be part of the Lucee project today!


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
mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com
mailto:lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/1e0ac8df-462c-4cf4-b07f-c8b03b75fc35%40googlegroups.com
https://groups.google.com/d/msgid/lucee/1e0ac8df-462c-4cf4-b07f-c8b03b75fc35%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.

Thanks for that response Igal. My issue is not understanding what “the
standard way” is. In other words, what is the standard way of including a
jar like this in the Lucee Admin?On Monday, March 28, 2016 at 11:13:09 AM UTC-6, Igal wrote:

This is not an “extension” matter. Did you try the same in Lucee? Are
you getting an error? If so, please post it with full stacktrace.

In addition to the standard way, you can also specify the path to the jar
in your function call, i.e.

<cfset object = createObject(“java”, “pkg.name.ClassName”,
“C:\myjars\utils.jar”)>

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/
On 3/28/2016 9:49 AM, John Barbic wrote:

While testing an application to be migrated to Lucee I’ve run into an
issue with a bit of existing functionality that works in CF, but not in
Lucee. I’m using Lucee 5 RC and trying to understand how to configure the
server to be able to use a java utility library (
http://ostermiller.org/utils/). In CF, you are able to include the jar
in the ColdFusion Class Path in Servers Java and JVM Settings. How is
something like this meant to be done in Lucee? I’m new to Lucee so I am
probably not understanding the Extension piece, but otherwise I don’t see
any facility to including Java libraries like this. Any pointers would be
appreciated.

Love Lucee? Become a supporter and be part of the Lucee project today! -
http://lucee.org/supporters/become-a-supporter.html

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 <javascript:>.
To post to this group, send email to lu...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/1e0ac8df-462c-4cf4-b07f-c8b03b75fc35%40googlegroups.com?utm_medium=email&utm_source=footer
https://groups.google.com/d/msgid/lucee/1e0ac8df-462c-4cf4-b07f-c8b03b75fc35%40googlegroups.com
.
For more options, visit https://groups.google.com/d/optout.