Lucee 5 RC, Couchbase Jars

Long time CF, railo, lucee 4.5 shop here. We use lucee 4.5 in production.

We finally spun up a lucee 5 rc today and it looks pretty good. The biggest issue appears to be where do we put the couchbase jars? In lucee 4.5 we just put them in /opt/lucee/lib and rebooted and had access to the objects no problem. That is not working on the 5 RC.

Can someone help?

Thanks

Tim

Hi Tim,

The line that loads the jars located in the [lucee install]/lib/ directory hasn’t changed between 4 and 5. You can see for yourself inside the catalina.properties file:

common.loader=“${catalina.base}/lib”,“${catalina.base}/lib/.jar",“${catalina.base}/lib”,"${catalina.home}/lib/.jar”,“${catalina.home}/…/lib/*.jar”

The last bit “${catalina.home}/…/lib/*.jar”, should be what loads the jar files in that directory for both 4 (where dependencies were separate) and 5 (where they’re bundled). Dropping your own jars in there should also add them as common-classes. Hmm, I wonder if the difference you’re seeing is the difference between ${catalina.base} and ${catalina.home}? Though the values should be identical unless you specifically changed them?

According to the catalina.sh file (where they’re set):

CATALINA_HOME May point at your Catalina “build” directory.#

CATALINA_BASE (Optional) Base directory for resolving dynamic portions

of a Catalina installation. If not present, resolves to

the same directory that CATALINA_HOME points to.

Have you customized your setenv.sh file or setclasspath.sh files at all?

You could also see if dropping your jars into /tomcat/lib/ works, which is where “${catalina.home}/lib/*.jar” loads them up. Would be extremely odd if that way worked at the other didn’t though. Worth a shot I guess.

Hope this helps.


Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: “Tim Meade” <@Tim_Meade>
To: lucee@googlegroups.com
Sent: Wednesday, March 23, 2016 3:02:42 PM
Subject: [Lucee] Lucee 5 RC, Couchbase Jars

Long time CF, railo, lucee 4.5 shop here. We use lucee 4.5 in production.

We finally spun up a lucee 5 rc today and it looks pretty good. The biggest issue appears to be where do we put the couchbase jars? In lucee 4.5 we just put them in /opt/lucee/lib and rebooted and had access to the objects no problem. That is not working on the 5 RC.

Can someone help?

Thanks

Tim


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+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/DE9548C2-4FC9-4B7E-AB06-C934F00528A1%40Millicorp.com.
For more options, visit https://groups.google.com/d/optout.

Thanks Jordan,

I tried the other folder. Did not seem to make a difference. WE’ll do some more in depth debugging today to see what has changed

TimOn 3/23/16, 7:12 PM, “lucee@googlegroups.com on behalf of Jordan Michaels” <lucee@googlegroups.com on behalf of @Jordan_Michaels> wrote:

Hi Tim,

The line that loads the jars located in the [lucee install]/lib/ directory hasn’t changed between 4 and 5. You can see for yourself inside the catalina.properties file:

common.loader=“${catalina.base}/lib”,“${catalina.base}/lib/.jar",“${catalina.base}/lib”,"${catalina.home}/lib/.jar”,“${catalina.home}/…/lib/*.jar”

The last bit “${catalina.home}/…/lib/*.jar”, should be what loads the jar files in that directory for both 4 (where dependencies were separate) and 5 (where they’re bundled). Dropping your own jars in there should also add them as common-classes. Hmm, I wonder if the difference you’re seeing is the difference between ${catalina.base} and ${catalina.home}? Though the values should be identical unless you specifically changed them?

According to the catalina.sh file (where they’re set):

CATALINA_HOME May point at your Catalina “build” directory.

CATALINA_BASE (Optional) Base directory for resolving dynamic portions

of a Catalina installation. If not present, resolves to

the same directory that CATALINA_HOME points to.

Have you customized your setenv.sh file or setclasspath.sh files at all?

You could also see if dropping your jars into /tomcat/lib/ works, which is where “${catalina.home}/lib/*.jar” loads them up. Would be extremely odd if that way worked at the other didn’t though. Worth a shot I guess.

Hope this helps.


Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: “Tim Meade” <@Tim_Meade>
To: lucee@googlegroups.com
Sent: Wednesday, March 23, 2016 3:02:42 PM
Subject: [Lucee] Lucee 5 RC, Couchbase Jars

Long time CF, railo, lucee 4.5 shop here. We use lucee 4.5 in production.

We finally spun up a lucee 5 rc today and it looks pretty good. The biggest issue appears to be where do we put the couchbase jars? In lucee 4.5 we just put them in /opt/lucee/lib and rebooted and had access to the objects no problem. That is not working on the 5 RC.

Can someone help?

Thanks

Tim


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+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/DE9548C2-4FC9-4B7E-AB06-C934F00528A1%40Millicorp.com.
For more options, visit https://groups.google.com/d/optout.


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+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/1731208323.292974.1458774765824.JavaMail.zimbra%40viviotech.net.
For more options, visit https://groups.google.com/d/optout.